forked from jpoullet2000/atlasclient
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements Atlas' Saved Search REST API
* Update code to add GET /v2/search/saved POST /v2/search/saved PUT /v2/search/saved DELETE /v2/search/saved/{guid} GET /v2/search/saved/{name} Added code and usage documentation for below - GET /v2/search/saved POST /v2/search/saved PUT /v2/search/saved DELETE /v2/search/saved/{guid} GET /v2/search/saved/{name} I will create separate PR for below and will add test case as well for all gradually - GET /v2/search/saved/execute/{name} GET /v2/search/saved/execute/guid/{guid} * Added test cases for saved search * Added few test cases for saved search * Added all test cases for saved search
- Loading branch information
Showing
8 changed files
with
294 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[{ | ||
"name" : "TESTNAME", | ||
"ownerName" : "...", | ||
"searchParameters" : { | ||
"attributes" : [ "...", "..." ], | ||
"classification" : "...", | ||
"entityFilters" : { | ||
"attributeName" : "...", | ||
"attributeValue" : "...", | ||
"condition" : "OR", | ||
"criterion" : [ { }, { } ], | ||
"operator" : "LIKE" | ||
}, | ||
"excludeDeletedEntities" : true, | ||
"includeClassificationAttributes" : true, | ||
"includeSubClassifications" : true, | ||
"includeSubTypes" : true, | ||
"limit" : 12345, | ||
"offset" : 12345, | ||
"query" : "...", | ||
"tagFilters" : { | ||
"attributeName" : "...", | ||
"attributeValue" : "...", | ||
"condition" : "AND", | ||
"criterion" : [ { }, { } ], | ||
"operator" : "ENDS_WITH" | ||
}, | ||
"termName" : "...", | ||
"typeName" : "..." | ||
}, | ||
"searchType" : "BASIC", | ||
"uiParameters" : "...", | ||
"guid" : "8bbea92b-d98c-4613-ae6e-1a9d0b4f344b" | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name" : "TESTNAME", | ||
"ownerName" : "...", | ||
"searchParameters" : { | ||
"attributes" : [ "...", "..." ], | ||
"classification" : "...", | ||
"entityFilters" : { | ||
"attributeName" : "...", | ||
"attributeValue" : "...", | ||
"condition" : "OR", | ||
"criterion" : [ { }, { } ], | ||
"operator" : "GT" | ||
}, | ||
"excludeDeletedEntities" : true, | ||
"includeClassificationAttributes" : true, | ||
"includeSubClassifications" : true, | ||
"includeSubTypes" : true, | ||
"limit" : 12345, | ||
"offset" : 12345, | ||
"query" : "...", | ||
"tagFilters" : { | ||
"attributeName" : "...", | ||
"attributeValue" : "...", | ||
"condition" : "AND", | ||
"criterion" : [ { }, { } ], | ||
"operator" : "GT" | ||
}, | ||
"termName" : "...", | ||
"typeName" : "..." | ||
}, | ||
"searchType" : "ADVANCED", | ||
"uiParameters" : "...", | ||
"guid" : "8bbea92b-d98c-4613-ae6e-1a9d0b4f344b" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name" : "TESTNAME", | ||
"ownerName" : "...", | ||
"searchParameters" : { | ||
"attributes" : [ "...", "..." ], | ||
"classification" : "...", | ||
"entityFilters" : { | ||
"attributeName" : "...", | ||
"attributeValue" : "...", | ||
"condition" : "OR", | ||
"criterion" : [ { }, { } ], | ||
"operator" : "GT" | ||
}, | ||
"excludeDeletedEntities" : true, | ||
"includeClassificationAttributes" : true, | ||
"includeSubClassifications" : true, | ||
"includeSubTypes" : true, | ||
"limit" : 12345, | ||
"offset" : 12345, | ||
"query" : "...", | ||
"tagFilters" : { | ||
"attributeName" : "...", | ||
"attributeValue" : "...", | ||
"condition" : "AND", | ||
"criterion" : [ { }, { } ], | ||
"operator" : "GT" | ||
}, | ||
"termName" : "...", | ||
"typeName" : "..." | ||
}, | ||
"searchType" : "ADVANCED", | ||
"uiParameters" : "...", | ||
"guid" : "..." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"guid": "8bbea92b-d98c-4613-ae6e-1a9d0b4f344b", "name": "TESTNAME"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters