Versions Compared

Key

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

...

  1. Batch (bulk) interface methods and Execute a data operation for group of cm handle ids
  2. Data jobs (write) operations

Suggested User Stories

DescriptionJira

Agree, Define (and Publish) Open Source Interface for Policy Execution

Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-2291

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


NameParentTypeExample ValueOptional/CompulsoryNotes
1Authorization: Bearerrequest (authorization header)StringBearer edaa8e7ce30f8904Required

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

2payloadTypebodyString CM_WriteRequiredCould be in URL, See alt. b above
'CM_Write' currently, the only support value
3

decisionType

bodyStringAllowRequiredCould be in URL, See alt. b above
'Allow' currently, the only supported value
4

payload

bodyObject Array
RequiredNo needed if payload and decision are in URL
5

cmHandleId

payloadStringF811AF64F5146DFC545EC60B73DE948EOptionalCan be sent while cmHandle is used instead of alternateId
NCMP will populate when available
6

resourceIdentifer

payloadStringManagedElement=Kista/GNBDUFunction=1/UECC=1OptionalRemainder of FDN
NCMP will populate when available
7

targetFdn

payloadString/Subnetwork=22/MeContext=Kista/ManagedElement=Kista/GNBDUFunction=1/UECC=1RequiredComplete FDN representing the cm handle and the resource identifier ie point to the target of the change to 'CM-Handle' ?!
8

cmChangeRequest

payloadObject{"Cell":[{"id":"Cell-id","attributes":{"administrativeState":"UNLOCKED"}}]}RequiredCM Change Request

...