summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-11-01 13:16:21 +0000
committerLiam Fallon <liam.fallon@est.tech>2022-11-01 17:00:48 +0000
commit688a2dd3a681c28ac48ad737316c2dc1dff08526 (patch)
tree2cec8ad6af476f64fdf13f495788a277ee88644b /docs
parentb0f136169fcf812b4f030a6d0ffe2817977b313c (diff)
Fix doc config files and dead links
Documentation config fixed as instructed. Configuration files have been copied from examples provided by the documentation project. Dead links are fixed as well, they cause build fails now. Issue-ID: POLICY-4426 Change-Id: Ied5ca5e5a24f7a625e5b2d94c46d0c2347c68ace Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'docs')
-rw-r--r--docs/_static/css/ribbon.css2
-rw-r--r--docs/apex/APEX-Introduction.rst11
-rw-r--r--docs/apex/APEX-MyFirstPolicyExample.rst3
-rw-r--r--docs/apex/APEX-OnapPf-Guide.rst7
-rw-r--r--docs/apex/APEX-PCVS-Example.rst16
-rw-r--r--docs/apex/APEX-Policy-Guide.rst8
-rw-r--r--docs/apex/APEX-User-Manual.rst1
-rw-r--r--docs/architecture/architecture.rst12
-rw-r--r--docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json683
-rw-r--r--docs/clamp/acm/policy-upgrade/policy-upgrade.rst4
-rw-r--r--docs/clamp/pre-migration-release-notes.rst4
-rw-r--r--docs/conf.py100
-rw-r--r--docs/development/devtools/clamp-smoke.rst2
-rw-r--r--docs/development/devtools/devtools.rst9
-rw-r--r--docs/development/devtools/policy-gui-acm-smoke.rst4
-rw-r--r--docs/development/prometheus-metrics.rst2
-rw-r--r--docs/drools/feature_controllerlogging.rst5
-rw-r--r--docs/drools/feature_mdcfilters.rst7
-rw-r--r--docs/drools/pdpdApps.rst12
-rw-r--r--docs/drools/pdpdEngine.rst10
-rw-r--r--docs/images/biohazard.pngbin0 -> 179 bytes
-rw-r--r--docs/installation/oom.rst9
-rw-r--r--docs/release-notes.rst23
-rw-r--r--docs/requirements-docs.txt6
-rw-r--r--docs/spelling_wordlist.txt10
-rw-r--r--docs/system-attributes/policy-db-migrator.rst2
-rw-r--r--docs/tox.ini30
-rw-r--r--docs/xacml/xacml.rst4
28 files changed, 149 insertions, 837 deletions
diff --git a/docs/_static/css/ribbon.css b/docs/_static/css/ribbon.css
index 6008cb1a..afb9480d 100644
--- a/docs/_static/css/ribbon.css
+++ b/docs/_static/css/ribbon.css
@@ -59,5 +59,5 @@
/* fix width of the screen */
.wy-nav-content {
- max-width: none;
+ max-width: 800px;
}
diff --git a/docs/apex/APEX-Introduction.rst b/docs/apex/APEX-Introduction.rst
index b13e335e..8c9b34b5 100644
--- a/docs/apex/APEX-Introduction.rst
+++ b/docs/apex/APEX-Introduction.rst
@@ -3,7 +3,7 @@
A short Introduction to APEX
-*****************************
+****************************
.. contents::
:depth: 3
@@ -65,7 +65,7 @@ Introduction to APEX
being fed by the state before. The simplest policy can have
just one state. We provide specific support for the
four-state `MEDA (Match Establish Decide
- Act) <https://www.researchgate.net/publication/303564082_Apex_An_Engine_for_Dynamic_Adaptive_Policy_Execution>`__
+ Act) <https://ieeexplore.ieee.org/document/7502880>`__
policy state model and the three-state `ECA (Event Condition
Action) <https://en.wikipedia.org/wiki/Event_condition_action>`__
policy state model. APEX is fully distributed. You can
@@ -514,18 +514,15 @@ Resources
.. container:: ulist
- APEX Documentation hosted on Github:
- https://ericsson.github.io/apex-docs
+ https://docs.onap.org/projects/onap-policy-parent/en/latest/apex/apex.html
- APEX source code repository hosted by ONAP:
- https://gerrit.onap.org/r/#/admin/projects/policy/apex-pdp
+ https://github.com/onap/policy-apex-pdp
- Issue Management (source and documentation, ONAP JIRA,
requires a Linux Foundation ID):
https://jira.onap.org/projects/POLICY/issues
- - List of APEX publications:
- https://ericsson.github.io/apex-docs/apex-publications.html
-
.. container::
:name: footer
diff --git a/docs/apex/APEX-MyFirstPolicyExample.rst b/docs/apex/APEX-MyFirstPolicyExample.rst
index 44316f9d..089ead02 100644
--- a/docs/apex/APEX-MyFirstPolicyExample.rst
+++ b/docs/apex/APEX-MyFirstPolicyExample.rst
@@ -1198,8 +1198,7 @@ Extend Policy Model
.. container:: paragraph
The exported policy model is then available in the
- directory you selected, as
- `MyFirstPolicyModel_0.0.1.json <files/mfp-files/2/MyFirstPolicyModel_0.0.1.json>`__.
+ directory you selected, as **MyFirstPolicyModel_0.0.1.json**.
The exported policy can now be loaded into the APEX
Policy Engine, or can be re-loaded and edited by the APEX
Policy Editor.
diff --git a/docs/apex/APEX-OnapPf-Guide.rst b/docs/apex/APEX-OnapPf-Guide.rst
index 0fe38025..f7f1f3a7 100644
--- a/docs/apex/APEX-OnapPf-Guide.rst
+++ b/docs/apex/APEX-OnapPf-Guide.rst
@@ -12,11 +12,12 @@ Installation
^^^^^^^^^^^^
Build and Install
--------------------
+-----------------
.. container:: paragraph
- Refer `Apex User Manual <https://docs.onap.org/en/casablanca/submodules/policy/apex-pdp.git/docs/APEX-User-Manual.html>`_ to find details on the build and installation of the APEX component. Information on the requirements and system configuration can also be found here.
+ Refer to
+ :ref:`Apex User Manual <apex-user-manual-label>` to find details on the build and installation of the APEX component. Information on the requirements and system configuration can also be found here.
Installation Layout
-------------------
@@ -300,7 +301,7 @@ Build a Docker Image
APEXOnapPf Configuration File Explained
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. container:: paragraph
diff --git a/docs/apex/APEX-PCVS-Example.rst b/docs/apex/APEX-PCVS-Example.rst
index 2d40e347..380a2585 100644
--- a/docs/apex/APEX-PCVS-Example.rst
+++ b/docs/apex/APEX-PCVS-Example.rst
@@ -218,7 +218,7 @@ Install Ubuntu Server and SW
VPN SLA Demo
-^^^^^^^^^^^^^
+^^^^^^^^^^^^
.. container:: sect1
@@ -525,14 +525,6 @@ VPN SLA Demo
``http://localhost:8080/ui/pages/index.html``
should work on the same host
- - APEX please see the APEX documentation for
- `Monitoring
- Client <https://ericsson.github.io/apex-docs/user-manual/engine-apps/um-engapps-eng-monitoring.html>`__
- or `Full
- Client <https://ericsson.github.io/apex-docs/user-manual/engine-apps/um-engapps-full-client.html>`__
- for details on how to monitor APEX.
-
-
VPN SLA Policy
^^^^^^^^^^^^^^
@@ -609,7 +601,7 @@ Trigger Schemas
Context Logic Nodes
---------------------
+-------------------
.. container:: sect1
@@ -622,7 +614,7 @@ Context Logic Nodes
context topology (|cntxtNodes_link|).
Context Logic Edges
---------------------
+-------------------
.. container:: sect1
@@ -722,7 +714,7 @@ Logic: Policy Decide State
Logic: Policy Act State
-------------------------
+-----------------------
.. container:: sect1
diff --git a/docs/apex/APEX-Policy-Guide.rst b/docs/apex/APEX-Policy-Guide.rst
index 1871fb2a..0f49d356 100644
--- a/docs/apex/APEX-Policy-Guide.rst
+++ b/docs/apex/APEX-Policy-Guide.rst
@@ -497,7 +497,7 @@ Concept: Policy
.. container:: ulist
- The *MEDA* flavor supports policies written to the
- `MEDA policy pattern <https://www.researchgate.net/publication/282576518_Dynamically_Adaptive_Policies_for_Dynamically_Adaptive_Telecommunications_Networks>`__
+ `MEDA policy pattern <https://ieeexplore.ieee.org/document/7367357>`__
and require a sequence of four states: namely *Match*, *Establish*, *Decide* and *Act*.
- The *OODA* flavor supports policies written to the
@@ -1450,8 +1450,7 @@ Create a instance of an Outfield using Schemas
If an outfield is not an atomic type (string, integer, etc.) but uses a complex schema (with a Java or
Avro backend), APEX can help to create new instances. The ``executor`` provides a field called ``subject``,
- which provides a schem helper with an API for this. The complete API of the schema helper is documented here:
- `API Doc: SchemaHelper <https://ericsson.github.io/apex-docs/javadocs/index.html>`__.
+ which provides a schem helper with an API for this.
.. container:: paragraph
@@ -1518,8 +1517,7 @@ Create a instance of an Context Album entry using Schemas
.. container:: paragraph
Context album instances can be created using very similar to the outfields. Here, the schema helper
- comes from the context album directly. The API of the schema helper is the same as for outfields, see
- `API Doc: SchemaHelper <https://ericsson.github.io/apex-docs/javadocs/index.html>`__.
+ comes from the context album directly. The API of the schema helper is the same as for outfields.
.. container:: paragraph
diff --git a/docs/apex/APEX-User-Manual.rst b/docs/apex/APEX-User-Manual.rst
index 21e9dbcb..c0a7aaca 100644
--- a/docs/apex/APEX-User-Manual.rst
+++ b/docs/apex/APEX-User-Manual.rst
@@ -1,6 +1,7 @@
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
+.. _apex-user-manual-label:
APEX User Manual
****************
diff --git a/docs/architecture/architecture.rst b/docs/architecture/architecture.rst
index cd0e0be9..69484ac3 100644
--- a/docs/architecture/architecture.rst
+++ b/docs/architecture/architecture.rst
@@ -476,20 +476,20 @@ The following services will be required for the ONAP Policy Framework:
================ ============================== =======================================================================
**Service** **Endpoint** **Description**
================ ============================== =======================================================================
-PAP https://policy-pap The PAP service, used for policy administration and deployment. See
+PAP policy-pap The PAP service, used for policy administration and deployment. See
:ref:`Policy Design and Development <design-label>` for details of the
API for this service
-PDP-X-\ *domain* https://policy-pdpx-\ *domain* A PDP service is defined for each PDP group. A PDP group is identified
+PDP-X-\ *domain* policy-pdpx-\ *domain* A PDP service is defined for each PDP group. A PDP group is identified
by the domain on which it operates.
For example, there could be two PDP-X domains, one for admission
policies for ONAP proper and another for admission policies for VNFs of
operator *Supacom*. Two PDP-X services are defined:
- | https://policy-pdpx-onap
- | https://policy-pdpx-\ *supacom*
-PDP-D-\ *domain* https://policy-pdpd-\ *domain*
-PDP-A-\ *domain* https://policy-pdpa-\ *domain*
+ | policy-pdpx-onap
+ | policy-pdpx-\ *supacom*
+PDP-D-\ *domain* policy-pdpd-\ *domain*
+PDP-A-\ *domain* policy-pdpa-\ *domain*
================ ============================== =======================================================================
There is one and only one PAP service, which handles policy deployment, administration, and monitoring for all policies
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
index 2deebf65..dd6765ab 100644
--- 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
@@ -1,682 +1 @@
-{
- "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
+Unexpected error. File contents could not be restored from local history during undo/redo. \ 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
index 840e3f9f..eb9b5038 100644
--- a/docs/clamp/acm/policy-upgrade/policy-upgrade.rst
+++ b/docs/clamp/acm/policy-upgrade/policy-upgrade.rst
@@ -53,7 +53,7 @@ Istanbul
**Step 6:** Open up Postman and import the following collections
- `Download Istanbul Postman Collections <collections/Control Loop Istanbul.postman_collection.json>`_
+ `Download Istanbul Postman Collections <https://github.com/onap/policy-parent/blob/master/docs/clamp/acm/policy-upgrade/collections/Control%20Loop%20Istanbul.postman_collection.json>`_
**Step 7:** Open up the folder Control Loop Istanbul/Commissioning
@@ -351,7 +351,7 @@ Jakarta
**Step 6:** Open up Postman and import the following collections
- `Download Jakarta Postman Collections <collections/Automation Composition Jakarta.postman_collection.json>`_
+ `Download Jakarta Postman Collections <https://github.com/onap/policy-parent/blob/master/docs/clamp/acm/policy-upgrade/collections/Automation%20Composition%20Jackarta.postman_collection.json>`_
**Step 7:** Open up the folder Automation Composition Jakarta/Commissioning
diff --git a/docs/clamp/pre-migration-release-notes.rst b/docs/clamp/pre-migration-release-notes.rst
index ff27cc45..d8a03958 100644
--- a/docs/clamp/pre-migration-release-notes.rst
+++ b/docs/clamp/pre-migration-release-notes.rst
@@ -10,7 +10,7 @@ Pre Migration (Guilin and earlier) Release Notes for CLAMP
releases, please see the policy-clamp related release notes in the :ref:`POLICY Framework Release Notes<release_notes>`
Version: 5.1.0 (Guilin)
---------------------------
+-----------------------
:Release Date: 2020-11-19
@@ -169,7 +169,7 @@ The main goal of the El Alto release was to:
**Bug Fixes**
- - The full list of implemented user stories and epics is available on `El Alto CLAMP user stories done <https://wiki.onap.org/display/DW/El+Alto+CLAMP+user+stories+done>`_
+ - The full list of implemented user stories and epics is available
This includes the list of bugs that were fixed during the course of this release.
**Known Issues**
diff --git a/docs/conf.py b/docs/conf.py
index ccfccfd8..a9c42b67 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,74 +1,56 @@
-from docs_conf.conf import *
+project = "onap"
+release = "master"
+version = "master"
-doc_url = 'https://docs.onap.org/projects'
-master_doc = 'index'
+author = "Open Network Automation Platform"
+# yamllint disable-line rule:line-length
+copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License"
-intersphinx_mapping = {}
+pygments_style = "sphinx"
+html_theme = "sphinx_rtd_theme"
+html_theme_options = {
+ "style_nav_header_background": "white",
+ "sticky_navigation": "False" }
+html_logo = "_static/logo_onap_2017.png"
+html_favicon = "_static/favicon.ico"
+html_static_path = ["_static"]
+html_show_sphinx = False
+
+extensions = [
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.graphviz',
+ 'sphinxcontrib.blockdiag',
+ 'sphinxcontrib.seqdiag',
+ 'sphinxcontrib.swaggerdoc',
+ 'sphinxcontrib.plantuml'
+]
#
# Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
# Change to {releasename} after you have created the new 'doc' branch.
#
-# latest|{releasename}
branch = 'latest'
-intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-aai-sparky-be'] = ('{}/onap-aai-sparky-be/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-ccsdk-apps'] = ('{}/onap-ccsdk-apps/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-ccsdk-cds'] = ('{}/onap-ccsdk-cds/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-ccsdk-distribution'] = ('{}/onap-ccsdk-distribution/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-ccsdk-features'] = ('{}/onap-ccsdk-features/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-ccsdk-oran'] = ('{}/onap-ccsdk-oran/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-cli'] = ('{}/onap-cli/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-cps'] = ('{}/onap-cps/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-cps-cps-temporal'] = ('{}/onap-cps-cps-temporal/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-cps-ncmp-dmi-plugin'] = ('{}/onap-cps-ncmp-dmi-plugin/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-dcaegen2'] = ('{}/onap-dcaegen2/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-dmaap-buscontroller'] = ('{}/onap-dmaap-buscontroller/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-dmaap-datarouter'] = ('{}/onap-dmaap-datarouter/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-dmaap-messagerouter-messageservice'] = ('{}/onap-dmaap-messagerouter-messageservice/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-holmes-engine-management'] = ('{}/onap-holmes-engine-management/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-holmes-rule-management'] = ('{}/onap-holmes-rule-management/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-integration'] = ('{}/onap-integration/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-modeling-etsicatalog'] = ('{}/onap-modeling-etsicatalog/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-modeling-modelspec'] = ('{}/onap-modeling-modelspec/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-msb-apigateway'] = ('{}/onap-msb-apigateway/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-msb-discovery'] = ('{}/onap-msb-discovery/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-msb-java-sdk'] = ('{}/onap-msb-java-sdk/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-msb-swagger-sdk'] = ('{}/onap-msb-swagger-sdk/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-multicloud-framework'] = ('{}/onap-multicloud-framework/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-multicloud-k8s'] = ('{}/onap-multicloud-k8s/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-oom'] = ('{}/onap-oom/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-oom-offline-installer'] = ('{}/onap-oom-offline-installer/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-oom-platform-cert-service'] = ('{}/onap-oom-platform-cert-service/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-osa'] = ('{}/onap-osa/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-optf-has'] = ('{}/onap-optf-has/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-optf-osdf'] = ('{}/onap-optf-osdf/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-policy-parent'] = ('{}/onap-policy-parent/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-sdc'] = ('{}/onap-sdc/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-sdnc-oam'] = ('{}/onap-sdnc-oam/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-so'] = ('{}/onap-so/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-usecase-ui'] = ('{}/onap-usecase-ui/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-vfc-nfvo-lcm'] = ('{}/onap-vfc-nfvo-lcm/en/%s'.format(doc_url) % branch, None)
-intersphinx_mapping['onap-vnfsdk-model'] = ('{}/onap-vnfsdk-model/en/%s'.format(doc_url) % branch, None)
-# Linkcheck
-linkcheck_ignore = [
- 'http://localhost',
- 'https://example.com',
- 'about:config',
- # this URL is not directly reachable and must be configured in the system hosts file.
- 'https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm',
- # anchor issues
- 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#.*',
- 'https://docs.linuxfoundation.org/docs/communitybridge/easycla/contributors/contribute-to-a-gerrit-project#.*',
- 'https://docs.onap.org/projects/onap-integration/en/latest/docs_robot.html#docs-robot',
- 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#docs-usecases-release',
- 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases.html#docs-usecases',
- 'https://docs.onap.org/projects/onap-integration/en/latest/usecases/release_non_functional_requirements.html#release-non-functional-requirements',
-]
+intersphinx_mapping = {}
+doc_url = 'https://docs.onap.org/projects'
+master_doc = 'index'
+
+exclude_patterns = ['.tox']
+
+spelling_word_list_filename='spelling_wordlist.txt'
+spelling_lang = "en_GB"
+
+#
+# Example:
+# intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
+#
html_last_updated_fmt = '%d-%b-%y %H:%M'
def setup(app):
app.add_css_file("css/ribbon.css")
+
+linkcheck_ignore = [
+ r'http://localhost:\d+/'
+]
diff --git a/docs/development/devtools/clamp-smoke.rst b/docs/development/devtools/clamp-smoke.rst
index 478ba8eb..3a1efa9b 100644
--- a/docs/development/devtools/clamp-smoke.rst
+++ b/docs/development/devtools/clamp-smoke.rst
@@ -27,7 +27,7 @@ The procedure documented in this article has been verified using Ubuntu 20.04 LT
Cloning CLAMP automation composition and all dependency
*******************************************************
-Run a script such as the script below to clone the required modules from the `ONAP git repository <https://gerrit.onap.org/r/#/admin/projects/?filter=policy>`_. This script clones CLAMP automation composition and all dependency.
+Run a script such as the script below to clone the required modules from the `ONAP git repository <https://gerrit.onap.org/r/admin/repos/q/filter:policy>`_. This script clones CLAMP automation composition and all dependency.
ONAP Policy Framework has dependencies to the ONAP Parent *oparent* module, the ONAP ECOMP SDK *ecompsdkos* module, and the A&AI Schema module.
diff --git a/docs/development/devtools/devtools.rst b/docs/development/devtools/devtools.rst
index ab57cd28..cfd0ab61 100644
--- a/docs/development/devtools/devtools.rst
+++ b/docs/development/devtools/devtools.rst
@@ -27,7 +27,7 @@ The procedure documented in this article has been verified to work on a MacBook
Cloning All The Policy Repositories
***********************************
-Run a script such as the script below to clone the required modules from the `ONAP git repository <https://gerrit.onap.org/r/#/admin/projects/?filter=policy>`_. This script clones all the ONAP Policy Framework repositories.
+Run a script such as the script below to clone the required modules from the `ONAP git repository <https://gerrit.onap.org/r/admin/repos/q/filter:policy>`_. This script clones all the ONAP Policy Framework repositories.
ONAP Policy Framework has dependencies to the ONAP Parent *oparent* module, the ONAP ECOMP SDK *ecompsdkos* module, and the A&AI Schema module.
@@ -246,7 +246,7 @@ Another example on how to run the MariaDb is using the docker compose file used
`Example Compose Script to run MariaDB <https://gerrit.onap.org/r/gitweb?p=integration/csit.git;a=blob;f=scripts/policy/docker-compose-api.yml;h=e32190f1e6cb6d9b64ddf53a2db2c746723a0c6a;hb=refs/heads/master>`_
Running the API component standalone
-+++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++
Assuming you have successfully built the codebase using the instructions above. The only requirement for the API component to run is a
running MariaDb database instance. The easiest way to do this is to run the docker image, please see the mariadb documentation for the latest
@@ -266,7 +266,7 @@ An example of running the api using a docker compose script is located in the Po
`Policy CSIT API Docker Compose <https://gerrit.onap.org/r/gitweb?p=integration/csit.git;a=blob;f=scripts/policy/docker-compose-api.yml;h=e32190f1e6cb6d9b64ddf53a2db2c746723a0c6a;hb=refs/heads/master>`_
Running the PAP component standalone
-+++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++
Once you have successfully built the PAP codebase, a running MariaDb database and DMaaP instance will also be required to start up the application.
For MariaDb instance, the easiest way is to run the docker image, please see the mariadb documentation for the latest
@@ -456,9 +456,6 @@ of such a test case.
Charset.defaultCharset());
}
-See `this unit test case <https://github.com/onap/policy-clamp/blob/master/runtime/src/test/java/org/onap/policy/clamp/clds/it/HttpsItCase.java>`_
-for the full example.
-
2. Accessing Swagger documentation for springboot based policy applications
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/docs/development/devtools/policy-gui-acm-smoke.rst b/docs/development/devtools/policy-gui-acm-smoke.rst
index 26da79b0..cd600199 100644
--- a/docs/development/devtools/policy-gui-acm-smoke.rst
+++ b/docs/development/devtools/policy-gui-acm-smoke.rst
@@ -3,7 +3,7 @@
.. _clamp-gui-acm-smoke-tests:
CLAMP GUI Smoke Tests
----------------------------
+---------------------
1. Introduction
***************
The CLAMP GUI for Automation Compositions is designed to provide a user the ability to interact
@@ -195,7 +195,7 @@ This will trigger installation of the required packages. The application is conf
npm start
-This uses nodes internal test dev web server to server the GUI. Once started, you can navigate to the server at "https://localhost:3000" and login with "admin/password".
+This uses nodes internal test dev web server to server the GUI. Once started, you can navigate to the server at "localhost:3000" and login with "admin/password".
That completes the development setup of the environment.
diff --git a/docs/development/prometheus-metrics.rst b/docs/development/prometheus-metrics.rst
index 41b497a7..74532311 100644
--- a/docs/development/prometheus-metrics.rst
+++ b/docs/development/prometheus-metrics.rst
@@ -188,6 +188,6 @@ Key metrics for Policy Distribution
===================================================================
Policy Framework uses ServiceMonitor custom resource definition (CRD) to allow Prometheus to monitor the services it exposes. Label selection is used to determine which services are selected to be monitored.
-For label management and troubleshooting refer to the documentation at: `Prometheus operator <https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/troubleshooting.md#overview-of-servicemonitor-tagging-and-related-elements>`__.
+For label management and troubleshooting refer to the documentation at: `Prometheus operator <https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/troubleshooting.md>`__.
`OOM charts <https://github.com/onap/oom/tree/master/kubernetes/policy/components>`__ for policy include ServiceMonitor and properties can be overrided based on the deployment specifics.
diff --git a/docs/drools/feature_controllerlogging.rst b/docs/drools/feature_controllerlogging.rst
index 561c2be7..fc8d6dab 100644
--- a/docs/drools/feature_controllerlogging.rst
+++ b/docs/drools/feature_controllerlogging.rst
@@ -2,6 +2,8 @@
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
+.. _feature_controllerlogging-label:
+
***************************
Feature: Controller Logging
***************************
@@ -37,7 +39,8 @@ Once a logger for the controller is configured, start the drools-pdp and navigat
.. image:: ctrlog_view.png
-The original network log remains and will append traffic information from all topics regardless of which controller it is for. To abbreviate and customize messages for the network log, refer to the `Feature MDC Filters <feature_mdcfilters.html>`_ documentation.
+The original network log remains and will append traffic information from all topics regardless of which controller it is for. To abbreviate and customize messages for the network log, refer to the
+:ref:`Feature MDC Filters <feature_mdcfilters-label>` documentation.
End of Document
diff --git a/docs/drools/feature_mdcfilters.rst b/docs/drools/feature_mdcfilters.rst
index df779401..b7077138 100644
--- a/docs/drools/feature_mdcfilters.rst
+++ b/docs/drools/feature_mdcfilters.rst
@@ -2,6 +2,8 @@
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
+.. _feature_mdcfilters-label:
+
********************
Feature: MDC Filters
********************
@@ -108,9 +110,8 @@ Once the feature and logback.xml is configured to the user's desired settings, s
[2019-03-22T16:38:23.884+00:00] [IN|DMAAP|DCAE-CL|664be3d2-6c12-4f4b-a3e7-c349acced200|ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e]
-The message has now been filtered to display the network infrastructure information and the extracted data from the JSON message based on the feature properties. In order to view the entire message received from a topic, a complementary feature was developed to display the entire message on a per controller basis while preserving the compact network log. Refer to the `Feature Controller Logging <feature_controllerlogging.html>`_ documentation for details.
-
-
+The message has now been filtered to display the network infrastructure information and the extracted data from the JSON message based on the feature properties. In order to view the entire message received from a topic, a complementary feature was developed to display the entire message on a per controller basis while preserving the compact network log. Refer to the
+:ref:`Feature Controller Logging <feature_controllerlogging-label>` documentation for details.
End of Document
diff --git a/docs/drools/pdpdApps.rst b/docs/drools/pdpdApps.rst
index 0fcc9f46..58bbb068 100644
--- a/docs/drools/pdpdApps.rst
+++ b/docs/drools/pdpdApps.rst
@@ -52,7 +52,7 @@ The *onap/policy-pdpd-cl* image extends the *onap/policy-drools* image with
the *usecases* controller that realizes the *control loop* application.
Usecases Controller
-====================
+===================
The `usecases <https://git.onap.org/policy/drools-applications/tree/controlloop/common/controller-usecases>`__
controller is the *control loop* application in ONAP.
@@ -140,14 +140,14 @@ telemetry API extensions. *Actor* configurations are packaged in this
feature.
Usecases Controller (controlloop-usecases)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is the *guilin* release implementation of the ONAP use cases.
It relies on the new *Actor* model framework to carry out a policy's
execution.
TDJAM Controller (controlloop-tdjam)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is an experimental, java-only controller that will be deprecated after the
guilin release.
@@ -734,7 +734,7 @@ Verify in *$POLICY_LOGS/network.log* that a *FINAL: SUCCESS* notification is sen
and an entry is added to the *$POLICY_LOGS/audit.log* indicating successful completion.
vFirewall use case testing
-===========================
+==========================
First step is to create the *operational.modifyconfig* policy.
@@ -803,7 +803,7 @@ Verify that the policy shows with the telemetry tools:
dcae.vfw.onset.json
-~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~
.. code-block:: bash
@@ -885,6 +885,6 @@ Additional information
======================
For additional information, please see the
-`Drools PDP Development and Testing (In Depth) <https://wiki.onap.org/display/DW/2020+Frankfurt+Tutorials>`__ page.
+`Drools PDP Development and Testing (In Depth) <https://wiki.onap.org/display/DW/2020-08+Frankfurt+Tutorials>`__ page.
diff --git a/docs/drools/pdpdEngine.rst b/docs/drools/pdpdEngine.rst
index 58120a5d..6992a8ed 100644
--- a/docs/drools/pdpdEngine.rst
+++ b/docs/drools/pdpdEngine.rst
@@ -473,7 +473,7 @@ commit to execute policies against these policy types if a supporting controller
</kmodule>
Software Architecture
-======================
+=====================
PDP-D is divided into 2 layers:
@@ -872,7 +872,7 @@ The drools libraries in the PDP-D uses maven to fetch rules artifacts and softwa
The default *settings.xml* file specifies the repositories to search. This configuration
can be overriden with a custom copy that would sit in a mounted configuration
directory. See an example of the OOM override
-`settings.xml <https://git.onap.org/oom/tree/kubernetes/policy/charts/drools/resources/configmaps/settings.xml>`__.
+`settings.xml <https://github.com/onap/oom/blob/master/kubernetes/policy/components/policy-drools-pdp/resources/configmaps/settings.xml>`_.
The default ONAP installation of the *control loop* child image *onap/policy-pdpd-cl:1.6.4* is *OFFLINE*.
In this configuration, the *rules* artifact and the *dependencies* retrieves all the artifacts from the local
@@ -883,7 +883,7 @@ An offline configuration requires two items:
- *OFFLINE* environment variable set to true.
- override *settings.xml* customization, see
- `settings.xml <https://git.onap.org/oom/tree/kubernetes/policy/charts/drools/resources/configmaps/settings.xml>`__.
+ `settings.xml <https://github.com/onap/oom/blob/master/kubernetes/policy/components/policy-drools-pdp/resources/configmaps/settings.xml>`_.
The default mode in the *onap/policy-drools:1.6.3* is ONLINE instead.
@@ -1357,7 +1357,7 @@ A post-start script *config/active.post.sh* can place PDP-D in *active* mode at
.. code-block:: bash
- bash -c "http --verify=no -a ${TELEMETRY_USER}:${TELEMETRY_PASSWORD} PUT https://localhost:9696/policy/pdp/engine/lifecycle/state/ACTIVE"
+ bash -c "http --verify=no -a ${TELEMETRY_USER}:${TELEMETRY_PASSWORD} PUT <http|https>://localhost:9696/policy/pdp/engine/lifecycle/state/ACTIVE"
Bring up the PDP-D, nexus, and mariadb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1401,4 +1401,4 @@ Additional information
======================
For additional information, please see the
-`Drools PDP Development and Testing (In Depth) <https://wiki.onap.org/display/DW/2020+Frankfurt+Tutorials>`__ page.
+`Drools PDP Development and Testing (In Depth) <https://wiki.onap.org/display/DW/2020-08+Frankfurt+Tutorials>`__ page.
diff --git a/docs/images/biohazard.png b/docs/images/biohazard.png
new file mode 100644
index 00000000..ae4629d8
--- /dev/null
+++ b/docs/images/biohazard.png
Binary files differ
diff --git a/docs/installation/oom.rst b/docs/installation/oom.rst
index 621df5b7..30efdbe7 100644
--- a/docs/installation/oom.rst
+++ b/docs/installation/oom.rst
@@ -54,9 +54,8 @@ From your local copy, edit any of the values.yaml files in the policy tree to ma
The policy schema will be installed automatically as part of the database configuration using ``db-migrator``.
By default the policy schema is upgraded to the latest version.
-For more information on how to change the ``db-migrator`` setup please see: `Using Policy DB Migrator`_.
-
-.. _Using Policy DB Migrator: ../db-migrator/policy-db-migrator.html
+For more information on how to change the ``db-migrator`` setup please see
+:ref:`Using Policy DB Migrator <policy-db-migrator-label>`.
**Step 2** Build the charts
@@ -130,7 +129,7 @@ For security reasons, the ports for the policy containers are configured as Clus
kubectl -n onap expose service policy-api --port=7171 --target-port=6969 --name=api-public --type=NodePort
Overriding certificate stores
-*******************************
+*****************************
Policy components package default key and trust stores that support https based communication with other
AAF-enabled ONAP components. Each store can be overridden at installation.
@@ -163,7 +162,7 @@ When the keystore passwords are changed, the corresponding component configurati
This procedure is applicable to an installation that requires either AAF or non-AAF derived certificates.
The reader is refered to the AAF documentation when new AAF-compliant keystores are desired:
-* `AAF automated configuration and Certificates <https://docs.onap.org/projects/onap-aaf-authz/en/latest/sections/configuration/AAF_4.1_config.html#typical-onap-entity-info-in-aaf>`_.
+* `AAF automated configuration and Certificates <https://wiki.onap.org/display/DW/Application+Authorization+Framework+%28AAF%29+Documentation>`_.
* `AAF Certificate Management for Dummies <https://wiki.onap.org/display/DW/AAF+Certificate+Management+for+Dummies>`_.
* `Instructional Videos <https://wiki.onap.org/display/DW/Instructional+Videos>`_.
diff --git a/docs/release-notes.rst b/docs/release-notes.rst
index 9ca57d6e..2c1954d9 100644
--- a/docs/release-notes.rst
+++ b/docs/release-notes.rst
@@ -3,8 +3,8 @@
.. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
.. _release_notes:
-Policy Release Notes
-####################
+Policy Framework Release Notes
+##############################
.. note
.. * This Release Notes must be updated each time the team decides to Release new artifacts.
@@ -846,7 +846,7 @@ Database
- consolidate the UI (Control loop UI and policy)
- enables code sharing and common handling for REST and TOSCA
- introduces the Spring Framework into the Policy Framework
- - see `the CLAMP documentation <https://docs.onap.org/projects/onap-policy-parent/en/latest/clamp/clamp/clamp.html>`_
+ - see `the CLAMP documentation <https://docs.onap.org/projects/onap-policy-parent/en/latest/clamp/clamp.html>`_
* `REQ-716 <https://jira.onap.org/browse/REQ-716>`_ - Control Loop in TOSCA LCM
- Allows Control Loops to be defined and described in Metadata using TOSCA
@@ -854,7 +854,7 @@ Database
- Control Loops can be commissioned into Policy/CLAMP, they can be parameterized, initiated on arbitrary
participants, activated and monitored
- See `the CLAMP TOSCA Control Loop documentation
- <https://docs.onap.org/projects/onap-policy-parent/en/latest/clamp/controlloop/controlloop.html>`_
+ <https://docs.onap.org/projects/onap-policy-parent/en/latest/clamp/clamp.html>`_
* CLAMP Client Policy and TOSCA Handling
- Push existing policy(tree) into pdp
@@ -1374,7 +1374,7 @@ System Limitations
The policy API component requires a fresh new database when migrating to the guilin release.
Therefore, upgrades require a fresh new database installation.
Please see the
-`Installing or Upgrading Policy <https://docs.onap.org/projects/onap-policy-parent/en/guilin/installation/oom.html#installing-or-upgrading-policy>`__ section for appropriate procedures.
+`Installing or Upgrading Policy <https://docs.onap.org/projects/onap-policy-parent/en/latest/installation/oom.html#installing-or-upgrading-policy>`__ section for appropriate procedures.
Known Vulnerabilities
~~~~~~~~~~~~~~~~~~~~~
@@ -1547,7 +1547,7 @@ POLICY-PAP
- All PDPs send statistics data as part of the heartbeat. PAP reads this and saves this data to the database, and this statistics data can be accessed from the monitoring GUI.
* PAP API for Create or Update PdpGroups
- - A new API is now available just for creating/updating PDP Groups. Policies cannot be added/updated during PDP Group create/update operations. There is another API for this. So, if provided in the create/update group request, they are ignored. Supported policy types are defined during PDP Group creation. They cannot be updated once they are created. Refer to this for details: https://github.com/onap/policy-parent/blob/master/docs/pap/pap.rst#id8
+ - A new API is now available just for creating/updating PDP Groups. Policies cannot be added/updated during PDP Group create/update operations. There is another API for this. So, if provided in the create/update group request, they are ignored. Supported policy types are defined during PDP Group creation. They cannot be updated once they are created. Refer to this for details: https://github.com/onap/policy-parent/blob/master/docs/pap/pap.rst
* PAP API to deploy policies to PdpGroups
- A new API is introduced to deploy policies on specific PDPGroups. Each subgroup includes an "action" property, which is used to indicate that the policies are being added (POST) to the subgroup, deleted (DELETE) from the subgroup, or that the subgroup's entire set of policies is being replaced (PATCH) by a new set of policies.
@@ -1625,14 +1625,14 @@ POLICY-APEX-PDP
* Passing parameters from ApexConfig to policy logic.
- TaskParameters can be used to pass parameters from ApexConfig to the policy logic. Consider a scenario where from CLAMP, serviceId or closedLoopId has to be passed to the policy, and this should be available to perform some logic or action within the policy. In the CLAMP UI, while configuring the APEX Policy, specifying taskParameters with these will enable this.
- - More information about the usage of Task Parameters can be found here: https://docs.onap.org/projects/onap-policy-parent/en/frankfurt/apex/APEX-User-Manual.html#configure-task-parameters
+ - More information about the usage of Task Parameters can be found here: https://docs.onap.org/projects/onap-policy-parent/en/latest/apex/APEX-User-Manual.html#configure-task-parameters
- In the taskLogic, taskParameters can be accessed as executor.parameters.get("ParameterKey1"))
- - More information can be found here: https://docs.onap.org/projects/onap-policy-parent/en/frankfurt/apex/APEX-Policy-Guide.html#accessing-taskparameters
+ - More information can be found here: https://docs.onap.org/projects/onap-policy-parent/en/latest/apex/APEX-Policy-Guide.html#accessing-taskparameters
* GRPC support for APEX-CDS interaction.
- - APEX-PDP now supports interaction with CDS over gRPC. Up through El Alto, CDS interaction was possible over REST only. A new plugin was developed in APEX for this feature. Refer the link for more details. https://docs.onap.org/projects/onap-policy-parent/en/frankfurt/apex/APEX-User-Manual.html#grpc-io
+ - APEX-PDP now supports interaction with CDS over gRPC. Up through El Alto, CDS interaction was possible over REST only. A new plugin was developed in APEX for this feature. Refer the link for more details. https://docs.onap.org/projects/onap-policy-parent/en/latest/apex/APEX-User-Manual.html#grpc-io
POLICY-XACML-PDP
================
@@ -1679,7 +1679,7 @@ System Limitations
The policy API component requires a fresh new database when migrating to the frankfurt release.
Therefore, upgrades require a fresh new database installation.
Please see the
-`Installing or Upgrading Policy <https://docs.onap.org/projects/onap-policy-parent/en/frankfurt/installation/oom.html#installing-or-upgrading-policy>`__ section for appropriate procedures.
+`Installing or Upgrading Policy <https://docs.onap.org/projects/onap-policy-parent/en/latest/installation/oom.html#installing-or-upgrading-policy>`__ section for appropriate procedures.
Known Vulnerabilities
~~~~~~~~~~~~~~~~~~~~~
@@ -2108,7 +2108,8 @@ The following known issue will be addressed in a future release.
* `[POLICY-1650] <https://jira.onap.org/browse/POLICY-1277>`_ - Policy UI doesn't show left menu or any content
-A workaround for this issue consists in bypassing the Portal UI when accessing the Policy UI. See `PAP recipes <https://docs.onap.org/en/casablanca/submodules/policy/engine.git/docs/platform/cookbook.html?highlight=policy%20cookbook#id23>`_ for the specific procedure.
+A workaround for this issue consists in bypassing the Portal UI when accessing the Policy UI. See the **PAP recipes**
+documentation for the specific procedure.
Version: 3.0.1
diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt
index 3b3441a8..71df2ab0 100644
--- a/docs/requirements-docs.txt
+++ b/docs/requirements-docs.txt
@@ -1,3 +1,7 @@
-lfdocs-conf
sphinx>=4.2.0 # BSD
sphinx-rtd-theme>=1.0.0 # MIT
+sphinxcontrib-blockdiag # BSD
+sphinxcontrib-seqdiag # BSD
+sphinxcontrib-swaggerdoc
+sphinxcontrib-spelling
+sphinxcontrib-plantuml
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
new file mode 100644
index 00000000..35c04686
--- /dev/null
+++ b/docs/spelling_wordlist.txt
@@ -0,0 +1,10 @@
+Goodger
+Mär
+docinfo
+overlined
+Docutils
+csv
+sectnum
+reST
+unicode
+defs
diff --git a/docs/system-attributes/policy-db-migrator.rst b/docs/system-attributes/policy-db-migrator.rst
index 2fa94874..840137e9 100644
--- a/docs/system-attributes/policy-db-migrator.rst
+++ b/docs/system-attributes/policy-db-migrator.rst
@@ -2,6 +2,8 @@
.. 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
+.. _policy-db-migrator-label:
+
Using Policy DB Migrator
########################
diff --git a/docs/tox.ini b/docs/tox.ini
index 49bbe010..b9d7eb44 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 1.6
-envlist = docs,
+envlist = docs,docs-linkcheck,docs-spellcheck
skipsdist = true
[testenv:docs]
@@ -8,18 +8,24 @@ basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
- sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
- echo "Generated docs available in {toxinidir}/_build/html"
-whitelist_externals =
- echo
- git
- sh
+ sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
[testenv:docs-linkcheck]
basepython = python3.8
-#deps = -r{toxinidir}/requirements-docs.txt
-commands = echo "Link Checking not enforced"
-#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
-whitelist_externals = echo
+deps =
+ -r{toxinidir}/requirements-docs.txt
+ -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+commands =
+ sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
+
+[testenv:docs-spellcheck]
+basepython = python3.8
+deps =
+ -r{toxinidir}/requirements-docs.txt
+ -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+commands =
+ sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck
diff --git a/docs/xacml/xacml.rst b/docs/xacml/xacml.rst
index 5fd50a1b..ff8c0b74 100644
--- a/docs/xacml/xacml.rst
+++ b/docs/xacml/xacml.rst
@@ -8,7 +8,7 @@ Policy XACML PDP Engine
.. toctree::
:maxdepth: 2
-The ONAP XACML Policy PDP Engine uses an `open source implementation <https://github.com/att/XACML>`__ of the `OASIS XACML 3.0 Standard <https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xacml>`__ to support fine-grained policy decisions in the ONAP. The XACML 3.0 Standard is a language for both policies and requests/responses for access control decisions. The ONAP XACML PDP translates TOSCA Compliant Policies into the XACML policy language, loads the policies into the XACML engine and exposes a Decision API which uses the XACML request/response language to render decisions for ONAP components.
+The ONAP XACML Policy PDP Engine uses an `open source implementation <https://github.com/att/xacml-3.0>`__ of the `OASIS XACML 3.0 Standard <https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xacml>`__ to support fine-grained policy decisions in the ONAP. The XACML 3.0 Standard is a language for both policies and requests/responses for access control decisions. The ONAP XACML PDP translates TOSCA Compliant Policies into the XACML policy language, loads the policies into the XACML engine and exposes a Decision API which uses the XACML request/response language to render decisions for ONAP components.
ONAP XACML PDP Supported Policy Types
*************************************
@@ -67,7 +67,7 @@ These two translators are used by the Guard application and are very specific to
`Implementation of Coordination Translator <https://github.com/onap/policy-xacml-pdp/blob/master/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/CoordinationGuardTranslator.java>`_
Native XACML OAISIS 3.0 XML Policy Translator
------------------------------------------------
+---------------------------------------------
This translator pulls a URL encoded XML XACML policy from a TOSCA Policy and loads it into a XACML Engine. This allows native XACML policies to be used to support complex use cases in which a translation from TOSCA to XACML is too difficult.