...
External Validation REST Interface
Alternative a. No Parameters in URL (all data in body)
URI: <server-address>/policy-executor/api/v1
Alternative b-2. Payload and decision Type in URL
remaining data in request body, no need for 'payload' object because the body = payload
URI: <server-address>/policy-executor/api/v1/<payload-type>/<decision-type>
e.g. myhost:1234//policy-executor/api/v1/CM_Write/Allow
Alternative b-2. Payload and decision Type in URL with variable names
remaining data in request body, no need for 'payload' object because the body = payload
URI: <server-address>/policy-executor/api/v1/payload/<payload-type>/<decision-type>
e.g. myhost:1234//policy-executor/api/v1/payload/CM_Write/decision/Allow
Input Parameters
Name | Parent | Type | Example | Optional/Compulsory | Notes | |
---|---|---|---|---|---|---|
1 | Authorization: Bearer | header | String | Required | required for tracking/ (future) authentication and to identify the source of the request | |
2 | payloadType | body | String | CM_Write | Required | 'CM_Write' currently, the only support value |
3 | decisionType | body | String | Allow | Required | 'Allow' currently, the only supported value |
4 | payload | body | Object Array | Required | ||
5 | cmHandleId | payload | String | F811AF64F5146DFC545EC60B73DE948E | Optional | Can be sent while cmHandle is used instead of alternateId |
6 | resourceIdentifer | payload | String | ericsson-enm-gnbdu:GNBDUFunction=1 | Required | Remainder of FDN ? |
7 | targetFdn | payload | String | MEContext=RadioNode-0001,ManagedElement=RadioNode-0001 | Required | FDN to 'CM-Handle' ?! |
8 | cmChangeRequest | payload | Object | Required | CM Change Request |
...