...
Issue | Notes | Decision | |
---|---|---|---|
1 | CmNotificationSubscription kafka interface | Requires determination on coverage | |
2 | To split or not to split | Exact resource path required or partial match is accepted Exact match example: Incoming: "CmHandle='a/b/c/d', Resource=''" Outgoing: "CmHandleCmHandleID='Ch-1', Resource='a/b/c/d'" Partial match example: Incoming: "CmHandle='a/b', Resource=''" Outgoing: "CmHandleCmHandleID='Ch-1', Resource='a/b/c/d'" Append match example: Incoming: "CmHandle='a/b', Resource=''e/f" Outgoing: "CmHandleCmHandleID='Ch-1', Resource='a/b/c/d/e/f'" | |
3 | Throw exception for non-exact match | Throw CmHandleNotFound when incoming FDN does not contain perfect resource match |
...
URI | Rest Method | Description | Notes | Decision | |
---|---|---|---|---|---|
1 | /v1/ch/{cm-handle}/data/ds/{datastore-name} | DELETE | Delete resource data from pass-through running for a given cm handle | Alternate ID in URI | |
2 | /v1/ch/{cm-handle}/data/ds/{datastore-name} | GET | Get resource data for given cm handle | Alternate ID in URI | |
3 | /v1/ch/{cm-handle}/data/ds/{datastore-name} | PATCH | Patch resource data from pass-through running for the given cm handle | Alternate ID in URI | |
4 | /v1/ch/{cm-handle}/data/ds/{datastore-name} | POST | create resource data from pass-through running for given cm handle | Alternate ID in URI | |
5 | /v1/ch/{cm-handle}/data/ds/{datastore-name} | PUT | Update resource data from pass-through running for the given cm handle | Alternate ID in URI | |
6 | /v1/data | POST | Execute a data operation for group of cm handle ids | Alternate ID as part of target IDs | |
7 | /v1/ch/{cm-handle}/data/ds/{datastore-name}/query | GET | Query resource data for a given cm handle | Alternate ID in URI | |
8 | /v1/ch/{cm-handle}/modules | GET | fetch all module references (name and revision) for a given cm handle | Alternate ID in URI | |
9 | /v1/ch/{cm-handle}/modules/definitions | GET | Get module definitions (module name, revision, yang resource) with options to filter on module name and revision | Alternate ID in URI | |
10 | /v1/ch/searches | POST | Execute cm handle query search and return a list of cm handle details. | Not applicable in post, Alternate ID would be contained in return | |
11 | /v1/ch/{cm-handle} | GET | Retrieve CM handle details and properties by cm handle id | Alternate ID in URI | |
12 | /v1/ch/{cm-handle}/properties | GET | Get CM handle properties by cm handle id | Alternate ID in URI | |
13 | /v1/ch/id-searches | POST | Execute cm handle query search and return a list of cm handle ids. | Not applicable in post or return | |
14 | /v1/ch/{cm-handle}/data-sync | PUT | Set the data sync enabled flag to true or false for a specified Cm-Handle. This will in turn set the data sync state to UNSYNCHRONIZED and NONE_REQUESTED respectfully. | Alternate ID in URI |
CPS-E-08.e
URI | Rest Method | Description | Notes | Decision | |
---|---|---|---|---|---|
1 | /ncmp/v1/ch/{cm-handle}/state | GET | Get CM handle state by cm handle id | Alternate ID in URI |
CPS-E-09.e - New Requirement for Montreal
...
URI | Rest Method | Description | Notes | Decision | |
---|---|---|---|---|---|
1 | /dmi/v1/ch/{cmHandle}/modules | POST | Get all modules for given cm handle | Internal - not applicable | |
2 | /dmi/v1/ch/{cmHandle}/moduleResources | POST | Retrieve module resources for one or more modules | Internal - not applicable | |
3 | /dmi/v1/inventory/cmHandles | POST | register given list of cm handles (internal use only) | Internal - not applicable | |
4 | /dmi/v1/ch/{cmHandle}/data/ds/{datastore-name} | POST | Get resource data from passthrough operational or running for a cm handle | Internal - not applicable | |
5 | /dmi/v1/data | POST | Execute a data operation for group of cm handle ids by supplied operation details | Internal - not applicable |
Proposed User Stories
- Update Cmhandle schema to include Alternate ID
- Changes must test for create and update case
- Parse request to extract Alternate ID
- Compare Alternate ID data to CmHandle data and extract match from database
- Pass CmHandle onto existing methods to perform desired requests