...
- Batch (bulk) interface methods and Execute a data operation for group of cm handle ids
- Data jobs (write) operations
Suggested User Stories
Description | Jira | ||||||||
---|---|---|---|---|---|---|---|---|---|
Agree, Define (and Publish) Open Source Interface for Policy Execution |
| ||||||||
Feature toggle and addressing configuration parameters (use logging instead of actual call to new |
...
interface) | |
Dummy Stub implementation (to allow for integration testing) | |
Use new interface in NCMP (use Stub to allow/disallow predefined names/patterns |
...
) | |
Update official documentation (when feature completed from OpenSource point-of-view) |
Solution Proposal
Policy Executor REST Interface
...
Could be in URL, See alt. b above
Name | Parent | Type | Example Value | Optional/Compulsory | Notes | |
---|---|---|---|---|---|---|
1 | Authorization: Bearer | request (authorization header) | String | Bearer edaa8e7ce30f8904 | Required | required for tracking/ (future) authentication and to identify the source source (rApp) of the request |
2 | payloadType | body | String | CM_Write | Required | Could be in URL, See alt. b above 'CM_Write' currently, the only support value |
3 | decisionType | body | String | Allow | Required | Could be in URL, See alt. b above 'Allow' currently, the only supported value |
4 | payload | body | Object Array | Required | No needed if payload and decision are in URL | |
5 | cmHandleId | payload | String | F811AF64F5146DFC545EC60B73DE948E | Optional | Can be sent while cmHandle is used instead of alternateId NCMP will populate when available |
6 | resourceIdentifer | payload | String | ManagedElement=Kista/GNBDUFunction=1/UECC=1 | Optional | Remainder of FDN NCMP will populate when available |
7 | targetFdn | payload | String | /Subnetwork=22/MeContext=Kista/ManagedElement=Kista/GNBDUFunction=1/UECC=1 | Required | Complete FDN representing the cm handle and the resource identifier ie point to the target of the change to 'CM-Handle' ?! |
8 | cmChangeRequest | payload | Object | {"Cell":[{"id":"Cell-id","attributes":{"administrativeState":"UNLOCKED"}}]} | Required | CM Change Request |
...