CPS-2234 Identify and List all Legacy Interfaces
- 1 Assumptions
- 2 Requirement
- 3 Issues & Decisions
- 4 Interfaces
- 5 Endpoints
- 5.1 CPS-E-05
- 5.2 CPS-NCMP-I-01
- 5.3 DMI-I-01
- 6 Error Scenarios
- 7 Out of scope
- 8 User Stories
Assumptions
Assumption | Notes | Sign-off | ||
|---|---|---|---|---|
| 1 | 1 | Message-driven interfaces (event kafka driven) are already covered and do not require modification | Agreed this is an Out of scope for this epic | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
| 2 | 2 | FDN when part of URI's can be % encoded | Agreed no issues with this | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
Requirement
Interface | Requirement | Note | signoff | ||
|---|---|---|---|---|---|
| 1 | 1 | NCMP shall be expected to return back alternateID when alternateid is passed in NCMP shall be expected to return back to the normal cmhandle error scenario if alternateID is NOT passed on | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis @kieran mccarthy | ||
| 2 | 2 | Performance Impact |
| Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
Issues & Decisions
Issue | Notes | Decision | Signoff | ||
|---|---|---|---|---|---|
| 1 | 1 | 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: "CmHandleID='Ch-1', Resource='a/b/c/d'" Partial match example: Incoming: "CmHandle='a/b', Resource=''" Outgoing: "CmHandleID='Ch-1', Resource='a/b/c/d'" Append match example: Incoming: "CmHandle='a/b', Resource=''e/f" Outgoing: "CmHandleID='Ch-1', Resource='a/b/c/d/e/f'" **Should split based on URI** |
| @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
| 2 | 2 | Decision on Interfaces currently under development | see interfaces : CPS-E-09.e, CPS-E-10, CPS-E-11 |
| Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
| 3 | 3 | Performance Impact |
| Aug 21, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
Interfaces
Interface | Interface Description | Notes | ||
|---|---|---|---|---|
| 1 | 1 | CPS-E-05 | See decision on each individua end point | |
| 2 | 2 | CPS-E-08.e | Moved the endpoint to CPS-E-05 #15. | |
| 3 | 3 | CPS-E-09.e | Ongoing - See decision #2 under open issues | |
| 4 | 4 | CPS-E-10 | Asynchronous . Data Jobs (bulk request). 3GPP SBMA (Service Based Management Architecture) Compliant Interface (using FDNs) | Ongoing - See decision #2 under open issues |
| 5 | 5 | CPS-E-11 | Synchronous Single FDN request 3GPP SBMA (Service Based Management Architecture) Compliant Interface (using FDNs) - | Ongoing - See decision #2 under open issues |
| 6 | 6 | CPS-NCMP-I-01 | See decision on each individua end point | |
| 7 | 7 | DMI-I-01 | Discuss if interface should be included in implementation | |
| 8 | 8 | Application Management Interfaces | Does not communicate or interact with cmHandles |
Endpoints
CPS-E-05
URI | Rest Method | Description | Notes | Decision | Pre- AlternateId Performance | Post- AlternateId Performance | signoff | ||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 2 | 2 | /v1/ch/{cm-handle}/data/ds/{datastore-name} | GET | Get resource data for given cm handle | Alternate ID in URI Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 3 | 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 Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 4 | 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 Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 5 | 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 Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 6 | 6 | /v1/data | POST | Execute a data operation for group of cm handle ids | Alternate ID as part of target IDs Sends both id formats in xpath to database | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 7 | 7 | /v1/ch/{cm-handle}/data/ds/{datastore-name}/query | GET | Query resource data for a given cm handle | Alternate ID in URI | NOT use in // and not supported by // | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 8 | 8 | /v1/ch/{cm-handle}/modules | GET | fetch all module references (name and revision) for a given cm handle | Alternate ID in URI Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 9 | 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 Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 10 | 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 | No impact (No change needed) | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 11 | 11 | /v1/ch/{cm-handle} | GET | Retrieve CM handle details and properties by cm handle id | Alternate ID in URI Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 12 | 12 | /v1/ch/{cm-handle}/properties | GET | Get CM handle properties by cm handle id | Alternate ID in URI Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 13 | 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 | Shall support (TBD) @Csaba Kocsis to propose. Aug 28, 2024 @Kolawole Adebisi-Adeolokun CPS to implement option #1 optional query parameter | @Csaba Kocsis Proposal: option #1: optional query paramater that say which id is to be return, default value cmhandleid. option #2 new interface called alternateid-searches with the same capabilities | ||
| 14 | 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 | NOT use in // and not supported by // | Jun 13, 2024@Kolawole Adebisi-Adeolokun @Csaba Kocsis | ||
| 15 | 15 | v1/ch/{cm-handle}/state | GET | Get CM handle state by cm handle id. (Not event driven, moved out of CPS-E-08.e) | Alternate ID in URI Resolves CM Handle Reference then performs action | Shall support | Jun 13, 2024@Kolawole Adebisi-Adeolokun @Csaba Kocsis |
CPS-NCMP-I-01
URI | Rest Method | Description | Notes | Decision | Signoff | ||
|---|---|---|---|---|---|---|---|
| 1 | 1 | /ncmpInventory/v1/ch | POST | Register a DMI Plugin with any new, updated or removed CM Handles | Already Supported - Alternate IDs are already being registered here. | Already Supported | Jun 13, 2024 @Kolawole Adebisi-Adeolokun @Csaba Kocsis |
| 2 |