References
- CPS-2249Getting issue details... STATUS
Assumptions
Assumption | Notes | Sign-off | |
---|---|---|---|
1 | Scope:
| This does not affect (bulk/batch) Read |
|
2 | Conflict Management Interface uses FDN | Conflict Management can supports ANY format the Altenate ID can support (FDNs and/or URI-FDNs) |
|
3 | Request per second is per the existing numbers on NCMP |
Issues & Decisions
Issue | Notes | Decision | |
---|---|---|---|
1 | Uplift Ericsson source code (need permission) | CPS not allowed to lift // proprietary codes, we need to use pseudo code Gergely/team to support CPS with these codes | |
2 | Implement in REST or Service Layer ? | This is currently implemented as an in the Service layer in // | |
3 | Publish public Conflict Interface as part of NCMP (Concerns new generic interface)? | NCMP shall own and document. | |
4 | Could we make this more generic to suit non-conflict-management use i.e. tbac... | Agreed to make it more generic to suit ALL the use cases | |
5 | Private properties are used to get FDN at the moment. | Will // provide us with registered Alternatid? Opensource does not support private property Peter Turcsanyi to revert TBC . // Confirmed they will implement all https://eteamproject.internal.ericsson.com/browse/IDUN-105467 |
|
6 | CPS-1992 - NCMP to Support New 3GPP sync single FDN request to support Conflict mgt | CPS-1992 - When delivered, this should also support conflict management | |
7 | Legacy and ongoing bulk/batch interface (dataJobs CPS-1964) are not in scope | Bulk/batch operation
|
|
8 | Name for more generic interface | Suggestion: External Validation TBC AP Kolawole Adebisi-Adeolokun // Kieran/csaba/ tony |
|
9 | External Validation Request format | POST operation, all parameters in body, URL ? CPS AP Toine Siebelink to create a placeholder & collaborate with Gergely/Brian ( To provide initial proposal) |
|
10 | Enable/service name discovery | config parameter with service name/address. AP Toine Siebelink to create a placeholder & collaborate with Gergely/Brian ( To provide initial proposal) |
|
11 | case sensitvity of parameters (payloadType, decsision etc.) | e.g. accept 'allow', 'Allow', 'ALLOW' or only accept only on well defined case sensitive variation and anything else is a error scenario?! To be discussed during proposal; AP Toine Siebelink to create a placeholder & collaborate with Gergely/Brian ( To provide initial proposal) |
|
Requirements
Functional: new generic 'External Validation' REST interface
This interface will NOT be implemented by CPS team except a stub for testing purposes
Interface | Requirement | Additional Information | Signoff | |
---|---|---|---|---|
1 | External Validation | Documentation | NCMP own and clearly document interface using OpenAPI and RTD | |
2 | External Validation | Input Parameters:
| Payloadtype can only be 'CM_Write' for now Payloadtype can only be 'Allow' for now Exact Payload to be defined during study but should be well defined and cannot depend on Java interface (even if it is the same now) | |
3 | External Validation | Output Parameters;
| This is a New Generic interface that can support 'confllict handling'. |
Functional: CPS Impacts
Interface | Requirement | Additional Information | Signoff | |
---|---|---|---|---|
1 | CPS-E-05 | Write operations are intercepted and validated using the new external service. | ||
2 | CPS-E-05 | When the External validation is negative NCMP REST Response should be '409 Conflict'. The HTTP status message should contain the message and decision id from the external validation service. | NCMP interface validation shall be done before the external validation (Conflict management) | |
3 | NCMP to provide metrics on external validation | AP on CPS to provide the metrics |
|
Error Handling
Scenario | Expected Behavior | Notes | Signoff | |
---|---|---|---|---|
1 | External validation service does not respond (in time) Or does not respond with 2xx(Http status code) | configurable default answer | This needs further investigation AP Gergely Molnar TBD Possible proposal:
| |
2 | Unrecognized response from External Validation | (Low prio) No default behavior covered yet in //, If not reachable - default accept/reject with specific message |
|
Characteristics
Parameter | Expectation | Notes | Signoff | |
---|---|---|---|---|
1 | Performance impact? |
|
Out of Scope
- Batch (bulk) interface methods and Execute a data operation for group of cm handle ids
- Data job interface
- Datajobs bulk write operations
Solution Proposal
External Validation REST Interface
URI
TBC - Gergely Molnar /Brian ( To provide initial proposal)
Input Parameters
Name | Parent | Type | Example | Optional/Compulsory | Notes | |
---|---|---|---|---|---|---|
1 | Bearer | header? | String (encoded?) | required for tracking/ (future)authentication | ||
2 | payloadType | body | String | CM_Write | 'CM_Write' currently, only support value | |
3 | DecisionType | body | String | Allow | 'Allow' currently, only support value | |
4 | payload | body | Object | |||
5 | targetFdn | payload | String | FDN to 'CM-Handle' ?! | ||
6 | resourceIdentifer | payload | String | Remainder of FDN ? | ||
7 | changeRequest | payload | String | the change value |
Output Parameters
Name | Parent | Type | Example | Notes | |
---|---|---|---|---|---|
1 | decisionId | body | String | UID | |
2 | decision | body | String | Deny | currently only 'Allow' and 'Deny' are supported (case sensitive ?!) |
3 | message | body | String |