Details
-
Story
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
Description
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.
Attachments
Issue Links
1.
|
Create Implementation Proposal |
|
Closed | Joseph Keenan |
2.
|
Create Proof of Concept |
|
Closed | Joseph Keenan |
3.
|
Update OpenAPI Specification for New Endpoint |
|
Closed | Joseph Keenan |
4.
|
Implement Controller/Logic for Query |
|
Closed | Joseph Keenan |
5.
|
Investigate CPS Path Query & Implement to Return Data |
|
Closed | Joseph Keenan |
6.
|
Create CSIT Test with Two Attributes |
|
Closed | Joseph Keenan |
7.
|
Manual Testing |
|
Closed | Joseph Keenan |
8.
|
Demo |
|
Closed | Joseph Keenan |