Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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


NameParentTypeExampleOptional/CompulsoryNotes
1Authorization: BearerheaderString
Required

required for tracking/ (future) authentication and to identify the source of the request

2payloadTypebodyString CM_WriteRequired'CM_Write' currently, the only support value
3

decisionType

bodyStringAllowRequired'Allow' currently, the only supported value
4

payload

bodyObject Array
Required
5

cmHandleId

payloadStringF811AF64F5146DFC545EC60B73DE948EOptionalCan be sent while cmHandle is used instead of alternateId
6

resourceIdentifer

payloadStringericsson-enm-gnbdu:GNBDUFunction=1RequiredRemainder of FDN ?
7

targetFdn

payloadStringMEContext=RadioNode-0001,ManagedElement=RadioNode-0001RequiredFDN to 'CM-Handle' ?!
8

cmChangeRequest

payloadObject
RequiredCM Change Request

...