-
Story
-
Resolution: Done
-
Medium
-
None
-
None
It should be able to query all cmhandles with a given set of public cmhandle properties.
Interface Sketch
POST /ncmp/v1/data/ch/searches
{
"publicCmHandleProperties" : {
"Name-1" : "some-value",
"Name-2" : "other-value"
}
}
We want all cm-Handles where both things are true. Those properties also need to exist.
If query body does not follow supported structure return 400. Empty query will return all cm-Handles.
A/C:
- Demo - with "and" behaviour
- CI Test - two attributes
It should be possible to search with cmhandle public properties along with other search criteria like modules like below :
Interface Sketch of Potential Future Query
POST /ncmp/v1/data/ch/searches
{
"publicCmHandleProperties" : {
"publicPropertyName-1" : "publicPropertyValue-1",
"publicPropertyName-2" : "publicPropertyValue-2"
},
"modules": [
{
"moduleName": "", (Mandatory)
"revision": "" (Optional)
}
]
}
Modules here is to demonstrate future intentions of endpoint but is out of scope for this user story.
1.
|
Create Implementation Proposal | Closed | josephkeenan | |
2.
|
Create Proof of Concept | Closed | josephkeenan | |
3.
|
Update OpenAPI Specification for New Endpoint | Closed | josephkeenan | |
4.
|
Implement Controller/Logic for Query | Closed | josephkeenan | |
5.
|
Investigate CPS Path Query & Implement to Return Data | Closed | josephkeenan | |
6.
|
Create CSIT Test with Two Attributes | Closed | josephkeenan | |
7.
|
Manual Testing | Closed | josephkeenan | |
8.
|
Demo | Closed | josephkeenan |