diff options
author | brunomilitzer <bruno.militzer@est.tech> | 2022-05-19 10:25:45 +0100 |
---|---|---|
committer | brunomilitzer <bruno.militzer@est.tech> | 2022-05-23 16:21:40 +0100 |
commit | a79904ff750b6d7667558ca59217d00a529df7a0 (patch) | |
tree | 4d3279d1571c0eb7e533e55bea63236cc044f332 /docs/clamp | |
parent | b3d506ced9857dc4b78cb27e27f1890aa5e0fbd9 (diff) |
Documented Upgrade from Istanbul to Jakarta
Issue-ID: POLICY-4107
Change-Id: Ifd624a8dc15b8bcb3c12f91e2c548ffa6a3eb386
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'docs/clamp')
4 files changed, 1851 insertions, 0 deletions
diff --git a/docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json b/docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json new file mode 100644 index 00000000..2deebf65 --- /dev/null +++ b/docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json @@ -0,0 +1,682 @@ +{ + "info": { + "_postman_id": "3dfd3a05-1695-4c90-b25f-177cf83f237f", + "name": "Automation Composition Jackarta", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Monitoring", + "item": [ + { + "name": "GET Monitoring Automation Composition Element", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/monitoring/acelement?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "monitoring", + "acelement" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Monitoring Automation Composition Elements ACM", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/monitoring/acelements/automationcomposition?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "monitoring", + "acelements", + "automationcomposition" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Monitoring Automation Composition Participant", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/monitoring/participant?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "monitoring", + "participant" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Monitoring Automation Composition Participants ACM", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/monitoring/participants/automationcomposition?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "monitoring", + "participants", + "automationcomposition" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Comissioning", + "item": [ + { + "name": "POST Commission Tosca Service Template", + "request": { + "method": "POST", + "header": [ + { + "key": "X-ONAP-RequestID", + "value": "709c62b3-8918-41b9-a747-d21eb79c6c20", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/yaml", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\ndata_types:\n onap.datatypes.ToscaConceptIdentifier:\n derived_from: tosca.datatypes.Root\n properties:\n name:\n type: string\n required: true\n version:\n type: string\n required: true\n onap.datatype.acm.Target:\n derived_from: tosca.datatypes.Root\n description: Definition for a entity in A&AI to perform an Automation Composition operation on\n properties:\n targetType:\n type: string\n description: Category for the target type\n required: true\n constraints:\n - valid_values:\n - VNF\n - VM\n - VFMODULE\n - PNF\n entityIds:\n type: map\n description: |\n Map of values that identify the resource. If none are provided, it is assumed that the\n entity that generated the ONSET event will be the target.\n required: false\n metadata:\n clamp_possible_values: ClampExecution:CSAR_RESOURCES\n entry_schema:\n type: string\n onap.datatype.acm.Actor:\n derived_from: tosca.datatypes.Root\n description: An actor/operation/target definition\n properties:\n actor:\n type: string\n description: The actor performing the operation.\n required: true\n metadata:\n clamp_possible_values: Dictionary:DefaultActors,ClampExecution:CDS/actor\n operation:\n type: string\n description: The operation the actor is performing.\n metadata:\n clamp_possible_values: Dictionary:DefaultOperations,ClampExecution:CDS/operation\n required: true\n target:\n type: onap.datatype.acm.Target\n description: The resource the operation should be performed on.\n required: true\n payload:\n type: map\n description: Name/value pairs of payload information passed by Policy to the actor\n required: false\n metadata:\n clamp_possible_values: ClampExecution:CDS/payload\n entry_schema:\n type: string\n onap.datatype.acm.Operation:\n derived_from: tosca.datatypes.Root\n description: An operation supported by an actor\n properties:\n id:\n type: string\n description: Unique identifier for the operation\n required: true\n description:\n type: string\n description: A user-friendly description of the intent for the operation\n required: false\n operation:\n type: onap.datatype.acm.Actor\n description: The definition of the operation to be performed.\n required: true\n timeout:\n type: integer\n description: The amount of time for the actor to perform the operation.\n required: true\n retries:\n type: integer\n description: The number of retries the actor should attempt to perform the operation.\n required: true\n default: 0\n success:\n type: string\n description: Points to the operation to invoke on success. A value of \"final_success\" indicates and end to the operation.\n required: false\n default: final_success\n failure:\n type: string\n description: Points to the operation to invoke on Actor operation failure.\n required: false\n default: final_failure\n failure_timeout:\n type: string\n description: Points to the operation to invoke when the time out for the operation occurs.\n required: false\n default: final_failure_timeout\n failure_retries:\n type: string\n description: Points to the operation to invoke when the current operation has exceeded its max retries.\n required: false\n default: final_failure_retries\n failure_exception:\n type: string\n description: Points to the operation to invoke when the current operation causes an exception.\n required: false\n default: final_failure_exception\n failure_guard:\n type: string\n description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\n required: false\n default: final_failure_guard\n onap.datatypes.monitoring.managedObjectDNsBasic:\n constraints: [ ]\n properties:\n DN:\n name: DN\n type: string\n typeVersion: 0.0.0\n description: Managed object distinguished name\n required: true\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.managedObjectDNsBasic\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.managedObjectDNsBasics:\n constraints: [ ]\n properties:\n managedObjectDNsBasic:\n name: managedObjectDNsBasic\n type: map\n typeVersion: 0.0.0\n description: Managed object distinguished name object\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.managedObjectDNsBasic\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.managedObjectDNsBasics\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.measurementGroup:\n constraints: [ ]\n properties:\n measurementTypes:\n name: measurementTypes\n type: list\n typeVersion: 0.0.0\n description: List of measurement types\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.measurementTypes\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n managedObjectDNsBasic:\n name: managedObjectDNsBasic\n type: list\n typeVersion: 0.0.0\n description: List of managed object distinguished names\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.managedObjectDNsBasics\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.measurementGroup\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.measurementGroups:\n constraints: [ ]\n properties:\n measurementGroup:\n name: measurementGroup\n type: map\n typeVersion: 0.0.0\n description: Measurement Group\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.measurementGroup\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.measurementGroups\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.measurementType:\n constraints: [ ]\n properties:\n measurementType:\n name: measurementType\n type: string\n typeVersion: 0.0.0\n description: Measurement type\n required: true\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.measurementType\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.measurementTypes:\n constraints: [ ]\n properties:\n measurementType:\n name: measurementType\n type: map\n typeVersion: 0.0.0\n description: Measurement type object\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.measurementType\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.measurementTypes\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.nfFilter:\n constraints: [ ]\n properties:\n modelNames:\n name: modelNames\n type: list\n typeVersion: 0.0.0\n description: List of model names\n required: true\n constraints: [ ]\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n modelInvariantIDs:\n name: modelInvariantIDs\n type: list\n typeVersion: 0.0.0\n description: List of model invariant IDs\n required: true\n constraints: [ ]\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n modelVersionIDs:\n name: modelVersionIDs\n type: list\n typeVersion: 0.0.0\n description: List of model version IDs\n required: true\n constraints: [ ]\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n nfNames:\n name: nfNames\n type: list\n typeVersion: 0.0.0\n description: List of network functions\n required: true\n constraints: [ ]\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.nfFilter\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n onap.datatypes.monitoring.subscription:\n constraints: [ ]\n properties:\n measurementGroups:\n name: measurementGroups\n type: list\n typeVersion: 0.0.0\n description: Measurement Groups\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.measurementGroups\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n fileBasedGP:\n name: fileBasedGP\n type: integer\n typeVersion: 0.0.0\n description: File based granularity period\n required: true\n constraints: [ ]\n metadata: { }\n fileLocation:\n name: fileLocation\n type: string\n typeVersion: 0.0.0\n description: ROP file location\n required: true\n constraints: [ ]\n metadata: { }\n subscriptionName:\n name: subscriptionName\n type: string\n typeVersion: 0.0.0\n description: Name of the subscription\n required: true\n constraints: [ ]\n metadata: { }\n administrativeState:\n name: administrativeState\n type: string\n typeVersion: 0.0.0\n description: State of the subscription\n required: true\n constraints:\n - valid_values:\n - LOCKED\n - UNLOCKED\n metadata: { }\n nfFilter:\n name: nfFilter\n type: map\n typeVersion: 0.0.0\n description: Network function filter\n required: true\n constraints: [ ]\n entry_schema:\n type: onap.datatypes.monitoring.nfFilter\n typeVersion: 0.0.0\n constraints: [ ]\n metadata: { }\n name: onap.datatypes.monitoring.subscription\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: { }\n org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest:\n version: 1.0.0\n derived_from: tosca.datatypes.Root\n properties:\n restRequestId:\n type: onap.datatypes.ToscaConceptIdentifier\n typeVersion: 1.0.0\n required: true\n description: The name and version of a REST request to be sent to a REST endpoint\n httpMethod:\n type: string\n required: true\n constraints:\n - valid_values: [ POST, PUT, GET, DELETE ]\n description: The REST method to use\n path:\n type: string\n required: true\n description: The path of the REST request relative to the base URL\n body:\n type: string\n required: false\n description: The body of the REST request for PUT and POST requests\n expectedResponse:\n type: integer\n required: true\n constraints: [ ]\n description: THe expected HTTP status code for the REST request\n org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity:\n version: 1.0.0\n derived_from: tosca.datatypes.Root\n properties:\n configurationEntityId:\n type: onap.datatypes.ToscaConceptIdentifier\n typeVersion: 1.0.0\n required: true\n description: The name and version of a Configuration Entity to be handled by the HTTP Automation Composition Element\n restSequence:\n type: list\n entry_schema:\n type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\n typeVersion: 1.0.0\n description: A sequence of REST commands to send to the REST endpoint\npolicy_types:\n onap.policies.Monitoring:\n derived_from: tosca.policies.Root\n description: a base policy type for all policies that govern monitoring provisioning\n version: 1.0.0\n name: onap.policies.Monitoring\n onap.policies.Sirisha:\n derived_from: tosca.policies.Root\n description: a base policy type for all policies that govern monitoring provisioning\n version: 1.0.0\n name: onap.policies.Sirisha\n onap.policies.monitoring.dcae-pm-subscription-handler:\n properties:\n pmsh_policy:\n name: pmsh_policy\n type: onap.datatypes.monitoring.subscription\n typeVersion: 0.0.0\n description: PMSH Policy JSON\n required: false\n constraints: [ ]\n metadata: { }\n name: onap.policies.monitoring.dcae-pm-subscription-handler\n version: 1.0.0\n derived_from: onap.policies.Monitoring\n metadata: { }\n onap.policies.acm.operational.Common:\n derived_from: tosca.policies.Root\n version: 1.0.0\n name: onap.policies.acm.operational.Common\n description: |\n Operational Policy for Automation Composition execution. Originated in Frankfurt to support TOSCA Compliant\n Policy Types. This does NOT support the legacy Policy YAML policy type.\n properties:\n id:\n type: string\n description: The unique Automation Composition id.\n required: true\n timeout:\n type: integer\n description: |\n Overall timeout for executing all the operations. This timeout should equal or exceed the total\n timeout for each operation listed.\n required: true\n abatement:\n type: boolean\n description: Whether an abatement event message will be expected for the Automation Composition from DCAE.\n required: true\n default: false\n trigger:\n type: string\n description: Initial operation to execute upon receiving an Onset event message for the Automation Composition.\n required: true\n operations:\n type: list\n description: List of operations to be performed when Automation Composition is triggered.\n required: true\n entry_schema:\n type: onap.datatype.acm.Operation\n onap.policies.acm.operational.common.Apex:\n derived_from: onap.policies.acm.operational.Common\n type_version: 1.0.0\n version: 1.0.0\n name: onap.policies.acm.operational.common.Apex\n description: Operational policies for Apex PDP\n properties:\n engineServiceParameters:\n type: string\n description: The engine parameters like name, instanceCount, policy implementation, parameters etc.\n required: true\n eventInputParameters:\n type: string\n description: The event input parameters.\n required: true\n eventOutputParameters:\n type: string\n description: The event output parameters.\n required: true\n javaProperties:\n type: string\n description: Name/value pairs of properties to be set for APEX if needed.\n required: false\nnode_types:\n org.onap.policy.clamp.acm.Participant:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n org.onap.policy.clamp.acm.AutomationCompositionElement:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n required: false\n metadata:\n common: true\n description: Specifies the organization that provides the automation composition element\n participant_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n metadata:\n common: true\n participantType:\n type: onap.datatypes.ToscaConceptIdentifier\n required: true\n metadata:\n common: true\n description: The identity of the participant type that hosts this type of Automation Composition Element\n startPhase:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n metadata:\n common: true\n description: A value indicating the start phase in which this automation composition element will be started, the\n first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped\n in reverse start phase order. Automation Composition Elements with the same start phase are started and\n stopped simultaneously\n uninitializedToPassiveTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from uninitialized to passive\n passiveToRunningTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from passive to running\n runningToPassiveTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from running to passive\n passiveToUninitializedTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from passive to uninitialized\n org.onap.policy.clamp.acm.AutomationComposition:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n required: false\n metadata:\n common: true\n description: Specifies the organization that provides the automation composition element\n elements:\n type: list\n required: true\n metadata:\n common: true\n entry_schema:\n type: onap.datatypes.ToscaConceptIdentifier\n description: Specifies a list of automation composition element definitions that make up this automation composition definition\n org.onap.policy.clamp.acm.PolicyAutomationCompositionElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.acm.CDSAutomationCompositionElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement\n properties:\n cds_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement\n properties:\n chart:\n type: string\n required: true\n configs:\n type: list\n required: false\n requirements:\n type: string\n requred: false\n templates:\n type: list\n required: false\n entry_schema:\n values:\n type: string\n requred: true\n org.onap.policy.clamp.acm.HttpAutomationCompositionElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement\n properties:\n baseUrl:\n type: string\n required: true\n description: The base URL to be prepended to each path, identifies the host for the REST endpoints.\n httpHeaders:\n type: map\n required: false\n entry_schema:\n type: string\n description: HTTP headers to send on REST requests\n configurationEntities:\n type: map\n required: true\n entry_schema:\n type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity\n typeVersion: 1.0.0\n description: The connfiguration entities the Automation Composition Element is managing and their associated REST requests\n\ntopology_template:\n inputs:\n pmsh_monitoring_policy:\n type: onap.datatypes.ToscaConceptIdentifier\n description: The ID of the PMSH monitoring policy to use\n default:\n name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test\n version: 1.0.0\n pmsh_operational_policy:\n type: onap.datatypes.ToscaConceptIdentifier\n description: The ID of the PMSH operational policy to use\n default:\n name: operational.apex.pmcontrol\n version: 1.0.0\n node_templates:\n org.onap.policy.clamp.acm.PolicyParticipant:\n version: 2.3.1\n type: org.onap.policy.clamp.acm.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement:\n version: 1.2.3\n type: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\n type_version: 1.0.0\n description: Automation composition element for the monitoring policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n participantType:\n name: org.onap.policy.clamp.acm.PolicyParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.monitoring.pm-subscription-handler\n version: 1.0.0\n policy_id:\n get_input: pmsh_monitoring_policy\n org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement:\n version: 1.2.3\n type: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\n type_version: 1.0.0\n description: Automation composition element for the operational policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n participantType:\n name: org.onap.policy.clamp.acm.PolicyParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.operational.pm-subscription-handler\n version: 1.0.0\n policy_id:\n get_input: pmsh_operational_policy\n org.onap.policy.clamp.acm.KubernetesParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.acm.Participant\n type_version: 1.0.1\n description: Participant for K8S\n properties:\n provider: ONAP\n org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement:\n # Chart from new repository\n version: 1.2.3\n type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\n type_version: 1.0.0\n description: Automation composition element for the K8S microservice for PMSH\n properties:\n provider: ONAP\n participant_id:\n name: K8sParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.policy.clamp.acm.KubernetesParticipant\n version: 2.3.4\n chart:\n chartId:\n name: dcae-pmsh\n version: 10.0.0\n namespace: onap\n releaseName: onap-dcae-pmsh\n repository:\n repoName: chartmuseum\n address: http://chart-museum:80\n userName: onapinitializer\n password: demo123456!\n overrideParams:\n global.masterPassword: test\n org.onap.policy.clamp.acm.HttpParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.acm.Participant\n type_version: 1.0.1\n description: Participant for Http requests\n properties:\n provider: ONAP\n org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement:\n # Consul http config for PMSH.\n version: 1.2.3\n type: org.onap.policy.clamp.acm.HttpAutomationCompositionElement\n type_version: 1.0.1\n description: Automation composition element for the http requests of PMSH microservice\n properties:\n provider: ONAP\n participant_id:\n name: HttpParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.policy.clamp.acm.HttpParticipant\n version: 2.3.4\n uninitializedToPassiveTimeout: 180\n startPhase: 1\n baseUrl: https://dcae-pmsh:8443\n httpHeaders:\n Content-Type: application/json\n configurationEntities:\n - configurationEntityId:\n name: entity1\n version: 1.0.1\n restSequence:\n - restRequestId:\n name: request1\n version: 1.0.1\n httpMethod: POST\n path: subscription\n body: '{\n \"subscription\":{\n \"subscriptionName\":\"new_sub_01\",\n \"operationalPolicyName\":\"pmsh-operational-policy\",\n \"controlLoopName\":\"controlLoop-name\",\n \"nfFilter\":{\n \"nfNames\":[\n \"^pnf*\"\n ],\n \"modelInvariantIDs\":[\n \"7129e420-d396-4efb-af02-6b83499b12f5\"\n ],\n \"modelVersionIDs\":[\n \"e80a6ae3-cafd-4d24-850d-e14c084a5ca7\"\n ],\n \"modelNames\":[\n \"pnf_134\"\n ]\n },\n \"measurementGroups\":[\n {\n \"measurementGroup\":{\n \"measurementGroupName\":\"msgroup_01\",\n \"administrativeState\":\"UNLOCKED\",\n \"fileBasedGP\":15,\n \"fileLocation\":\"/pm/pm.xml\",\n \"measurementTypes\":[\n {\n \"measurementType\":\"EutranCell.*\"\n },\n {\n \"measurementType\":\"EutranCellRelation.pmCounter1\"\n },\n {\n \"measurementType\":\"EutranCellRelation.pmCounter2\"\n }\n ],\n \"managedObjectDNsBasic\":[\n {\n \"DN\":\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1\"\n },\n {\n \"DN\":\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter2\"\n },\n {\n \"DN\":\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter3\"\n }\n ]\n }\n }\n ]\n }\n}'\n expectedResponse: 201\n org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:\n version: 1.2.3\n type: org.onap.policy.clamp.acm.AutomationComposition\n type_version: 1.0.0\n description: Automation composition for Hello World\n properties:\n provider: ONAP\n elements:\n - name: org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\n version: 1.2.3\n - name: org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\n version: 1.2.3\n policies:\n - operational.apex.pmcontrol:\n type: onap.policies.acm.operational.common.Apex\n type_version: 1.0.0\n version: 1.0.0\n properties:\n engineServiceParameters:\n name: MyApexEngine\n version: 0.0.1\n id: 45\n instanceCount: 2\n deploymentPort: 12561\n engineParameters:\n executorParameters:\n JAVASCRIPT:\n parameterClassName: org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters\n contextParameters:\n parameterClassName: org.onap.policy.apex.context.parameters.ContextParameters\n schemaParameters:\n Avro:\n parameterClassName: org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters\n Java:\n parameterClassName: org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters\n jsonAdapters:\n Instant:\n adaptedClass: java.time.Instant\n adaptorClass: org.onap.policy.common.gson.InstantAsMillisTypeAdapter\n policy_type_impl:\n apexPolicyModel:\n key:\n name: PMControlPolicy\n version: 0.0.1\n keyInformation:\n key:\n name: PMControlPolicy_KeyInfo\n version: 0.0.1\n keyInfoMap:\n entry:\n - key:\n name: CDSActionIdentifiersType\n version: 0.0.1\n value:\n key:\n name: CDSActionIdentifiersType\n version: 0.0.1\n UUID: 6e5fa19b-14df-37e3-a4ae-8c537e861a82\n description: Generated description for concept referred to by\n key \"CDSActionIdentifiersType:0.0.1\"\n - key:\n name: CDSCreateResponseEvent\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponseEvent\n version: 0.0.1\n UUID: 14b29e38-ac75-3273-aa4e-8583c0aa7dad\n description: Generated description for concept referred to by\n key \"CDSCreateResponseEvent:0.0.1\"\n - key:\n name: CDSCreateResponsePayloadType\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponsePayloadType\n version: 0.0.1\n UUID: 04573f8f-e772-30a5-b1d9-d7318d4a1e13\n description: Generated description for concept referred to by\n key \"CDSCreateResponsePayloadType:0.0.1\"\n - key:\n name: CDSCreateResponsePolicy\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponsePolicy\n version: 0.0.1\n UUID: e126c965-fc09-3bfe-8f55-70f380a4a49c\n description: Generated description for concept referred to by\n key \"CDSCreateResponsePolicy:0.0.1\"\n - key:\n name: CDSCreateResponseTask\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponseTask\n version: 0.0.1\n UUID: 6165ee82-afd2-3aab-a517-f00b3f2461d2\n description: Generated description for concept referred to by\n key \"CDSCreateResponseTask:0.0.1\"\n - key:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n value:\n key:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n UUID: 8350ac5e-c157-38b9-9614-a0f93a830e60\n description: Generated description for concept referred to by\n key \"CDSCreateSubscriptionPayloadType:0.0.1\"\n - key:\n name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n value:\n key:\n name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n UUID: cfa325ba-226b-3a31-9183-ec43e2b6e9a2\n description: Generated description for concept referred to by\n key \"CDSCreateSubscriptionRequestEvent:0.0.1\"\n - key:\n name: CDSDeleteResponseEvent\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponseEvent\n version: 0.0.1\n UUID: 8be9c0fa-7437-3841-aff2-b3cec6ae3bd8\n description: Generated description for concept referred to by\n key \"CDSDeleteResponseEvent:0.0.1\"\n - key:\n name: CDSDeleteResponsePayloadType\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponsePayloadType\n version: 0.0.1\n UUID: 3fbfe0c9-152e-34d3-a504-09cd13c058d0\n description: Generated description for concept referred to by\n key \"CDSDeleteResponsePayloadType:0.0.1\"\n - key:\n name: CDSDeleteResponsePolicy\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponsePolicy\n version: 0.0.1\n UUID: a780251c-edd5-3132-b865-04313246b43c\n description: Generated description for concept referred to by\n key \"CDSDeleteResponsePolicy:0.0.1\"\n - key:\n name: CDSDeleteResponseTask\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponseTask\n version: 0.0.1\n UUID: afce4555-3aa3-3521-a7d8-ee8cdf0d3efc\n description: Generated description for concept referred to by\n key \"CDSDeleteResponseTask:0.0.1\"\n - key:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n value:\n key:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n UUID: 12658406-9147-3c9d-a38c-5ad5e30b092b\n description: Generated description for concept referred to by\n key \"CDSDeleteSubscriptionPayloadType:0.0.1\"\n - key:\n name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n value:\n key:\n name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n UUID: 24380c95-9289-36e6-8cbf-0edefa15ccd9\n description: Generated description for concept referred to by\n key \"CDSDeleteSubscriptionRequestEvent:0.0.1\"\n - key:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n value:\n key:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n UUID: 35590ac0-062c-39f1-8786-b4ff716e30b1\n description: Generated description for concept referred to by\n key \"CDSRequestCommonHeaderType:0.0.1\"\n - key:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n value:\n key:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n UUID: dd7e1805-885a-350b-aaf9-ed541321ae3c\n description: Generated description for concept referred to by\n key \"CDSResponseCommonHeaderType:0.0.1\"\n - key:\n name: CDSResponseStatusEvent\n version: 0.0.1\n value:\n key:\n name: CDSResponseStatusEvent\n version: 0.0.1\n UUID: 7986e21b-32f7-302e-9554-31f21b673493\n description: Generated description for concept referred to by\n key \"CDSResponseStatusEvent:0.0.1\"\n - key:\n name: CDSResponseStatusType\n version: 0.0.1\n value:\n key:\n name: CDSResponseStatusType\n version: 0.0.1\n UUID: 92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa\n description: Generated description for concept referred to by\n key \"CDSResponseStatusType:0.0.1\"\n - key:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n value:\n key:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n UUID: 92162397-1a8e-3a3f-a469-d2af7700af4a\n description: Generated description for concept referred to by\n key \"CreateSubscriptionPayloadEvent:0.0.1\"\n - key:\n name: CreateSubscriptionPayloadTask\n version: 0.0.1\n value:\n key:\n name: CreateSubscriptionPayloadTask\n version: 0.0.1\n UUID: bc0c69f0-52ed-38ea-b468-ae4a6fd1730d\n description: Generated description for concept referred to by\n key \"CreateSubscriptionPayloadTask:0.0.1\"\n - key:\n name: CreateSubscriptionRequestTask\n version: 0.0.1\n value:\n key:\n name: CreateSubscriptionRequestTask\n version: 0.0.1\n UUID: 89cb75e9-f06c-30d3-b4ff-698d45f63869\n description: Generated description for concept referred to by\n key \"CreateSubscriptionRequestTask:0.0.1\"\n - key:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n value:\n key:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n UUID: 994fa441-04ab-33bb-832d-1cd12ab5d074\n description: Generated description for concept referred to by\n key \"DeleteSubscriptionPayloadEvent:0.0.1\"\n - key:\n name: DeleteSubscriptionPayloadTask\n version: 0.0.1\n value:\n key:\n name: DeleteSubscriptionPayloadTask\n version: 0.0.1\n UUID: 0f519117-5fea-3e4b-941f-8f778100465f\n description: Generated description for concept referred to by\n key \"DeleteSubscriptionPayloadTask:0.0.1\"\n - key:\n name: DeleteSubscriptionRequestTask\n version: 0.0.1\n value:\n key:\n name: DeleteSubscriptionRequestTask\n version: 0.0.1\n UUID: acb772fe-d442-39e3-98f9-b1080caf4150\n description: Generated description for concept referred to by\n key \"DeleteSubscriptionRequestTask:0.0.1\"\n - key:\n name: MRResponseEvent\n version: 0.0.1\n value:\n key:\n name: MRResponseEvent\n version: 0.0.1\n UUID: 13c747a3-6bae-3bcf-9c80-b152e01dc194\n description: Generated description for concept referred to by\n key \"MRResponseEvent:0.0.1\"\n - key:\n name: PMControlPolicy\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy\n version: 0.0.1\n UUID: acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4\n description: Generated description for concept referred to by\n key \"PMControlPolicy:0.0.1\"\n - key:\n name: PMControlPolicy_Albums\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy_Albums\n version: 0.0.1\n UUID: b38ad204-c2c8-32f4-9b5a-dda0aeb0145b\n description: Generated description for concept referred to by\n key \"PMControlPolicy_Albums:0.0.1\"\n - key:\n name: PMControlPolicy_Events\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy_Events\n version: 0.0.1\n UUID: be3871a0-c42a-3113-a066-82d192840eca\n description: Generated description for concept referred to by\n key \"PMControlPolicy_Events:0.0.1\"\n - key:\n name: PMControlPolicy_KeyInfo\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy_KeyInfo\n version: 0.0.1\n UUID: ced37634-28a4-3178-b7f6-2980794927b0\n description: Generated description for concept referred to by\n key \"PMControlPolicy_KeyInfo:0.0.1\"\n - key:\n name: PMControlPolicy_Policies\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy_Policies\n version: 0.0.1\n UUID: be3d180d-ef9c-3a75-8e9c-84271a038bed\n description: Generated description for concept referred to by\n key \"PMControlPolicy_Policies:0.0.1\"\n - key:\n name: PMControlPolicy_Schemas\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy_Schemas\n version: 0.0.1\n UUID: e61973f1-189c-39e5-82f6-0d3afe298a20\n description: Generated description for concept referred to by\n key \"PMControlPolicy_Schemas:0.0.1\"\n - key:\n name: PMControlPolicy_Tasks\n version: 0.0.1\n value:\n key:\n name: PMControlPolicy_Tasks\n version: 0.0.1\n UUID: 5658adb3-2962-30a3-a241-fae75bb8eb4a\n description: Generated description for concept referred to by\n key \"PMControlPolicy_Tasks:0.0.1\"\n - key:\n name: PMSubscriptionAlbum\n version: 0.0.1\n value:\n key:\n name: PMSubscriptionAlbum\n version: 0.0.1\n UUID: c2bd6f0d-6854-317a-9be2-97c08338428c\n description: Generated description for concept referred to by\n key \"PMSubscriptionAlbum:0.0.1\"\n - key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n value:\n key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n UUID: 992b7819-9f69-3aa0-bb0f-6e45ea15ce05\n description: Generated description for concept referred to by\n key \"PMSubscriptionOutputEvent:0.0.1\"\n - key:\n name: PMSubscriptionType\n version: 0.0.1\n value:\n key:\n name: PMSubscriptionType\n version: 0.0.1\n UUID: 73c1c397-4fc3-357f-93b6-a8ad707fbaae\n description: Generated description for concept referred to by\n key \"PMSubscriptionType:0.0.1\"\n - key:\n name: ReceiveEventPolicy\n version: 0.0.1\n value:\n key:\n name: ReceiveEventPolicy\n version: 0.0.1\n UUID: 568b7345-9de1-36d3-b6a3-9b857e6809a1\n description: Generated description for concept referred to by\n key \"ReceiveEventPolicy:0.0.1\"\n - key:\n name: ReceiveSubscriptionTask\n version: 0.0.1\n value:\n key:\n name: ReceiveSubscriptionTask\n version: 0.0.1\n UUID: f596afc8-100c-35eb-92c8-352355ea457d\n description: Generated description for concept referred to by\n key \"ReceiveSubscriptionTask:0.0.1\"\n - key:\n name: SimpleIntType\n version: 0.0.1\n value:\n key:\n name: SimpleIntType\n version: 0.0.1\n UUID: 153791fd-ae0a-36a7-88a5-309a7936415d\n description: Generated description for concept referred to by\n key \"SimpleIntType:0.0.1\"\n - key:\n name: SimpleStringType\n version: 0.0.1\n value:\n key:\n name: SimpleStringType\n version: 0.0.1\n UUID: 8a4957cf-9493-3a76-8c22-a208e23259af\n description: Generated description for concept referred to by\n key \"SimpleStringType:0.0.1\"\n - key:\n name: SubscriptionStatusType\n version: 0.0.1\n value:\n key:\n name: SubscriptionStatusType\n version: 0.0.1\n UUID: 597643b1-9db1-31ce-85d0-e1c63c43b30b\n description: Generated description for concept referred to by\n key \"SubscriptionStatusType:0.0.1\"\n - key:\n name: SubscriptionType\n version: 0.0.1\n value:\n key:\n name: SubscriptionType\n version: 0.0.1\n UUID: 184547bb-7d64-3cb2-a273-d7185102c5ce\n description: Generated description for concept referred to by\n key \"SubscriptionType:0.0.1\"\n - key:\n name: UUIDType\n version: 0.0.1\n value:\n key:\n name: UUIDType\n version: 0.0.1\n UUID: 6a8cc68e-dfc8-3403-9c6d-071c886b319c\n description: Generated description for concept referred to by\n key \"UUIDType:0.0.1\"\n - key:\n name: pmsh-operational-policy\n version: 0.0.1\n value:\n key:\n name: pmsh-operational-policy\n version: 0.0.1\n UUID: fdf2c9ff-6422-3ea6-b6b6-49b12116265d\n description: Generated description for concept referred to by\n key \"pmsh-operational-policy:0.0.1\"\n policies:\n key:\n name: PMControlPolicy_Policies\n version: 0.0.1\n policyMap:\n entry:\n - key:\n name: CDSCreateResponsePolicy\n version: 0.0.1\n value:\n policyKey:\n name: CDSCreateResponsePolicy\n version: 0.0.1\n template: Freestyle\n state:\n entry:\n - key: CDSCreateResponseState\n value:\n stateKey:\n parentKeyName: CDSCreateResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: CDSCreateResponseState\n trigger:\n name: CDSCreateResponseEvent\n version: 0.0.1\n stateOutputs:\n entry:\n - key: ResponseOutput\n value:\n key:\n parentKeyName: CDSCreateResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CDSCreateResponseState\n localName: ResponseOutput\n outgoingEvent:\n name: CDSResponseStatusEvent\n version: 0.0.1\n outgoingEventReference:\n - name: CDSResponseStatusEvent\n version: 0.0.1\n nextState:\n parentKeyName: 'NULL'\n parentKeyVersion: 0.0.0\n parentLocalName: 'NULL'\n localName: 'NULL'\n contextAlbumReference: [ ]\n taskSelectionLogic:\n key: 'NULL'\n logicFlavour: UNDEFINED\n logic: ''\n stateFinalizerLogicMap:\n entry: [ ]\n defaultTask:\n name: CDSCreateResponseTask\n version: 0.0.1\n taskReferences:\n entry:\n - key:\n name: CDSCreateResponseTask\n version: 0.0.1\n value:\n key:\n parentKeyName: CDSCreateResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CDSCreateResponseState\n localName: CDSCreateResponsePolicy\n outputType: DIRECT\n output:\n parentKeyName: CDSCreateResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CDSCreateResponseState\n localName: ResponseOutput\n firstState: CDSCreateResponseState\n - key:\n name: CDSDeleteResponsePolicy\n version: 0.0.1\n value:\n policyKey:\n name: CDSDeleteResponsePolicy\n version: 0.0.1\n template: Freestyle\n state:\n entry:\n - key: CDSDeleteResponseState\n value:\n stateKey:\n parentKeyName: CDSDeleteResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: CDSDeleteResponseState\n trigger:\n name: CDSDeleteResponseEvent\n version: 0.0.1\n stateOutputs:\n entry:\n - key: ResponseOutput\n value:\n key:\n parentKeyName: CDSDeleteResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CDSDeleteResponseState\n localName: ResponseOutput\n outgoingEvent:\n name: CDSResponseStatusEvent\n version: 0.0.1\n outgoingEventReference:\n - name: CDSResponseStatusEvent\n version: 0.0.1\n nextState:\n parentKeyName: 'NULL'\n parentKeyVersion: 0.0.0\n parentLocalName: 'NULL'\n localName: 'NULL'\n contextAlbumReference: [ ]\n taskSelectionLogic:\n key: 'NULL'\n logicFlavour: UNDEFINED\n logic: ''\n stateFinalizerLogicMap:\n entry: [ ]\n defaultTask:\n name: CDSDeleteResponseTask\n version: 0.0.1\n taskReferences:\n entry:\n - key:\n name: CDSDeleteResponseTask\n version: 0.0.1\n value:\n key:\n parentKeyName: CDSDeleteResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CDSDeleteResponseState\n localName: CDSDeleteResponsePolicy\n outputType: DIRECT\n output:\n parentKeyName: CDSDeleteResponsePolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CDSDeleteResponseState\n localName: ResponseOutput\n firstState: CDSDeleteResponseState\n - key:\n name: ReceiveEventPolicy\n version: 0.0.1\n value:\n policyKey:\n name: ReceiveEventPolicy\n version: 0.0.1\n template: Freestyle\n state:\n entry:\n - key: CreateOrDeleteState\n value:\n stateKey:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: CreateOrDeleteState\n trigger:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n stateOutputs:\n entry:\n - key: CreateSubscriptionPayload\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateOrDeleteState\n localName: CreateSubscriptionPayload\n outgoingEvent:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n outgoingEventReference:\n - name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n nextState:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: CreateSubscription\n - key: DeleteSubscriptionPayload\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateOrDeleteState\n localName: DeleteSubscriptionPayload\n outgoingEvent:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n outgoingEventReference:\n - name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n nextState:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: DeleteSubscription\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskSelectionLogic:\n key: TaskSelectionLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(executor.inFields.get(\"albumID\").toString())\n var changeType = pmSubscriptionInfo.get(\"changeType\").toString()\n\n executor.logger.info(\"Change Type is \" + changeType)\n\n if (\"CREATE\".equals(changeType)) {\n executor.logger.info(\"Choosing to create a subscription\")\n executor.subject.getTaskKey(\"CreateSubscriptionPayloadTask\").copyTo(executor.selectedTask);\n }\n else if (\"DELETE\".equals(changeType)) {\n executor.logger.info(\"Choosing to delete a subscription\")\n executor.subject.getTaskKey(\"DeleteSubscriptionPayloadTask\").copyTo(executor.selectedTask);\n }\n\n returnValue = executor.isTrue;\n\n true;\n stateFinalizerLogicMap:\n entry: [ ]\n defaultTask:\n name: CreateSubscriptionPayloadTask\n version: 0.0.1\n taskReferences:\n entry:\n - key:\n name: CreateSubscriptionPayloadTask\n version: 0.0.1\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateOrDeleteState\n localName: ReceiveEventPolicy\n outputType: DIRECT\n output:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateOrDeleteState\n localName: CreateSubscriptionPayload\n - key:\n name: DeleteSubscriptionPayloadTask\n version: 0.0.1\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateOrDeleteState\n localName: ReceiveEventPolicy\n outputType: DIRECT\n output:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateOrDeleteState\n localName: DeleteSubscriptionPayload\n - key: CreateSubscription\n value:\n stateKey:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: CreateSubscription\n trigger:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n stateOutputs:\n entry:\n - key: IssueCreateSubscriptionRequestOutput\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateSubscription\n localName: IssueCreateSubscriptionRequestOutput\n outgoingEvent:\n name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n outgoingEventReference:\n - name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n nextState:\n parentKeyName: 'NULL'\n parentKeyVersion: 0.0.0\n parentLocalName: 'NULL'\n localName: 'NULL'\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskSelectionLogic:\n key: 'NULL'\n logicFlavour: UNDEFINED\n logic: ''\n stateFinalizerLogicMap:\n entry: [ ]\n defaultTask:\n name: CreateSubscriptionRequestTask\n version: 0.0.1\n taskReferences:\n entry:\n - key:\n name: CreateSubscriptionRequestTask\n version: 0.0.1\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateSubscription\n localName: ReceiveEventPolicy\n outputType: DIRECT\n output:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: CreateSubscription\n localName: IssueCreateSubscriptionRequestOutput\n - key: DeleteSubscription\n value:\n stateKey:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: DeleteSubscription\n trigger:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n stateOutputs:\n entry:\n - key: IssueDeleteSubscriptionRequestOutput\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: DeleteSubscription\n localName: IssueDeleteSubscriptionRequestOutput\n outgoingEvent:\n name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n outgoingEventReference:\n - name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n nextState:\n parentKeyName: 'NULL'\n parentKeyVersion: 0.0.0\n parentLocalName: 'NULL'\n localName: 'NULL'\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskSelectionLogic:\n key: 'NULL'\n logicFlavour: UNDEFINED\n logic: ''\n stateFinalizerLogicMap:\n entry: [ ]\n defaultTask:\n name: DeleteSubscriptionRequestTask\n version: 0.0.1\n taskReferences:\n entry:\n - key:\n name: DeleteSubscriptionRequestTask\n version: 0.0.1\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: DeleteSubscription\n localName: ReceiveEventPolicy\n outputType: DIRECT\n output:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: DeleteSubscription\n localName: IssueDeleteSubscriptionRequestOutput\n - key: ReceiveSubscriptionState\n value:\n stateKey:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: ReceiveSubscriptionState\n trigger:\n name: pmsh-operational-policy\n version: 0.0.1\n stateOutputs:\n entry:\n - key: ReceivePMSubscriptionOutput\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: ReceiveSubscriptionState\n localName: ReceivePMSubscriptionOutput\n outgoingEvent:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n outgoingEventReference:\n - name: PMSubscriptionOutputEvent\n version: 0.0.1\n nextState:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: 'NULL'\n localName: CreateOrDeleteState\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskSelectionLogic:\n key: 'NULL'\n logicFlavour: UNDEFINED\n logic: ''\n stateFinalizerLogicMap:\n entry: [ ]\n defaultTask:\n name: ReceiveSubscriptionTask\n version: 0.0.1\n taskReferences:\n entry:\n - key:\n name: ReceiveSubscriptionTask\n version: 0.0.1\n value:\n key:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: ReceiveSubscriptionState\n localName: ReceiveEventPolicy\n outputType: DIRECT\n output:\n parentKeyName: ReceiveEventPolicy\n parentKeyVersion: 0.0.1\n parentLocalName: ReceiveSubscriptionState\n localName: ReceivePMSubscriptionOutput\n firstState: ReceiveSubscriptionState\n tasks:\n key:\n name: PMControlPolicy_Tasks\n version: 0.0.1\n taskMap:\n entry:\n - key:\n name: CDSCreateResponseTask\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponseTask\n version: 0.0.1\n inputEvent:\n key:\n name: CDSCreateResponseEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: CDS\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateResponsePayloadType\n version: 0.0.1\n optional: false\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: CDSResponseStatusType\n version: 0.0.1\n optional: false\n outputEvents:\n entry:\n - key: CDSResponseStatusEvent\n value:\n key:\n name: CDSResponseStatusEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: DCAE\n parameter:\n entry:\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: SubscriptionStatusType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var commonHeader = executor.inFields.get(\"commonHeader\")\n var response = executor.inFields.get(\"payload\")\n var albumID = commonHeader.get(\"requestId\")\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(albumID.toString());\n var responseStatus = executor.subject.getOutFieldSchemaHelper(\"status\").createNewInstance();\n\n var changeType = pmSubscriptionInfo.get(\"changeType\").toUpperCase()\n\n responseStatus.put(\"nfName\", pmSubscriptionInfo.get(\"nfName\"))\n responseStatus.put(\"changeType\", pmSubscriptionInfo.get(\"changeType\"))\n\n if (\"CREATE\".equals(changeType)) {\n responseStatus.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscription\").get(\"subscriptionName\"))\n responseStatus.put(\"measurementGroupName\", pmSubscriptionInfo.get(\"subscription\").get(\"measurementGroup\").get(\"measurementGroupName\"))\n\n }\n else if (\"DELETE\".equals(changeType)) {\n responseStatus.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscriptionName\"))\n responseStatus.put(\"measurementGroupName\", pmSubscriptionInfo.get(\"measurementGroupName\"))\n }\n\n var status = response.get(pmSubscriptionInfo.get(\"changeType\").toLowerCase() + \"_DasH_subscription_DasH_response\").get(\"odl_DasH_response\").get(\"status\")\n\n executor.logger.info(\"RESPONSE STATUS = \" + status)\n\n if(status == \"success\") {\n responseStatus.put(\"message\", \"success\")\n } else {\n responseStatus.put(\"message\", \"failed\")\n }\n\n executor.outFields.put(\"status\", responseStatus)\n\n returnValue = executor.isTrue;\n\n true;\n - key:\n name: CDSDeleteResponseTask\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponseTask\n version: 0.0.1\n inputEvent:\n key:\n name: CDSDeleteResponseEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: CDS\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteResponsePayloadType\n version: 0.0.1\n optional: false\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: CDSResponseStatusType\n version: 0.0.1\n optional: false\n outputEvents:\n entry:\n - key: CDSResponseStatusEvent\n value:\n key:\n name: CDSResponseStatusEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: DCAE\n parameter:\n entry:\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: SubscriptionStatusType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var commonHeader = executor.inFields.get(\"commonHeader\")\n var response = executor.inFields.get(\"payload\")\n var albumID = commonHeader.get(\"requestId\")\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(albumID.toString());\n var responseStatus = executor.subject.getOutFieldSchemaHelper(\"status\").createNewInstance();\n\n var changeType = pmSubscriptionInfo.get(\"changeType\").toUpperCase()\n\n responseStatus.put(\"nfName\", pmSubscriptionInfo.get(\"nfName\"))\n responseStatus.put(\"changeType\", pmSubscriptionInfo.get(\"changeType\"))\n\n if (\"CREATE\".equals(changeType)) {\n responseStatus.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscription\").get(\"subscriptionName\"))\n responseStatus.put(\"measurementGroupName\", pmSubscriptionInfo.get(\"subscription\").get(\"measurementGroup\").get(\"measurementGroupName\"))\n\n }\n else if (\"DELETE\".equals(changeType)) {\n responseStatus.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscriptionName\"))\n responseStatus.put(\"measurementGroupName\", pmSubscriptionInfo.get(\"measurementGroupName\"))\n }\n\n var status = response.get(pmSubscriptionInfo.get(\"changeType\").toLowerCase() + \"_DasH_subscription_DasH_response\").get(\"odl_DasH_response\").get(\"status\")\n\n executor.logger.info(\"RESPONSE STATUS = \" + status)\n\n if(status == \"success\") {\n responseStatus.put(\"message\", \"success\")\n } else {\n responseStatus.put(\"message\", \"failed\")\n }\n\n executor.outFields.put(\"status\", responseStatus)\n\n returnValue = executor.isTrue;\n\n true;\n - key:\n name: CreateSubscriptionPayloadTask\n version: 0.0.1\n value:\n key:\n name: CreateSubscriptionPayloadTask\n version: 0.0.1\n inputEvent:\n key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n outputEvents:\n entry:\n - key: CreateSubscriptionPayloadEvent\n value:\n key:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(executor.inFields.get(\"albumID\").toString())\n\n var changeType = pmSubscriptionInfo.get(\"changeType\").toLowerCase()\n\n var payloadProperties = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewSubInstance(changeType + \"_DasH_subscription_DasH_properties_record\");\n\n payloadProperties.put(\"nfName\", pmSubscriptionInfo.get(\"nfName\"))\n payloadProperties.put(\"ipAddress\", pmSubscriptionInfo.get(\"ipAddress\"))\n\n if (\"create\".equals(changeType)) {\n payloadProperties.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscription\").get(\"subscriptionName\"))\n payloadProperties.put(\"fileBasedGP\", pmSubscriptionInfo.get(\"subscription\").get(\"fileBasedGP\").toString())\n payloadProperties.put(\"fileLocation\", pmSubscriptionInfo.get(\"subscription\").get(\"fileLocation\"))\n payloadProperties.put(\"measurementGroup\", pmSubscriptionInfo.get(\"subscription\").get(\"measurementGroup\"))\n }\n else if (\"delete\".equals(changeType)) {\n payloadProperties.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscriptionName\"))\n payloadProperties.put(\"measurementGroupName\", pmSubscriptionInfo.get(\"measurementGroupName\"))\n }\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewSubInstance(\"CDSRequestPayloadEntry\");\n payloadEntry.put(changeType + \"_DasH_subscription_DasH_properties\", payloadProperties)\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewInstance();\n payload.put(changeType + \"_DasH_subscription_DasH_request\", payloadEntry);\n\n executor.outFields.put(\"albumID\", executor.inFields.get(\"albumID\"))\n executor.outFields.put(\"payload\", payload);\n\n returnValue = executor.isTrue;\n\n true;\n - key:\n name: CreateSubscriptionRequestTask\n version: 0.0.1\n value:\n key:\n name: CreateSubscriptionRequestTask\n version: 0.0.1\n inputEvent:\n key:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n optional: false\n outputEvents:\n entry:\n - key: CDSCreateSubscriptionRequestEvent\n value:\n key:\n name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(executor.inFields.get(\"albumID\").toString())\n\n executor.logger.info(pmSubscriptionInfo)\n\n var changeType = pmSubscriptionInfo.get(\"changeType\").toLowerCase()\n var blueprintName = pmSubscriptionInfo.get(\"blueprintName\").toLowerCase()\n var blueprintVersion = pmSubscriptionInfo.get(\"blueprintVersion\").toLowerCase()\n var payload = executor.inFields.get(\"payload\")\n var actionName = changeType + \"-subscription\"\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"commonHeader\").createNewInstance();\n commonHeader.put(\"originatorId\", \"sdnc\");\n commonHeader.put(\"requestId\", executor.inFields.get(\"albumID\").toString());\n commonHeader.put(\"subRequestId\", \"sub-123456-1000\");\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"actionName\", actionName);\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"mode\", \"sync\");\n\n executor.outFields.put(\"commonHeader\", commonHeader);\n executor.outFields.put(\"actionIdentifiers\", actionIdentifiers);\n executor.outFields.put(\"payload\", payload);\n\n returnValue = executor.isTrue;\n\n true;\n - key:\n name: DeleteSubscriptionPayloadTask\n version: 0.0.1\n value:\n key:\n name: DeleteSubscriptionPayloadTask\n version: 0.0.1\n inputEvent:\n key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n outputEvents:\n entry:\n - key: DeleteSubscriptionPayloadEvent\n value:\n key:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(executor.inFields.get(\"albumID\").toString())\n\n var changeType = pmSubscriptionInfo.get(\"changeType\").toLowerCase()\n\n var payloadProperties = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewSubInstance(changeType + \"_DasH_subscription_DasH_properties_record\");\n\n payloadProperties.put(\"nfName\", pmSubscriptionInfo.get(\"nfName\"))\n payloadProperties.put(\"ipAddress\", pmSubscriptionInfo.get(\"ipAddress\"))\n\n if (\"create\".equals(changeType)) {\n payloadProperties.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscription\").get(\"subscriptionName\"))\n payloadProperties.put(\"fileBasedGP\", pmSubscriptionInfo.get(\"subscription\").get(\"fileBasedGP\").toString())\n payloadProperties.put(\"fileLocation\", pmSubscriptionInfo.get(\"subscription\").get(\"fileLocation\"))\n payloadProperties.put(\"measurementGroup\", pmSubscriptionInfo.get(\"subscription\").get(\"measurementGroup\"))\n }\n else if (\"delete\".equals(changeType)) {\n payloadProperties.put(\"subscriptionName\", pmSubscriptionInfo.get(\"subscriptionName\"))\n payloadProperties.put(\"measurementGroupName\", pmSubscriptionInfo.get(\"measurementGroupName\"))\n }\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewSubInstance(\"CDSRequestPayloadEntry\");\n payloadEntry.put(changeType + \"_DasH_subscription_DasH_properties\", payloadProperties)\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"payload\").createNewInstance();\n payload.put(changeType + \"_DasH_subscription_DasH_request\", payloadEntry);\n\n executor.outFields.put(\"albumID\", executor.inFields.get(\"albumID\"))\n executor.outFields.put(\"payload\", payload);\n\n returnValue = executor.isTrue;\n\n true;\n - key:\n name: DeleteSubscriptionRequestTask\n version: 0.0.1\n value:\n key:\n name: DeleteSubscriptionRequestTask\n version: 0.0.1\n inputEvent:\n key:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n optional: false\n outputEvents:\n entry:\n - key: CDSDeleteSubscriptionRequestEvent\n value:\n key:\n name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\n executor.logger.info(executor.subject.id);\n\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").get(executor.inFields.get(\"albumID\").toString())\n\n executor.logger.info(pmSubscriptionInfo)\n\n var changeType = pmSubscriptionInfo.get(\"changeType\").toLowerCase()\n var blueprintName = pmSubscriptionInfo.get(\"blueprintName\").toLowerCase()\n var blueprintVersion = pmSubscriptionInfo.get(\"blueprintVersion\").toLowerCase()\n var payload = executor.inFields.get(\"payload\")\n var actionName = changeType + \"-subscription\"\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"commonHeader\").createNewInstance();\n commonHeader.put(\"originatorId\", \"sdnc\");\n commonHeader.put(\"requestId\", executor.inFields.get(\"albumID\").toString());\n commonHeader.put(\"subRequestId\", \"sub-123456-1000\");\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"actionName\", actionName);\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"mode\", \"sync\");\n\n executor.outFields.put(\"commonHeader\", commonHeader);\n executor.outFields.put(\"actionIdentifiers\", actionIdentifiers);\n executor.outFields.put(\"payload\", payload);\n\n returnValue = executor.isTrue;\n\n true;\n - key:\n name: ReceiveSubscriptionTask\n version: 0.0.1\n value:\n key:\n name: ReceiveSubscriptionTask\n version: 0.0.1\n inputEvent:\n key:\n name: pmsh-operational-policy\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: DCAE\n target: APEX\n parameter:\n entry:\n - key: blueprintName\n value:\n key: blueprintName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: blueprintVersion\n value:\n key: blueprintVersion\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: changeType\n value:\n key: changeType\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: controlLoopName\n value:\n key: controlLoopName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: ipAddress\n value:\n key: ipAddress\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: measurementGroupName\n value:\n key: measurementGroupName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: true\n - key: nfName\n value:\n key: nfName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: operationalPolicyName\n value:\n key: operationalPolicyName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: subscription\n value:\n key: subscription\n fieldSchemaKey:\n name: SubscriptionType\n version: 0.0.1\n optional: true\n - key: subscriptionName\n value:\n key: subscriptionName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: true\n outputEvents:\n entry:\n - key: PMSubscriptionOutputEvent\n value:\n key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n taskParameters:\n entry: [ ]\n contextAlbumReference:\n - name: PMSubscriptionAlbum\n version: 0.0.1\n taskLogic:\n key: TaskLogic\n logicFlavour: JAVASCRIPT\n logic: |-\n /*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2020 Nordix. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n var uuidType = java.util.UUID;\n\n executor.logger.info(executor.subject.id);\n\n //albumID will be used to fetch info from our album later\n var albumID = uuidType.randomUUID();\n var pmSubscriptionInfo = executor.getContextAlbum(\"PMSubscriptionAlbum\").getSchemaHelper().createNewInstance();\n var returnValue = true;\n\n if(executor.inFields.get(\"operationalPolicyName\") != null) {\n executor.logger.info(\"nfName in receive sub event \" + executor.inFields.get(\"nfName\"));\n\n var changeType = executor.inFields.get(\"changeType\")\n var nfName = executor.inFields.get(\"nfName\")\n var ipAddress = executor.inFields.get(\"ipAddress\")\n var operationalPolicyName = executor.inFields.get(\"operationalPolicyName\")\n var controlLoopName = executor.inFields.get(\"controlLoopName\")\n var subscription = executor.inFields.get(\"subscription\")\n var blueprintName = executor.inFields.get(\"blueprintName\")\n var blueprintVersion = executor.inFields.get(\"blueprintVersion\")\n\n pmSubscriptionInfo.put(\"nfName\", executor.inFields.get(\"nfName\"));\n pmSubscriptionInfo.put(\"ipAddress\", executor.inFields.get(\"ipAddress\"));\n pmSubscriptionInfo.put(\"changeType\", executor.inFields.get(\"changeType\"))\n pmSubscriptionInfo.put(\"operationalPolicyName\", executor.inFields.get(\"operationalPolicyName\"))\n pmSubscriptionInfo.put(\"controlLoopName\", executor.inFields.get(\"controlLoopName\"))\n pmSubscriptionInfo.put(\"subscription\", subscription)\n pmSubscriptionInfo.put(\"blueprintName\", blueprintName)\n pmSubscriptionInfo.put(\"blueprintVersion\", blueprintVersion)\n\n if (\"delete\".equals(changeType.toLowerCase())) {\n pmSubscriptionInfo.put(\"subscriptionName\", executor.inFields.get(\"subscriptionName\"))\n pmSubscriptionInfo.put(\"measurementGroupName\", executor.inFields.get(\"measurementGroupName\"))\n }\n\n executor.getContextAlbum(\"PMSubscriptionAlbum\").put(albumID.toString(), pmSubscriptionInfo);\n\n executor.outFields.put(\"albumID\", albumID)\n } else {\n executor.message = \"Received invalid event\"\n returnValue = false;\n }\n\n returnValue;\n events:\n key:\n name: PMControlPolicy_Events\n version: 0.0.1\n eventMap:\n entry:\n - key:\n name: CDSCreateResponseEvent\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponseEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: CDS\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateResponsePayloadType\n version: 0.0.1\n optional: false\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: CDSResponseStatusType\n version: 0.0.1\n optional: false\n - key:\n name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n value:\n key:\n name: CDSCreateSubscriptionRequestEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n optional: false\n - key:\n name: CDSDeleteResponseEvent\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponseEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: CDS\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteResponsePayloadType\n version: 0.0.1\n optional: false\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: CDSResponseStatusType\n version: 0.0.1\n optional: false\n - key:\n name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n value:\n key:\n name: CDSDeleteSubscriptionRequestEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: actionIdentifiers\n value:\n key: actionIdentifiers\n fieldSchemaKey:\n name: CDSActionIdentifiersType\n version: 0.0.1\n optional: false\n - key: commonHeader\n value:\n key: commonHeader\n fieldSchemaKey:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n optional: false\n - key:\n name: CDSResponseStatusEvent\n version: 0.0.1\n value:\n key:\n name: CDSResponseStatusEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: DCAE\n parameter:\n entry:\n - key: status\n value:\n key: status\n fieldSchemaKey:\n name: SubscriptionStatusType\n version: 0.0.1\n optional: false\n - key:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n value:\n key:\n name: CreateSubscriptionPayloadEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n optional: false\n - key:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n value:\n key:\n name: DeleteSubscriptionPayloadEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key: payload\n value:\n key: payload\n fieldSchemaKey:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n optional: false\n - key:\n name: MRResponseEvent\n version: 0.0.1\n value:\n key:\n name: MRResponseEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: DCAE\n target: APEX\n parameter:\n entry:\n - key: count\n value:\n key: count\n fieldSchemaKey:\n name: SimpleIntType\n version: 0.0.1\n optional: false\n - key: serverTimeMs\n value:\n key: serverTimeMs\n fieldSchemaKey:\n name: SimpleIntType\n version: 0.0.1\n optional: false\n - key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n value:\n key:\n name: PMSubscriptionOutputEvent\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: APEX\n target: APEX\n parameter:\n entry:\n - key: albumID\n value:\n key: albumID\n fieldSchemaKey:\n name: UUIDType\n version: 0.0.1\n optional: false\n - key:\n name: pmsh-operational-policy\n version: 0.0.1\n value:\n key:\n name: pmsh-operational-policy\n version: 0.0.1\n nameSpace: org.onap.policy.apex.onap.pmcontrol\n source: DCAE\n target: APEX\n parameter:\n entry:\n - key: blueprintName\n value:\n key: blueprintName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: blueprintVersion\n value:\n key: blueprintVersion\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: changeType\n value:\n key: changeType\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: controlLoopName\n value:\n key: controlLoopName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: ipAddress\n value:\n key: ipAddress\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: measurementGroupName\n value:\n key: measurementGroupName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: true\n - key: nfName\n value:\n key: nfName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: operationalPolicyName\n value:\n key: operationalPolicyName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: false\n - key: subscription\n value:\n key: subscription\n fieldSchemaKey:\n name: SubscriptionType\n version: 0.0.1\n optional: true\n - key: subscriptionName\n value:\n key: subscriptionName\n fieldSchemaKey:\n name: SimpleStringType\n version: 0.0.1\n optional: true\n albums:\n key:\n name: PMControlPolicy_Albums\n version: 0.0.1\n albums:\n entry:\n - key:\n name: PMSubscriptionAlbum\n version: 0.0.1\n value:\n key:\n name: PMSubscriptionAlbum\n version: 0.0.1\n scope: policy\n isWritable: true\n itemSchema:\n name: PMSubscriptionType\n version: 0.0.1\n schemas:\n key:\n name: PMControlPolicy_Schemas\n version: 0.0.1\n schemas:\n entry:\n - key:\n name: CDSActionIdentifiersType\n version: 0.0.1\n value:\n key:\n name: CDSActionIdentifiersType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\": \"record\",\n \"name\": \"ActionIdentifiers_Type\",\n \"namespace\": \"org.onap.policy.apex.onap.helloworld\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n }\n - key:\n name: CDSCreateResponsePayloadType\n version: 0.0.1\n value:\n key:\n name: CDSCreateResponsePayloadType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"name\": \"CreateResponsePayloadEntry\",\n \"type\": \"record\",\n \"namespace\": \"com.acme.avro\",\n \"fields\": [\n {\n \"name\": \"create_DasH_subscription_DasH_response\",\n \"type\": {\n \"name\": \"create_DasH_subscription_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"odl_DasH_response\",\n \"type\": {\n \"name\": \"odl_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"status\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n - key:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n value:\n key:\n name: CDSCreateSubscriptionPayloadType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\":\"map\",\n \"values\":{\n \"type\":\"record\",\n \"name\":\"CDSRequestPayloadEntry\",\n \"fields\":[\n {\n \"name\":\"create_DasH_subscription_DasH_properties\",\n \"type\":{\n \"name\":\"create_DasH_subscription_DasH_properties_record\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"nfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ipAddress\",\n \"type\":\"string\"\n },\n {\n \"name\":\"subscriptionName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"fileBasedGP\",\n \"type\":\"string\"\n },\n {\n \"name\":\"fileLocation\",\n \"type\":\"string\"\n },\n {\n \"name\":\"measurementGroup\",\n \"type\":{\n \"name\":\"Measurement_Group_Type\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"measurementGroupName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"measurementTypes\",\n \"type\":{\n \"type\":\"array\",\n \"items\":{\n \"name\":\"Measurement_Types_Type\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"measurementType\",\n \"type\":\"string\"\n }\n ]\n }\n }\n },\n {\n \"name\":\"managedObjectDNsBasic\",\n \"type\":{\n \"type\":\"array\",\n \"items\":{\n \"name\":\"Managed_Object_Dns_Basic_Type\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"DN\",\n \"type\":\"string\"\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n }\n - key:\n name: CDSDeleteResponsePayloadType\n version: 0.0.1\n value:\n key:\n name: CDSDeleteResponsePayloadType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"name\": \"DeleteResponsePayloadEntry\",\n \"type\": \"record\",\n \"namespace\": \"com.acme.avro\",\n \"fields\": [\n {\n \"name\": \"delete_DasH_subscription_DasH_response\",\n \"type\": {\n \"name\": \"delete_DasH_subscription_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"odl_DasH_response\",\n \"type\": {\n \"name\": \"odl_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"status\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n - key:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n value:\n key:\n name: CDSDeleteSubscriptionPayloadType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\":\"map\",\n \"values\":{\n \"type\":\"record\",\n \"name\":\"CDSRequestPayloadEntry\",\n \"fields\":[\n {\n \"name\":\"delete_DasH_subscription_DasH_properties\",\n \"type\":{\n \"name\":\"delete_DasH_subscription_DasH_properties_record\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"nfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ipAddress\",\n \"type\":\"string\"\n },\n {\n \"name\":\"subscriptionName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"measurementGroupName\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n }\n }\n - key:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n value:\n key:\n name: CDSRequestCommonHeaderType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\": \"record\",\n \"name\": \"RequestCommonHeader_Type\",\n \"namespace\": \"org.onap.policy.apex.onap.helloworld\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n }\n - key:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n value:\n key:\n name: CDSResponseCommonHeaderType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\": \"record\",\n \"name\": \"ResponseCommonHeader_Type\",\n \"namespace\": \"org.onap.policy.apex.onap.helloworld\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flags\",\n \"type\": [\"null\", \"string\"]\n }\n ]\n }\n - key:\n name: CDSResponseStatusType\n version: 0.0.1\n value:\n key:\n name: CDSResponseStatusType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\": \"record\",\n \"name\": \"ResponseStatus_Type\",\n \"namespace\": \"org.onap.policy.apex.onap.helloworld\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n }\n - key:\n name: PMSubscriptionType\n version: 0.0.1\n value:\n key:\n name: PMSubscriptionType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"name\": \"PMSubscription\",\n \"type\": \"record\",\n \"namespace\": \"org.onap.policy.apex.onap.pmcontrol\",\n \"fields\": [\n {\n \"name\": \"nfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ipAddress\",\n \"type\": \"string\"\n },\n {\n \"name\": \"changeType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"controlLoopName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"operationalPolicyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subscriptionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"measurementGroupName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subscription\",\n \"type\": {\n \"name\": \"subscription\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"subscriptionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"fileBasedGP\",\n \"type\": \"int\"\n },\n {\n \"name\": \"fileLocation\",\n \"type\": \"string\"\n },\n {\n \"name\": \"measurementGroup\",\n \"type\": {\n \"name\": \"Measurement_Group_Type\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"measurementGroupName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"measurementTypes\",\n \"type\": {\n \"type\": \"array\",\n \"items\": {\n \"name\": \"Measurement_Types_Type\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"measurementType\",\n \"type\": \"string\"\n }\n ]\n }\n }\n },\n {\n \"name\": \"managedObjectDNsBasic\",\n \"type\": {\n \"type\": \"array\",\n \"items\": {\n \"name\": \"Managed_Object_Dns_Basic_Type\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"DN\",\n \"type\": \"string\"\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n - key:\n name: SimpleIntType\n version: 0.0.1\n value:\n key:\n name: SimpleIntType\n version: 0.0.1\n schemaFlavour: Java\n schemaDefinition: java.lang.Integer\n - key:\n name: SimpleStringType\n version: 0.0.1\n value:\n key:\n name: SimpleStringType\n version: 0.0.1\n schemaFlavour: Java\n schemaDefinition: java.lang.String\n - key:\n name: SubscriptionStatusType\n version: 0.0.1\n value:\n key:\n name: SubscriptionStatusType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"type\": \"record\",\n \"name\": \"ActivateSubscriptionStatus_Type\",\n \"namespace\": \"org.onap.policy.apex.onap.helloworld\",\n \"fields\": [\n {\n \"name\": \"subscriptionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"measurementGroupName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"nfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"changeType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n }\n - key:\n name: SubscriptionType\n version: 0.0.1\n value:\n key:\n name: SubscriptionType\n version: 0.0.1\n schemaFlavour: Avro\n schemaDefinition: |-\n {\n \"name\": \"subscription\",\n \"type\": \"record\",\n \"default\": \"null\",\n \"fields\": [\n {\n \"name\": \"subscriptionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"fileBasedGP\",\n \"type\": \"int\"\n },\n {\n \"name\": \"fileLocation\",\n \"type\": \"string\"\n },\n {\n \"name\": \"measurementGroup\",\n \"type\": {\n \"name\": \"Measurement_Group_Type\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"measurementGroupName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"measurementTypes\",\n \"type\": {\n \"type\": \"array\",\n \"items\": {\n \"name\": \"Measurement_Types_Type\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"measurementType\",\n \"type\": \"string\"\n }\n ]\n }\n }\n },\n {\n \"name\": \"managedObjectDNsBasic\",\n \"type\": {\n \"type\": \"array\",\n \"items\": {\n \"name\": \"Managed_Object_Dns_Basic_Type\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"DN\",\n \"type\": \"string\"\n }\n ]\n }\n }\n }\n ]\n }\n }\n ]\n }\n - key:\n name: UUIDType\n version: 0.0.1\n value:\n key:\n name: UUIDType\n version: 0.0.1\n schemaFlavour: Java\n schemaDefinition: java.util.UUID\n eventInputParameters:\n DCAEConsumer:\n carrierTechnologyParameters:\n carrierTechnology: RESTCLIENT\n parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\n parameters:\n consumerPollTime: '50'\n url: https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1\n eventProtocolParameters:\n eventProtocol: JSON\n parameters:\n nameAlias: operationalPolicyName\n eventName: pmsh-operational-policy\n eventNameFilter: pmsh-operational-policy\n CDSRequestConsumer:\n carrierTechnologyParameters:\n carrierTechnology: RESTREQUESTOR\n parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\n parameters:\n url: http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\n httpMethod: POST\n restRequestTimeout: 2000\n httpHeaders:\n - - Authorization\n - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\n eventProtocolParameters:\n eventProtocol: JSON\n eventName: CDSCreateResponseEvent\n eventNameFilter: CDSCreateResponseEvent\n requestorMode: true\n requestorPeer: CDSRequestProducer\n requestorTimeout: 500\n CDSDeleteRequestConsumer:\n carrierTechnologyParameters:\n carrierTechnology: RESTREQUESTOR\n parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\n parameters:\n url: http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\n httpMethod: POST\n restRequestTimeout: 2000\n httpHeaders:\n - - Authorization\n - Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\n eventProtocolParameters:\n eventProtocol: JSON\n eventName: CDSDeleteResponseEvent\n eventNameFilter: CDSDeleteResponseEvent\n requestorMode: true\n requestorPeer: CDSDeleteRequestProducer\n requestorTimeout: 500\n eventOutputParameters:\n logOutputter:\n carrierTechnologyParameters:\n carrierTechnology: FILE\n parameters:\n standardIo: true\n eventProtocolParameters:\n eventProtocol: JSON\n StdOutOutputter:\n carrierTechnologyParameters:\n carrierTechnology: FILE\n parameters:\n standardIo: true\n eventProtocolParameters:\n eventProtocol: JSON\n CDSRequestProducer:\n carrierTechnologyParameters:\n carrierTechnology: RESTREQUESTOR\n parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\n eventProtocolParameters:\n eventProtocol: JSON\n eventNameFilter: CDSCreateSubscriptionRequestEvent\n requestorMode: true\n requestorPeer: CDSRequestConsumer\n requestorTimeout: 500\n CDSDeleteRequestProducer:\n carrierTechnologyParameters:\n carrierTechnology: RESTREQUESTOR\n parameterClassName: org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\n eventProtocolParameters:\n eventProtocol: JSON\n eventNameFilter: CDSDeleteSubscriptionRequestEvent\n requestorMode: true\n requestorPeer: CDSDeleteRequestConsumer\n requestorTimeout: 500\n CDSReplyProducer:\n carrierTechnologyParameters:\n carrierTechnology: RESTCLIENT\n parameterClassName: org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\n parameters:\n url: https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT\n httpMethod: POST\n restRequestTimeout: 2000\n eventProtocolParameters:\n eventProtocol: JSON\n eventNameFilter: CDSResponseStatusEvent", + "options": { + "raw": { + "language": "text" + } + } + }, + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission" + ] + } + }, + "response": [] + }, + { + "name": "GET Automation Composition Definitions", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission" + ] + } + }, + "response": [] + }, + { + "name": "GET Tosca Service Template", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission/toscaservicetemplate", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission", + "toscaservicetemplate" + ] + } + }, + "response": [] + }, + { + "name": "GET Tosca Service Template Schema", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission/toscaServiceTemplateSchema", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission", + "toscaServiceTemplateSchema" + ] + } + }, + "response": [] + }, + { + "name": "GET Common Instance Properties (Common)", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission/getCommonOrInstanceProperties?common=true&name=ToscaServiceTemplateSimple&version=1.0.0", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission", + "getCommonOrInstanceProperties" + ], + "query": [ + { + "key": "common", + "value": "true" + }, + { + "key": "name", + "value": "ToscaServiceTemplateSimple" + }, + { + "key": "version", + "value": "1.0.0" + } + ] + } + }, + "response": [] + }, + { + "name": "DELETE Tosca Service Template", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission?name=ToscaServiceTemplateSimple&version=1.0.0", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission" + ], + "query": [ + { + "key": "name", + "value": "ToscaServiceTemplateSimple" + }, + { + "key": "version", + "value": "1.0.0" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Automation Compositions Elements", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/commission/elements", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "commission", + "elements" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Instantiation", + "item": [ + { + "name": "POST Instance Properties", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"policy_types\":{\n \"onap.policies.Monitoring\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.Monitoring\"\n },\n \"onap.policies.Sirisha\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.Sirisha\"\n },\n \"onap.policies.acm.operational.Common\":{\n \"name\":\"onap.policies.acm.operational.Common\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Operational Policy for Automation Composition execution. Originated in Frankfurt to support TOSCA Compliant\\nPolicy Types. This does NOT support the legacy Policy YAML policy type.\\n\",\n \"properties\":{\n \"operations\":{\n \"name\":\"operations\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of operations to be performed when Automation Composition is triggered.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatype.acm.Operation\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The unique Automation Composition id.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"trigger\":{\n \"name\":\"trigger\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Initial operation to execute upon receiving an Onset event message for the Automation Composition.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"abatement\":{\n \"name\":\"abatement\",\n \"type\":\"boolean\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Whether an abatement event message will be expected for the Automation Composition from DCAE.\",\n \"default_value\":false,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Overall timeout for executing all the operations. This timeout should equal or exceed the total\\ntimeout for each operation listed.\\n\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.acm.operational.Common\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.acm.operational.Common\"\n },\n \"onap.policies.acm.operational.common.Apex\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.acm.operational.Common\",\n \"metadata\":{\n \n },\n \"description\":\"Operational policies for Apex PDP\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"engineServiceParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The engine parameters like name, instanceCount, policy implementation, parameters etc.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"javaProperties\":{\n \"name\":\"javaProperties\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of properties to be set for APEX if needed.\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventInputParameters\":{\n \"name\":\"eventInputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event input parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventOutputParameters\":{\n \"name\":\"eventOutputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event output parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.acm.operational.common.Apex\"\n },\n \"onap.policies.monitoring.dcae-pm-subscription-handler\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.Monitoring\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"pmsh_policy\":{\n \"name\":\"pmsh_policy\",\n \"type\":\"onap.datatypes.monitoring.subscription\",\n \"type_version\":\"0.0.0\",\n \"description\":\"PMSH Policy JSON\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"key\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\"\n }\n },\n \"node_types\":{\n \"org.onap.policy.clamp.acm.AutomationComposition\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the automation composition element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"elements\":{\n \"name\":\"elements\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies a list of automation composition element definitions that make up this automation composition definition\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.AutomationComposition\"\n },\n \"org.onap.policy.clamp.acm.AutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the automation composition element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToUninitializedTimeout\":{\n \"name\":\"passiveToUninitializedTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to uninitialized\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participant_id\":{\n \"name\":\"participant_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participantType\":{\n \"name\":\"participantType\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The identity of the participant type that hosts this type of Automation Composition Element\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"uninitializedToPassiveTimeout\":{\n \"name\":\"uninitializedToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from uninitialized to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"startPhase\":{\n \"name\":\"startPhase\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A value indicating the start phase in which this automation composition element will be started, the first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped in reverse start phase order. Automation Composition Elements with the same start phase are started and stopped simultaneously\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"runningToPassiveTimeout\":{\n \"name\":\"runningToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from running to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToRunningTimeout\":{\n \"name\":\"passiveToRunningTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to running\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"cds_blueprint_id\":{\n \"name\":\"cds_blueprint_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"baseUrl\":{\n \"name\":\"baseUrl\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The base URL to be prepended to each path, identifies the host for the REST endpoints.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"configurationEntities\":{\n \"name\":\"configurationEntities\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The connfiguration entities the Automation Composition Element is managing and their associated REST requests\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"httpHeaders\":{\n \"name\":\"httpHeaders\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"HTTP headers to send on REST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"configs\":{\n \"name\":\"configs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"requirements\":{\n \"name\":\"requirements\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"templates\":{\n \"name\":\"templates\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"values\":{\n \"name\":\"values\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"chart\":{\n \"name\":\"chart\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.Participant\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.Participant\"\n },\n \"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\"\n }\n },\n \"topology_template\":{\n \"description\":null,\n \"inputs\":{\n \"pmsh_monitoring_policy\":{\n \"name\":\"pmsh_monitoring_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n },\n \"pmsh_operational_policy\":{\n \"name\":\"pmsh_operational_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n }\n },\n \"node_templates\":{\n \"org.onap.policy.clamp.acm.KubernetesParticipant\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for K8S\",\n \"type\":\"org.onap.policy.clamp.acm.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_version\":\"2.3.4\",\n \"defined_name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\"\n },\n \"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the http requests of PMSH microservice\",\n \"type\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"baseUrl\":\"https://dcae-pmsh:8443\",\n \"provider\":\"ONAP\",\n \"configurationEntities\":\"[{\\\"configurationEntityId\\\":{\\\"name\\\":\\\"entity1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"restSequence\\\":[{\\\"restRequestId\\\":{\\\"name\\\":\\\"request1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"httpMethod\\\":\\\"POST\\\",\\\"path\\\":\\\"subscription\\\",\\\"body\\\":\\\"{ \\\\\\\"subscription\\\\\\\":{ \\\\\\\"subscriptionName\\\\\\\":\\\\\\\"new_sub_01\\\\\\\", \\\\\\\"operationalPolicyName\\\\\\\":\\\\\\\"pmsh-operational-policy\\\\\\\", \\\\\\\"controlLoopName\\\\\\\":\\\\\\\"controlLoop-name\\\\\\\", \\\\\\\"nfFilter\\\\\\\":{ \\\\\\\"nfNames\\\\\\\":[ \\\\\\\"^pnf*\\\\\\\" ], \\\\\\\"modelInvariantIDs\\\\\\\":[ \\\\\\\"7129e420-d396-4efb-af02-6b83499b12f5\\\\\\\" ], \\\\\\\"modelVersionIDs\\\\\\\":[ \\\\\\\"e80a6ae3-cafd-4d24-850d-e14c084a5ca7\\\\\\\" ], \\\\\\\"modelNames\\\\\\\":[ \\\\\\\"pnf_134\\\\\\\" ] }, \\\\\\\"measurementGroups\\\\\\\":[ { \\\\\\\"measurementGroup\\\\\\\":{ \\\\\\\"measurementGroupName\\\\\\\":\\\\\\\"msgroup_01\\\\\\\", \\\\\\\"administrativeState\\\\\\\":\\\\\\\"UNLOCKED\\\\\\\", \\\\\\\"fileBasedGP\\\\\\\":15, \\\\\\\"fileLocation\\\\\\\":\\\\\\\"/pm/pm.xml\\\\\\\", \\\\\\\"measurementTypes\\\\\\\":[ { \\\\\\\"measurementType\\\\\\\":\\\\\\\"EutranCell.*\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"EutranCellRelation.pmCounter1\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"EutranCellRelation.pmCounter2\\\\\\\" } ], \\\\\\\"managedObjectDNsBasic\\\\\\\":[ { \\\\\\\"DN\\\\\\\":\\\\\\\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter2\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter3\\\\\\\" } ] } } ] } }\\\",\\\"expectedResponse\\\":201}]}]\",\n \"participant_id\":{\n \"name\":\"HttpParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\"\n },\n \"uninitializedToPassiveTimeout\":180,\n \"httpHeaders\":\"{\\\"Content-Type\\\":\\\"application/json\\\"}\",\n \"startPhase\":1\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\"\n },\n \"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition for Hello World\",\n \"type\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"provider\":\"ONAP\",\n \"elements\":[\n {\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n }\n ]\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\"\n },\n \"org.onap.policy.clamp.acm.PolicyParticipant\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for DCAE microservices\",\n \"type\":\"org.onap.policy.clamp.acm.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"defined_version\":\"2.3.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.PolicyParticipant\"\n },\n \"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the operational policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"policy_id\":{\n \"get_input\":\"pmsh_operational_policy\"\n },\n \"provider\":\"Ericsson\",\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.operational.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\"\n },\n \"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the K8S microservice for PMSH\",\n \"type\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"provider\":\"ONAP\",\n \"participant_id\":{\n \"name\":\"K8sParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\"\n },\n \"chart\":\"{\\\"chartId\\\":{\\\"name\\\":\\\"dcae-pmsh\\\",\\\"version\\\":\\\"10.0.0\\\"},\\\"namespace\\\":\\\"onap\\\",\\\"releaseName\\\":\\\"onap-dcae-pmsh\\\",\\\"repository\\\":{\\\"repoName\\\":\\\"chartmuseum\\\",\\\"address\\\":\\\"http://chart-museum:80\\\",\\\"userName\\\":\\\"onapinitializer\\\",\\\"password\\\":\\\"demo123456!\\\"},\\\"overrideParams\\\":{\\\"global.masterPassword\\\":\\\"test\\\"}}\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\"\n },\n \"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the monitoring policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"policy_id\":{\n \"get_input\":\"pmsh_monitoring_policy\"\n },\n \"provider\":\"Ericsson\",\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.monitoring.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.HttpParticipant\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for Http requests\",\n \"type\":\"org.onap.policy.clamp.acm.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_version\":\"2.3.4\",\n \"defined_name\":\"org.onap.policy.clamp.acm.HttpParticipant\"\n }\n },\n \"policies\":[\n {\n \"operational.apex.pmcontrol\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\",\n \"derived_from\":null,\n \"metadata\":{\n \"policy-id\":\"operational.apex.pmcontrol\",\n \"policy-version\":\"1.0.0\"\n },\n \"description\":null,\n \"type\":\"onap.policies.acm.operational.common.Apex\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"MyApexEngine\",\n \"version\":\"0.0.1\",\n \"id\":45,\n \"instanceCount\":2,\n \"deploymentPort\":12561,\n \"engineParameters\":{\n \"executorParameters\":{\n \"JAVASCRIPT\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters\"\n }\n },\n \"contextParameters\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.parameters.ContextParameters\",\n \"schemaParameters\":{\n \"Avro\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters\"\n },\n \"Java\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters\",\n \"jsonAdapters\":{\n \"Instant\":{\n \"adaptedClass\":\"java.time.Instant\",\n \"adaptorClass\":\"org.onap.policy.common.gson.InstantAsMillisTypeAdapter\"\n }\n }\n }\n }\n }\n },\n \"policy_type_impl\":{\n \"apexPolicyModel\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"keyInformation\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"keyInfoMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6e5fa19b-14df-37e3-a4ae-8c537e861a82\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSActionIdentifiersType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"14b29e38-ac75-3273-aa4e-8583c0aa7dad\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"04573f8f-e772-30a5-b1d9-d7318d4a1e13\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e126c965-fc09-3bfe-8f55-70f380a4a49c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6165ee82-afd2-3aab-a517-f00b3f2461d2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8350ac5e-c157-38b9-9614-a0f93a830e60\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"cfa325ba-226b-3a31-9183-ec43e2b6e9a2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8be9c0fa-7437-3841-aff2-b3cec6ae3bd8\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"3fbfe0c9-152e-34d3-a504-09cd13c058d0\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"a780251c-edd5-3132-b865-04313246b43c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"afce4555-3aa3-3521-a7d8-ee8cdf0d3efc\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"12658406-9147-3c9d-a38c-5ad5e30b092b\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"24380c95-9289-36e6-8cbf-0edefa15ccd9\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"35590ac0-062c-39f1-8786-b4ff716e30b1\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSRequestCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"dd7e1805-885a-350b-aaf9-ed541321ae3c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"7986e21b-32f7-302e-9554-31f21b673493\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92162397-1a8e-3a3f-a469-d2af7700af4a\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"bc0c69f0-52ed-38ea-b468-ae4a6fd1730d\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"89cb75e9-f06c-30d3-b4ff-698d45f63869\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"994fa441-04ab-33bb-832d-1cd12ab5d074\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"0f519117-5fea-3e4b-941f-8f778100465f\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acb772fe-d442-39e3-98f9-b1080caf4150\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"13c747a3-6bae-3bcf-9c80-b152e01dc194\",\n \"description\":\"Generated description for concept referred to by key \\\"MRResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"b38ad204-c2c8-32f4-9b5a-dda0aeb0145b\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Albums:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3871a0-c42a-3113-a066-82d192840eca\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Events:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"ced37634-28a4-3178-b7f6-2980794927b0\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_KeyInfo:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3d180d-ef9c-3a75-8e9c-84271a038bed\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Policies:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e61973f1-189c-39e5-82f6-0d3afe298a20\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Schemas:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"5658adb3-2962-30a3-a241-fae75bb8eb4a\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Tasks:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"c2bd6f0d-6854-317a-9be2-97c08338428c\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionAlbum:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"992b7819-9f69-3aa0-bb0f-6e45ea15ce05\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionOutputEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"73c1c397-4fc3-357f-93b6-a8ad707fbaae\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"568b7345-9de1-36d3-b6a3-9b857e6809a1\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveEventPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"f596afc8-100c-35eb-92c8-352355ea457d\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveSubscriptionTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"153791fd-ae0a-36a7-88a5-309a7936415d\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleIntType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8a4957cf-9493-3a76-8c22-a208e23259af\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleStringType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"597643b1-9db1-31ce-85d0-e1c63c43b30b\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"184547bb-7d64-3cb2-a273-d7185102c5ce\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6a8cc68e-dfc8-3403-9c6d-071c886b319c\",\n \"description\":\"Generated description for concept referred to by key \\\"UUIDType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"fdf2c9ff-6422-3ea6-b6b6-49b12116265d\",\n \"description\":\"Generated description for concept referred to by key \\\"pmsh-operational-policy:0.0.1\\\"\"\n }\n }\n ]\n }\n },\n \"policies\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"policyMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSCreateResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"CDSCreateResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSCreateResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSDeleteResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"CDSDeleteResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSDeleteResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CreateOrDeleteState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n },\n \"trigger\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n }\n }\n },\n {\n \"key\":\"DeleteSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"TaskSelectionLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toString()\\n\\nexecutor.logger.info(\\\"Change Type is \\\" + changeType)\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to create a subscription\\\")\\n executor.subject.getTaskKey(\\\"CreateSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to delete a subscription\\\")\\n executor.subject.getTaskKey(\\\"DeleteSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"CreateSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n },\n \"trigger\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueCreateSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"DeleteSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n },\n \"trigger\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueDeleteSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"ReceiveSubscriptionState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"ReceiveSubscriptionState\"\n },\n \"trigger\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ReceivePMSubscriptionOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"ReceiveSubscriptionState\"\n }\n }\n ]\n }\n },\n \"tasks\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"taskMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"DeleteSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"PMSubscriptionOutputEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\nvar uuidType = java.util.UUID;\\n\\nexecutor.logger.info(executor.subject.id);\\n\\n//albumID will be used to fetch info from our album later\\nvar albumID = uuidType.randomUUID();\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").getSchemaHelper().createNewInstance();\\nvar returnValue = true;\\n\\nif(executor.inFields.get(\\\"operationalPolicyName\\\") != null) {\\n executor.logger.info(\\\"nfName in receive sub event \\\" + executor.inFields.get(\\\"nfName\\\"));\\n\\n var changeType = executor.inFields.get(\\\"changeType\\\")\\n var nfName = executor.inFields.get(\\\"nfName\\\")\\n var ipAddress = executor.inFields.get(\\\"ipAddress\\\")\\n var operationalPolicyName = executor.inFields.get(\\\"operationalPolicyName\\\")\\n var controlLoopName = executor.inFields.get(\\\"controlLoopName\\\")\\n var subscription = executor.inFields.get(\\\"subscription\\\")\\n var blueprintName = executor.inFields.get(\\\"blueprintName\\\")\\n var blueprintVersion = executor.inFields.get(\\\"blueprintVersion\\\")\\n\\n pmSubscriptionInfo.put(\\\"nfName\\\", executor.inFields.get(\\\"nfName\\\"));\\n pmSubscriptionInfo.put(\\\"ipAddress\\\", executor.inFields.get(\\\"ipAddress\\\"));\\n pmSubscriptionInfo.put(\\\"changeType\\\", executor.inFields.get(\\\"changeType\\\"))\\n pmSubscriptionInfo.put(\\\"operationalPolicyName\\\", executor.inFields.get(\\\"operationalPolicyName\\\"))\\n pmSubscriptionInfo.put(\\\"controlLoopName\\\", executor.inFields.get(\\\"controlLoopName\\\"))\\n pmSubscriptionInfo.put(\\\"subscription\\\", subscription)\\n pmSubscriptionInfo.put(\\\"blueprintName\\\", blueprintName)\\n pmSubscriptionInfo.put(\\\"blueprintVersion\\\", blueprintVersion)\\n\\n if (\\\"delete\\\".equals(changeType.toLowerCase())) {\\n pmSubscriptionInfo.put(\\\"subscriptionName\\\", executor.inFields.get(\\\"subscriptionName\\\"))\\n pmSubscriptionInfo.put(\\\"measurementGroupName\\\", executor.inFields.get(\\\"measurementGroupName\\\"))\\n }\\n\\n executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").put(albumID.toString(), pmSubscriptionInfo);\\n\\n executor.outFields.put(\\\"albumID\\\", albumID)\\n} else {\\n executor.message = \\\"Received invalid event\\\"\\n returnValue = false;\\n}\\n\\nreturnValue;\"\n }\n }\n }\n ]\n }\n },\n \"events\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"eventMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"count\",\n \"value\":{\n \"key\":\"count\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"serverTimeMs\",\n \"value\":{\n \"key\":\"serverTimeMs\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n \"albums\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"albums\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"scope\":\"policy\",\n \"isWritable\":true,\n \"itemSchema\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n }\n }\n }\n ]\n }\n },\n \"schemas\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"schemas\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActionIdentifiers_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"actionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"mode\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"CreateResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileBasedGP\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileLocation\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroup\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"Measurement_Group_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementTypes\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Measurement_Types_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementType\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\":\\\"managedObjectDNsBasic\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"DN\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"DeleteResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"RequestCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"flags\\\",\\n \\\"type\\\": [\\\"null\\\", \\\"string\\\"]\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"code\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"PMSubscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.pmcontrol\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"ipAddress\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"controlLoopName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"operationalPolicyName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.Integer\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.String\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActivateSubscriptionStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"default\\\": \\\"null\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.util.UUID\"\n }\n }\n ]\n }\n }\n }\n }\n },\n \"eventInputParameters\":{\n \"DCAEConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"consumerPollTime\":\"50\",\n \"url\":\"https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1\"\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\",\n \"parameters\":{\n \"nameAlias\":\"operationalPolicyName\"\n }\n },\n \"eventName\":\"pmsh-operational-policy\",\n \"eventNameFilter\":\"pmsh-operational-policy\"\n },\n \"CDSRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSCreateResponseEvent\",\n \"eventNameFilter\":\"CDSCreateResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestProducer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSDeleteResponseEvent\",\n \"eventNameFilter\":\"CDSDeleteResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestProducer\",\n \"requestorTimeout\":500\n }\n },\n \"eventOutputParameters\":{\n \"logOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"StdOutOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"CDSRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSCreateSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSDeleteSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSReplyProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSResponseStatusEvent\"\n }\n }\n },\n \"identifier\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"type_identifier\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"operational.apex.pmcontrol\"\n }\n }\n ],\n \"policies_as_map\":{\n \"ToscaEntityKey(name=operational.apex.pmcontrol, version=1.0.0)\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\",\n \"derived_from\":null,\n \"metadata\":{\n \"policy-id\":\"operational.apex.pmcontrol\",\n \"policy-version\":\"1.0.0\"\n },\n \"description\":null,\n \"type\":\"onap.policies.acm.operational.common.Apex\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"MyApexEngine\",\n \"version\":\"0.0.1\",\n \"id\":45,\n \"instanceCount\":2,\n \"deploymentPort\":12561,\n \"engineParameters\":{\n \"executorParameters\":{\n \"JAVASCRIPT\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters\"\n }\n },\n \"contextParameters\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.parameters.ContextParameters\",\n \"schemaParameters\":{\n \"Avro\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters\"\n },\n \"Java\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters\",\n \"jsonAdapters\":{\n \"Instant\":{\n \"adaptedClass\":\"java.time.Instant\",\n \"adaptorClass\":\"org.onap.policy.common.gson.InstantAsMillisTypeAdapter\"\n }\n }\n }\n }\n }\n },\n \"policy_type_impl\":{\n \"apexPolicyModel\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"keyInformation\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"keyInfoMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6e5fa19b-14df-37e3-a4ae-8c537e861a82\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSActionIdentifiersType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"14b29e38-ac75-3273-aa4e-8583c0aa7dad\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"04573f8f-e772-30a5-b1d9-d7318d4a1e13\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e126c965-fc09-3bfe-8f55-70f380a4a49c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6165ee82-afd2-3aab-a517-f00b3f2461d2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8350ac5e-c157-38b9-9614-a0f93a830e60\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"cfa325ba-226b-3a31-9183-ec43e2b6e9a2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8be9c0fa-7437-3841-aff2-b3cec6ae3bd8\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"3fbfe0c9-152e-34d3-a504-09cd13c058d0\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"a780251c-edd5-3132-b865-04313246b43c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"afce4555-3aa3-3521-a7d8-ee8cdf0d3efc\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"12658406-9147-3c9d-a38c-5ad5e30b092b\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"24380c95-9289-36e6-8cbf-0edefa15ccd9\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"35590ac0-062c-39f1-8786-b4ff716e30b1\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSRequestCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"dd7e1805-885a-350b-aaf9-ed541321ae3c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"7986e21b-32f7-302e-9554-31f21b673493\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92162397-1a8e-3a3f-a469-d2af7700af4a\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"bc0c69f0-52ed-38ea-b468-ae4a6fd1730d\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"89cb75e9-f06c-30d3-b4ff-698d45f63869\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"994fa441-04ab-33bb-832d-1cd12ab5d074\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"0f519117-5fea-3e4b-941f-8f778100465f\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acb772fe-d442-39e3-98f9-b1080caf4150\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"13c747a3-6bae-3bcf-9c80-b152e01dc194\",\n \"description\":\"Generated description for concept referred to by key \\\"MRResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"b38ad204-c2c8-32f4-9b5a-dda0aeb0145b\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Albums:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3871a0-c42a-3113-a066-82d192840eca\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Events:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"ced37634-28a4-3178-b7f6-2980794927b0\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_KeyInfo:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3d180d-ef9c-3a75-8e9c-84271a038bed\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Policies:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e61973f1-189c-39e5-82f6-0d3afe298a20\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Schemas:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"5658adb3-2962-30a3-a241-fae75bb8eb4a\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Tasks:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"c2bd6f0d-6854-317a-9be2-97c08338428c\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionAlbum:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"992b7819-9f69-3aa0-bb0f-6e45ea15ce05\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionOutputEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"73c1c397-4fc3-357f-93b6-a8ad707fbaae\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"568b7345-9de1-36d3-b6a3-9b857e6809a1\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveEventPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"f596afc8-100c-35eb-92c8-352355ea457d\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveSubscriptionTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"153791fd-ae0a-36a7-88a5-309a7936415d\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleIntType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8a4957cf-9493-3a76-8c22-a208e23259af\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleStringType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"597643b1-9db1-31ce-85d0-e1c63c43b30b\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"184547bb-7d64-3cb2-a273-d7185102c5ce\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6a8cc68e-dfc8-3403-9c6d-071c886b319c\",\n \"description\":\"Generated description for concept referred to by key \\\"UUIDType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"fdf2c9ff-6422-3ea6-b6b6-49b12116265d\",\n \"description\":\"Generated description for concept referred to by key \\\"pmsh-operational-policy:0.0.1\\\"\"\n }\n }\n ]\n }\n },\n \"policies\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"policyMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSCreateResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"CDSCreateResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSCreateResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSDeleteResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"CDSDeleteResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSDeleteResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CreateOrDeleteState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n },\n \"trigger\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n }\n }\n },\n {\n \"key\":\"DeleteSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"TaskSelectionLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toString()\\n\\nexecutor.logger.info(\\\"Change Type is \\\" + changeType)\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to create a subscription\\\")\\n executor.subject.getTaskKey(\\\"CreateSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to delete a subscription\\\")\\n executor.subject.getTaskKey(\\\"DeleteSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"CreateSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n },\n \"trigger\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueCreateSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"DeleteSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n },\n \"trigger\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueDeleteSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"ReceiveSubscriptionState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"ReceiveSubscriptionState\"\n },\n \"trigger\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ReceivePMSubscriptionOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"ReceiveSubscriptionState\"\n }\n }\n ]\n }\n },\n \"tasks\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"taskMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"DeleteSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"PMSubscriptionOutputEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\nvar uuidType = java.util.UUID;\\n\\nexecutor.logger.info(executor.subject.id);\\n\\n//albumID will be used to fetch info from our album later\\nvar albumID = uuidType.randomUUID();\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").getSchemaHelper().createNewInstance();\\nvar returnValue = true;\\n\\nif(executor.inFields.get(\\\"operationalPolicyName\\\") != null) {\\n executor.logger.info(\\\"nfName in receive sub event \\\" + executor.inFields.get(\\\"nfName\\\"));\\n\\n var changeType = executor.inFields.get(\\\"changeType\\\")\\n var nfName = executor.inFields.get(\\\"nfName\\\")\\n var ipAddress = executor.inFields.get(\\\"ipAddress\\\")\\n var operationalPolicyName = executor.inFields.get(\\\"operationalPolicyName\\\")\\n var controlLoopName = executor.inFields.get(\\\"controlLoopName\\\")\\n var subscription = executor.inFields.get(\\\"subscription\\\")\\n var blueprintName = executor.inFields.get(\\\"blueprintName\\\")\\n var blueprintVersion = executor.inFields.get(\\\"blueprintVersion\\\")\\n\\n pmSubscriptionInfo.put(\\\"nfName\\\", executor.inFields.get(\\\"nfName\\\"));\\n pmSubscriptionInfo.put(\\\"ipAddress\\\", executor.inFields.get(\\\"ipAddress\\\"));\\n pmSubscriptionInfo.put(\\\"changeType\\\", executor.inFields.get(\\\"changeType\\\"))\\n pmSubscriptionInfo.put(\\\"operationalPolicyName\\\", executor.inFields.get(\\\"operationalPolicyName\\\"))\\n pmSubscriptionInfo.put(\\\"controlLoopName\\\", executor.inFields.get(\\\"controlLoopName\\\"))\\n pmSubscriptionInfo.put(\\\"subscription\\\", subscription)\\n pmSubscriptionInfo.put(\\\"blueprintName\\\", blueprintName)\\n pmSubscriptionInfo.put(\\\"blueprintVersion\\\", blueprintVersion)\\n\\n if (\\\"delete\\\".equals(changeType.toLowerCase())) {\\n pmSubscriptionInfo.put(\\\"subscriptionName\\\", executor.inFields.get(\\\"subscriptionName\\\"))\\n pmSubscriptionInfo.put(\\\"measurementGroupName\\\", executor.inFields.get(\\\"measurementGroupName\\\"))\\n }\\n\\n executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").put(albumID.toString(), pmSubscriptionInfo);\\n\\n executor.outFields.put(\\\"albumID\\\", albumID)\\n} else {\\n executor.message = \\\"Received invalid event\\\"\\n returnValue = false;\\n}\\n\\nreturnValue;\"\n }\n }\n }\n ]\n }\n },\n \"events\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"eventMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"count\",\n \"value\":{\n \"key\":\"count\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"serverTimeMs\",\n \"value\":{\n \"key\":\"serverTimeMs\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n \"albums\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"albums\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"scope\":\"policy\",\n \"isWritable\":true,\n \"itemSchema\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n }\n }\n }\n ]\n }\n },\n \"schemas\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"schemas\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActionIdentifiers_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"actionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"mode\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"CreateResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileBasedGP\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileLocation\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroup\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"Measurement_Group_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementTypes\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Measurement_Types_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementType\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\":\\\"managedObjectDNsBasic\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"DN\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"DeleteResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"RequestCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"flags\\\",\\n \\\"type\\\": [\\\"null\\\", \\\"string\\\"]\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"code\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"PMSubscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.pmcontrol\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"ipAddress\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"controlLoopName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"operationalPolicyName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.Integer\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.String\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActivateSubscriptionStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"default\\\": \\\"null\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.util.UUID\"\n }\n }\n ]\n }\n }\n }\n }\n },\n \"eventInputParameters\":{\n \"DCAEConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"consumerPollTime\":\"50\",\n \"url\":\"https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1\"\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\",\n \"parameters\":{\n \"nameAlias\":\"operationalPolicyName\"\n }\n },\n \"eventName\":\"pmsh-operational-policy\",\n \"eventNameFilter\":\"pmsh-operational-policy\"\n },\n \"CDSRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSCreateResponseEvent\",\n \"eventNameFilter\":\"CDSCreateResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestProducer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSDeleteResponseEvent\",\n \"eventNameFilter\":\"CDSDeleteResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestProducer\",\n \"requestorTimeout\":500\n }\n },\n \"eventOutputParameters\":{\n \"logOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"StdOutOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"CDSRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSCreateSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSDeleteSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSReplyProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSResponseStatusEvent\"\n }\n }\n },\n \"identifier\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"type_identifier\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"operational.apex.pmcontrol\"\n }\n }\n },\n \"tosca_definitions_version\":\"tosca_simple_yaml_1_3\",\n \"data_types\":{\n \"onap.datatype.acm.Actor\":{\n \"name\":\"onap.datatype.acm.Actor\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An actor/operation/target definition\",\n \"properties\":{\n \"actor\":{\n \"name\":\"actor\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The actor performing the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultActors,ClampExecution:CDS/actor\"\n }\n },\n \"payload\":{\n \"name\":\"payload\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of payload information passed by Policy to the actor\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CDS/payload\"\n }\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The operation the actor is performing.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultOperations,ClampExecution:CDS/operation\"\n }\n },\n \"target\":{\n \"name\":\"target\",\n \"type\":\"onap.datatype.acm.Target\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The resource the operation should be performed on.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.acm.Actor\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatype.acm.Actor\"\n },\n \"onap.datatype.acm.Operation\":{\n \"name\":\"onap.datatype.acm.Operation\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An operation supported by an actor\",\n \"properties\":{\n \"failure_timeout\":{\n \"name\":\"failure_timeout\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the time out for the operation occurs.\",\n \"default_value\":\"final_failure_timeout\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"retries\":{\n \"name\":\"retries\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The number of retries the actor should attempt to perform the operation.\",\n \"default_value\":0,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure\":{\n \"name\":\"failure\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on Actor operation failure.\",\n \"default_value\":\"final_failure\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_exception\":{\n \"name\":\"failure_exception\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation causes an exception.\",\n \"default_value\":\"final_failure_exception\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"success\":{\n \"name\":\"success\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on success. A value of \\\"final_success\\\" indicates and end to the operation.\",\n \"default_value\":\"final_success\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_retries\":{\n \"name\":\"failure_retries\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation has exceeded its max retries.\",\n \"default_value\":\"final_failure_retries\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"description\":{\n \"name\":\"description\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A user-friendly description of the intent for the operation\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Unique identifier for the operation\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_guard\":{\n \"name\":\"failure_guard\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\",\n \"default_value\":\"final_failure_guard\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"onap.datatype.acm.Actor\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The definition of the operation to be performed.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The amount of time for the actor to perform the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.acm.Operation\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatype.acm.Operation\"\n },\n \"onap.datatype.acm.Target\":{\n \"name\":\"onap.datatype.acm.Target\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Definition for a entity in A&AI to perform an Automation Composition operation on\",\n \"properties\":{\n \"targetType\":{\n \"name\":\"targetType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Category for the target type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"VNF\",\n \"VM\",\n \"VFMODULE\",\n \"PNF\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"entityIds\":{\n \"name\":\"entityIds\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Map of values that identify the resource. If none are provided, it is assumed that the\\nentity that generated the ONSET event will be the target.\\n\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CSAR_RESOURCES\"\n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.acm.Target\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatype.acm.Target\"\n },\n \"onap.datatypes.ToscaConceptIdentifier\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"name\":{\n \"name\":\"name\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"version\":{\n \"name\":\"version\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.ToscaConceptIdentifier\"\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasic\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"DN\":{\n \"name\":\"DN\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\"\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasics\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\"\n },\n \"onap.datatypes.monitoring.measurementGroup\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementTypes\":{\n \"name\":\"measurementTypes\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of measurement types\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementTypes\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of managed object distinguished names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroup\"\n },\n \"onap.datatypes.monitoring.measurementGroups\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementGroup\":{\n \"name\":\"measurementGroup\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Group\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroup\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroups\"\n },\n \"onap.datatypes.monitoring.measurementType\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementType\"\n },\n \"onap.datatypes.monitoring.measurementTypes\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementType\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementTypes\"\n },\n \"onap.datatypes.monitoring.nfFilter\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"modelInvariantIDs\":{\n \"name\":\"modelInvariantIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model invariant IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"nfNames\":{\n \"name\":\"nfNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of network functions\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelVersionIDs\":{\n \"name\":\"modelVersionIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model version IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelNames\":{\n \"name\":\"modelNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.nfFilter\"\n },\n \"onap.datatypes.monitoring.subscription\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"administrativeState\":{\n \"name\":\"administrativeState\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"State of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"LOCKED\",\n \"UNLOCKED\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"subscriptionName\":{\n \"name\":\"subscriptionName\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"measurementGroups\":{\n \"name\":\"measurementGroups\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Groups\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroups\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"fileBasedGP\":{\n \"name\":\"fileBasedGP\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"File based granularity period\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"nfFilter\":{\n \"name\":\"nfFilter\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Network function filter\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.nfFilter\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"fileLocation\":{\n \"name\":\"fileLocation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"ROP file location\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.subscription\"\n },\n \"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\":{\n \"name\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"path\":{\n \"name\":\"path\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The path of the REST request relative to the base URL\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"expectedResponse\":{\n \"name\":\"expectedResponse\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"THe expected HTTP status code for the REST request\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"restRequestId\":{\n \"name\":\"restRequestId\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The name and version of a REST request to be sent to a REST endpoint\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"body\":{\n \"name\":\"body\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The body of the REST request for PUT and POST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"httpMethod\":{\n \"name\":\"httpMethod\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The REST method to use\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"POST\",\n \"PUT\",\n \"GET\",\n \"DELETE\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\"\n }\n },\n \"name\":\"ATT\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/instanceProperties?Content-Type=application/json", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "instanceProperties" + ], + "query": [ + { + "key": "Content-Type", + "value": "application/json" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Automation Composition Priming", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/automationCompositionPriming", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "automationCompositionPriming" + ] + } + }, + "response": [] + }, + { + "name": "DELETE Instance Properties", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instanceProperties?name=PMSH_Instance1&version=1.2.3", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instanceProperties" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "1.2.3" + } + ] + } + }, + "response": [] + }, + { + "name": "PUT Automation Composition Instantiation change", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"policy_types\":{\n \"onap.policies.Monitoring\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.Monitoring\"\n },\n \"onap.policies.Sirisha\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.Sirisha\"\n },\n \"onap.policies.acm.operational.Common\":{\n \"name\":\"onap.policies.acm.operational.Common\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Operational Policy for Automation Composition execution. Originated in Frankfurt to support TOSCA Compliant\\nPolicy Types. This does NOT support the legacy Policy YAML policy type.\\n\",\n \"properties\":{\n \"operations\":{\n \"name\":\"operations\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of operations to be performed when Automation Composition is triggered.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatype.acm.Operation\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The unique Automation Composition id.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"trigger\":{\n \"name\":\"trigger\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Initial operation to execute upon receiving an Onset event message for the Automation Composition.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"abatement\":{\n \"name\":\"abatement\",\n \"type\":\"boolean\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Whether an abatement event message will be expected for the Automation Composition from DCAE.\",\n \"default_value\":false,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Overall timeout for executing all the operations. This timeout should equal or exceed the total\\ntimeout for each operation listed.\\n\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.acm.operational.Common\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.acm.operational.Common\"\n },\n \"onap.policies.acm.operational.common.Apex\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.acm.operational.Common\",\n \"metadata\":{\n \n },\n \"description\":\"Operational policies for Apex PDP\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"engineServiceParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The engine parameters like name, instanceCount, policy implementation, parameters etc.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"javaProperties\":{\n \"name\":\"javaProperties\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of properties to be set for APEX if needed.\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventInputParameters\":{\n \"name\":\"eventInputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event input parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventOutputParameters\":{\n \"name\":\"eventOutputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event output parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.acm.operational.common.Apex\"\n },\n \"onap.policies.monitoring.dcae-pm-subscription-handler\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.Monitoring\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"pmsh_policy\":{\n \"name\":\"pmsh_policy\",\n \"type\":\"onap.datatypes.monitoring.subscription\",\n \"type_version\":\"0.0.0\",\n \"description\":\"PMSH Policy JSON\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"key\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\"\n }\n },\n \"node_types\":{\n \"org.onap.policy.clamp.acm.AutomationComposition\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the automation composition element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"elements\":{\n \"name\":\"elements\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies a list of automation composition element definitions that make up this automation composition definition\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.AutomationComposition\"\n },\n \"org.onap.policy.clamp.acm.AutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the automation composition element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToUninitializedTimeout\":{\n \"name\":\"passiveToUninitializedTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to uninitialized\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participant_id\":{\n \"name\":\"participant_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participantType\":{\n \"name\":\"participantType\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The identity of the participant type that hosts this type of Automation Composition Element\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"uninitializedToPassiveTimeout\":{\n \"name\":\"uninitializedToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from uninitialized to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"startPhase\":{\n \"name\":\"startPhase\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A value indicating the start phase in which this automation composition element will be started, the first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped in reverse start phase order. Automation Composition Elements with the same start phase are started and stopped simultaneously\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"runningToPassiveTimeout\":{\n \"name\":\"runningToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from running to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToRunningTimeout\":{\n \"name\":\"passiveToRunningTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to running\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"cds_blueprint_id\":{\n \"name\":\"cds_blueprint_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.CDSAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"baseUrl\":{\n \"name\":\"baseUrl\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The base URL to be prepended to each path, identifies the host for the REST endpoints.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"configurationEntities\":{\n \"name\":\"configurationEntities\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The connfiguration entities the Automation Composition Element is managing and their associated REST requests\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"httpHeaders\":{\n \"name\":\"httpHeaders\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"HTTP headers to send on REST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"configs\":{\n \"name\":\"configs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"requirements\":{\n \"name\":\"requirements\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"templates\":{\n \"name\":\"templates\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"values\":{\n \"name\":\"values\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"chart\":{\n \"name\":\"chart\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.Participant\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.Participant\"\n },\n \"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.acm.AutomationCompositionElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\"\n }\n },\n \"topology_template\":{\n \"description\":null,\n \"inputs\":{\n \"pmsh_monitoring_policy\":{\n \"name\":\"pmsh_monitoring_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n },\n \"pmsh_operational_policy\":{\n \"name\":\"pmsh_operational_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n }\n },\n \"node_templates\":{\n \"org.onap.policy.clamp.acm.KubernetesParticipant\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for K8S\",\n \"type\":\"org.onap.policy.clamp.acm.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_version\":\"2.3.4\",\n \"defined_name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\"\n },\n \"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the http requests of PMSH microservice\",\n \"type\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"baseUrl\":\"https://dcae-pmsh:8443\",\n \"provider\":\"ONAP\",\n \"configurationEntities\":\"[{\\\"configurationEntityId\\\":{\\\"name\\\":\\\"entity1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"restSequence\\\":[{\\\"restRequestId\\\":{\\\"name\\\":\\\"request1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"httpMethod\\\":\\\"POST\\\",\\\"path\\\":\\\"subscription\\\",\\\"body\\\":\\\"{ \\\\\\\"subscription\\\\\\\":{ \\\\\\\"subscriptionName\\\\\\\":\\\\\\\"new_sub_01\\\\\\\", \\\\\\\"operationalPolicyName\\\\\\\":\\\\\\\"pmsh-operational-policy\\\\\\\", \\\\\\\"controlLoopName\\\\\\\":\\\\\\\"controlLoop-name\\\\\\\", \\\\\\\"nfFilter\\\\\\\":{ \\\\\\\"nfNames\\\\\\\":[ \\\\\\\"^pnf*\\\\\\\" ], \\\\\\\"modelInvariantIDs\\\\\\\":[ \\\\\\\"7129e420-d396-4efb-af02-6b83499b12f5\\\\\\\" ], \\\\\\\"modelVersionIDs\\\\\\\":[ \\\\\\\"e80a6ae3-cafd-4d24-850d-e14c084a5ca7\\\\\\\" ], \\\\\\\"modelNames\\\\\\\":[ \\\\\\\"pnf_134\\\\\\\" ] }, \\\\\\\"measurementGroups\\\\\\\":[ { \\\\\\\"measurementGroup\\\\\\\":{ \\\\\\\"measurementGroupName\\\\\\\":\\\\\\\"msgroup_01\\\\\\\", \\\\\\\"administrativeState\\\\\\\":\\\\\\\"UNLOCKED\\\\\\\", \\\\\\\"fileBasedGP\\\\\\\":15, \\\\\\\"fileLocation\\\\\\\":\\\\\\\"/pm/pm.xml\\\\\\\", \\\\\\\"measurementTypes\\\\\\\":[ { \\\\\\\"measurementType\\\\\\\":\\\\\\\"EutranCell.*\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"EutranCellRelation.pmCounter1\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"EutranCellRelation.pmCounter2\\\\\\\" } ], \\\\\\\"managedObjectDNsBasic\\\\\\\":[ { \\\\\\\"DN\\\\\\\":\\\\\\\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter2\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1, EUtranCellRelation=CityCenter3\\\\\\\" } ] } } ] } }\\\",\\\"expectedResponse\\\":201}]}]\",\n \"participant_id\":{\n \"name\":\"HttpParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\"\n },\n \"uninitializedToPassiveTimeout\":180,\n \"httpHeaders\":\"{\\\"Content-Type\\\":\\\"application/json\\\"}\",\n \"startPhase\":1\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpAutomationCompositionElement\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\"\n },\n \"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition for Hello World\",\n \"type\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"provider\":\"ONAP\",\n \"elements\":[\n {\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n }\n ]\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.AutomationComposition\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\"\n },\n \"org.onap.policy.clamp.acm.PolicyParticipant\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for DCAE microservices\",\n \"type\":\"org.onap.policy.clamp.acm.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"defined_version\":\"2.3.1\",\n \"defined_name\":\"org.onap.policy.clamp.acm.PolicyParticipant\"\n },\n \"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the operational policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"policy_id\":{\n \"get_input\":\"pmsh_operational_policy\"\n },\n \"provider\":\"Ericsson\",\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.operational.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\"\n },\n \"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the K8S microservice for PMSH\",\n \"type\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"provider\":\"ONAP\",\n \"participant_id\":{\n \"name\":\"K8sParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\":\"2.3.4\"\n },\n \"chart\":\"{\\\"chartId\\\":{\\\"name\\\":\\\"dcae-pmsh\\\",\\\"version\\\":\\\"10.0.0\\\"},\\\"namespace\\\":\\\"onap\\\",\\\"releaseName\\\":\\\"onap-dcae-pmsh\\\",\\\"repository\\\":{\\\"repoName\\\":\\\"chartmuseum\\\",\\\"address\\\":\\\"http://chart-museum:80\\\",\\\"userName\\\":\\\"onapinitializer\\\",\\\"password\\\":\\\"demo123456!\\\"},\\\"overrideParams\\\":{\\\"global.masterPassword\\\":\\\"test\\\"}}\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\"\n },\n \"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Automation composition element for the monitoring policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"policy_id\":{\n \"get_input\":\"pmsh_monitoring_policy\"\n },\n \"provider\":\"Ericsson\",\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\":\"2.3.1\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.monitoring.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.PolicyAutomationCompositionElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_version\":\"1.2.3\",\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\"\n },\n \"org.onap.policy.clamp.acm.HttpParticipant\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for Http requests\",\n \"type\":\"org.onap.policy.clamp.acm.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.acm.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_version\":\"2.3.4\",\n \"defined_name\":\"org.onap.policy.clamp.acm.HttpParticipant\"\n }\n },\n \"policies\":[\n {\n \"operational.apex.pmcontrol\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\",\n \"derived_from\":null,\n \"metadata\":{\n \"policy-id\":\"operational.apex.pmcontrol\",\n \"policy-version\":\"1.0.0\"\n },\n \"description\":null,\n \"type\":\"onap.policies.acm.operational.common.Apex\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"MyApexEngine\",\n \"version\":\"0.0.1\",\n \"id\":45,\n \"instanceCount\":2,\n \"deploymentPort\":12561,\n \"engineParameters\":{\n \"executorParameters\":{\n \"JAVASCRIPT\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters\"\n }\n },\n \"contextParameters\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.parameters.ContextParameters\",\n \"schemaParameters\":{\n \"Avro\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters\"\n },\n \"Java\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters\",\n \"jsonAdapters\":{\n \"Instant\":{\n \"adaptedClass\":\"java.time.Instant\",\n \"adaptorClass\":\"org.onap.policy.common.gson.InstantAsMillisTypeAdapter\"\n }\n }\n }\n }\n }\n },\n \"policy_type_impl\":{\n \"apexPolicyModel\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"keyInformation\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"keyInfoMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6e5fa19b-14df-37e3-a4ae-8c537e861a82\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSActionIdentifiersType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"14b29e38-ac75-3273-aa4e-8583c0aa7dad\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"04573f8f-e772-30a5-b1d9-d7318d4a1e13\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e126c965-fc09-3bfe-8f55-70f380a4a49c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6165ee82-afd2-3aab-a517-f00b3f2461d2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8350ac5e-c157-38b9-9614-a0f93a830e60\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"cfa325ba-226b-3a31-9183-ec43e2b6e9a2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8be9c0fa-7437-3841-aff2-b3cec6ae3bd8\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"3fbfe0c9-152e-34d3-a504-09cd13c058d0\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"a780251c-edd5-3132-b865-04313246b43c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"afce4555-3aa3-3521-a7d8-ee8cdf0d3efc\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"12658406-9147-3c9d-a38c-5ad5e30b092b\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"24380c95-9289-36e6-8cbf-0edefa15ccd9\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"35590ac0-062c-39f1-8786-b4ff716e30b1\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSRequestCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"dd7e1805-885a-350b-aaf9-ed541321ae3c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"7986e21b-32f7-302e-9554-31f21b673493\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92162397-1a8e-3a3f-a469-d2af7700af4a\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"bc0c69f0-52ed-38ea-b468-ae4a6fd1730d\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"89cb75e9-f06c-30d3-b4ff-698d45f63869\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"994fa441-04ab-33bb-832d-1cd12ab5d074\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"0f519117-5fea-3e4b-941f-8f778100465f\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acb772fe-d442-39e3-98f9-b1080caf4150\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"13c747a3-6bae-3bcf-9c80-b152e01dc194\",\n \"description\":\"Generated description for concept referred to by key \\\"MRResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"b38ad204-c2c8-32f4-9b5a-dda0aeb0145b\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Albums:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3871a0-c42a-3113-a066-82d192840eca\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Events:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"ced37634-28a4-3178-b7f6-2980794927b0\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_KeyInfo:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3d180d-ef9c-3a75-8e9c-84271a038bed\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Policies:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e61973f1-189c-39e5-82f6-0d3afe298a20\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Schemas:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"5658adb3-2962-30a3-a241-fae75bb8eb4a\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Tasks:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"c2bd6f0d-6854-317a-9be2-97c08338428c\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionAlbum:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"992b7819-9f69-3aa0-bb0f-6e45ea15ce05\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionOutputEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"73c1c397-4fc3-357f-93b6-a8ad707fbaae\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"568b7345-9de1-36d3-b6a3-9b857e6809a1\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveEventPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"f596afc8-100c-35eb-92c8-352355ea457d\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveSubscriptionTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"153791fd-ae0a-36a7-88a5-309a7936415d\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleIntType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8a4957cf-9493-3a76-8c22-a208e23259af\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleStringType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"597643b1-9db1-31ce-85d0-e1c63c43b30b\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"184547bb-7d64-3cb2-a273-d7185102c5ce\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6a8cc68e-dfc8-3403-9c6d-071c886b319c\",\n \"description\":\"Generated description for concept referred to by key \\\"UUIDType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"fdf2c9ff-6422-3ea6-b6b6-49b12116265d\",\n \"description\":\"Generated description for concept referred to by key \\\"pmsh-operational-policy:0.0.1\\\"\"\n }\n }\n ]\n }\n },\n \"policies\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"policyMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSCreateResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"CDSCreateResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSCreateResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSDeleteResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"CDSDeleteResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSDeleteResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CreateOrDeleteState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n },\n \"trigger\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n }\n }\n },\n {\n \"key\":\"DeleteSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"TaskSelectionLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toString()\\n\\nexecutor.logger.info(\\\"Change Type is \\\" + changeType)\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to create a subscription\\\")\\n executor.subject.getTaskKey(\\\"CreateSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to delete a subscription\\\")\\n executor.subject.getTaskKey(\\\"DeleteSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"CreateSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n },\n \"trigger\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueCreateSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"DeleteSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n },\n \"trigger\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueDeleteSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"ReceiveSubscriptionState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"ReceiveSubscriptionState\"\n },\n \"trigger\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ReceivePMSubscriptionOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"ReceiveSubscriptionState\"\n }\n }\n ]\n }\n },\n \"tasks\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"taskMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"DeleteSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"PMSubscriptionOutputEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\nvar uuidType = java.util.UUID;\\n\\nexecutor.logger.info(executor.subject.id);\\n\\n//albumID will be used to fetch info from our album later\\nvar albumID = uuidType.randomUUID();\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").getSchemaHelper().createNewInstance();\\nvar returnValue = true;\\n\\nif(executor.inFields.get(\\\"operationalPolicyName\\\") != null) {\\n executor.logger.info(\\\"nfName in receive sub event \\\" + executor.inFields.get(\\\"nfName\\\"));\\n\\n var changeType = executor.inFields.get(\\\"changeType\\\")\\n var nfName = executor.inFields.get(\\\"nfName\\\")\\n var ipAddress = executor.inFields.get(\\\"ipAddress\\\")\\n var operationalPolicyName = executor.inFields.get(\\\"operationalPolicyName\\\")\\n var controlLoopName = executor.inFields.get(\\\"controlLoopName\\\")\\n var subscription = executor.inFields.get(\\\"subscription\\\")\\n var blueprintName = executor.inFields.get(\\\"blueprintName\\\")\\n var blueprintVersion = executor.inFields.get(\\\"blueprintVersion\\\")\\n\\n pmSubscriptionInfo.put(\\\"nfName\\\", executor.inFields.get(\\\"nfName\\\"));\\n pmSubscriptionInfo.put(\\\"ipAddress\\\", executor.inFields.get(\\\"ipAddress\\\"));\\n pmSubscriptionInfo.put(\\\"changeType\\\", executor.inFields.get(\\\"changeType\\\"))\\n pmSubscriptionInfo.put(\\\"operationalPolicyName\\\", executor.inFields.get(\\\"operationalPolicyName\\\"))\\n pmSubscriptionInfo.put(\\\"controlLoopName\\\", executor.inFields.get(\\\"controlLoopName\\\"))\\n pmSubscriptionInfo.put(\\\"subscription\\\", subscription)\\n pmSubscriptionInfo.put(\\\"blueprintName\\\", blueprintName)\\n pmSubscriptionInfo.put(\\\"blueprintVersion\\\", blueprintVersion)\\n\\n if (\\\"delete\\\".equals(changeType.toLowerCase())) {\\n pmSubscriptionInfo.put(\\\"subscriptionName\\\", executor.inFields.get(\\\"subscriptionName\\\"))\\n pmSubscriptionInfo.put(\\\"measurementGroupName\\\", executor.inFields.get(\\\"measurementGroupName\\\"))\\n }\\n\\n executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").put(albumID.toString(), pmSubscriptionInfo);\\n\\n executor.outFields.put(\\\"albumID\\\", albumID)\\n} else {\\n executor.message = \\\"Received invalid event\\\"\\n returnValue = false;\\n}\\n\\nreturnValue;\"\n }\n }\n }\n ]\n }\n },\n \"events\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"eventMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"count\",\n \"value\":{\n \"key\":\"count\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"serverTimeMs\",\n \"value\":{\n \"key\":\"serverTimeMs\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n \"albums\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"albums\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"scope\":\"policy\",\n \"isWritable\":true,\n \"itemSchema\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n }\n }\n }\n ]\n }\n },\n \"schemas\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"schemas\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActionIdentifiers_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"actionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"mode\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"CreateResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileBasedGP\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileLocation\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroup\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"Measurement_Group_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementTypes\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Measurement_Types_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementType\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\":\\\"managedObjectDNsBasic\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"DN\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"DeleteResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"RequestCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"flags\\\",\\n \\\"type\\\": [\\\"null\\\", \\\"string\\\"]\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"code\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"PMSubscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.pmcontrol\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"ipAddress\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"controlLoopName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"operationalPolicyName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.Integer\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.String\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActivateSubscriptionStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"default\\\": \\\"null\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.util.UUID\"\n }\n }\n ]\n }\n }\n }\n }\n },\n \"eventInputParameters\":{\n \"DCAEConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"consumerPollTime\":\"50\",\n \"url\":\"https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1\"\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\",\n \"parameters\":{\n \"nameAlias\":\"operationalPolicyName\"\n }\n },\n \"eventName\":\"pmsh-operational-policy\",\n \"eventNameFilter\":\"pmsh-operational-policy\"\n },\n \"CDSRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSCreateResponseEvent\",\n \"eventNameFilter\":\"CDSCreateResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestProducer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSDeleteResponseEvent\",\n \"eventNameFilter\":\"CDSDeleteResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestProducer\",\n \"requestorTimeout\":500\n }\n },\n \"eventOutputParameters\":{\n \"logOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"StdOutOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"CDSRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSCreateSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSDeleteSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSReplyProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSResponseStatusEvent\"\n }\n }\n },\n \"identifier\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"type_identifier\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"operational.apex.pmcontrol\"\n }\n }\n ],\n \"policies_as_map\":{\n \"ToscaEntityKey(name=operational.apex.pmcontrol, version=1.0.0)\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\",\n \"derived_from\":null,\n \"metadata\":{\n \"policy-id\":\"operational.apex.pmcontrol\",\n \"policy-version\":\"1.0.0\"\n },\n \"description\":null,\n \"type\":\"onap.policies.acm.operational.common.Apex\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"MyApexEngine\",\n \"version\":\"0.0.1\",\n \"id\":45,\n \"instanceCount\":2,\n \"deploymentPort\":12561,\n \"engineParameters\":{\n \"executorParameters\":{\n \"JAVASCRIPT\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters\"\n }\n },\n \"contextParameters\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.parameters.ContextParameters\",\n \"schemaParameters\":{\n \"Avro\":{\n \"parameterClassName\":\"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters\"\n },\n \"Java\":{\n \"parameterClassName\":\"org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters\",\n \"jsonAdapters\":{\n \"Instant\":{\n \"adaptedClass\":\"java.time.Instant\",\n \"adaptorClass\":\"org.onap.policy.common.gson.InstantAsMillisTypeAdapter\"\n }\n }\n }\n }\n }\n },\n \"policy_type_impl\":{\n \"apexPolicyModel\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"keyInformation\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"keyInfoMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6e5fa19b-14df-37e3-a4ae-8c537e861a82\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSActionIdentifiersType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"14b29e38-ac75-3273-aa4e-8583c0aa7dad\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"04573f8f-e772-30a5-b1d9-d7318d4a1e13\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e126c965-fc09-3bfe-8f55-70f380a4a49c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6165ee82-afd2-3aab-a517-f00b3f2461d2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8350ac5e-c157-38b9-9614-a0f93a830e60\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"cfa325ba-226b-3a31-9183-ec43e2b6e9a2\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSCreateSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8be9c0fa-7437-3841-aff2-b3cec6ae3bd8\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"3fbfe0c9-152e-34d3-a504-09cd13c058d0\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"a780251c-edd5-3132-b865-04313246b43c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponsePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"afce4555-3aa3-3521-a7d8-ee8cdf0d3efc\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"12658406-9147-3c9d-a38c-5ad5e30b092b\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"24380c95-9289-36e6-8cbf-0edefa15ccd9\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSDeleteSubscriptionRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"35590ac0-062c-39f1-8786-b4ff716e30b1\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSRequestCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"dd7e1805-885a-350b-aaf9-ed541321ae3c\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"7986e21b-32f7-302e-9554-31f21b673493\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92b8a2cf-344e-3ce1-8cc0-2b7d3cb695fa\",\n \"description\":\"Generated description for concept referred to by key \\\"CDSResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"92162397-1a8e-3a3f-a469-d2af7700af4a\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"bc0c69f0-52ed-38ea-b468-ae4a6fd1730d\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"89cb75e9-f06c-30d3-b4ff-698d45f63869\",\n \"description\":\"Generated description for concept referred to by key \\\"CreateSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"994fa441-04ab-33bb-832d-1cd12ab5d074\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"0f519117-5fea-3e4b-941f-8f778100465f\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionPayloadTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acb772fe-d442-39e3-98f9-b1080caf4150\",\n \"description\":\"Generated description for concept referred to by key \\\"DeleteSubscriptionRequestTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"13c747a3-6bae-3bcf-9c80-b152e01dc194\",\n \"description\":\"Generated description for concept referred to by key \\\"MRResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"acf1e55c-7bc5-3bd5-975a-0ca54afcd8a4\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"b38ad204-c2c8-32f4-9b5a-dda0aeb0145b\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Albums:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3871a0-c42a-3113-a066-82d192840eca\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Events:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_KeyInfo\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"ced37634-28a4-3178-b7f6-2980794927b0\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_KeyInfo:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"be3d180d-ef9c-3a75-8e9c-84271a038bed\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Policies:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"e61973f1-189c-39e5-82f6-0d3afe298a20\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Schemas:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"5658adb3-2962-30a3-a241-fae75bb8eb4a\",\n \"description\":\"Generated description for concept referred to by key \\\"PMControlPolicy_Tasks:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"c2bd6f0d-6854-317a-9be2-97c08338428c\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionAlbum:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"992b7819-9f69-3aa0-bb0f-6e45ea15ce05\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionOutputEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"73c1c397-4fc3-357f-93b6-a8ad707fbaae\",\n \"description\":\"Generated description for concept referred to by key \\\"PMSubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"568b7345-9de1-36d3-b6a3-9b857e6809a1\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveEventPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"f596afc8-100c-35eb-92c8-352355ea457d\",\n \"description\":\"Generated description for concept referred to by key \\\"ReceiveSubscriptionTask:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"153791fd-ae0a-36a7-88a5-309a7936415d\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleIntType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"8a4957cf-9493-3a76-8c22-a208e23259af\",\n \"description\":\"Generated description for concept referred to by key \\\"SimpleStringType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"597643b1-9db1-31ce-85d0-e1c63c43b30b\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"184547bb-7d64-3cb2-a273-d7185102c5ce\",\n \"description\":\"Generated description for concept referred to by key \\\"SubscriptionType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"6a8cc68e-dfc8-3403-9c6d-071c886b319c\",\n \"description\":\"Generated description for concept referred to by key \\\"UUIDType:0.0.1\\\"\"\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"UUID\":\"fdf2c9ff-6422-3ea6-b6b6-49b12116265d\",\n \"description\":\"Generated description for concept referred to by key \\\"pmsh-operational-policy:0.0.1\\\"\"\n }\n }\n ]\n }\n },\n \"policies\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Policies\",\n \"version\":\"0.0.1\"\n },\n \"policyMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSCreateResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSCreateResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"CDSCreateResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSCreateResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSCreateResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSCreateResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"CDSDeleteResponsePolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteResponseState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CDSDeleteResponseState\"\n },\n \"trigger\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ResponseOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n \n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"CDSDeleteResponsePolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"CDSDeleteResponsePolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CDSDeleteResponseState\",\n \"localName\":\"ResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"CDSDeleteResponseState\"\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"policyKey\":{\n \"name\":\"ReceiveEventPolicy\",\n \"version\":\"0.0.1\"\n },\n \"template\":\"Freestyle\",\n \"state\":{\n \"entry\":[\n {\n \"key\":\"CreateOrDeleteState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n },\n \"trigger\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n }\n }\n },\n {\n \"key\":\"DeleteSubscriptionPayload\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n },\n \"outgoingEvent\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"TaskSelectionLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toString()\\n\\nexecutor.logger.info(\\\"Change Type is \\\" + changeType)\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to create a subscription\\\")\\n executor.subject.getTaskKey(\\\"CreateSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n executor.logger.info(\\\"Choosing to delete a subscription\\\")\\n executor.subject.getTaskKey(\\\"DeleteSubscriptionPayloadTask\\\").copyTo(executor.selectedTask);\\n}\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"CreateSubscriptionPayload\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateOrDeleteState\",\n \"localName\":\"DeleteSubscriptionPayload\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"CreateSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateSubscription\"\n },\n \"trigger\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueCreateSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"CreateSubscription\",\n \"localName\":\"IssueCreateSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"DeleteSubscription\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"DeleteSubscription\"\n },\n \"trigger\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"IssueDeleteSubscriptionRequestOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"NULL\",\n \"parentKeyVersion\":\"0.0.0\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"NULL\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"DeleteSubscription\",\n \"localName\":\"IssueDeleteSubscriptionRequestOutput\"\n }\n }\n }\n ]\n }\n }\n },\n {\n \"key\":\"ReceiveSubscriptionState\",\n \"value\":{\n \"stateKey\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"ReceiveSubscriptionState\"\n },\n \"trigger\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"stateOutputs\":{\n \"entry\":[\n {\n \"key\":\"ReceivePMSubscriptionOutput\",\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n },\n \"outgoingEvent\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"outgoingEventReference\":[\n {\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n }\n ],\n \"nextState\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"NULL\",\n \"localName\":\"CreateOrDeleteState\"\n }\n }\n }\n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskSelectionLogic\":{\n \"key\":\"NULL\",\n \"logicFlavour\":\"UNDEFINED\",\n \"logic\":\"\"\n },\n \"stateFinalizerLogicMap\":{\n \"entry\":[\n \n ]\n },\n \"defaultTask\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"taskReferences\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceiveEventPolicy\"\n },\n \"outputType\":\"DIRECT\",\n \"output\":{\n \"parentKeyName\":\"ReceiveEventPolicy\",\n \"parentKeyVersion\":\"0.0.1\",\n \"parentLocalName\":\"ReceiveSubscriptionState\",\n \"localName\":\"ReceivePMSubscriptionOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\":\"ReceiveSubscriptionState\"\n }\n }\n ]\n }\n },\n \"tasks\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Tasks\",\n \"version\":\"0.0.1\"\n },\n \"taskMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSResponseStatusEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar commonHeader = executor.inFields.get(\\\"commonHeader\\\")\\nvar response = executor.inFields.get(\\\"payload\\\")\\nvar albumID = commonHeader.get(\\\"requestId\\\")\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(albumID.toString());\\nvar responseStatus = executor.subject.getOutFieldSchemaHelper(\\\"status\\\").createNewInstance();\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toUpperCase()\\n\\nresponseStatus.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\nresponseStatus.put(\\\"changeType\\\", pmSubscriptionInfo.get(\\\"changeType\\\"))\\n\\nif (\\\"CREATE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\").get(\\\"measurementGroupName\\\"))\\n\\n}\\nelse if (\\\"DELETE\\\".equals(changeType)) {\\n responseStatus.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n responseStatus.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar status = response.get(pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase() + \\\"_DasH_subscription_DasH_response\\\").get(\\\"odl_DasH_response\\\").get(\\\"status\\\")\\n\\nexecutor.logger.info(\\\"RESPONSE STATUS = \\\" + status)\\n\\nif(status == \\\"success\\\") {\\n responseStatus.put(\\\"message\\\", \\\"success\\\")\\n} else {\\n responseStatus.put(\\\"message\\\", \\\"failed\\\")\\n}\\n\\nexecutor.outFields.put(\\\"status\\\", responseStatus)\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CreateSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSCreateSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"DeleteSubscriptionPayloadEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(changeType + \\\"_DasH_subscription_DasH_properties_record\\\");\\n\\npayloadProperties.put(\\\"nfName\\\", pmSubscriptionInfo.get(\\\"nfName\\\"))\\npayloadProperties.put(\\\"ipAddress\\\", pmSubscriptionInfo.get(\\\"ipAddress\\\"))\\n\\nif (\\\"create\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"fileBasedGP\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileBasedGP\\\").toString())\\n payloadProperties.put(\\\"fileLocation\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"fileLocation\\\"))\\n payloadProperties.put(\\\"measurementGroup\\\", pmSubscriptionInfo.get(\\\"subscription\\\").get(\\\"measurementGroup\\\"))\\n}\\nelse if (\\\"delete\\\".equals(changeType)) {\\n payloadProperties.put(\\\"subscriptionName\\\", pmSubscriptionInfo.get(\\\"subscriptionName\\\"))\\n payloadProperties.put(\\\"measurementGroupName\\\", pmSubscriptionInfo.get(\\\"measurementGroupName\\\"))\\n}\\n\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(changeType + \\\"_DasH_subscription_DasH_properties\\\", payloadProperties)\\n\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(changeType + \\\"_DasH_subscription_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"albumID\\\", executor.inFields.get(\\\"albumID\\\"))\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionRequestTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"CDSDeleteSubscriptionRequestEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\n\\nexecutor.logger.info(executor.subject.id);\\n\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").get(executor.inFields.get(\\\"albumID\\\").toString())\\n\\nexecutor.logger.info(pmSubscriptionInfo)\\n\\nvar changeType = pmSubscriptionInfo.get(\\\"changeType\\\").toLowerCase()\\nvar blueprintName = pmSubscriptionInfo.get(\\\"blueprintName\\\").toLowerCase()\\nvar blueprintVersion = pmSubscriptionInfo.get(\\\"blueprintVersion\\\").toLowerCase()\\nvar payload = executor.inFields.get(\\\"payload\\\")\\nvar actionName = changeType + \\\"-subscription\\\"\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"originatorId\\\", \\\"sdnc\\\");\\ncommonHeader.put(\\\"requestId\\\", executor.inFields.get(\\\"albumID\\\").toString());\\ncommonHeader.put(\\\"subRequestId\\\", \\\"sub-123456-1000\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"actionName\\\", actionName);\\nactionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\nactionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nreturnValue = executor.isTrue;\\n\\ntrue;\"\n }\n }\n },\n {\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"ReceiveSubscriptionTask\",\n \"version\":\"0.0.1\"\n },\n \"inputEvent\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n },\n \"outputEvents\":{\n \"entry\":[\n {\n \"key\":\"PMSubscriptionOutputEvent\",\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"taskParameters\":{\n \"entry\":[\n \n ]\n },\n \"contextAlbumReference\":[\n {\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n }\n ],\n \"taskLogic\":{\n \"key\":\"TaskLogic\",\n \"logicFlavour\":\"JAVASCRIPT\",\n \"logic\":\"/*\\n * ============LICENSE_START=======================================================\\n * Copyright (C) 2020 Nordix. All rights reserved.\\n * ================================================================================\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n * ============LICENSE_END=========================================================\\n */\\nvar uuidType = java.util.UUID;\\n\\nexecutor.logger.info(executor.subject.id);\\n\\n//albumID will be used to fetch info from our album later\\nvar albumID = uuidType.randomUUID();\\nvar pmSubscriptionInfo = executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").getSchemaHelper().createNewInstance();\\nvar returnValue = true;\\n\\nif(executor.inFields.get(\\\"operationalPolicyName\\\") != null) {\\n executor.logger.info(\\\"nfName in receive sub event \\\" + executor.inFields.get(\\\"nfName\\\"));\\n\\n var changeType = executor.inFields.get(\\\"changeType\\\")\\n var nfName = executor.inFields.get(\\\"nfName\\\")\\n var ipAddress = executor.inFields.get(\\\"ipAddress\\\")\\n var operationalPolicyName = executor.inFields.get(\\\"operationalPolicyName\\\")\\n var controlLoopName = executor.inFields.get(\\\"controlLoopName\\\")\\n var subscription = executor.inFields.get(\\\"subscription\\\")\\n var blueprintName = executor.inFields.get(\\\"blueprintName\\\")\\n var blueprintVersion = executor.inFields.get(\\\"blueprintVersion\\\")\\n\\n pmSubscriptionInfo.put(\\\"nfName\\\", executor.inFields.get(\\\"nfName\\\"));\\n pmSubscriptionInfo.put(\\\"ipAddress\\\", executor.inFields.get(\\\"ipAddress\\\"));\\n pmSubscriptionInfo.put(\\\"changeType\\\", executor.inFields.get(\\\"changeType\\\"))\\n pmSubscriptionInfo.put(\\\"operationalPolicyName\\\", executor.inFields.get(\\\"operationalPolicyName\\\"))\\n pmSubscriptionInfo.put(\\\"controlLoopName\\\", executor.inFields.get(\\\"controlLoopName\\\"))\\n pmSubscriptionInfo.put(\\\"subscription\\\", subscription)\\n pmSubscriptionInfo.put(\\\"blueprintName\\\", blueprintName)\\n pmSubscriptionInfo.put(\\\"blueprintVersion\\\", blueprintVersion)\\n\\n if (\\\"delete\\\".equals(changeType.toLowerCase())) {\\n pmSubscriptionInfo.put(\\\"subscriptionName\\\", executor.inFields.get(\\\"subscriptionName\\\"))\\n pmSubscriptionInfo.put(\\\"measurementGroupName\\\", executor.inFields.get(\\\"measurementGroupName\\\"))\\n }\\n\\n executor.getContextAlbum(\\\"PMSubscriptionAlbum\\\").put(albumID.toString(), pmSubscriptionInfo);\\n\\n executor.outFields.put(\\\"albumID\\\", albumID)\\n} else {\\n executor.message = \\\"Received invalid event\\\"\\n returnValue = false;\\n}\\n\\nreturnValue;\"\n }\n }\n }\n ]\n }\n },\n \"events\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Events\",\n \"version\":\"0.0.1\"\n },\n \"eventMap\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"CDS\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionRequestEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"actionIdentifiers\",\n \"value\":{\n \"key\":\"actionIdentifiers\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"commonHeader\",\n \"value\":{\n \"key\":\"commonHeader\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"DCAE\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"status\",\n \"value\":{\n \"key\":\"status\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CreateSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"DeleteSubscriptionPayloadEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"payload\",\n \"value\":{\n \"key\":\"payload\",\n \"fieldSchemaKey\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"MRResponseEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"count\",\n \"value\":{\n \"key\":\"count\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"serverTimeMs\",\n \"value\":{\n \"key\":\"serverTimeMs\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionOutputEvent\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"APEX\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"albumID\",\n \"value\":{\n \"key\":\"albumID\",\n \"fieldSchemaKey\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n }\n ]\n }\n }\n },\n {\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"pmsh-operational-policy\",\n \"version\":\"0.0.1\"\n },\n \"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\n \"source\":\"DCAE\",\n \"target\":\"APEX\",\n \"parameter\":{\n \"entry\":[\n {\n \"key\":\"blueprintName\",\n \"value\":{\n \"key\":\"blueprintName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"blueprintVersion\",\n \"value\":{\n \"key\":\"blueprintVersion\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"changeType\",\n \"value\":{\n \"key\":\"changeType\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"controlLoopName\",\n \"value\":{\n \"key\":\"controlLoopName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"ipAddress\",\n \"value\":{\n \"key\":\"ipAddress\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"measurementGroupName\",\n \"value\":{\n \"key\":\"measurementGroupName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"nfName\",\n \"value\":{\n \"key\":\"nfName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"operationalPolicyName\",\n \"value\":{\n \"key\":\"operationalPolicyName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":false\n }\n },\n {\n \"key\":\"subscription\",\n \"value\":{\n \"key\":\"subscription\",\n \"fieldSchemaKey\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n },\n {\n \"key\":\"subscriptionName\",\n \"value\":{\n \"key\":\"subscriptionName\",\n \"fieldSchemaKey\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"optional\":true\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n \"albums\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Albums\",\n \"version\":\"0.0.1\"\n },\n \"albums\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionAlbum\",\n \"version\":\"0.0.1\"\n },\n \"scope\":\"policy\",\n \"isWritable\":true,\n \"itemSchema\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n }\n }\n }\n ]\n }\n },\n \"schemas\":{\n \"key\":{\n \"name\":\"PMControlPolicy_Schemas\",\n \"version\":\"0.0.1\"\n },\n \"schemas\":{\n \"entry\":[\n {\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSActionIdentifiersType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActionIdentifiers_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"actionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"mode\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"CreateResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"create_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSCreateSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"create_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileBasedGP\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"fileLocation\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroup\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"Measurement_Group_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementTypes\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Measurement_Types_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"measurementType\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\":\\\"managedObjectDNsBasic\\\",\\n \\\"type\\\":{\\n \\\"type\\\":\\\"array\\\",\\n \\\"items\\\":{\\n \\\"name\\\":\\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"DN\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteResponsePayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"DeleteResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"delete_DasH_subscription_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"odl_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"status\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSDeleteSubscriptionPayloadType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\":\\\"map\\\",\\n \\\"values\\\":{\\n \\\"type\\\":\\\"record\\\",\\n \\\"name\\\":\\\"CDSRequestPayloadEntry\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"delete_DasH_subscription_DasH_properties_record\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"nfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ipAddress\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"subscriptionName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"measurementGroupName\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSRequestCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"RequestCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseCommonHeaderType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseCommonHeader_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"originatorId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"requestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subRequestId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"flags\\\",\\n \\\"type\\\": [\\\"null\\\", \\\"string\\\"]\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"CDSResponseStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ResponseStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"code\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"PMSubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"PMSubscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.pmcontrol\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"ipAddress\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"controlLoopName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"operationalPolicyName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"blueprintVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleIntType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.Integer\"\n }\n },\n {\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SimpleStringType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.lang.String\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionStatusType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"ActivateSubscriptionStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"nfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"changeType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"SubscriptionType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Avro\",\n \"schemaDefinition\":\"{\\n \\\"name\\\": \\\"subscription\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"default\\\": \\\"null\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"subscriptionName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileBasedGP\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"fileLocation\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementGroup\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"Measurement_Group_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementGroupName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"measurementTypes\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Measurement_Types_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"measurementType\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"managedObjectDNsBasic\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"Managed_Object_Dns_Basic_Type\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"DN\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"value\":{\n \"key\":{\n \"name\":\"UUIDType\",\n \"version\":\"0.0.1\"\n },\n \"schemaFlavour\":\"Java\",\n \"schemaDefinition\":\"java.util.UUID\"\n }\n }\n ]\n }\n }\n }\n }\n },\n \"eventInputParameters\":{\n \"DCAEConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"consumerPollTime\":\"50\",\n \"url\":\"https://message-router:3905/events/unauthenticated.DCAE_CL_OUTPUT/cg1/sg1\"\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\",\n \"parameters\":{\n \"nameAlias\":\"operationalPolicyName\"\n }\n },\n \"eventName\":\"pmsh-operational-policy\",\n \"eventNameFilter\":\"pmsh-operational-policy\"\n },\n \"CDSRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSCreateResponseEvent\",\n \"eventNameFilter\":\"CDSCreateResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestProducer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestConsumer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"http://cds-blueprints-processor-http:8080/api/v1/execution-service/process\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000,\n \"httpHeaders\":[\n [\n \"Authorization\",\n \"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventName\":\"CDSDeleteResponseEvent\",\n \"eventNameFilter\":\"CDSDeleteResponseEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestProducer\",\n \"requestorTimeout\":500\n }\n },\n \"eventOutputParameters\":{\n \"logOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"StdOutOutputter\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"FILE\",\n \"parameters\":{\n \"standardIo\":true\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n }\n },\n \"CDSRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSCreateSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSDeleteRequestProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTREQUESTOR\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSDeleteSubscriptionRequestEvent\",\n \"requestorMode\":true,\n \"requestorPeer\":\"CDSDeleteRequestConsumer\",\n \"requestorTimeout\":500\n },\n \"CDSReplyProducer\":{\n \"carrierTechnologyParameters\":{\n \"carrierTechnology\":\"RESTCLIENT\",\n \"parameterClassName\":\"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\":{\n \"url\":\"https://message-router:3905/events/unauthenticated.PMSH_CL_INPUT\",\n \"httpMethod\":\"POST\",\n \"restRequestTimeout\":2000\n }\n },\n \"eventProtocolParameters\":{\n \"eventProtocol\":\"JSON\"\n },\n \"eventNameFilter\":\"CDSResponseStatusEvent\"\n }\n }\n },\n \"identifier\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"type_identifier\":{\n \"name\":\"onap.policies.acm.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"operational.apex.pmcontrol\",\n \"version\":\"1.0.0\"\n },\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"operational.apex.pmcontrol\"\n }\n }\n },\n \"tosca_definitions_version\":\"tosca_simple_yaml_1_3\",\n \"data_types\":{\n \"onap.datatype.acm.Actor\":{\n \"name\":\"onap.datatype.acm.Actor\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An actor/operation/target definition\",\n \"properties\":{\n \"actor\":{\n \"name\":\"actor\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The actor performing the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultActors,ClampExecution:CDS/actor\"\n }\n },\n \"payload\":{\n \"name\":\"payload\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of payload information passed by Policy to the actor\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CDS/payload\"\n }\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The operation the actor is performing.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultOperations,ClampExecution:CDS/operation\"\n }\n },\n \"target\":{\n \"name\":\"target\",\n \"type\":\"onap.datatype.acm.Target\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The resource the operation should be performed on.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.acm.Actor\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatype.acm.Actor\"\n },\n \"onap.datatype.acm.Operation\":{\n \"name\":\"onap.datatype.acm.Operation\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An operation supported by an actor\",\n \"properties\":{\n \"failure_timeout\":{\n \"name\":\"failure_timeout\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the time out for the operation occurs.\",\n \"default_value\":\"final_failure_timeout\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"retries\":{\n \"name\":\"retries\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The number of retries the actor should attempt to perform the operation.\",\n \"default_value\":0,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure\":{\n \"name\":\"failure\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on Actor operation failure.\",\n \"default_value\":\"final_failure\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_exception\":{\n \"name\":\"failure_exception\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation causes an exception.\",\n \"default_value\":\"final_failure_exception\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"success\":{\n \"name\":\"success\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on success. A value of \\\"final_success\\\" indicates and end to the operation.\",\n \"default_value\":\"final_success\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_retries\":{\n \"name\":\"failure_retries\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation has exceeded its max retries.\",\n \"default_value\":\"final_failure_retries\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"description\":{\n \"name\":\"description\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A user-friendly description of the intent for the operation\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Unique identifier for the operation\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_guard\":{\n \"name\":\"failure_guard\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\",\n \"default_value\":\"final_failure_guard\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"onap.datatype.acm.Actor\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The definition of the operation to be performed.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The amount of time for the actor to perform the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.acm.Operation\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatype.acm.Operation\"\n },\n \"onap.datatype.acm.Target\":{\n \"name\":\"onap.datatype.acm.Target\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Definition for a entity in A&AI to perform an Automation Composition operation on\",\n \"properties\":{\n \"targetType\":{\n \"name\":\"targetType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Category for the target type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"VNF\",\n \"VM\",\n \"VFMODULE\",\n \"PNF\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"entityIds\":{\n \"name\":\"entityIds\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Map of values that identify the resource. If none are provided, it is assumed that the\\nentity that generated the ONSET event will be the target.\\n\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CSAR_RESOURCES\"\n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.acm.Target\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatype.acm.Target\"\n },\n \"onap.datatypes.ToscaConceptIdentifier\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"name\":{\n \"name\":\"name\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"version\":{\n \"name\":\"version\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.ToscaConceptIdentifier\"\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasic\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"DN\":{\n \"name\":\"DN\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\"\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasics\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\"\n },\n \"onap.datatypes.monitoring.measurementGroup\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementTypes\":{\n \"name\":\"measurementTypes\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of measurement types\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementTypes\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of managed object distinguished names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroup\"\n },\n \"onap.datatypes.monitoring.measurementGroups\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementGroup\":{\n \"name\":\"measurementGroup\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Group\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroup\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroups\"\n },\n \"onap.datatypes.monitoring.measurementType\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementType\"\n },\n \"onap.datatypes.monitoring.measurementTypes\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementType\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementTypes\"\n },\n \"onap.datatypes.monitoring.nfFilter\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"modelInvariantIDs\":{\n \"name\":\"modelInvariantIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model invariant IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"nfNames\":{\n \"name\":\"nfNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of network functions\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelVersionIDs\":{\n \"name\":\"modelVersionIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model version IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelNames\":{\n \"name\":\"modelNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.nfFilter\"\n },\n \"onap.datatypes.monitoring.subscription\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"administrativeState\":{\n \"name\":\"administrativeState\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"State of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"LOCKED\",\n \"UNLOCKED\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"subscriptionName\":{\n \"name\":\"subscriptionName\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"measurementGroups\":{\n \"name\":\"measurementGroups\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Groups\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroups\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"fileBasedGP\":{\n \"name\":\"fileBasedGP\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"File based granularity period\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"nfFilter\":{\n \"name\":\"nfFilter\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Network function filter\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.nfFilter\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"fileLocation\":{\n \"name\":\"fileLocation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"ROP file location\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.subscription\"\n },\n \"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\":{\n \"name\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"path\":{\n \"name\":\"path\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The path of the REST request relative to the base URL\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"expectedResponse\":{\n \"name\":\"expectedResponse\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"THe expected HTTP status code for the REST request\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"restRequestId\":{\n \"name\":\"restRequestId\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The name and version of a REST request to be sent to a REST endpoint\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"body\":{\n \"name\":\"body\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The body of the REST request for PUT and POST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"httpMethod\":{\n \"name\":\"httpMethod\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The REST method to use\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"POST\",\n \"PUT\",\n \"GET\",\n \"DELETE\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_version\":\"1.0.0\",\n \"defined_name\":\"org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest\"\n }\n },\n \"name\":\"ATT\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/instantiation?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "instantiation" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Automation Composition Instantiation", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/instantiation?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "instantiation" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "POST Automation Composition Instantiation", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"automationCompositionList\": [\n {\n \"name\": \"ATT2\",\n \"version\": \"2.3.4\",\n \"derivedFrom\": null,\n \"metadata\": null,\n \"description\": \"Automation composition ATT\",\n \"definition\": {\n \"name\": \"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition\",\n \"version\": \"1.2.3\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"elements\": {\n \"d74c4ea1-e873-4f58-a150-912a24ad50b0\": {\n \"id\": \"d74c4ea1-e873-4f58-a150-912a24ad50b0\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.clamp.acm.HttpParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"HttpParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"acElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"fd185b93-17b9-4531-9b36-148da5e653fb\": {\n \"id\": \"fd185b93-17b9-4531-9b36-148da5e653fb\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"acElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"4df5dffe-2b2f-4347-8551-8a6f45d85ea8\": {\n \"id\": \"4df5dffe-2b2f-4347-8551-8a6f45d85ea8\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.clamp.acm.PolicyParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"acElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"10274477-a3d0-43bf-a82e-f10bd3328686\": {\n \"id\": \"10274477-a3d0-43bf-a82e-f10bd3328686\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.clamp.acm.KubernetesParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"acElementStatistics\": null,\n \"propertiesMap\": {}\n }\n },\n \"primed\": false,\n \"type\": \"org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition-ATT\",\n \"typeVersion\": \"1.2.3\",\n \"key\": {\n \"name\": \"ATT\",\n \"version\": \"2.3.4\"\n },\n \"definedVersion\": \"2.3.4\",\n \"definedName\": \"ATT\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/instantiation", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "instantiation" + ] + } + }, + "response": [] + }, + { + "name": "PUT Change Automation Composition Order State", + "request": { + "method": "PUT", + "header": [ + { + "key": "X-ONAP-RequestID", + "value": "709c62b3-8918-41b9-a747-d21eb79c6c20", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"orderedState\": \"PASSIVE\",\n \"automationCompositionIdentifierList\": [\n {\n \"name\": \"ATT\",\n \"version\": \"2.3.4\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/instantiation/command", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "instantiation", + "command" + ] + } + }, + "response": [] + }, + { + "name": "GET Automation Composition Instantiation State", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/policy/clamp/acm/v2/instantiationState?name=ATT&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "policy", + "clamp", + "acm", + "v2", + "instantiationState" + ], + "query": [ + { + "key": "name", + "value": "ATT" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + } + ] + } + ], + "auth": { + "type": "basic", + "basic": [ + { + "key": "username", + "value": "runtimeUser", + "type": "string" + }, + { + "key": "password", + "value": "zb!XztG34", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] +}
\ No newline at end of file diff --git a/docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json b/docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json new file mode 100644 index 00000000..a95dfae6 --- /dev/null +++ b/docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json @@ -0,0 +1,646 @@ +{ + "info": { + "_postman_id": "731421e5-3a15-4829-88f0-519c8bfff4d5", + "name": "Control Loop Istanbul", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Monitoring", + "item": [ + { + "name": "GET Monitoring Control Loop Element", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/monitoring/clelement?name=PMSH_Instance1&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "monitoring", + "clelement" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Monitoring Control Loop Elements Control Loop", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/monitoring/clelement/controlloop?name=PMSH_Instance1&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "monitoring", + "clelement", + "controlloop" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Monitoring Control Loop Participant", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/monitoring/participant?name=PMSH_Instance1&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "monitoring", + "participant" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Monitoring Control Loop Participants Control Loop", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/monitoring/participants/controlloop?name=PMSH_Instance1&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "monitoring", + "participants", + "controlloop" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Comissioning", + "item": [ + { + "name": "POST Commission Tosca Service Template", + "request": { + "method": "POST", + "header": [ + { + "key": "X-ONAP-RequestID", + "value": "709c62b3-8918-41b9-a747-d21eb79c6c20", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/yaml", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\ndata_types:\n onap.datatypes.ToscaConceptIdentifier:\n derived_from: tosca.datatypes.Root\n properties:\n name:\n type: string\n required: true\n version:\n type: string\n required: true\n onap.datatype.controlloop.Target:\n derived_from: tosca.datatypes.Root\n description: Definition for a entity in A&AI to perform a control loop operation on\n properties:\n targetType:\n type: string\n description: Category for the target type\n required: true\n constraints:\n - valid_values:\n - VNF\n - VM\n - VFMODULE\n - PNF\n entityIds:\n type: map\n description: |\n Map of values that identify the resource. If none are provided, it is assumed that the\n entity that generated the ONSET event will be the target.\n required: false\n metadata:\n clamp_possible_values: ClampExecution:CSAR_RESOURCES\n entry_schema:\n type: string\n onap.datatype.controlloop.Actor:\n derived_from: tosca.datatypes.Root\n description: An actor/operation/target definition\n properties:\n actor:\n type: string\n description: The actor performing the operation.\n required: true\n metadata:\n clamp_possible_values: Dictionary:DefaultActors,ClampExecution:CDS/actor\n operation:\n type: string\n description: The operation the actor is performing.\n metadata:\n clamp_possible_values: Dictionary:DefaultOperations,ClampExecution:CDS/operation\n required: true\n target:\n type: onap.datatype.controlloop.Target\n description: The resource the operation should be performed on.\n required: true\n payload:\n type: map\n description: Name/value pairs of payload information passed by Policy to the actor\n required: false\n metadata:\n clamp_possible_values: ClampExecution:CDS/payload\n entry_schema:\n type: string\n onap.datatype.controlloop.Operation:\n derived_from: tosca.datatypes.Root\n description: An operation supported by an actor\n properties:\n id:\n type: string\n description: Unique identifier for the operation\n required: true\n description:\n type: string\n description: A user-friendly description of the intent for the operation\n required: false\n operation:\n type: onap.datatype.controlloop.Actor\n description: The definition of the operation to be performed.\n required: true\n timeout:\n type: integer\n description: The amount of time for the actor to perform the operation.\n required: true\n retries:\n type: integer\n description: The number of retries the actor should attempt to perform the operation.\n required: true\n default: 0\n success:\n type: string\n description: Points to the operation to invoke on success. A value of \"final_success\" indicates and end to the operation.\n required: false\n default: final_success\n failure:\n type: string\n description: Points to the operation to invoke on Actor operation failure.\n required: false\n default: final_failure\n failure_timeout:\n type: string\n description: Points to the operation to invoke when the time out for the operation occurs.\n required: false\n default: final_failure_timeout\n failure_retries:\n type: string\n description: Points to the operation to invoke when the current operation has exceeded its max retries.\n required: false\n default: final_failure_retries\n failure_exception:\n type: string\n description: Points to the operation to invoke when the current operation causes an exception.\n required: false\n default: final_failure_exception\n failure_guard:\n type: string\n description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\n required: false\n default: final_failure_guard\n onap.datatypes.monitoring.managedObjectDNsBasic:\n constraints: []\n properties:\n DN:\n name: DN\n type: string\n typeVersion: 0.0.0\n description: Managed object distinguished name\n required: true\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.managedObjectDNsBasic\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.managedObjectDNsBasics:\n constraints: []\n properties:\n managedObjectDNsBasic:\n name: managedObjectDNsBasic\n type: map\n typeVersion: 0.0.0\n description: Managed object distinguished name object\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.managedObjectDNsBasic\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.managedObjectDNsBasics\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementGroup:\n constraints: []\n properties:\n measurementTypes:\n name: measurementTypes\n type: list\n typeVersion: 0.0.0\n description: List of measurement types\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementTypes\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n managedObjectDNsBasic:\n name: managedObjectDNsBasic\n type: list\n typeVersion: 0.0.0\n description: List of managed object distinguished names\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.managedObjectDNsBasics\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementGroup\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementGroups:\n constraints: []\n properties:\n measurementGroup:\n name: measurementGroup\n type: map\n typeVersion: 0.0.0\n description: Measurement Group\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementGroup\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementGroups\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementType:\n constraints: []\n properties:\n measurementType:\n name: measurementType\n type: string\n typeVersion: 0.0.0\n description: Measurement type\n required: true\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementType\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementTypes:\n constraints: []\n properties:\n measurementType:\n name: measurementType\n type: map\n typeVersion: 0.0.0\n description: Measurement type object\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementType\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementTypes\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.nfFilter:\n constraints: []\n properties:\n modelNames:\n name: modelNames\n type: list\n typeVersion: 0.0.0\n description: List of model names\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n modelInvariantIDs:\n name: modelInvariantIDs\n type: list\n typeVersion: 0.0.0\n description: List of model invariant IDs\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n modelVersionIDs:\n name: modelVersionIDs\n type: list\n typeVersion: 0.0.0\n description: List of model version IDs\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n nfNames:\n name: nfNames\n type: list\n typeVersion: 0.0.0\n description: List of network functions\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.nfFilter\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.subscription:\n constraints: []\n properties:\n measurementGroups:\n name: measurementGroups\n type: list\n typeVersion: 0.0.0\n description: Measurement Groups\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementGroups\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n fileBasedGP:\n name: fileBasedGP\n type: integer\n typeVersion: 0.0.0\n description: File based granularity period\n required: true\n constraints: []\n metadata: {}\n fileLocation:\n name: fileLocation\n type: string\n typeVersion: 0.0.0\n description: ROP file location\n required: true\n constraints: []\n metadata: {}\n subscriptionName:\n name: subscriptionName\n type: string\n typeVersion: 0.0.0\n description: Name of the subscription\n required: true\n constraints: []\n metadata: {}\n administrativeState:\n name: administrativeState\n type: string\n typeVersion: 0.0.0\n description: State of the subscription\n required: true\n constraints:\n - valid_values:\n - LOCKED\n - UNLOCKED\n metadata: {}\n nfFilter:\n name: nfFilter\n type: map\n typeVersion: 0.0.0\n description: Network function filter\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.nfFilter\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.subscription\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest:\n version: 1.0.0\n derived_from: tosca.datatypes.Root\n properties:\n restRequestId:\n type: onap.datatypes.ToscaConceptIdentifier\n typeVersion: 1.0.0\n required: true\n description: The name and version of a REST request to be sent to a REST endpoint\n httpMethod:\n type: string\n required: true\n constraints:\n - valid_values: [POST, PUT, GET, DELETE]\n description: The REST method to use\n path:\n type: string\n required: true\n description: The path of the REST request relative to the base URL\n body:\n type: string\n required: false\n description: The body of the REST request for PUT and POST requests\n expectedResponse:\n type: integer\n required: true\n constraints: []\n description: THe expected HTTP status code for the REST request\n org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity:\n version: 1.0.0\n derived_from: tosca.datatypes.Root\n properties:\n configurationEntityId:\n type: onap.datatypes.ToscaConceptIdentifier\n typeVersion: 1.0.0\n required: true\n description: The name and version of a Configuration Entity to be handled by the HTTP Control Loop Element\n restSequence:\n type: list\n entry_schema:\n type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\n typeVersion: 1.0.0\n description: A sequence of REST commands to send to the REST endpoint\npolicy_types:\n onap.policies.Monitoring:\n derived_from: tosca.policies.Root\n description: a base policy type for all policies that govern monitoring provisioning\n version: 1.0.0\n name: onap.policies.Monitoring\n onap.policies.Sirisha:\n derived_from: tosca.policies.Root\n description: a base policy type for all policies that govern monitoring provisioning\n version: 1.0.0\n name: onap.policies.Sirisha\n onap.policies.monitoring.dcae-pm-subscription-handler:\n properties:\n pmsh_policy:\n name: pmsh_policy\n type: onap.datatypes.monitoring.subscription\n typeVersion: 0.0.0\n description: PMSH Policy JSON\n required: false\n constraints: []\n metadata: {}\n name: onap.policies.monitoring.dcae-pm-subscription-handler\n version: 1.0.0\n derived_from: onap.policies.Monitoring\n metadata: {}\n onap.policies.controlloop.operational.Common:\n derived_from: tosca.policies.Root\n version: 1.0.0\n name: onap.policies.controlloop.operational.Common\n description: |\n Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant\n Policy Types. This does NOT support the legacy Policy YAML policy type.\n properties:\n id:\n type: string\n description: The unique control loop id.\n required: true\n timeout:\n type: integer\n description: |\n Overall timeout for executing all the operations. This timeout should equal or exceed the total\n timeout for each operation listed.\n required: true\n abatement:\n type: boolean\n description: Whether an abatement event message will be expected for the control loop from DCAE.\n required: true\n default: false\n trigger:\n type: string\n description: Initial operation to execute upon receiving an Onset event message for the Control Loop.\n required: true\n operations:\n type: list\n description: List of operations to be performed when Control Loop is triggered.\n required: true\n entry_schema:\n type: onap.datatype.controlloop.Operation\n onap.policies.controlloop.operational.common.Apex:\n derived_from: onap.policies.controlloop.operational.Common\n type_version: 1.0.0\n version: 1.0.0\n name: onap.policies.controlloop.operational.common.Apex\n description: Operational policies for Apex PDP\n properties:\n engineServiceParameters:\n type: string\n description: The engine parameters like name, instanceCount, policy implementation, parameters etc.\n required: true\n eventInputParameters:\n type: string\n description: The event input parameters.\n required: true\n eventOutputParameters:\n type: string\n description: The event output parameters.\n required: true\n javaProperties:\n type: string\n description: Name/value pairs of properties to be set for APEX if needed.\n required: false\nnode_types:\n org.onap.policy.clamp.controlloop.Participant:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n org.onap.policy.clamp.controlloop.ControlLoopElement:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n required: false\n metadata:\n common: true\n description: Specifies the organization that provides the control loop element\n participant_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n metadata:\n common: true\n participantType:\n type: onap.datatypes.ToscaConceptIdentifier\n required: true\n metadata:\n common: true\n description: The identity of the participant type that hosts this type of Control Loop Element\n startPhase:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n metadata:\n common: true\n description: A value indicating the start phase in which this control loop element will be started, the\n first start phase is zero. Control Loop Elements are started in their start_phase order and stopped\n in reverse start phase order. Control Loop Elements with the same start phase are started and\n stopped simultaneously\n uninitializedToPassiveTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from uninitialized to passive\n passiveToRunningTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from passive to running\n runningToPassiveTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from running to passive\n passiveToUninitializedTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from passive to uninitialized\n org.onap.policy.clamp.controlloop.ControlLoop:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n required: false\n metadata:\n common: true\n description: Specifies the organization that provides the control loop element\n elements:\n type: list\n required: true\n metadata:\n common: true\n entry_schema:\n type: onap.datatypes.ToscaConceptIdentifier\n description: Specifies a list of control loop element definitions that make up this control loop definition\n org.onap.policy.clamp.controlloop.PolicyControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.PolicyControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.controlloop.CDSControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n cds_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n chart:\n type: string\n required: true\n configs:\n type: list\n required: false\n requirements:\n type: string\n requred: false\n templates:\n type: list\n required: false\n entry_schema:\n values:\n type: string\n requred: true\n org.onap.policy.clamp.controlloop.HttpControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n baseUrl:\n type: string\n required: true\n description: The base URL to be prepended to each path, identifies the host for the REST endpoints.\n httpHeaders:\n type: map\n required: false\n entry_schema:\n type: string\n description: HTTP headers to send on REST requests\n configurationEntities:\n type: map\n required: true\n entry_schema:\n type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity\n typeVersion: 1.0.0\n description: The connfiguration entities the Control Loop Element is managing and their associated REST requests\n\ntopology_template:\n inputs:\n pmsh_monitoring_policy:\n type: onap.datatypes.ToscaConceptIdentifier\n description: The ID of the PMSH monitoring policy to use\n default:\n name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test\n version: 1.0.0\n pmsh_operational_policy:\n type: onap.datatypes.ToscaConceptIdentifier\n description: The ID of the PMSH operational policy to use\n default:\n name: operational.apex.pmcontrol\n version: 1.0.0\n node_templates:\n org.onap.policy.controlloop.PolicyControlLoopParticipant:\n version: 2.3.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the monitoring policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.monitoring.pm-subscription-handler\n version: 1.0.0\n policy_id:\n get_input: pmsh_monitoring_policy\n org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the operational policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.operational.pm-subscription-handler\n version: 1.0.0\n policy_id:\n get_input: pmsh_operational_policy\n org.onap.domain.pmsh.DerivedPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n org.onap.k8s.controlloop.K8SControlLoopParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for K8S\n properties:\n provider: ONAP\n org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement:\n # Chart from new repository\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the K8S microservice for PMSH\n properties:\n provider: ONAP\n participant_id:\n name: K8sParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.k8s.controlloop.K8SControlLoopParticipant\n version: 2.3.4\n chart:\n chartId:\n name: dcae-pmsh\n version: 8.0.0\n namespace: onap\n releaseName: pmshms\n repository:\n repoName: chartmuseum\n protocol: http\n address: 10.152.183.120\n port: 80\n userName: onapinitializer\n password: demo123456!\n overrideParams:\n global.masterPassword: test\n\n org.onap.domain.database.Local_K8SMicroserviceControlLoopElement:\n # Chart installation without passing repository info\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the K8S microservice for local chart\n properties:\n provider: ONAP\n participant_id:\n name: K8sParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.k8s.controlloop.K8SControlLoopParticipant\n version: 2.3.4\n chart:\n chartId:\n name: nginx-ingress\n version: 0.9.1\n releaseName: nginxms\n namespace: test\n org.onap.controlloop.HttpControlLoopParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for Http requests\n properties:\n provider: ONAP\n org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement:\n # Consul http config for PMSH.\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.HttpControlLoopElement\n type_version: 1.0.1\n description: Control loop element for the http requests of PMSH microservice\n properties:\n provider: ONAP\n participant_id:\n name: HttpParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.k8s.controlloop.HttpControlLoopParticipant\n version: 2.3.4\n uninitializedToPassiveTimeout: 180\n startPhase: 1\n baseUrl: http://10.152.183.51:8500\n httpHeaders:\n Content-Type: application/json\n configurationEntities:\n - configurationEntityId:\n name: entity1\n version: 1.0.1\n restSequence:\n - restRequestId:\n name: request1\n version: 1.0.1\n httpMethod: PUT\n path: v1/kv/dcae-pmsh2\n body: '{\n \"control_loop_name\":\"pmsh-control-loop\",\n \"operational_policy_name\":\"pmsh-operational-policy\",\n \"aaf_password\":\"demo123456!\",\n \"aaf_identity\":\"dcae@dcae.onap.org\",\n \"cert_path\":\"/opt/app/pmsh/etc/certs/cert.pem\",\n \"key_path\":\"/opt/app/pmsh/etc/certs/key.pem\",\n \"ca_cert_path\":\"/opt/app/pmsh/etc/certs/cacert.pem\",\n \"enable_tls\":\"true\",\n \"pmsh_policy\":{\n \"subscription\":{\n \"subscriptionName\":\"ExtraPM-All-gNB-R2B\",\n \"administrativeState\":\"UNLOCKED\",\n \"fileBasedGP\":15,\n \"fileLocation\":\"\\/pm\\/pm.xml\",\n \"nfFilter\":{\n \"nfNames\":[\n \"^pnf.*\",\n \"^vnf.*\"\n ],\n \"modelInvariantIDs\":[\n ],\n \"modelVersionIDs\":[\n ],\n \"modelNames\":[\n ]\n },\n \"measurementGroups\":[\n {\n \"measurementGroup\":{\n \"measurementTypes\":[\n {\n \"measurementType\":\"countera\"\n },\n {\n \"measurementType\":\"counterb\"\n }\n ],\n \"managedObjectDNsBasic\":[\n {\n \"DN\":\"dna\"\n },\n {\n \"DN\":\"dnb\"\n }\n ]\n }\n },\n {\n \"measurementGroup\":{\n \"measurementTypes\":[\n {\n \"measurementType\":\"counterc\"\n },\n {\n \"measurementType\":\"counterd\"\n }\n ],\n \"managedObjectDNsBasic\":[\n {\n \"DN\":\"dnc\"\n },\n {\n \"DN\":\"dnd\"\n }\n ]\n }\n }\n ]\n }\n },\n \"streams_subscribes\":{\n \"aai_subscriber\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/AAI_EVENT\",\n \"client_role\":\"org.onap.dcae.aaiSub\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1575976809466\"\n }\n },\n \"policy_pm_subscriber\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\",\n \"client_role\":\"org.onap.dcae.pmSubscriber\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1575876809456\"\n }\n }\n },\n \"streams_publishes\":{\n \"policy_pm_publisher\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\",\n \"client_role\":\"org.onap.dcae.pmPublisher\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1475976809466\"\n }\n },\n \"other_publisher\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.SOME_OTHER_TOPIC\",\n \"client_role\":\"org.onap.dcae.pmControlPub\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1875976809466\"\n }\n }\n }\n }'\n expectedResponse: 200\n org.onap.domain.sample.GenericK8s_ControlLoopDefinition:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.ControlLoop\n type_version: 1.0.0\n description: Control loop for Hello World\n properties:\n provider: ONAP\n elements:\n - name: org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.DerivedPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\n version: 1.2.3\n", + "options": { + "raw": { + "language": "text" + } + } + }, + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission" + ] + } + }, + "response": [] + }, + { + "name": "GET Control Loops Definitions", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission" + ] + } + }, + "response": [] + }, + { + "name": "GET Tosca Service Template", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission/toscaservicetemplate", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission", + "toscaservicetemplate" + ] + } + }, + "response": [] + }, + { + "name": "GET Tosca Service Template Schema", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission/toscaServiceTemplateSchema", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission", + "toscaServiceTemplateSchema" + ] + } + }, + "response": [] + }, + { + "name": "GET Common Instance Properties (Common)", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission/getCommonOrInstanceProperties?common=true&name=ToscaServiceTemplateSimple&version=1.0.0", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission", + "getCommonOrInstanceProperties" + ], + "query": [ + { + "key": "common", + "value": "true" + }, + { + "key": "name", + "value": "ToscaServiceTemplateSimple" + }, + { + "key": "version", + "value": "1.0.0" + } + ] + } + }, + "response": [] + }, + { + "name": "DELETE Tosca Service Template", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission?name=ToscaServiceTemplateSimple&version=1.0.0", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission" + ], + "query": [ + { + "key": "name", + "value": "ToscaServiceTemplateSimple" + }, + { + "key": "version", + "value": "1.0.0" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Control Loops Elements", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/commission/elements", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "commission", + "elements" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Instantiation", + "item": [ + { + "name": "POST Instance Properties", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"policy_types\":{\n \"onap.policies.Monitoring\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.Monitoring\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.Sirisha\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.Sirisha\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.controlloop.operational.Common\":{\n \"name\":\"onap.policies.controlloop.operational.Common\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant\\nPolicy Types. This does NOT support the legacy Policy YAML policy type.\\n\",\n \"properties\":{\n \"abatement\":{\n \"name\":\"abatement\",\n \"type\":\"boolean\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Whether an abatement event message will be expected for the control loop from DCAE.\",\n \"default_value\":false,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"operations\":{\n \"name\":\"operations\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of operations to be performed when Control Loop is triggered.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatype.controlloop.Operation\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"trigger\":{\n \"name\":\"trigger\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Initial operation to execute upon receiving an Onset event message for the Control Loop.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Overall timeout for executing all the operations. This timeout should equal or exceed the total\\ntimeout for each operation listed.\\n\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The unique control loop id.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.controlloop.operational.Common\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.controlloop.operational.Common\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.controlloop.operational.common.Apex\":{\n \"name\":\"onap.policies.controlloop.operational.common.Apex\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.controlloop.operational.Common\",\n \"metadata\":{\n \n },\n \"description\":\"Operational policies for Apex PDP\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"engineServiceParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The engine parameters like name, instanceCount, policy implementation, parameters etc.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventOutputParameters\":{\n \"name\":\"eventOutputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event output parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"javaProperties\":{\n \"name\":\"javaProperties\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of properties to be set for APEX if needed.\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventInputParameters\":{\n \"name\":\"eventInputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event input parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.controlloop.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.controlloop.operational.common.Apex\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.monitoring.dcae-pm-subscription-handler\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.Monitoring\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"pmsh_policy\":{\n \"name\":\"pmsh_policy\",\n \"type\":\"onap.datatypes.monitoring.subscription\",\n \"type_version\":\"0.0.0\",\n \"description\":\"PMSH Policy JSON\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"key\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"defined_version\":\"1.0.0\"\n }\n },\n \"node_types\":{\n \"org.onap.policy.clamp.controlloop.CDSControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.CDSControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"cds_blueprint_id\":{\n \"name\":\"cds_blueprint_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.CDSControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.CDSControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.ControlLoop\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"elements\":{\n \"name\":\"elements\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies a list of control loop element definitions that make up this control loop definition\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the control loop element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.ControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"runningToPassiveTimeout\":{\n \"name\":\"runningToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from running to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participantType\":{\n \"name\":\"participantType\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The identity of the participant type that hosts this type of Control Loop Element\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the control loop element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"startPhase\":{\n \"name\":\"startPhase\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A value indicating the start phase in which this control loop element will be started, the first start phase is zero. Control Loop Elements are started in their start_phase order and stopped in reverse start phase order. Control Loop Elements with the same start phase are started and stopped simultaneously\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToUninitializedTimeout\":{\n \"name\":\"passiveToUninitializedTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to uninitialized\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"uninitializedToPassiveTimeout\":{\n \"name\":\"uninitializedToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from uninitialized to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participant_id\":{\n \"name\":\"participant_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToRunningTimeout\":{\n \"name\":\"passiveToRunningTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to running\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.HttpControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"httpHeaders\":{\n \"name\":\"httpHeaders\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"HTTP headers to send on REST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"baseUrl\":{\n \"name\":\"baseUrl\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The base URL to be prepended to each path, identifies the host for the REST endpoints.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"configurationEntities\":{\n \"name\":\"configurationEntities\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The connfiguration entities the Control Loop Element is managing and their associated REST requests\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"values\":{\n \"name\":\"values\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"templates\":{\n \"name\":\"templates\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"chart\":{\n \"name\":\"chart\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"requirements\":{\n \"name\":\"requirements\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"configs\":{\n \"name\":\"configs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.Participant\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n }\n },\n \"topology_template\":{\n \"description\":null,\n \"inputs\":{\n \"pmsh_operational_policy\":{\n \"name\":\"pmsh_operational_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n },\n \"pmsh_monitoring_policy\":{\n \"name\":\"pmsh_monitoring_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n }\n },\n \"node_templates\":{\n \"org.onap.controlloop.HttpControlLoopParticipant\":{\n \"name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for Http requests\",\n \"type\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"defined_version\":\"2.3.4\"\n },\n \"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the http requests of PMSH microservice\",\n \"type\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"participantType\":{\n \"name\":\"org.onap.k8s.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"configurationEntities\":\"[{\\\"configurationEntityId\\\":{\\\"name\\\":\\\"entity1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"restSequence\\\":[{\\\"restRequestId\\\":{\\\"name\\\":\\\"request1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"httpMethod\\\":\\\"PUT\\\",\\\"path\\\":\\\"v1/kv/dcae-pmsh2\\\",\\\"body\\\":\\\"{ \\\\\\\"control_loop_name\\\\\\\":\\\\\\\"pmsh-control-loop\\\\\\\", \\\\\\\"operational_policy_name\\\\\\\":\\\\\\\"pmsh-operational-policy\\\\\\\", \\\\\\\"aaf_password\\\\\\\":\\\\\\\"demo123456!\\\\\\\", \\\\\\\"aaf_identity\\\\\\\":\\\\\\\"dcae@dcae.onap.org\\\\\\\", \\\\\\\"cert_path\\\\\\\":\\\\\\\"/opt/app/pmsh/etc/certs/cert.pem\\\\\\\", \\\\\\\"key_path\\\\\\\":\\\\\\\"/opt/app/pmsh/etc/certs/key.pem\\\\\\\", \\\\\\\"ca_cert_path\\\\\\\":\\\\\\\"/opt/app/pmsh/etc/certs/cacert.pem\\\\\\\", \\\\\\\"enable_tls\\\\\\\":\\\\\\\"true\\\\\\\", \\\\\\\"pmsh_policy\\\\\\\":{ \\\\\\\"subscription\\\\\\\":{ \\\\\\\"subscriptionName\\\\\\\":\\\\\\\"ExtraPM-All-gNB-R2B\\\\\\\", \\\\\\\"administrativeState\\\\\\\":\\\\\\\"UNLOCKED\\\\\\\", \\\\\\\"fileBasedGP\\\\\\\":15, \\\\\\\"fileLocation\\\\\\\":\\\\\\\"\\\\\\\\/pm\\\\\\\\/pm.xml\\\\\\\", \\\\\\\"nfFilter\\\\\\\":{ \\\\\\\"nfNames\\\\\\\":[ \\\\\\\"^pnf.*\\\\\\\", \\\\\\\"^vnf.*\\\\\\\" ], \\\\\\\"modelInvariantIDs\\\\\\\":[ ], \\\\\\\"modelVersionIDs\\\\\\\":[ ], \\\\\\\"modelNames\\\\\\\":[ ] }, \\\\\\\"measurementGroups\\\\\\\":[ { \\\\\\\"measurementGroup\\\\\\\":{ \\\\\\\"measurementTypes\\\\\\\":[ { \\\\\\\"measurementType\\\\\\\":\\\\\\\"countera\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"counterb\\\\\\\" } ], \\\\\\\"managedObjectDNsBasic\\\\\\\":[ { \\\\\\\"DN\\\\\\\":\\\\\\\"dna\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"dnb\\\\\\\" } ] } }, { \\\\\\\"measurementGroup\\\\\\\":{ \\\\\\\"measurementTypes\\\\\\\":[ { \\\\\\\"measurementType\\\\\\\":\\\\\\\"counterc\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"counterd\\\\\\\" } ], \\\\\\\"managedObjectDNsBasic\\\\\\\":[ { \\\\\\\"DN\\\\\\\":\\\\\\\"dnc\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"dnd\\\\\\\" } ] } } ] } }, \\\\\\\"streams_subscribes\\\\\\\":{ \\\\\\\"aai_subscriber\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/AAI_EVENT\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.aaiSub\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1575976809466\\\\\\\" } }, \\\\\\\"policy_pm_subscriber\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.pmSubscriber\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1575876809456\\\\\\\" } } }, \\\\\\\"streams_publishes\\\\\\\":{ \\\\\\\"policy_pm_publisher\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.pmPublisher\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1475976809466\\\\\\\" } }, \\\\\\\"other_publisher\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.SOME_OTHER_TOPIC\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.pmControlPub\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1875976809466\\\\\\\" } } } }\\\",\\\"expectedResponse\\\":200}]}]\",\n \"provider\":\"ONAP\",\n \"startPhase\":1,\n \"uninitializedToPassiveTimeout\":180,\n \"httpHeaders\":\"{\\\"Content-Type\\\":\\\"application/json\\\"}\",\n \"participant_id\":{\n \"name\":\"HttpParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"baseUrl\":\"http://10.152.183.51:8500\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the operational policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.operational.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"provider\":\"Ericsson\",\n \"policy_id\":{\n \"get_input\":\"pmsh_operational_policy\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the K8S microservice for local chart\",\n \"type\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"K8sParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"ONAP\",\n \"chart\":\"{\\\"chartId\\\":{\\\"name\\\":\\\"nginx-ingress\\\",\\\"version\\\":\\\"0.9.1\\\"},\\\"releaseName\\\":\\\"nginxms\\\",\\\"namespace\\\":\\\"test\\\"}\",\n \"participantType\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the monitoring policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.monitoring.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"provider\":\"Ericsson\",\n \"policy_id\":{\n \"get_input\":\"pmsh_monitoring_policy\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.k8s.controlloop.K8SControlLoopParticipant\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for K8S\",\n \"type\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"defined_version\":\"2.3.4\"\n },\n \"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"Ericsson\",\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop for Hello World\",\n \"type\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"elements\":[\n {\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n }\n ],\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.policy.controlloop.PolicyControlLoopParticipant\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for DCAE microservices\",\n \"type\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"defined_name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"defined_version\":\"2.3.1\"\n },\n \"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the K8S microservice for PMSH\",\n \"type\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"K8sParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"ONAP\",\n \"chart\":\"{\\\"chartId\\\":{\\\"name\\\":\\\"dcae-pmsh\\\",\\\"version\\\":\\\"8.0.0\\\"},\\\"namespace\\\":\\\"onap\\\",\\\"releaseName\\\":\\\"pmshms\\\",\\\"repository\\\":{\\\"repoName\\\":\\\"chartmuseum\\\",\\\"protocol\\\":\\\"http\\\",\\\"address\\\":\\\"10.152.183.120\\\",\\\"port\\\":80,\\\"userName\\\":\\\"onapinitializer\\\",\\\"password\\\":\\\"demo123456!\\\"},\\\"overrideParams\\\":{\\\"global.masterPassword\\\":\\\"test\\\"}}\",\n \"participantType\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"Ericsson\",\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n }\n },\n \"policies\":null,\n \"policies_as_map\":{\n \n }\n },\n \"tosca_definitions_version\":\"tosca_simple_yaml_1_3\",\n \"data_types\":{\n \"onap.datatype.controlloop.Actor\":{\n \"name\":\"onap.datatype.controlloop.Actor\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An actor/operation/target definition\",\n \"properties\":{\n \"payload\":{\n \"name\":\"payload\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of payload information passed by Policy to the actor\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CDS/payload\"\n }\n },\n \"target\":{\n \"name\":\"target\",\n \"type\":\"onap.datatype.controlloop.Target\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The resource the operation should be performed on.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"actor\":{\n \"name\":\"actor\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The actor performing the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultActors,ClampExecution:CDS/actor\"\n }\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The operation the actor is performing.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultOperations,ClampExecution:CDS/operation\"\n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.controlloop.Actor\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatype.controlloop.Actor\",\n \"defined_version\":null\n },\n \"onap.datatype.controlloop.Operation\":{\n \"name\":\"onap.datatype.controlloop.Operation\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An operation supported by an actor\",\n \"properties\":{\n \"failure_retries\":{\n \"name\":\"failure_retries\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation has exceeded its max retries.\",\n \"default_value\":\"final_failure_retries\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Unique identifier for the operation\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_timeout\":{\n \"name\":\"failure_timeout\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the time out for the operation occurs.\",\n \"default_value\":\"final_failure_timeout\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure\":{\n \"name\":\"failure\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on Actor operation failure.\",\n \"default_value\":\"final_failure\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"onap.datatype.controlloop.Actor\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The definition of the operation to be performed.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_guard\":{\n \"name\":\"failure_guard\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\",\n \"default_value\":\"final_failure_guard\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"retries\":{\n \"name\":\"retries\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The number of retries the actor should attempt to perform the operation.\",\n \"default_value\":0,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The amount of time for the actor to perform the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_exception\":{\n \"name\":\"failure_exception\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation causes an exception.\",\n \"default_value\":\"final_failure_exception\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"description\":{\n \"name\":\"description\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A user-friendly description of the intent for the operation\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"success\":{\n \"name\":\"success\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on success. A value of \\\"final_success\\\" indicates and end to the operation.\",\n \"default_value\":\"final_success\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.controlloop.Operation\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatype.controlloop.Operation\",\n \"defined_version\":null\n },\n \"onap.datatype.controlloop.Target\":{\n \"name\":\"onap.datatype.controlloop.Target\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Definition for a entity in A&AI to perform a control loop operation on\",\n \"properties\":{\n \"entityIds\":{\n \"name\":\"entityIds\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Map of values that identify the resource. If none are provided, it is assumed that the\\nentity that generated the ONSET event will be the target.\\n\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CSAR_RESOURCES\"\n }\n },\n \"targetType\":{\n \"name\":\"targetType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Category for the target type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"VNF\",\n \"VM\",\n \"VFMODULE\",\n \"PNF\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.controlloop.Target\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatype.controlloop.Target\",\n \"defined_version\":null\n },\n \"onap.datatypes.ToscaConceptIdentifier\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"version\":{\n \"name\":\"version\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"name\":{\n \"name\":\"name\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasic\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"DN\":{\n \"name\":\"DN\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasics\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementGroup\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementTypes\":{\n \"name\":\"measurementTypes\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of measurement types\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementTypes\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of managed object distinguished names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementGroups\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementGroup\":{\n \"name\":\"measurementGroup\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Group\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroup\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementType\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementType\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementTypes\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementType\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.nfFilter\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"modelVersionIDs\":{\n \"name\":\"modelVersionIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model version IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelInvariantIDs\":{\n \"name\":\"modelInvariantIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model invariant IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelNames\":{\n \"name\":\"modelNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"nfNames\":{\n \"name\":\"nfNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of network functions\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.nfFilter\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.subscription\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementGroups\":{\n \"name\":\"measurementGroups\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Groups\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroups\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"fileBasedGP\":{\n \"name\":\"fileBasedGP\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"File based granularity period\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"fileLocation\":{\n \"name\":\"fileLocation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"ROP file location\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"subscriptionName\":{\n \"name\":\"subscriptionName\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"administrativeState\":{\n \"name\":\"administrativeState\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"State of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"LOCKED\",\n \"UNLOCKED\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"nfFilter\":{\n \"name\":\"nfFilter\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Network function filter\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.nfFilter\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.subscription\",\n \"defined_version\":null\n },\n \"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\":{\n \"name\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"body\":{\n \"name\":\"body\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The body of the REST request for PUT and POST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"expectedResponse\":{\n \"name\":\"expectedResponse\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"THe expected HTTP status code for the REST request\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"httpMethod\":{\n \"name\":\"httpMethod\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The REST method to use\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"POST\",\n \"PUT\",\n \"GET\",\n \"DELETE\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"restRequestId\":{\n \"name\":\"restRequestId\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The name and version of a REST request to be sent to a REST endpoint\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"path\":{\n \"name\":\"path\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The path of the REST request relative to the base URL\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\",\n \"defined_version\":\"1.0.0\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instanceProperties?Content-Type=application/json", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instanceProperties" + ], + "query": [ + { + "key": "Content-Type", + "value": "application/json" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Control Loop Priming", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/controlLoopPriming", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "controlLoopPriming" + ] + } + }, + "response": [] + }, + { + "name": "DELETE Instance Properties", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instanceProperties?name=PMSH_Instance1&version=1.2.3", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instanceProperties" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "1.2.3" + } + ] + } + }, + "response": [] + }, + { + "name": "PUT Control Loop Instantiation change", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"controlLoopList\": [\n {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\",\n \"derivedFrom\": null,\n \"metadata\": null,\n \"description\": \"PMSH control loop Instance2\",\n \"definition\": {\n \"name\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\": \"1.2.3\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"elements\": {\n \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\": {\n \"id\": \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"b0231bb2-289a-468d-8538-eeff6b8e6111\": {\n \"id\": \"b0231bb2-289a-468d-8538-eeff6b8e6111\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.HttpControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"HttpParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\": {\n \"id\": \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\": {\n \"id\": \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\": {\n \"id\": \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"552c8615-b639-43c3-aa90-03e5df2b9c23\": {\n \"id\": \"552c8615-b639-43c3-aa90-03e5df2b9c23\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"d2202465-487d-4580-ae17-a3a1ae7eb038\": {\n \"id\": \"d2202465-487d-4580-ae17-a3a1ae7eb038\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n }\n },\n \"primed\": false,\n \"type\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance2\",\n \"typeVersion\": \"1.2.3\",\n \"key\": {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\"\n },\n \"definedName\": \"PMSH_Instance2\",\n \"definedVersion\": \"1.2.3\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSH_Instance1&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instantiation" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Control Loop Instantiation", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSH_Instance1&version=1.2.3", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instantiation" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "1.2.3" + } + ] + } + }, + "response": [] + }, + { + "name": "POST Control Loops Instantiation", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"controlLoopList\": [\n {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\",\n \"derivedFrom\": null,\n \"metadata\": null,\n \"description\": \"PMSH control loop Instance2\",\n \"definition\": {\n \"name\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\": \"1.2.3\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"elements\": {\n \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\": {\n \"id\": \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"b0231bb2-289a-468d-8538-eeff6b8e6111\": {\n \"id\": \"b0231bb2-289a-468d-8538-eeff6b8e6111\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.HttpControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"HttpParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\": {\n \"id\": \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\": {\n \"id\": \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\": {\n \"id\": \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"552c8615-b639-43c3-aa90-03e5df2b9c23\": {\n \"id\": \"552c8615-b639-43c3-aa90-03e5df2b9c23\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"d2202465-487d-4580-ae17-a3a1ae7eb038\": {\n \"id\": \"d2202465-487d-4580-ae17-a3a1ae7eb038\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n }\n },\n \"primed\": false,\n \"type\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance2\",\n \"typeVersion\": \"1.2.3\",\n \"key\": {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\"\n },\n \"definedName\": \"PMSH_Instance2\",\n \"definedVersion\": \"1.2.3\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instantiation", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instantiation" + ] + } + }, + "response": [] + }, + { + "name": "PUT Change Control Loop Order State", + "request": { + "method": "PUT", + "header": [ + { + "key": "X-ONAP-RequestID", + "value": "709c62b3-8918-41b9-a747-d21eb79c6c20", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"orderedState\": \"PASSIVE\",\n \"controlLoopIdentifierList\": [\n {\n \"name\": \"PMSH_Instance1\",\n \"version\": \"1.2.3\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instantiation/command", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instantiation", + "command" + ] + } + }, + "response": [] + }, + { + "name": "GET Control Loop Instantiation State", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:6969/onap/controlloop/v2/instantiationState?name=PMSH_Instance1&version=2.3.4", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "onap", + "controlloop", + "v2", + "instantiationState" + ], + "query": [ + { + "key": "name", + "value": "PMSH_Instance1" + }, + { + "key": "version", + "value": "2.3.4" + } + ] + } + }, + "response": [] + } + ] + } + ], + "auth": { + "type": "basic", + "basic": [ + { + "key": "username", + "value": "healthcheck", + "type": "string" + }, + { + "key": "password", + "value": "zb!XztG34", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] +}
\ No newline at end of file diff --git a/docs/clamp/acm/policy-upgrade/policy-upgrade.rst b/docs/clamp/acm/policy-upgrade/policy-upgrade.rst new file mode 100644 index 00000000..481c0c0f --- /dev/null +++ b/docs/clamp/acm/policy-upgrade/policy-upgrade.rst @@ -0,0 +1,522 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. + +.. _clamp-policy-upgrade-label: + +TOSCA Policy Testing Upgrade +############################ + +.. contents:: + :depth: 4 + +1 - Istanbul +============ + + +**Step 1:** Clone Policy Clamp + +.. code-block:: bash + + git clone "https://gerrit.onap.org/r/policy/clamp" + +**Step 2:** Change Master Branch to Istanbul + +.. code-block:: bash + + git checkout -b origin/istanbul + +**Step 3:** Run Maven Clean Install + +.. code-block:: bash + + mvn clean install + +**Step 3:** Create the Database by going to /clamp/runtime/extra/bin-for-dev + +.. code-block:: bash + + ./start-db.sh test + +**Step 4:** Start Clamp Runtime by going to /clamp/runtime/extra/bin-for-dev + +.. code-block:: bash + + ./start-backend.sh + +**Step 5:** Start Control Loop Runtime by going to /clamp/runtime-controlloop + +.. code-block:: bash + + java -jar target/policy-clamp-runtime-controlloop-6.1.5-SNAPSHOT + +**Step 6:** Open up Postman and import the following collections + + `Download <collections/Control Loop Istanbul.postman_collection.json>`_ + +**Step 7:** Open up the folder Control Loop Istanbul/Commissioning + + Select POST Commission Tosca Service Template and run it. + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedInstanceProperties": [ + { + "name": "PMSH_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant", + "version": "2.3.1" + }, + { + "name": "org.onap.controlloop.HttpControlLoopParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant_Instance1", + "version": "2.3.1" + }, + { + "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant_Instance1", + "version": "2.3.4" + }, + { + "name": "org.onap.controlloop.HttpControlLoopParticipant_Instance1", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement", + "version": "1.2.3" + } + ] + } + +**Step 8:** To try out other endpoints try out the other postman collections inside commission folder + +**Step 9:** To decommission the Tosca Service Template Select DELETE Tosca Service Template + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedControlLoopDefinitions": [ + { + "name": "ToscaServiceTemplateSimple", + "version": "1.0.0" + } + ] + } + +**Step 10:** For Instance Properties select the following folder in postman Control Loop Istanbul/Instantiation + + Select POST Instance Properties + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedInstanceProperties": [ + { + "name": "PMSH_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant", + "version": "2.3.1" + }, + { + "name": "org.onap.controlloop.HttpControlLoopParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant_Instance1", + "version": "2.3.1" + }, + { + "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant_Instance1", + "version": "2.3.4" + }, + { + "name": "org.onap.controlloop.HttpControlLoopParticipant_Instance1", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement_Instance1", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement", + "version": "1.2.3" + } + ] + } + +**Step 11:** To try out other endpoints try out the other postman collections inside Instantiation folder + +**Step 12:** To delete Instance properties select DELETE Instance Properties + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedControlLoops": [ + { + "name": "PMSH_Instance1", + "version": "1.2.3" + } + ] + } + +**Step 13:** For monitoring endpoints go to Control Loop Istanbul/Monitoring folder + +2 - Jakarta +=========== + + +**Step 1:** Clone Policy Clamp + +.. code-block:: bash + + git clone "https://gerrit.onap.org/r/policy/clamp" + +**Step 2:** Change Master Branch to Jakarta + +.. code-block:: bash + + git checkout -b origin/jakarta + +**Step 3:** Run Maven Clean Install + +.. code-block:: bash + + mvn clean install + +**Step 3:** Create the Database by going to /clamp/runtime/extra/bin-for-dev + +.. code-block:: bash + + ./start-db.sh test + +**Step 4:** Start Clamp Runtime by going to /clamp/runtime/extra/bin-for-dev + +.. code-block:: bash + + ./start-backend.sh + +**Step 5:** Start Automation Composition Runtime by going to /clamp/runtime-acm + +.. code-block:: bash + + java -jar target/policy-clamp-runtime-acm-6.3.0-SNAPSHOT.jar + +**Step 6:** Open up Postman and import the following collections + + `Download <collections/Automation Composition Jakarta.postman_collection.json>`_ + +**Step 7:** Open up the folder Automation Composition Jakarta/Commissioning + + Select POST Commission Tosca Service Template and run it. + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedAutomationCompositionDefinitions": [ + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.clamp.acm.HttpParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.policy.clamp.acm.KubernetesParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.policy.clamp.acm.PolicyParticipant", + "version": "2.3.1" + } + ] + } + +**Step 8:** To try out other endpoints try out the other postman collections inside commission folder + +**Step 9:** To decommission the Tosca Service Template Select DELETE Tosca Service Template + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedAutomationCompositionDefinitions": [ + { + "name": "ToscaServiceTemplateSimple", + "version": "1.0.0" + } + ] + } + +**Step 10:** For Instance Properties select the following folder in postman Automation Composition Jakarta/Instantiation + + Select POST Instance Properties + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedInstanceProperties": [ + { + "name": "ATT", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.clamp.acm.PolicyParticipant", + "version": "2.3.1" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.clamp.acm.HttpParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.policy.clamp.acm.KubernetesParticipant-ATT", + "version": "2.3.4" + }, + { + "name": "org.onap.policy.clamp.acm.KubernetesParticipant", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement-ATT", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement-ATT", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement-ATT", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement-ATT", + "version": "1.2.3" + }, + { + "name": "org.onap.policy.clamp.acm.PolicyParticipant-ATT", + "version": "2.3.1" + }, + { + "name": "org.onap.policy.clamp.acm.HttpParticipant-ATT", + "version": "2.3.4" + }, + { + "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement", + "version": "1.2.3" + }, + { + "name": "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition-ATT", + "version": "1.2.3" + } + ] + } + +**Step 11:** To try out other endpoints try out the other postman collections inside Instantiation folder + +**Step 12:** To delete Instance properties select DELETE Instance Properties + + *- Should receive the following result* + +.. code-block:: json + :linenos: + + { + "errorDetails": null, + "affectedAutomationCompositionDefinitions": [ + { + "name": "ToscaServiceTemplateSimple", + "version": "1.0.0" + } + ] + } + +**Step 13:** For monitoring endpoints go to Automation Composition Jakarta/Monitoring folder + diff --git a/docs/clamp/clamp.rst b/docs/clamp/clamp.rst index 82bf1ebf..50384614 100644 --- a/docs/clamp/clamp.rst +++ b/docs/clamp/clamp.rst @@ -15,6 +15,7 @@ described in TOSCA. acm/defining-acms acm/api-protocol/api-protocol-tree acm/clamp-gui/policy-gui + acm/policy-upgrade/policy-upgrade acm/design-impl/design-impl .. note:: |