aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/architecture/architecture.rst2
-rw-r--r--docs/clamp/acm/clamp-gui/images/01-gui.pngbin5199 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/02-gui.pngbin25399 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/03-gui.pngbin22009 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/04-gui.pngbin3070 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/05-gui.pngbin10977 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/06-gui.pngbin13765 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/07-gui.pngbin13484 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/08-gui.pngbin21202 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/09-gui.pngbin10824 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/10-gui.pngbin8164 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/11-gui.pngbin43677 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/12-gui.pngbin10778 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/13-gui.pngbin42355 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/14-gui.pngbin51361 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/15-gui.pngbin25049 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/16-gui.pngbin10737 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/17-gui.pngbin17073 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/18-gui.pngbin52727 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/19-gui.pngbin54033 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/20-gui.pngbin22866 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/21-gui.pngbin8935 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/22-gui.pngbin7317 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/images/23-gui.pngbin13755 -> 0 bytes
-rw-r--r--docs/clamp/acm/clamp-gui/policy-gui.rst315
-rw-r--r--docs/clamp/acm/design-impl/clamp-gui-acm.rst1
-rw-r--r--docs/clamp/acm/design-impl/participants/a1pms-participant.rst93
-rw-r--r--docs/clamp/acm/design-impl/participants/participants.rst1
-rw-r--r--docs/clamp/acm/design-impl/participants/tosca/automation-composition-a1pms.yml20
-rw-r--r--docs/clamp/acm/design-impl/participants/tosca/tosca-a1pms-participant.yml113
-rwxr-xr-xdocs/clamp/acm/images/participants/a1pms-participant.pngbin0 -> 96842 bytes
-rw-r--r--docs/clamp/clamp.rst1
-rw-r--r--docs/development/devtools/devtools.rst11
-rw-r--r--docs/development/devtools/pairwise/clamp-dcae.rst (renamed from docs/development/devtools/clamp-dcae.rst)0
-rw-r--r--docs/development/devtools/pairwise/clamp-policy.rst (renamed from docs/development/devtools/clamp-policy.rst)0
-rw-r--r--docs/development/devtools/pairwise/clamp-sdc.rst (renamed from docs/development/devtools/clamp-sdc.rst)0
-rw-r--r--docs/development/devtools/pairwise/images/ac-commission.png (renamed from docs/development/devtools/images/ac-commission.png)bin208559 -> 208559 bytes
-rw-r--r--docs/development/devtools/pairwise/images/ac-create.png (renamed from docs/development/devtools/images/ac-create.png)bin226752 -> 226752 bytes
-rw-r--r--docs/development/devtools/pairwise/images/ac-instantiation.png (renamed from docs/development/devtools/images/ac-instantiation.png)bin230788 -> 230788 bytes
-rw-r--r--docs/development/devtools/pairwise/images/ac-passive.png (renamed from docs/development/devtools/images/ac-passive.png)bin206486 -> 206486 bytes
-rw-r--r--docs/development/devtools/pairwise/images/ac-uninitialise.png (renamed from docs/development/devtools/images/ac-uninitialise.png)bin206284 -> 206284 bytes
-rw-r--r--docs/development/devtools/pairwise/images/ac-uninitialised-state.png (renamed from docs/development/devtools/images/ac-uninitialised-state.png)bin227934 -> 227934 bytes
-rw-r--r--docs/development/devtools/pairwise/images/ac-upload.png (renamed from docs/development/devtools/images/ac-upload.png)bin162824 -> 162824 bytes
-rw-r--r--docs/development/devtools/pairwise/images/create-instance.png (renamed from docs/development/devtools/images/create-instance.png)bin209643 -> 209643 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_compose_acm.png (renamed from docs/development/devtools/images/sdc_compose_acm.png)bin162680 -> 162680 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_create_acm.png (renamed from docs/development/devtools/images/sdc_create_acm.png)bin112121 -> 112121 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_create_element.png (renamed from docs/development/devtools/images/sdc_create_element.png)bin116027 -> 116027 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_create_participant.png (renamed from docs/development/devtools/images/sdc_create_participant.png)bin97458 -> 97458 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_distribute.png (renamed from docs/development/devtools/images/sdc_distribute.png)bin114485 -> 114485 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_element_props.png (renamed from docs/development/devtools/images/sdc_element_props.png)bin128859 -> 128859 bytes
-rw-r--r--docs/development/devtools/pairwise/images/sdc_tosca.png (renamed from docs/development/devtools/images/sdc_tosca.png)bin97452 -> 97452 bytes
-rw-r--r--docs/development/devtools/pairwise/images/update-instance.png (renamed from docs/development/devtools/images/update-instance.png)bin129767 -> 129767 bytes
-rw-r--r--docs/development/devtools/pairwise/policy-cds.rst (renamed from docs/development/devtools/policy-cds.rst)12
-rw-r--r--docs/development/devtools/pairwise/tosca/pairwise-testing.yml (renamed from docs/development/devtools/tosca/pairwise-testing.yml)0
-rw-r--r--docs/development/devtools/smoke/apex-smoke.rst10
-rw-r--r--docs/development/devtools/smoke/cds-cba/pnf-test-cba.zipbin10148 -> 0 bytes
-rw-r--r--docs/development/devtools/smoke/cds-cba/vnf-test-cba.zipbin6036 -> 0 bytes
-rw-r--r--docs/development/devtools/smoke/postman/apex-pdp-vnf-pnf-testing.postman_collection.json1244
-rw-r--r--docs/development/devtools/smoke/postman/create-vnf-pnf-aai.postman_collection.json788
-rw-r--r--docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json598
60 files changed, 243 insertions, 2966 deletions
diff --git a/docs/architecture/architecture.rst b/docs/architecture/architecture.rst
index 69484ac3..f582918c 100644
--- a/docs/architecture/architecture.rst
+++ b/docs/architecture/architecture.rst
@@ -169,7 +169,7 @@ management of the PDPs on which the policies are running. *PolicyAPI* interacts
no programmatic interface with *PolicyAdministration*, *PolicyExecution* or any other run-time ONAP components.
The diagram below shows a more detailed view of the architecture, as inspired by
-`RFC-2753 <https://tools.ietf.org/html/rfc2753>`__ and `RFC-3198 <https://tools.ietf.org/html/rfc3198>`__.
+`RFC-2753 https://tools.ietf.org/html/rfc2753` and `RFC-3198 https://tools.ietf.org/html/rfc3198`.
.. image:: images/PFDesignAndAdmin.svg
diff --git a/docs/clamp/acm/clamp-gui/images/01-gui.png b/docs/clamp/acm/clamp-gui/images/01-gui.png
deleted file mode 100644
index 74b13310..00000000
--- a/docs/clamp/acm/clamp-gui/images/01-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/02-gui.png b/docs/clamp/acm/clamp-gui/images/02-gui.png
deleted file mode 100644
index ba18a13a..00000000
--- a/docs/clamp/acm/clamp-gui/images/02-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/03-gui.png b/docs/clamp/acm/clamp-gui/images/03-gui.png
deleted file mode 100644
index c3716599..00000000
--- a/docs/clamp/acm/clamp-gui/images/03-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/04-gui.png b/docs/clamp/acm/clamp-gui/images/04-gui.png
deleted file mode 100644
index 744d6e16..00000000
--- a/docs/clamp/acm/clamp-gui/images/04-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/05-gui.png b/docs/clamp/acm/clamp-gui/images/05-gui.png
deleted file mode 100644
index 2eb1536d..00000000
--- a/docs/clamp/acm/clamp-gui/images/05-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/06-gui.png b/docs/clamp/acm/clamp-gui/images/06-gui.png
deleted file mode 100644
index d22b1a7e..00000000
--- a/docs/clamp/acm/clamp-gui/images/06-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/07-gui.png b/docs/clamp/acm/clamp-gui/images/07-gui.png
deleted file mode 100644
index df28fd5d..00000000
--- a/docs/clamp/acm/clamp-gui/images/07-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/08-gui.png b/docs/clamp/acm/clamp-gui/images/08-gui.png
deleted file mode 100644
index 5be657b5..00000000
--- a/docs/clamp/acm/clamp-gui/images/08-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/09-gui.png b/docs/clamp/acm/clamp-gui/images/09-gui.png
deleted file mode 100644
index 156e0f76..00000000
--- a/docs/clamp/acm/clamp-gui/images/09-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/10-gui.png b/docs/clamp/acm/clamp-gui/images/10-gui.png
deleted file mode 100644
index 9cbcb96e..00000000
--- a/docs/clamp/acm/clamp-gui/images/10-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/11-gui.png b/docs/clamp/acm/clamp-gui/images/11-gui.png
deleted file mode 100644
index dc68ea52..00000000
--- a/docs/clamp/acm/clamp-gui/images/11-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/12-gui.png b/docs/clamp/acm/clamp-gui/images/12-gui.png
deleted file mode 100644
index 548c6ba1..00000000
--- a/docs/clamp/acm/clamp-gui/images/12-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/13-gui.png b/docs/clamp/acm/clamp-gui/images/13-gui.png
deleted file mode 100644
index 09b2dc07..00000000
--- a/docs/clamp/acm/clamp-gui/images/13-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/14-gui.png b/docs/clamp/acm/clamp-gui/images/14-gui.png
deleted file mode 100644
index 28680efc..00000000
--- a/docs/clamp/acm/clamp-gui/images/14-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/15-gui.png b/docs/clamp/acm/clamp-gui/images/15-gui.png
deleted file mode 100644
index 0d1c949b..00000000
--- a/docs/clamp/acm/clamp-gui/images/15-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/16-gui.png b/docs/clamp/acm/clamp-gui/images/16-gui.png
deleted file mode 100644
index 829d790d..00000000
--- a/docs/clamp/acm/clamp-gui/images/16-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/17-gui.png b/docs/clamp/acm/clamp-gui/images/17-gui.png
deleted file mode 100644
index 03d318d2..00000000
--- a/docs/clamp/acm/clamp-gui/images/17-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/18-gui.png b/docs/clamp/acm/clamp-gui/images/18-gui.png
deleted file mode 100644
index 8e08ad68..00000000
--- a/docs/clamp/acm/clamp-gui/images/18-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/19-gui.png b/docs/clamp/acm/clamp-gui/images/19-gui.png
deleted file mode 100644
index 494d37ce..00000000
--- a/docs/clamp/acm/clamp-gui/images/19-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/20-gui.png b/docs/clamp/acm/clamp-gui/images/20-gui.png
deleted file mode 100644
index 4be441ed..00000000
--- a/docs/clamp/acm/clamp-gui/images/20-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/21-gui.png b/docs/clamp/acm/clamp-gui/images/21-gui.png
deleted file mode 100644
index 2f49598e..00000000
--- a/docs/clamp/acm/clamp-gui/images/21-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/22-gui.png b/docs/clamp/acm/clamp-gui/images/22-gui.png
deleted file mode 100644
index 9efe51a0..00000000
--- a/docs/clamp/acm/clamp-gui/images/22-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/images/23-gui.png b/docs/clamp/acm/clamp-gui/images/23-gui.png
deleted file mode 100644
index f258454a..00000000
--- a/docs/clamp/acm/clamp-gui/images/23-gui.png
+++ /dev/null
Binary files differ
diff --git a/docs/clamp/acm/clamp-gui/policy-gui.rst b/docs/clamp/acm/clamp-gui/policy-gui.rst
deleted file mode 100644
index 4e8721e2..00000000
--- a/docs/clamp/acm/clamp-gui/policy-gui.rst
+++ /dev/null
@@ -1,315 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-
-.. _clamp-policy-gui-label:
-
-TOSCA Policy GUI
-################
-
-.. contents::
- :depth: 4
-
-1 - How to run the Front-End Gui
-================================
-This section describes how to run the front end on your local machine.
-
-**Prerequisite:**
-
-**Building and running CLAMP**
-
-see
-:ref:`Clamp ACM Smoke Tests <policy-clamp-runtime-smoke-label>`
-
-**Step 1:** Go to the clamp directory
-
-.. code-block:: bash
-
- cd /clamp/extra/bin-for-dev
-
-**Step 2:** Inside the clamp directory run
-
-.. code-block:: bash
-
- ./start-db.sh test
-
-**Step 3:** Check docker container id
-
-.. code-block:: bash
-
- docker ps
-
-**Step 4:** Log into docker container
-
-.. code-block:: bash
-
- docker exec -it 'container_id' bash
-
-**Step 5:** Go into mariadb shell
-
-.. code-block:: bash
-
- mysql -u root -p
-
-**Step 6:** Enter password
-
- strong_pitchou
-
-.. image:: images/01-gui.png
-
-**Step 7:** Go into cldsdb4 database
-
-.. code-block:: bash
-
- use cldsdb4;
-
-**Step 8:** Verify if there is data in the following table 'loop_templates'
-
-.. code-block:: bash
-
- select * from loop_templates;
-
-** If for some reason the database is empty do the go to the '/docker-entrypoint-initdb.d/dump' directory
-
-.. code-block:: bash
-
- ./load-fake-data.sh
-
-**Step 9:** Once the database is up and running need to start the clamp emulator, by running the following command inside the /clamp/extra/bin-for-dev
-
-.. code-block:: bash
-
- ./start-emulator.sh
-
-**Step 10:** Verify if mariadb and the emulator is running
-
-.. code-block:: bash
-
- docker ps
-
-.. image:: images/02-gui.png
-
-**Step 11:** Start the backend service by running the command inside the /clamp/extra/bin-for-dev
-
-.. code-block:: bash
-
- ./start-backend.sh
-
-
-.. _building-ui-label:
-
-2 - Checking out and building the UI
-====================================
-
-**Step 1:** Checkout the UI from the repo
-
-.. code-block:: bash
-
- git clone "https://gerrit.nordix.org/onap/policy/gui"
-
-**Step 2:** Change into the "gui" directory and run the following
-
-.. code-block:: bash
-
- mvn clean install
-
-**Step 3:** Go into the gui-clamp/ui-react directory and run the following
-
-.. code-block:: bash
-
- npm install
-
-**Step 4:** Start the front end UI
-
-.. code-block:: bash
-
- npm start --scripts-prepend-node-path
-
-*If you get the following error*
-
-.. image:: images/03-gui.png
-
-.. code-block:: bash
-
- gedit package.json
-
-Then change ``"version": "${project.version}",`` to ``"version": "2.1.1",``
-
-Save and close, then delete the node_modules directory
-
-.. code-block:: bash
-
- rm -rf node_modules/
-
-Then run again
-
-.. code-block:: bash
-
- npm install
-
-.. code-block:: bash
-
- npm start --scripts-prepend-node-path
-
-**Step 5:** Once the UI starts at localhost:3000 it will ask for credentials:
-
- Login: admin
- Password: password
-
-3 - How to Commission/Decommission the TOSCA Service Template
-=============================================================
-
-This section describes how to commission and decommission the Tosca Service Template
-
-** Prerequisite:
-
-See :ref:`Policy GUI Prerequisites<clamp-policy-gui-label>`
-
-**Step 1:** From the Main Menu Click on TOSCA Automation Composition Dropdown
-
-.. image:: images/04-gui.png
-
-**Step 2:** From the Dropdown Menu Select Upload Automation Composition To Commissioning
-
-.. image:: images/05-gui.png
-
-**Step 3:** On the window Upload Tosca to Commissioning API Click on the input box that says 'Please Select a file'
-
-.. image:: images/06-gui.png
-
-**Step 4:** Once the yaml file is selected click on Upload Tosca Service Template
-
-.. image:: images/07-gui.png
-
-**Step 5:** After the upload there should have a message "Upload Success" in green
-
-.. image:: images/08-gui.png
-
-**Step 6:** To validate that the TOSCA Service Template has been commissioned click on Manage Commissioned Automation Composition Template
-
-.. image:: images/09-gui.png
-
-**Step 7:** In the View Tosca Template Window click on Pull Tosca Service Template
-
-.. image:: images/10-gui.png
-
-**Step 8:** Once the Tosca Service Template has been pulled there should be a json object rendered in the window
-
-.. image:: images/11-gui.png
-
-**Step 9:** Click on Close close the window
-
-**Step 10:** Click on Edit Automation Composition Properties
-
-.. image:: images/12-gui.png
-
-**Step 11:** In the Change ACM Common Properties change the appropriate properties and click on save and there should have a popup saying 'Changes Saved. Commission When Ready...'
-
-.. image:: images/13-gui.png
-
-**Step 12:** After saving the changes click on Commission and should have a Green message saying 'Commissioning Success'
-
-.. image:: images/14-gui.png
-
-**Step 13:** To Decommission the Tosca Service Follow Step 6 and 8
-
-**Step 14:** Once the json objected is rendered in the window click on delete
-
-.. image:: images/11-gui.png
-
-**Step 14:** Once the json objected is rendered in the window click on delete
-
-.. image:: images/11-gui.png
-
-**Step 15:** If the delete is successful it should show a message "Delete Successful"
-
-.. image:: images/15-gui.png
-
-4 - How to Save Instance Properties and Change The Order State
-==============================================================
-
-This section describes how to save the instance properties and change it's order state
-
-** Prerequisite:
-
-see building-ui-label_
-
-**Step 1:** Go to the participant http directory
-
-.. code-block:: bash
-
- cd /clamp/participant/participant-impl/participant-impl-http
-
-**Step 2:** Run he following command
-
-.. code-block:: bash
-
- mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=8080
-
-**Step 3:** Go to the participant kubernetes directory
-
-.. code-block:: bash
-
- cd /clamp/participant/participant-impl/participant-impl-kubernetes
-
-**Step 4:** Run he following command
-
-.. code-block:: bash
-
- mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=8081
-
-**Step 5:** Go to the participant policy directory
-
-.. code-block:: bash
-
- cd /clamp/participant/participant-impl/participant-impl-policy
-
-**Step 6:** Run he following command
-
-.. code-block:: bash
-
- mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=8082
-
-**Step 7:** From the Main Menu Click on Instantiation Management
-
-.. image:: images/16-gui.png
-
-**Step 8:** Once the window for Manage Instance is open click on Create Instance
-
-.. image:: images/17-gui.png
-
-**Step 9:** With the Window Create Instance Properties Insert a Name and change the appropriate properties and click save
-
-.. image:: images/18-gui.png
-
-**Step 10:** After clicking save it should come with a green message saying "Instantiation Properties Success"
-
-.. image:: images/19-gui.png
-
-**Step 11:** To delete an instance repeat Step 7
-
-.. image:: images/16-gui.png
-
-**Step 12:** Once the window for Manage Instance is open click on Delete
-
-.. image:: images/20-gui.png
-
-* NOTE: The only way to delete the instance properties if the order state has to be UNINITIALISED
-
-**Step 13:** To change the state click on Change in Manage Instances Window
-
-.. image:: images/20-gui.png
-
-**Step 14:** After clicking Change there should have a drop down with specific different ordered states
-
-.. image:: images/21-gui.png
-
-**Step 15:** From UNINITIALISED the user can only select Passive Ordered State
-
-.. image:: images/22-gui.png
-
-**Step 16:** Click on Save and a Message in Green "Ordered State Change Success"
-
-.. image:: images/23-gui.png
-
-* NOTE: Can't change from Passive to Running in a local developer machine, can only change in the production environment
-
-End of document
diff --git a/docs/clamp/acm/design-impl/clamp-gui-acm.rst b/docs/clamp/acm/design-impl/clamp-gui-acm.rst
index 90e1c50b..b0a2782f 100644
--- a/docs/clamp/acm/design-impl/clamp-gui-acm.rst
+++ b/docs/clamp/acm/design-impl/clamp-gui-acm.rst
@@ -47,7 +47,6 @@ Class-based react components are used to render the different pages related to f
- Deploying/Undeploying microservices to the policy framework.
- Deleting Instances.
-Although this GUI deploys microservices, it is a completely different paradigm to the new Automation Composition participant-based deployment of services. Details of the CLAMP GUI are provided in :ref:`clamp-policy-gui-label`
2.1.2 Automation Composition GUI
================================
diff --git a/docs/clamp/acm/design-impl/participants/a1pms-participant.rst b/docs/clamp/acm/design-impl/participants/a1pms-participant.rst
new file mode 100644
index 00000000..23e70b9b
--- /dev/null
+++ b/docs/clamp/acm/design-impl/participants/a1pms-participant.rst
@@ -0,0 +1,93 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+
+.. _clamp-acm-a1pms-participant:
+
+A1PMS Participant
+######################
+
+The A1PMS participant receives A1 policy service information from the CLAMP runtime and creates the A1 policy service in A1PMS. The participant acts as a wrapper around the A1PMS and creates the policy service.
+
+Supported message Broker are DMaap and Strimzi-Kafka.
+
+.. image:: ../../images/participants/a1pms-participant.png
+
+When an automation composition is initialized, the A1PMS participant starts a A1PMS Automation Composition
+element for the automation composition. It reads the configuration information sent from the
+Automation Composition Runtime and runs a REST client to talk to the A1PMS endpoint receiving
+the REST requests.
+
+Prerequisites for using A1PMS participant:
+------------------------------------------
+
+- A running A1PMS. A1PMS base url should be configured in A1PMS participant to make REST calls.
+
+
+Supported Element Types
+-----------------------
+Supported Element Types for A1PMS participant will be used to define the A1PMS participant Element Definition Types in tosca template.
+Participant Supported Element Types is defined in A1PMS participant application.yaml.
+
+.. code-block:: YAML
+
+ participantSupportedElementTypes:
+ -
+ typeName: org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement
+ typeVersion: 1.0.1
+
+Defining a TOSCA CL definition for A1PMS participant:
+-----------------------------------------------------
+
+A *Policy Service Entity* describes a A1PMS policy service that is managed by the A1PMS participant. A
+Policy Service Entity can be created, Read, and Deleted. The user defines
+the A1 Policy Service Entities that it wants its A1PMS Automation Composition Element to manage and
+provides the parameters to manage each A1 Policy Service Entity.
+
+Sample tosca template defining a participant and a AC element definition. :download:`click here <tosca/tosca-a1pms-participant.yml>`
+
+
+Configuring a Automation Composition Element on the A1PMS participant for a Automation Composition
+-------------------------------------------------------------------------------------------------------
+
+The user defines the following properties in the TOSCA template for the a1pms participant:
+
+.. list-table::
+ :widths: 15 10 50
+ :header-rows: 1
+
+ * - Property
+ - Type
+ - Description
+ * - a1PolicyServiceEntityId
+ - ToscaConceptIdentifier
+ - The name and version of the A1 Policy Service that needs to be managed by the A1PMS participant
+ * - clientId
+ - String
+ - The identity of the service
+ * - callbackUrl
+ - String
+ - The callback for notifying of Near-RT RIC state changes
+ * - keepAliveIntervalSeconds
+ - Integer
+ - Keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.
+
+Sample Automation Composition instances.
+In that example the user fills the properties defined in the TOSCA for the A1PMS participant :download:`click here <tosca/automation-composition-a1pms.yml>`
+
+A1PMS participant Interactions:
+-------------------------------
+The A1PMS participant interacts with Automation Composition Runtime on the northbound via Message Broker. It interacts with the A1PMS on the southbound for performing A1PMS service relation operations.
+
+The communication for the Automation Composition updates and state change requests are sent from the Automation Composition Runtime to the participant via Message Broker.
+The participant performs appropriate operations on the A1PMS via REST based on the received messages from the Automation Composition Runtime.
+
+
+A1PMS participant Workflow:
+---------------------------
+Once the participant is started, it sends a "REGISTER" event to the Message Broker topic which is then consumed by the Automation Composition Runtime to register this participant on the runtime database.
+The user can commission the tosca definitions from the Policy Gui to the Automation Composition Runtime.
+Once the automation composition definitions are available in the runtime database, the user can prime them and further updates the participant with these definitions via Message Broker.
+After primed, the Automation Composition can be instantiated with the default state "UNDEPLOYED" from the Policy Gui.
+
+When the state of the Automation Composition is changed from "UNDEPLOYED" to "DEPLOYED" from the Policy Gui, the a1pms participant receives the automation composition state change event from the runtime and creates the A1 policy services associated with each Automation Composition Elements.
+
+When the state of the Automation Composition is changed from "DEPLOYED" to "UNDEPLOYED" back, the participant deletes the A1 policy services that are part of the Automation Composition Element.
diff --git a/docs/clamp/acm/design-impl/participants/participants.rst b/docs/clamp/acm/design-impl/participants/participants.rst
index 67c966bd..2a948350 100644
--- a/docs/clamp/acm/design-impl/participants/participants.rst
+++ b/docs/clamp/acm/design-impl/participants/participants.rst
@@ -35,4 +35,5 @@ The detailed implementation of the CLAMP Participant ecosystem is described on t
participant-intermediary
http-participant
k8s-participant
+ a1pms-participant
policy-framework-participant
diff --git a/docs/clamp/acm/design-impl/participants/tosca/automation-composition-a1pms.yml b/docs/clamp/acm/design-impl/participants/tosca/automation-composition-a1pms.yml
new file mode 100644
index 00000000..5453d1ed
--- /dev/null
+++ b/docs/clamp/acm/design-impl/participants/tosca/automation-composition-a1pms.yml
@@ -0,0 +1,20 @@
+name: DemoInstance0
+version: 1.0.1
+compositionId: {{compositionId}}
+description: Demo automation composition instance 0
+elements:
+
+ 709c62b3-8918-41b9-a747-d21eb79c6c25:
+ id: 709c62b3-8918-41b9-a747-d21eb79c6c25
+ definition:
+ name: onap.policy.clamp.ac.element.A1PMSAutomationCompositionElement
+ version: 1.2.3
+ description: Starter Automation Composition Element for the Demo
+ properties:
+ policyServiceEntities:
+ - a1PolicyServiceEntityId:
+ name: entity1
+ version: 1.0.1
+ clientId: a1policyservice
+ callbackUrl: http://a1policy.callback
+ keepAliveIntervalSeconds: 0
diff --git a/docs/clamp/acm/design-impl/participants/tosca/tosca-a1pms-participant.yml b/docs/clamp/acm/design-impl/participants/tosca/tosca-a1pms-participant.yml
new file mode 100644
index 00000000..576b5fc4
--- /dev/null
+++ b/docs/clamp/acm/design-impl/participants/tosca/tosca-a1pms-participant.yml
@@ -0,0 +1,113 @@
+tosca_definitions_version: tosca_simple_yaml_1_3
+data_types:
+ onap.datatypes.ToscaConceptIdentifier:
+ derived_from: tosca.datatypes.Root
+ properties:
+ name:
+ type: string
+ required: true
+ version:
+ type: string
+ required: true
+ org.onap.datatypes.policy.clamp.acm.a1PmsAutomationCompositionElement.A1PolicyServiceEntity:
+ version: 1.0.0
+ derived_from: tosca.datatypes.Root
+ properties:
+ a1PolicyServiceEntityId:
+ type: onap.datatypes.ToscaConceptIdentifier
+ type_version: 1.0.0
+ required: true
+ description: The name and version of a Configuration Entity to be handled by the A1 PMS Automation Composition Element
+ clientId:
+ type: string
+ required: true
+ description: Client Id to be created
+ callbackUrl:
+ type: string
+ required: true
+ description: The callback URL to get registered
+ keepAliveIntervalSeconds:
+ type: integer
+ required: true
+ description: Keep alive interval time for the callback URL
+
+node_types:
+ org.onap.policy.clamp.acm.Participant:
+ version: 1.0.1
+ derived_from: tosca.nodetypes.Root
+ properties:
+ provider:
+ type: string
+ required: false
+ org.onap.policy.clamp.acm.AutomationCompositionElement:
+ version: 1.0.1
+ derived_from: tosca.nodetypes.Root
+ properties:
+ provider:
+ type: string
+ required: false
+ participantType:
+ type: onap.datatypes.ToscaConceptIdentifier
+ required: true
+ startPhase:
+ type: integer
+ required: false
+ constraints:
+ - greater-or-equal: 0
+ metadata:
+ common: true
+ 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
+ org.onap.policy.clamp.acm.AutomationComposition:
+ version: 1.0.1
+ derived_from: tosca.nodetypes.Root
+ properties:
+ provider:
+ type: string
+ required: false
+ elements:
+ type: list
+ required: true
+ entry_schema:
+ type: onap.datatypes.ToscaConceptIdentifier
+ org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement:
+ version: 1.0.1
+ derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
+ properties:
+ policyServiceEntities:
+ type: list
+ required: true
+ entry_schema:
+ type: org.onap.datatypes.policy.clamp.acm.a1pmsAutomationCompositionElement.A1PolicyServiceEntity
+ type_version: 1.0.0
+ description: The configuration entities of A1 policy services
+topology_template:
+ node_templates:
+ org.onap.policy.clamp.acm.A1PMSAutomationCompositionParticipant:
+ version: 2.3.4
+ type: org.onap.policy.clamp.acm.Participant
+ type_version: 1.0.1
+ description: Participant for A1 PMS requests
+ properties:
+ provider: ONAP
+
+ onap.policy.clamp.ac.element.A1PMSAutomationCompositionElement:
+ version: 1.2.3
+ type: org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement
+ type_version: 1.0.1
+ description: Automation composition element for the A1 PMS Requests
+ properties:
+ provider: ONAP
+
+ org.onap.domain.sample.A1PMSAutomationCompositionDefinition:
+ version: 1.2.3
+ type: org.onap.policy.clamp.acm.AutomationComposition
+ type_version: 1.0.0
+ description: Automation composition for A1PMS request
+ properties:
+ provider: ONAP
+ elements:
+ - name: onap.policy.clamp.ac.element.A1PMSAutomationCompositionElement
+ version: 1.2.3 \ No newline at end of file
diff --git a/docs/clamp/acm/images/participants/a1pms-participant.png b/docs/clamp/acm/images/participants/a1pms-participant.png
new file mode 100755
index 00000000..769cedfe
--- /dev/null
+++ b/docs/clamp/acm/images/participants/a1pms-participant.png
Binary files differ
diff --git a/docs/clamp/clamp.rst b/docs/clamp/clamp.rst
index a1c275c1..40ab6790 100644
--- a/docs/clamp/clamp.rst
+++ b/docs/clamp/clamp.rst
@@ -15,7 +15,6 @@ described in TOSCA.
acm/acm-states
acm/defining-acms
acm/api-protocol/api-protocol-tree
- acm/clamp-gui/policy-gui
acm/design-impl/design-impl
.. note::
diff --git a/docs/development/devtools/devtools.rst b/docs/development/devtools/devtools.rst
index a9caf9a8..75f34434 100644
--- a/docs/development/devtools/devtools.rst
+++ b/docs/development/devtools/devtools.rst
@@ -344,13 +344,10 @@ the Policy Framework works in a full ONAP deployment.
.. toctree::
:maxdepth: 1
- clamp-policy.rst
-
- clamp-dcae.rst
-
- policy-cds.rst
-
- clamp-sdc.rst
+ pairwise/clamp-policy.rst
+ pairwise/clamp-dcae.rst
+ pairwise/policy-cds.rst
+ pairwise/clamp-sdc.rst
..
api-pairwise.rst
diff --git a/docs/development/devtools/clamp-dcae.rst b/docs/development/devtools/pairwise/clamp-dcae.rst
index 0d48c2bc..0d48c2bc 100644
--- a/docs/development/devtools/clamp-dcae.rst
+++ b/docs/development/devtools/pairwise/clamp-dcae.rst
diff --git a/docs/development/devtools/clamp-policy.rst b/docs/development/devtools/pairwise/clamp-policy.rst
index 0a25ce81..0a25ce81 100644
--- a/docs/development/devtools/clamp-policy.rst
+++ b/docs/development/devtools/pairwise/clamp-policy.rst
diff --git a/docs/development/devtools/clamp-sdc.rst b/docs/development/devtools/pairwise/clamp-sdc.rst
index c82fb2ce..c82fb2ce 100644
--- a/docs/development/devtools/clamp-sdc.rst
+++ b/docs/development/devtools/pairwise/clamp-sdc.rst
diff --git a/docs/development/devtools/images/ac-commission.png b/docs/development/devtools/pairwise/images/ac-commission.png
index 10d71181..10d71181 100644
--- a/docs/development/devtools/images/ac-commission.png
+++ b/docs/development/devtools/pairwise/images/ac-commission.png
Binary files differ
diff --git a/docs/development/devtools/images/ac-create.png b/docs/development/devtools/pairwise/images/ac-create.png
index df97a170..df97a170 100644
--- a/docs/development/devtools/images/ac-create.png
+++ b/docs/development/devtools/pairwise/images/ac-create.png
Binary files differ
diff --git a/docs/development/devtools/images/ac-instantiation.png b/docs/development/devtools/pairwise/images/ac-instantiation.png
index b1101ffb..b1101ffb 100644
--- a/docs/development/devtools/images/ac-instantiation.png
+++ b/docs/development/devtools/pairwise/images/ac-instantiation.png
Binary files differ
diff --git a/docs/development/devtools/images/ac-passive.png b/docs/development/devtools/pairwise/images/ac-passive.png
index def811a5..def811a5 100644
--- a/docs/development/devtools/images/ac-passive.png
+++ b/docs/development/devtools/pairwise/images/ac-passive.png
Binary files differ
diff --git a/docs/development/devtools/images/ac-uninitialise.png b/docs/development/devtools/pairwise/images/ac-uninitialise.png
index d10b214c..d10b214c 100644
--- a/docs/development/devtools/images/ac-uninitialise.png
+++ b/docs/development/devtools/pairwise/images/ac-uninitialise.png
Binary files differ
diff --git a/docs/development/devtools/images/ac-uninitialised-state.png b/docs/development/devtools/pairwise/images/ac-uninitialised-state.png
index f8a77da8..f8a77da8 100644
--- a/docs/development/devtools/images/ac-uninitialised-state.png
+++ b/docs/development/devtools/pairwise/images/ac-uninitialised-state.png
Binary files differ
diff --git a/docs/development/devtools/images/ac-upload.png b/docs/development/devtools/pairwise/images/ac-upload.png
index efe51341..efe51341 100644
--- a/docs/development/devtools/images/ac-upload.png
+++ b/docs/development/devtools/pairwise/images/ac-upload.png
Binary files differ
diff --git a/docs/development/devtools/images/create-instance.png b/docs/development/devtools/pairwise/images/create-instance.png
index 3b3c0c21..3b3c0c21 100644
--- a/docs/development/devtools/images/create-instance.png
+++ b/docs/development/devtools/pairwise/images/create-instance.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_compose_acm.png b/docs/development/devtools/pairwise/images/sdc_compose_acm.png
index 3bdc9305..3bdc9305 100644
--- a/docs/development/devtools/images/sdc_compose_acm.png
+++ b/docs/development/devtools/pairwise/images/sdc_compose_acm.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_create_acm.png b/docs/development/devtools/pairwise/images/sdc_create_acm.png
index f60492bf..f60492bf 100644
--- a/docs/development/devtools/images/sdc_create_acm.png
+++ b/docs/development/devtools/pairwise/images/sdc_create_acm.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_create_element.png b/docs/development/devtools/pairwise/images/sdc_create_element.png
index 42d28b3e..42d28b3e 100644
--- a/docs/development/devtools/images/sdc_create_element.png
+++ b/docs/development/devtools/pairwise/images/sdc_create_element.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_create_participant.png b/docs/development/devtools/pairwise/images/sdc_create_participant.png
index 4178127f..4178127f 100644
--- a/docs/development/devtools/images/sdc_create_participant.png
+++ b/docs/development/devtools/pairwise/images/sdc_create_participant.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_distribute.png b/docs/development/devtools/pairwise/images/sdc_distribute.png
index cffffaed..cffffaed 100644
--- a/docs/development/devtools/images/sdc_distribute.png
+++ b/docs/development/devtools/pairwise/images/sdc_distribute.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_element_props.png b/docs/development/devtools/pairwise/images/sdc_element_props.png
index f2227465..f2227465 100644
--- a/docs/development/devtools/images/sdc_element_props.png
+++ b/docs/development/devtools/pairwise/images/sdc_element_props.png
Binary files differ
diff --git a/docs/development/devtools/images/sdc_tosca.png b/docs/development/devtools/pairwise/images/sdc_tosca.png
index eb881581..eb881581 100644
--- a/docs/development/devtools/images/sdc_tosca.png
+++ b/docs/development/devtools/pairwise/images/sdc_tosca.png
Binary files differ
diff --git a/docs/development/devtools/images/update-instance.png b/docs/development/devtools/pairwise/images/update-instance.png
index fa1ee095..fa1ee095 100644
--- a/docs/development/devtools/images/update-instance.png
+++ b/docs/development/devtools/pairwise/images/update-instance.png
Binary files differ
diff --git a/docs/development/devtools/policy-cds.rst b/docs/development/devtools/pairwise/policy-cds.rst
index be6fd319..09b8f144 100644
--- a/docs/development/devtools/policy-cds.rst
+++ b/docs/development/devtools/pairwise/policy-cds.rst
@@ -53,7 +53,7 @@ In a real Automation Composition flow, the entities in AAI will be either create
Download & execute the steps in postman collection for creating the entities along with its dependencies.
The steps need to be performed sequentially one after another. And no input is required from user.
-:download:`Create VNF & PNF in AAI <postman/create-vnf-pnf-aai.postman_collection.json>`
+:download:`Create VNF & PNF in AAI </development/devtools/postman/create-vnf-pnf-aai.postman_collection.json>`
Make sure to skip the delete VNF & PNF steps.
@@ -64,14 +64,14 @@ In order for PDP engines to trigger an action in CDS during runtime execution, w
Download the zip files containing the blueprint for VNF & PNF specific actions.
-:download:`VNF Test CBA <cds-cba/vnf-test-cba.zip>`
-:download:`PNF Test CBA <cds-cba/pnf-test-cba.zip>`
+:download:`VNF Test CBA </development/devtools/cds-cba/vnf-test-cba.zip>`
+:download:`PNF Test CBA </development/devtools/cds-cba/pnf-test-cba.zip>`
Download & execute the steps in postman collection for publishing the blueprints in CDS.
In the enrich & publish CBA step, provide the previously downloaded zip file one by one.
The execute steps are provided to verify that the blueprints are working as expected.
-:download:`Publish Blueprints in CDS <postman/publish-cba-CDS.postman_collection.json>`
+:download:`Publish Blueprints in CDS </development/devtools/postman/publish-cba-CDS.postman_collection.json>`
Make sure to skip the delete CBA step.
@@ -96,7 +96,7 @@ List of steps covered in the postman collection:
Download & execute the steps in postman collection.
The steps need to be performed sequentially one after another. And no input is required from user.
-:download:`Apex-PDP VNF & PNF Testing <postman/apex-pdp-vnf-pnf-testing.postman_collection.json>`
+:download:`Apex-PDP VNF & PNF Testing </development/devtools/postman/apex-pdp-vnf-pnf-testing.postman_collection.json>`
Make sure to wait for 2 minutes (the default heartbeat interval) to verify PDP Statistics.
@@ -120,7 +120,7 @@ List of steps covered in the postman collection:
Download & execute the steps in postman collection.
The steps need to be performed sequentially one after another. And no input is required from user.
-:download:`Drools-PDP VNF & PNF Testing <postman/drools-pdp-vnf-pnf-testing.postman_collection.json>`
+:download:`Drools-PDP VNF & PNF Testing </development/devtools/postman/drools-pdp-vnf-pnf-testing.postman_collection.json>`
Make sure to wait for 2 minutes (the default heartbeat interval) to verify PDP Statistics.
diff --git a/docs/development/devtools/tosca/pairwise-testing.yml b/docs/development/devtools/pairwise/tosca/pairwise-testing.yml
index 108ea4a9..108ea4a9 100644
--- a/docs/development/devtools/tosca/pairwise-testing.yml
+++ b/docs/development/devtools/pairwise/tosca/pairwise-testing.yml
diff --git a/docs/development/devtools/smoke/apex-smoke.rst b/docs/development/devtools/smoke/apex-smoke.rst
index 3ad44fdd..b550ec54 100644
--- a/docs/development/devtools/smoke/apex-smoke.rst
+++ b/docs/development/devtools/smoke/apex-smoke.rst
@@ -50,7 +50,7 @@ In a real control loop flow, the entities in AAI will be either created during o
Download & execute the steps in postman collection for creating the entities along with its dependencies.
The steps need to be performed sequentially one after another. And no input is required from user.
-:download:`Create VNF & PNF in AAI <postman/create-vnf-pnf-aai.postman_collection.json>`
+:download:`Create VNF & PNF in AAI </development/devtools/postman/create-vnf-pnf-aai.postman_collection.json>`
Make sure to skip the delete VNF & PNF steps.
@@ -61,14 +61,14 @@ In order for PDP engines to trigger an action in CDS during runtime execution, w
Download the zip files containing the blueprint for VNF & PNF specific actions.
-:download:`VNF Test CBA <cds-cba/vnf-test-cba.zip>`
-:download:`PNF Test CBA <cds-cba/pnf-test-cba.zip>`
+:download:`VNF Test CBA </development/devtools/cds-cba/vnf-test-cba.zip>`
+:download:`PNF Test CBA </development/devtools/cds-cba/pnf-test-cba.zip>`
Download & execute the steps in postman collection for publishing the blueprints in CDS.
In the enrich & publish CBA step, provide the previously downloaded zip file one by one.
The execute steps are provided to verify that the blueprints are working as expected.
-:download:`Publish Blueprints in CDS <postman/publish-cba-CDS.postman_collection.json>`
+:download:`Publish Blueprints in CDS </development/devtools/postman/publish-cba-CDS.postman_collection.json>`
Make sure to skip the delete CBA step.
@@ -93,7 +93,7 @@ List of steps covered in the postman collection:
Download & execute the steps in postman collection.
The steps need to be performed sequentially one after another. And no input is required from user.
-:download:`Apex-PDP VNF & PNF Testing <postman/apex-pdp-vnf-pnf-testing.postman_collection.json>`
+:download:`Apex-PDP VNF & PNF Testing </development/devtools/postman/apex-pdp-vnf-pnf-testing.postman_collection.json>`
Make sure to wait for 2 minutes (the default heartbeat interval) to verify PDP Statistics.
diff --git a/docs/development/devtools/smoke/cds-cba/pnf-test-cba.zip b/docs/development/devtools/smoke/cds-cba/pnf-test-cba.zip
deleted file mode 100644
index 393d4c5d..00000000
--- a/docs/development/devtools/smoke/cds-cba/pnf-test-cba.zip
+++ /dev/null
Binary files differ
diff --git a/docs/development/devtools/smoke/cds-cba/vnf-test-cba.zip b/docs/development/devtools/smoke/cds-cba/vnf-test-cba.zip
deleted file mode 100644
index 3c0a689b..00000000
--- a/docs/development/devtools/smoke/cds-cba/vnf-test-cba.zip
+++ /dev/null
Binary files differ
diff --git a/docs/development/devtools/smoke/postman/apex-pdp-vnf-pnf-testing.postman_collection.json b/docs/development/devtools/smoke/postman/apex-pdp-vnf-pnf-testing.postman_collection.json
deleted file mode 100644
index a5a2cff8..00000000
--- a/docs/development/devtools/smoke/postman/apex-pdp-vnf-pnf-testing.postman_collection.json
+++ /dev/null
@@ -1,1244 +0,0 @@
-{
- "info": {
- "_postman_id": "1b22468c-e177-4ac2-8854-c246c35420a7",
- "name": "Apex-PDP VNF & PNF Testing",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "Create VNF Policy",
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"tosca_definitions_version\": \"tosca_simple_yaml_1_1_0\",\n \"topology_template\": {\n \"policies\": [\n {\n \"onap.policies.apex.vnf.Example\": {\n \"type\": \"onap.policies.native.Apex\",\n \"type_version\": \"1.0.0\",\n \"name\": \"onap.policies.apex.vnf.Example\",\n \"version\": \"1.0.0\",\n \"properties\": {\n \"engineServiceParameters\": {\n \"name\": \"TestApexEngine\",\n \"version\": \"0.0.1\",\n \"id\": 45,\n \"instanceCount\": 1,\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 }\n },\n \"taskParameters\": [\n {\n \"key\": \"logUrl\",\n \"value\": \"http://message-router:3904/events/APEX-CL-MGT\"\n }\n ]\n },\n \"policy_type_impl\": {\n \"apexPolicyModel\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy\",\n \"version\": \"0.0.1\"\n },\n \"keyInformation\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_KeyInfo\",\n \"version\": \"0.0.1\"\n },\n \"keyInfoMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"f99c27f7-24bf-3634-ac7a-1b3880b14bfc\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Albums\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Albums\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"c5a78c12-64b7-3a10-a253-c5bf632933de\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy_Albums:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Events\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Events\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b7146854-a0b4-3771-9c67-155cc8bf011a\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy_Events:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy_KeyInfo\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_KeyInfo\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"77c36041-d09f-3299-bea5-daa1ba859b64\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy_KeyInfo:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Policies\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Policies\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"72a336b7-8093-32a2-9f77-cdb50fcd96d5\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy_Policies:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Schemas\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Schemas\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"d4a51349-3b55-35be-a7e2-a9df3db2bab4\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy_Schemas:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Tasks\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Tasks\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"dcf945e6-8191-3b1f-ad79-a456c287a5ab\",\n \"description\": \"Generated description for concept referred to by key \\\"APEXExamplePolicy_Tasks:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"fc0c1892-a2ae-3678-818f-b9b23939b241\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_AAIFailureResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ba931e7e-aee9-3af8-98d8-16b92a909e8a\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_AAIFailureResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b4dd59c5-0169-3810-800c-1396c2206de4\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_AAIRequestErrorType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"599c297e-96c8-3b21-ad1c-e643bddeacbf\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_AAIRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b5e3f122-2dcd-3cdf-a0ec-8210b3f80478\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_AAISuccessResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"15504e23-78c5-305e-9fce-cf1f50e75013\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_AAISuccessResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"e2715e7d-835e-32c7-b433-a2e92bcad6ee\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSActionIdentifiersType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b492e841-2c03-36a9-9ec2-dda5852152c3\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifyFailureResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ef4e45f4-1181-3121-a3b6-507126df25e7\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"91cb711a-0c73-3f51-83e6-fca9c547c71d\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifyFailureResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"dda3c648-dc8b-38e0-855d-9cb72397f957\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifyRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"96b306bd-6dee-3d47-981c-eaac316d5ae1\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifyResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"1b65abfb-ce35-3765-9b9c-d2ee02bef28b\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifySuccessResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"4dac3de7-3817-396f-91d6-ce701d162877\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"92dc9e6b-2082-3d90-ba5e-f2dba18b72b6\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSConfigModifySuccessResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"a6801c93-f15b-3158-ba33-7760197d3609\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSFailureResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"e2da0a15-c542-3e77-874d-4512e9b4162e\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSFailureResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"f54edff0-532f-3142-8e65-a5c9d67888ef\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRequestCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b967dc44-a156-32d3-a796-f03dbf74316c\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRequestPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"f2aa4552-069d-3db8-8638-2d1f59124e7a\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartFailureResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"c2e3b07f-2c09-3195-9527-6b3ab0666d61\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartFailureResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"a7c28cc1-9fe5-30b7-9dd8-5a4f7f7d811e\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartFailureResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"d01d1022-48ac-391d-904d-282ccb063f8a\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ad8cbd94-6eb5-3743-8a7d-42cbe49a5320\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"bbb06330-9161-392e-a0ca-a6bb5e3376af\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartSuccessResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"70c6c6e5-00da-30cb-8ec0-14437d657f39\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartSuccessResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"77f16151-80b5-304c-a448-19d8528feed1\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSRestartSuccessResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"2f17aee2-fbdf-3c41-a779-f9c17b5bda5b\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSSuccessResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"8c554852-3ed6-3027-a0d3-fccd2db19875\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_CDSSuccessResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b402baca-915b-3952-97fc-d9899f9ca81c\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_EventDetailsAlbum:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"3626f32a-eee6-3254-b3d4-e4829518c381\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_EventDetailsAlbumType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"87abb453-a919-3131-8ffb-3e5c910c6049\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_HandleAAIFailureResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"8881e644-3cca-3aec-8201-312ca6f719e0\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_HandleAAISuccessResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"057f6ddd-d6aa-3ce2-a060-d344de16d7f3\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_HandleVesEventTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"4867b1e7-a819-3b9f-be2b-a97fe6019827\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_LogStatusEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"975b3071-b775-3617-a888-f831fe5a31db\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_VesEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ad9efe17-a03e-3b64-8e8a-51e144f57d2c\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_VesEventHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"0054393c-10df-3214-af86-cb04a23325bf\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_VesEventType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VnfRelationShipListType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VnfRelationShipListType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"865a5903-201b-34ff-918b-2bfdde743576\",\n \"description\": \"Generated description for concept referred to by key \\\"ApexExample_VnfRelationShipListType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleBooleanType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleLongType: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 }\n },\n \"policies\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Policies\",\n \"version\": \"0.0.1\"\n },\n \"policyMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_ReceiveAAIFailureResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_ReceiveAAIFailureResponseState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_AAIFailureStateOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveAAIFailureResponseState\",\n \"localName\": \"ApexExample_AAIFailureStateOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveAAIFailureResponseState\",\n \"localName\": \"ApexExample_AAIFailureResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveAAIFailureResponseState\",\n \"localName\": \"ApexExample_AAIFailureStateOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_ReceiveAAIFailureResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_ReceiveAAISuccessResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_ReceiveAAISuccessResponseState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_AAISuccessStateOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveAAISuccessResponseState\",\n \"localName\": \"ApexExample_AAISuccessStateOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveAAISuccessResponseState\",\n \"localName\": \"ApexExample_AAISuccessResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveAAISuccessResponseState\",\n \"localName\": \"ApexExample_AAISuccessStateOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_ReceiveAAISuccessResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_CDSConfigModifyFailureResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_CDSConfigModifyFailureResponseState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_ConfigModifyFailureResponseOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSConfigModifyFailureResponseState\",\n \"localName\": \"ApexExample_ConfigModifyFailureResponseOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSConfigModifyFailureResponseState\",\n \"localName\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSConfigModifyFailureResponseState\",\n \"localName\": \"ApexExample_ConfigModifyFailureResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_CDSConfigModifyFailureResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_CDSConfigModifySuccessResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_CDSConfigModifySuccessResponseState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_ConfigModifySuccessResponseOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSConfigModifySuccessResponseState\",\n \"localName\": \"ApexExample_ConfigModifySuccessResponseOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_CDSRestartRequestEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSConfigModifySuccessResponseState\",\n \"localName\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSConfigModifySuccessResponseState\",\n \"localName\": \"ApexExample_ConfigModifySuccessResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_CDSConfigModifySuccessResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_CDSRestartFailureResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_CDSRestartFailureResponseState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_RestartFailureResponseOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSRestartFailureResponseState\",\n \"localName\": \"ApexExample_RestartFailureResponseOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSRestartFailureResponseState\",\n \"localName\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_CDSRestartFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSRestartFailureResponseState\",\n \"localName\": \"ApexExample_RestartFailureResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_CDSRestartFailureResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_CDSRestartSuccessResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_CDSRestartSuccessResponseState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_RestartSuccessResponseOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSRestartSuccessResponseState\",\n \"localName\": \"ApexExample_RestartSuccessResponseOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSRestartSuccessResponseState\",\n \"localName\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_CDSRestartSuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_CDSRestartSuccessResponseState\",\n \"localName\": \"ApexExample_RestartSuccessResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_CDSRestartSuccessResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"ApexExample_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_ReceiveVesState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"ApexExample_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"ApexExample_ReceiveVesState\"\n },\n \"trigger\": {\n \"name\": \"ApexExample_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ApexExample_VesOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveVesState\",\n \"localName\": \"ApexExample_VesOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"ApexExample_AAIRequestEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"ApexExample_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"ApexExample_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveVesState\",\n \"localName\": \"ApexExample_VesEventHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"ApexExample_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"ApexExample_ReceiveVesState\",\n \"localName\": \"ApexExample_VesOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"ApexExample_ReceiveVesState\"\n }\n }\n ]\n }\n },\n \"tasks\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Tasks\",\n \"version\": \"0.0.1\"\n },\n \"taskMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"eventId\",\n \"value\": {\n \"key\": \"eventId\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingEnd\",\n \"value\": {\n \"key\": \"eventProcessingEnd\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingStart\",\n \"value\": {\n \"key\": \"eventProcessingStart\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"from\",\n \"value\": {\n \"key\": \"from\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\n\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\n\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").get(albumID.toString());\\nexecutor.outFields.put(\\\"eventProcessingStart\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"startEpochMicrosec\\\"));\\nexecutor.outFields.put(\\\"eventProcessingEnd\\\", longType(new Date().getTime()));\\nexecutor.outFields.put(\\\"eventId\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"eventId\\\"));\\nexecutor.outFields.put(\\\"from\\\", \\\"APEX\\\");\\nexecutor.outFields.put(\\\"status\\\", \\\"FAILURE\\\");\\nexecutor.outFields.put(\\\"message\\\", \\\"ConfigModify operation failed. \\\"+executor.inFields.get(\\\"status\\\").get(\\\"errorMessage\\\"));\\nexecutor.logger.info(executor.outFields);\\ntrue;\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_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\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\n\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").get(albumID.toString());\\nvar commonEventHeader = eventDetailsAlbum.get(\\\"commonEventHeader\\\");\\nvar faultFields = eventDetailsAlbum.get(\\\"faultFields\\\");\\nvar vnfDetails = eventDetailsAlbum.get(\\\"vnfDetails\\\");\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"subRequestId\\\", commonEventHeader.get(\\\"eventId\\\"));\\ncommonHeader.put(\\\"requestId\\\", uuidType.randomUUID().toString());\\ncommonHeader.put(\\\"originatorId\\\", \\\"POLICY\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\nactionIdentifiers.put(\\\"blueprintName\\\", \\\"vnf-test-cba\\\");\\nactionIdentifiers.put(\\\"blueprintVersion\\\", \\\"1.0.0\\\");\\nactionIdentifiers.put(\\\"actionName\\\", \\\"restart\\\");\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"update_DasH_properties_record\\\");\\npayloadProperties.put(\\\"service_DasH_instance_DoT_service_DasH_instance_DasH_id\\\", vnfDetails.get(\\\"service-id\\\").toString())\\npayloadProperties.put(\\\"generic_DasH_vnf_DoT_vnf_DasH_id\\\", vnfDetails.get(\\\"vnf-name\\\").toString())\\nvar dataRecord = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"update_DasH_data_record\\\");\\ndataRecord.put(\\\"active_DasH_streams\\\",\\\"7\\\")\\npayloadProperties.put(\\\"data\\\", dataRecord)\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(\\\"update_DasH_properties\\\", payloadProperties)\\npayloadEntry.put(\\\"vfStatus\\\", faultFields.get(\\\"vfStatus\\\"))\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\npayload.put(\\\"restart_DasH_request\\\", payloadEntry);\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\n\\nexecutor.logger.info(+executor.outFields);\\ntrue;\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"eventId\",\n \"value\": {\n \"key\": \"eventId\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingEnd\",\n \"value\": {\n \"key\": \"eventProcessingEnd\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingStart\",\n \"value\": {\n \"key\": \"eventProcessingStart\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"from\",\n \"value\": {\n \"key\": \"from\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\n\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").get(albumID.toString());\\nexecutor.outFields.put(\\\"eventProcessingStart\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"startEpochMicrosec\\\"));\\nexecutor.outFields.put(\\\"eventProcessingEnd\\\", longType(new Date().getTime()));\\nexecutor.outFields.put(\\\"eventId\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"eventId\\\"));\\nexecutor.outFields.put(\\\"from\\\", \\\"APEX\\\");\\nexecutor.outFields.put(\\\"status\\\", \\\"FAILURE\\\");\\nexecutor.outFields.put(\\\"message\\\", \\\"Restart operation failed. \\\" + executor.inFields.get(\\\"status\\\").get(\\\"errorMessage\\\"));\\nexecutor.logger.info(executor.outFields);\\ntrue;\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"eventId\",\n \"value\": {\n \"key\": \"eventId\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingEnd\",\n \"value\": {\n \"key\": \"eventProcessingEnd\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingStart\",\n \"value\": {\n \"key\": \"eventProcessingStart\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"from\",\n \"value\": {\n \"key\": \"from\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\n\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\n\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").get(albumID.toString());\\nexecutor.outFields.put(\\\"eventProcessingStart\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"startEpochMicrosec\\\"));\\nexecutor.outFields.put(\\\"eventProcessingEnd\\\", longType(new Date().getTime()));\\nexecutor.outFields.put(\\\"eventId\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"eventId\\\"));\\nexecutor.outFields.put(\\\"from\\\", \\\"APEX\\\");\\nexecutor.outFields.put(\\\"status\\\", \\\"SUCCESS\\\");\\nexecutor.outFields.put(\\\"message\\\", \\\"Action Completed.\\\");\\nexecutor.logger.info(executor.outFields);\\ntrue;\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"requestError\",\n \"value\": {\n \"key\": \"requestError\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"eventId\",\n \"value\": {\n \"key\": \"eventId\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingEnd\",\n \"value\": {\n \"key\": \"eventProcessingEnd\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingStart\",\n \"value\": {\n \"key\": \"eventProcessingStart\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"from\",\n \"value\": {\n \"key\": \"from\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\n\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\n\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").get(albumID.toString());\\nvar aaiErrorMessage = executor.inFields.get(\\\"requestError\\\").get(\\\"serviceException\\\").get(\\\"text\\\");\\nexecutor.outFields.put(\\\"eventProcessingStart\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"startEpochMicrosec\\\"));\\nexecutor.outFields.put(\\\"eventProcessingEnd\\\", longType(new Date().getTime()));\\nexecutor.outFields.put(\\\"eventId\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"eventId\\\"));\\nexecutor.outFields.put(\\\"from\\\", \\\"APEX\\\");\\nexecutor.outFields.put(\\\"status\\\", \\\"FAILURE\\\");\\nexecutor.outFields.put(\\\"message\\\", aaiErrorMessage);\\ntrue;\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"in-maint\",\n \"value\": {\n \"key\": \"in-maint\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"is-closed-loop-disabled\",\n \"value\": {\n \"key\": \"is-closed-loop-disabled\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"model-customization-id\",\n \"value\": {\n \"key\": \"model-customization-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"model-invariant-id\",\n \"value\": {\n \"key\": \"model-invariant-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"model-version-id\",\n \"value\": {\n \"key\": \"model-version-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"orchestration-status\",\n \"value\": {\n \"key\": \"orchestration-status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"prov-status\",\n \"value\": {\n \"key\": \"prov-status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"relationship-list\",\n \"value\": {\n \"key\": \"relationship-list\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_VnfRelationShipListType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"resource-version\",\n \"value\": {\n \"key\": \"resource-version\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"service-id\",\n \"value\": {\n \"key\": \"service-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"vnf-id\",\n \"value\": {\n \"key\": \"vnf-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"vnf-name\",\n \"value\": {\n \"key\": \"vnf-name\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"vnf-type\",\n \"value\": {\n \"key\": \"vnf-type\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_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\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar HashMapType = java.util.HashMap;\\n\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").get(albumID.toString());\\n\\nvar vnfDetails = executor.inFields;\\nexecutor.logger.info(\\\"ApexExample_HandleAAISuccessResponseTask processing event - \\\" + vnfDetails);\\neventDetailsAlbum.put(\\\"vnfDetails\\\", vnfDetails);\\nvar commonEventHeader = eventDetailsAlbum.get(\\\"commonEventHeader\\\");\\nvar faultFields = eventDetailsAlbum.get(\\\"faultFields\\\");\\n\\nvar commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\ncommonHeader.put(\\\"subRequestId\\\", commonEventHeader.get(\\\"eventId\\\"));\\ncommonHeader.put(\\\"requestId\\\", uuidType.randomUUID().toString());\\ncommonHeader.put(\\\"originatorId\\\", \\\"POLICY\\\");\\n\\nvar actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\nactionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\nactionIdentifiers.put(\\\"blueprintName\\\", \\\"vnf-test-cba\\\");\\nactionIdentifiers.put(\\\"blueprintVersion\\\", \\\"1.0.0\\\");\\nactionIdentifiers.put(\\\"actionName\\\", \\\"modify-config\\\");\\n\\nvar payloadProperties = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"update_DasH_properties_record\\\");\\npayloadProperties.put(\\\"service_DasH_instance_DoT_service_DasH_instance_DasH_id\\\", vnfDetails.get(\\\"service-id\\\").toString())\\npayloadProperties.put(\\\"generic_DasH_vnf_DoT_vnf_DasH_id\\\", vnfDetails.get(\\\"vnf-id\\\").toString())\\nvar dataRecord = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"update_DasH_data_record\\\");\\ndataRecord.put(\\\"active_DasH_streams\\\",\\\"7\\\")\\npayloadProperties.put(\\\"data\\\", dataRecord)\\nvar payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSRequestPayloadEntry\\\");\\npayloadEntry.put(\\\"update_DasH_properties\\\", payloadProperties)\\npayloadEntry.put(\\\"vfStatus\\\", faultFields.get(\\\"vfStatus\\\"))\\nvar payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\nvar payloadSchemaHelper = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\");\\npayload.put(\\\"modify_DasH_config_DasH_request\\\", payloadEntry);\\n\\n//always use the executor.stringify2json method instead of JSON.strngify\\nexecutor.logger.info(\\\"CDS modify config request payload - \\\" + executor.stringify2Json(payload, payloadSchemaHelper));\\n\\nexecutor.outFields.put(\\\"commonHeader\\\", commonHeader);\\nexecutor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\nexecutor.outFields.put(\\\"payload\\\", payload);\\ntrue;\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"event\",\n \"value\": {\n \"key\": \"event\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"aaifield\",\n \"value\": {\n \"key\": \"aaifield\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar HashMapType = java.util.HashMap;\\nvar longType = java.lang.Long;\\n\\n//albumID will be used to fetch info from our album later\\nvar albumID = uuidType.fromString(\\\"d0050623-18e5-46c9-9298-9a567990cd7c\\\");\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").getSchemaHelper().createNewInstance();\\nvar returnValue = true;\\n\\nvar event = executor.inFields.get(\\\"event\\\");\\nexecutor.logger.info(\\\"ApexExample_HandleVesEventTask processing VesEvent - \\\" + event);\\n\\nvar commonEventHeader = event.get(\\\"commonEventHeader\\\");\\nvar faultFields = event.get(\\\"faultFields\\\");\\n// save the event processing start time in apex\\ncommonEventHeader.put(\\\"startEpochMicrosec\\\", longType(new Date().getTime()));\\n//save the incoming fault event details to album\\neventDetailsAlbum.put(\\\"commonEventHeader\\\", commonEventHeader)\\neventDetailsAlbum.put(\\\"faultFields\\\", faultFields)\\nexecutor.getContextAlbum(\\\"ApexExample_EventDetailsAlbum\\\").put(albumID.toString(), eventDetailsAlbum);\\n\\nexecutor.getExecutionProperties().setProperty(\\\"vnf-name\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"sourceName\\\"));\\n\\nexecutor.logger.info(executor.outFields);\\nexecutor.logger.info(\\\"sending the status to log.\\\");\\n\\nvar logData = new HashMapType();\\nlogData.put(\\\"eventProcessingStart\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"startEpochMicrosec\\\"));\\nlogData.put(\\\"eventProcessingEnd\\\", longType(new Date().getTime()));\\nlogData.put(\\\"eventId\\\", eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"eventId\\\"));\\nlogData.put(\\\"from\\\", \\\"Apex-PDP\\\");\\nlogData.put(\\\"status\\\", \\\"ACTIVE\\\");\\nlogData.put(\\\"message\\\", \\\"VES Event received\\\");\\n\\n//always use the executor.stringify2json method instead of JSON.strngify\\nfireLogEvent(executor.stringify2Json(logData));\\nreturnValue;\\n\\n\\nfunction fireLogEvent(logEvent){\\n var headers = new HashMapType();\\n //headers.put(\\\"Authorization\\\" , \\\"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\\\");\\n executor.logger.info(\\\"LogEvent:\\\"+logEvent);\\n var response = new org.onap.policy.rest.RestManager().post(\\n executor.getParameters().get(\\\"logUrl\\\"),\\n \\\"\\\",\\n \\\"\\\",\\n headers,\\n \\\"application/json\\\",\\n logEvent\\n );\\n executor.logger.info(\\\"DMaaP Response after sending LogEvent: \\\" + response);\\n return response;\\n}\"\n }\n }\n }\n ]\n }\n },\n \"events\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Events\",\n \"version\": \"0.0.1\"\n },\n \"eventMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"AAI\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"requestError\",\n \"value\": {\n \"key\": \"requestError\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"APEX\",\n \"target\": \"AAI\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"aaifield\",\n \"value\": {\n \"key\": \"aaifield\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"AAI\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"in-maint\",\n \"value\": {\n \"key\": \"in-maint\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"is-closed-loop-disabled\",\n \"value\": {\n \"key\": \"is-closed-loop-disabled\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"model-customization-id\",\n \"value\": {\n \"key\": \"model-customization-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"model-invariant-id\",\n \"value\": {\n \"key\": \"model-invariant-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"model-version-id\",\n \"value\": {\n \"key\": \"model-version-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"orchestration-status\",\n \"value\": {\n \"key\": \"orchestration-status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"prov-status\",\n \"value\": {\n \"key\": \"prov-status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"relationship-list\",\n \"value\": {\n \"key\": \"relationship-list\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_VnfRelationShipListType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"resource-version\",\n \"value\": {\n \"key\": \"resource-version\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"service-id\",\n \"value\": {\n \"key\": \"service-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"vnf-id\",\n \"value\": {\n \"key\": \"vnf-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"vnf-name\",\n \"value\": {\n \"key\": \"vnf-name\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"vnf-type\",\n \"value\": {\n \"key\": \"vnf-type\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"CDS\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"APEX\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_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\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"CDS\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"CDS\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"APEX\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_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\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartSuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"CDS\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_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\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"APEX\",\n \"target\": \"DCAE\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"eventId\",\n \"value\": {\n \"key\": \"eventId\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingEnd\",\n \"value\": {\n \"key\": \"eventProcessingEnd\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"eventProcessingStart\",\n \"value\": {\n \"key\": \"eventProcessingStart\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"from\",\n \"value\": {\n \"key\": \"from\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.example\",\n \"source\": \"DCAE\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"event\",\n \"value\": {\n \"key\": \"event\",\n \"fieldSchemaKey\": {\n \"name\": \"ApexExample_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n \"albums\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Albums\",\n \"version\": \"0.0.1\"\n },\n \"albums\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"scope\": \"policy\",\n \"isWritable\": true,\n \"itemSchema\": {\n \"name\": \"ApexExample_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n }\n }\n }\n ]\n }\n },\n \"schemas\": {\n \"key\": {\n \"name\": \"APEXExamplePolicy_Schemas\",\n \"version\": \"0.0.1\"\n },\n \"schemas\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"AAIRequestErrorType\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"serviceException\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"serviceException\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"messageId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"text\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"variables\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSActionIdentifiers_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\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"CDSConfigResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"modify_DasH_config_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"modify_DasH_config_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"execute_DasH_command_DasH_logs\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n },\\n {\\n \\\"name\\\": \\\"prepare_DasH_environment_DasH_logs\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseCommonHeader_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}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseStatus_Type\\\",\\n \\\"namespace\\\": \\\"org.onap.policy.apex.onap.helloworld\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"code\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"errorMessage\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSRequestCommonHeader_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\": \"ApexExample_CDSRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRequestPayloadType\",\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\\\": \\\"vfStatus\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"update_DasH_properties\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"update_DasH_properties_record\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"service_DasH_instance_DoT_service_DasH_instance_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"generic_DasH_vnf_DoT_vnf_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"data\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"update_DasH_data_record\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"active_DasH_streams\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSRestartResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"CDSRestartResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"restart_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"restart_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"execute_DasH_command_DasH_logs\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n },\\n {\\n \\\"name\\\": \\\"prepare_DasH_environment_DasH_logs\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseCommonHeader_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}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseStatus_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\": \"ApexExample_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"eventDetails\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"commonEventHeader\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"commonEventHeader\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"domain\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"lastEpochMicrosec\\\",\\n \\\"type\\\": \\\"long\\\"\\n },\\n {\\n \\\"name\\\": \\\"priority\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"reportingEntityName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"sequence\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"sourceId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"sourceName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"startEpochMicrosec\\\",\\n \\\"type\\\": \\\"long\\\"\\n },\\n {\\n \\\"name\\\": \\\"timeZoneOffset\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"version\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"vesEventListenerVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"faultFields\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"faultFields\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"alarmAdditionalInformation\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"alarmAdditionalInformation\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"PilotNumberPoolSize\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"alarmCondition\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventSeverity\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventSourceType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"faultFieldsVersion\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"specificProblem\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"vfStatus\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"vnfDetails\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"vnfDetails\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"vnf_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"vnf_DasH_name\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"vnf_DasH_type\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"service_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"prov_DasH_status\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"orchestration_DasH_status\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"in_DasH_maint\\\",\\n \\\"type\\\": \\\"boolean\\\"\\n },\\n {\\n \\\"name\\\": \\\"is_DasH_closed_DasH_loop_DasH_disabled\\\",\\n \\\"type\\\": \\\"boolean\\\"\\n },\\n {\\n \\\"name\\\": \\\"resource_DasH_version\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"model_DasH_invariant_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"model_DasH_version_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"model_DasH_customization_DasH_id\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"event\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"namespace\\\": \\\"com.acme.avro\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"commonEventHeader\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"commonEventHeader\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"domain\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"lastEpochMicrosec\\\",\\n \\\"type\\\": \\\"long\\\"\\n },\\n {\\n \\\"name\\\": \\\"priority\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"reportingEntityName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"sequence\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"sourceId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"sourceName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"startEpochMicrosec\\\",\\n \\\"type\\\": \\\"long\\\"\\n },\\n {\\n \\\"name\\\": \\\"timeZoneOffset\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"version\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"vesEventListenerVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"faultFields\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"faultFields\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"alarmAdditionalInformation\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"alarmAdditionalInformation\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"PilotNumberPoolSize\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"alarmCondition\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventSeverity\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventSourceType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"faultFieldsVersion\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"specificProblem\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"vfStatus\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"ApexExample_VnfRelationShipListType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"ApexExample_VnfRelationShipListType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"VnfRelationShipListType\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"relationship\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"relationship_record\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"related_DasH_to\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"relationship_DasH_label\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"related_DasH_link\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"relationship_DasH_data\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"relationship_DasH_data_record\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"relationship_DasH_key\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"relationship_DasH_value\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n },\\n {\\n \\\"name\\\": \\\"related_DasH_to_DasH_property\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"name\\\": \\\"related_DasH_to_DasH_property_record\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"property_DasH_key\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"property_DasH_value\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Java\",\n \"schemaDefinition\": \"java.lang.Boolean\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Java\",\n \"schemaDefinition\": \"java.lang.Long\"\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 }\n }\n }\n }\n },\n \"eventInputParameters\": {\n \"ApexExample_DCAEConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"RESTCLIENT\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\": {\n \"url\": \"http://message-router:3904/events/apex-vnf-input/cl1/apex1?timeout=30000\"\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"ApexExample_VesEvent\"\n },\n \"ApexExample_AAIResponseConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"RESTREQUESTOR\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\": {\n \"url\": \"https://aai:8443/aai/v14/network/generic-vnfs/generic-vnf?vnf-name={vnf-name}\",\n \"httpMethod\": \"GET\",\n \"httpCodeFilter\": \"[245][0-9][0-9]\",\n \"httpHeaders\": [\n [\n \"Accept\",\n \"application/json\"\n ],\n [\n \"Content-Type\",\n \"application/json\"\n ],\n [\n \"X-FromAppId\",\n \"dcae-curl\"\n ],\n [\n \"x-transactionId\",\n \"9998\"\n ],\n [\n \"Authorization\",\n \"Basic QUFJOkFBSQ==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"ApexExample_AAISuccessResponseEvent|ApexExample_AAIFailureResponseEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"ApexExample_AAIProducer\",\n \"requestorTimeout\": 2000\n },\n \"ApexExample_CDSConfigModifyResponseConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"GRPC\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"ApexExample_CDSConfigModifySuccessResponseEvent|ApexExample_CDSConfigModifyFailureResponseEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"ApexExample_CDSConfigModifyRequestProducer\",\n \"requestorTimeout\": 500\n },\n \"ApexExample_CDSRestartResponseConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"GRPC\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"ApexExample_CDSRestartSuccessResponseEvent|ApexExample_CDSRestartFailureResponseEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"ApexExample_CDSRestartRequestProducer\",\n \"requestorTimeout\": 500\n }\n },\n \"eventOutputParameters\": {\n \"ApexExample_AAIProducer\": {\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\": \"ApexExample_AAIRequestEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"ApexExample_AAIResponseConsumer\",\n \"requestorTimeout\": 2000\n },\n \"ApexExample_CDSConfigModifyRequestProducer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"GRPC\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters\",\n \"parameters\": {\n \"host\": \"cds-blueprints-processor-grpc\",\n \"port\": 9111,\n \"username\": \"ccsdkapps\",\n \"password\": \"ccsdkapps\",\n \"timeout\": 60\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventNameFilter\": \"ApexExample_CDSConfigModifyRequestEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"ApexExample_CDSConfigModifyResponseConsumer\",\n \"requestorTimeout\": 500\n },\n \"ApexExample_CDSRestartRequestProducer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"GRPC\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters\",\n \"parameters\": {\n \"host\": \"cds-blueprints-processor-grpc\",\n \"port\": 9111,\n \"username\": \"ccsdkapps\",\n \"password\": \"ccsdkapps\",\n \"timeout\": 60\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventNameFilter\": \"ApexExample_CDSRestartRequestEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"ApexExample_CDSRestartResponseConsumer\",\n \"requestorTimeout\": 500\n },\n \"ApexExample_NotificationProducer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"RESTCLIENT\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\": {\n \"url\": \"http://message-router:3904/events/APEX-CL-MGT\"\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventNameFilter\": \"ApexExample_LogStatusEvent\"\n },\n \"ApexExample_logOutputter\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"FILE\",\n \"parameters\": {\n \"fileName\": \"outputevents.log\"\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n }\n }\n }\n }\n }\n }\n ]\n }\n}"
- },
- "url": {
- "raw": "{{POLICY-API-URL}}/policy/api/v1/policies",
- "host": [
- "{{POLICY-API-URL}}"
- ],
- "path": [
- "policy",
- "api",
- "v1",
- "policies"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Verify VNF Policy",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "url": {
- "raw": "{{POLICY-API-URL}}/policy/api/v1/policies/onap.policies.apex.vnf.Example/versions/1.0.0",
- "host": [
- "{{POLICY-API-URL}}"
- ],
- "path": [
- "policy",
- "api",
- "v1",
- "policies",
- "onap.policies.apex.vnf.Example",
- "versions",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Create PNF Policy",
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"tosca_definitions_version\": \"tosca_simple_yaml_1_1_0\",\n \"topology_template\": {\n \"policies\": [\n {\n \"onap.policies.apex.pnf.Example\": {\n \"type\": \"onap.policies.native.Apex\",\n \"type_version\": \"1.0.0\",\n \"name\": \"onap.policies.apex.pnf.Example\",\n \"version\": \"1.0.0\",\n \"properties\": {\n \"engineServiceParameters\": {\n \"name\": \"TestApexEngine\",\n \"version\": \"0.0.1\",\n \"id\": 45,\n \"instanceCount\": 4,\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 }\n },\n \"taskParameters\": [\n {\n \"key\": \"logUrl\",\n \"value\": \"http://message-router:3904/events/APEX-CL-MGT\"\n }\n ]\n },\n \"policy_type_impl\": {\n \"apexPolicyModel\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop\",\n \"version\": \"0.0.1\"\n },\n \"keyInformation\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_KeyInfo\",\n \"version\": \"0.0.1\"\n },\n \"keyInfoMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleBooleanType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"c8a29e27-0a15-354a-84f9-4c7f207e5c81\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_AAIFailureResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"5e843cee-0180-39b9-8989-180b2ffe11c0\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"90291c92-9b27-3cd9-8720-db572419c048\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_AAIRequestErrorType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"7b7e6751-4e0b-389d-98c0-5567bbc0294c\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_AAIRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"63d5680c-14ef-3505-8d34-ebb646bba07b\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_AAISuccessResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"a84ca97d-6e94-39a2-91f9-59a6c9aa435e\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"0e2ee622-7fd3-3e49-82e2-539c4f5e9624\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSActionIdentifiersType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"e84f8682-ea33-3ad0-8626-8bc4634581fc\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"a252f835-2479-38ef-9ef4-20af62725752\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"cfc46ea9-b8c1-38dd-ac9c-304c916daf34\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"1e7095d6-a455-3f89-acae-486e35d7e311\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"d22ea83b-695d-3da9-b9f5-41f16ca433bf\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"e9fe2e40-1f0d-30dd-8b9e-885695878693\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"5e04fa76-0a17-38a9-8524-23b2d1a23fa5\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"15866380-40f5-3f8e-87d9-13747a36d352\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"2c3d76ce-dd42-32ac-a397-ab418534e1cf\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"b99c44da-dae7-3c96-b528-58852537d063\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"1db688e2-3afe-3b03-9795-fdbfa80fa240\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSFailureResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"31022456-e85b-3a9b-9ecb-a09691792d3e\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSRequestCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"d6075720-622e-3a0d-827a-aa4580a2f5d7\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_CDSSuccessResponseStatusType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_EventDetailsAlbum:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"a0407d0b-5719-38bf-9529-25ad62ace8c4\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_EventDetailsAlbumType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"28e894dc-4ab8-3469-aab7-d81bd05bb4c9\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_HandleAAIFailureResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"073f1433-999e-3506-98ad-ef820d2fa7f0\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_HandleAAISuccessResponseTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_HandleVesEventTask:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"98e1ddd7-3bd9-30c1-b877-4b9b4d3bff15\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_LogStatusEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"0f57665a-f0a9-314e-ad0a-04c1f5758174\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_VesEvent:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_VesEventHandlerPolicy:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleCL_VesEventType:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574\",\n \"description\": \"Generated description for concept referred to by key \\\"SimpleLongType: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\": \"onap.policies.apex.Simplecontrolloop\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ecc97b87-f30b-344c-a476-d36501bf5cbd\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Albums\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Albums\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"1469671a-56dd-3a68-bf6c-77a5cf7a9487\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Events\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Events\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"23c4eee4-aba5-36f6-96d6-46f40061bfed\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop_Events:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_KeyInfo\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_KeyInfo\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"ea9e73ff-483c-3827-896c-6eaa9d69bc6e\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Policies\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Policies\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"38c068e5-bb9a-3997-9e50-ec77c66825c8\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Schemas\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Schemas\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"38514b27-8b9b-3d06-844a-3aced27deb0a\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\\\"\"\n }\n },\n {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Tasks\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Tasks\",\n \"version\": \"0.0.1\"\n },\n \"UUID\": \"0e0387b5-07fa-30e4-8554-eb51d2e18939\",\n \"description\": \"Generated description for concept referred to by key \\\"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\\\"\"\n }\n }\n ]\n }\n },\n \"policies\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Policies\",\n \"version\": \"0.0.1\"\n },\n \"policyMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"SimpleCL_ReceiveAAIFailureResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"SimpleCL_ReceiveAAIFailureResponseState\"\n },\n \"trigger\": {\n \"name\": \"SimpleCL_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"AAIFailureStateOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveAAIFailureResponseState\",\n \"localName\": \"AAIFailureStateOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"SimpleCL_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveAAIFailureResponseState\",\n \"localName\": \"SimpleCL_AAIFailureResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"SimpleCL_AAIFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveAAIFailureResponseState\",\n \"localName\": \"AAIFailureStateOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"SimpleCL_ReceiveAAIFailureResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"SimpleCL_ReceiveAAISuccessResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"SimpleCL_ReceiveAAISuccessResponseState\"\n },\n \"trigger\": {\n \"name\": \"SimpleCL_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"AAISuccessStateOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveAAISuccessResponseState\",\n \"localName\": \"AAISuccessStateOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"SimpleCL_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveAAISuccessResponseState\",\n \"localName\": \"SimpleCL_AAISuccessResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"SimpleCL_AAISuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveAAISuccessResponseState\",\n \"localName\": \"AAISuccessStateOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"SimpleCL_ReceiveAAISuccessResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"SimpleCL_CDSConfigModifyFailureResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"SimpleCL_CDSConfigModifyFailureResponseState\"\n },\n \"trigger\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ConfigModifyFailureResponseOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_CDSConfigModifyFailureResponseState\",\n \"localName\": \"ConfigModifyFailureResponseOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_CDSConfigModifyFailureResponseState\",\n \"localName\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_CDSConfigModifyFailureResponseState\",\n \"localName\": \"ConfigModifyFailureResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"SimpleCL_CDSConfigModifyFailureResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"SimpleCL_CDSConfigModifySuccessResponseState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"SimpleCL_CDSConfigModifySuccessResponseState\"\n },\n \"trigger\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"ConfigModifySuccessResponseOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_CDSConfigModifySuccessResponseState\",\n \"localName\": \"ConfigModifySuccessResponseOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_CDSConfigModifySuccessResponseState\",\n \"localName\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_CDSConfigModifySuccessResponseState\",\n \"localName\": \"ConfigModifySuccessResponseOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"SimpleCL_CDSConfigModifySuccessResponseState\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"policyKey\": {\n \"name\": \"SimpleCL_VesEventHandlerPolicy\",\n \"version\": \"0.0.1\"\n },\n \"template\": \"Freestyle\",\n \"state\": {\n \"entry\": [\n {\n \"key\": \"SimpleCL_ReceiveVesState\",\n \"value\": {\n \"stateKey\": {\n \"parentKeyName\": \"SimpleCL_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"NULL\",\n \"localName\": \"SimpleCL_ReceiveVesState\"\n },\n \"trigger\": {\n \"name\": \"SimpleCL_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"stateOutputs\": {\n \"entry\": [\n {\n \"key\": \"VesOutput\",\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveVesState\",\n \"localName\": \"VesOutput\"\n },\n \"outgoingEvent\": {\n \"name\": \"SimpleCL_AAIRequestEvent\",\n \"version\": \"0.0.1\"\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 \"taskSelectionLogic\": {\n \"key\": \"NULL\",\n \"logicFlavour\": \"UNDEFINED\",\n \"logic\": \"\"\n },\n \"stateFinalizerLogicMap\": {\n \"entry\": []\n },\n \"defaultTask\": {\n \"name\": \"SimpleCL_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"taskReferences\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"parentKeyName\": \"SimpleCL_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveVesState\",\n \"localName\": \"SimpleCL_VesEventHandlerPolicy\"\n },\n \"outputType\": \"DIRECT\",\n \"output\": {\n \"parentKeyName\": \"SimpleCL_VesEventHandlerPolicy\",\n \"parentKeyVersion\": \"0.0.1\",\n \"parentLocalName\": \"SimpleCL_ReceiveVesState\",\n \"localName\": \"VesOutput\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"firstState\": \"SimpleCL_ReceiveVesState\"\n }\n }\n ]\n }\n },\n \"tasks\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Tasks\",\n \"version\": \"0.0.1\"\n },\n \"taskMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_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\": \"SimpleCL_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\nvar HashMapType = java.util.HashMap;\\n\\nvar cdsResponse = executor.inFields;\\nvar albumID = cdsResponse.get(\\\"commonHeader\\\").get(\\\"subRequestId\\\");\\n\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"SimpleCL_EventDetailsAlbum\\\").get(albumID.toString());\\nvar commonEventHeader = eventDetailsAlbum.get(\\\"commonEventHeader\\\");\\nvar timestamp = longType(new Date().getTime())\\nvar errorMessage = \\\"CDS operation failed. Error message from CDS - \\\" + executor.inFields.get(\\\"status\\\").get(\\\"errorMessage\\\");\\nsend(commonEventHeader.get(\\\"eventId\\\"), \\\"PNF\\\", eventDetailsAlbum.get(\\\"otherFields\\\").get(\\\"hashMap\\\").get(\\\"pnfName\\\"), timestamp, \\\"FINAL_FAILURE\\\", \\\"Failed to process VES event. Reason: \\\" + errorMessage);\\ntrue;\\n\\nfunction send(id, targetType, targetId, timestamp, status, message) {\\n var logData = '{'\\n +'\\\"id\\\" : \\\"' + id + '\\\",'\\n +'\\\"target\\\" : {'\\n +'\\\"targetType\\\" : \\\"' + targetType + '\\\",'\\n +'\\\"entityInfo\\\" : {'\\n +'\\\"pnf-name\\\" : \\\"' + targetId + '\\\"'\\n +'}'\\n +'},'\\n +'\\\"component\\\" : {'\\n +'\\\"name\\\" : \\\"Policy\\\",'\\n +'\\\"flavour\\\" : \\\"Apex-PDP\\\",'\\n +'\\\"timestamp\\\" : ' + timestamp + ','\\n +'\\\"status\\\" : \\\"' + status + '\\\",'\\n +'\\\"message\\\" : \\\"' + message + '\\\",'\\n +'\\\"artifacts\\\" : {'\\n +'\\\"policyName\\\" : \\\"onap.policies.apex.Simplecontrolloop\\\",'\\n +'\\\"policyVersion\\\" : \\\"1.0.0\\\"'\\n +'}'\\n +'},'\\n +'\\\"otherFields\\\" : {'\\n +'\\\"useCaseName\\\" : \\\"simple-controlloop-usecase\\\"'\\n +'}'\\n +'}';\\n\\n executor.logger.info(\\\"sending the status to log.\\\");\\n fireLogEvent(logData);\\n}\\n\\nfunction fireLogEvent(logEvent){\\n var headers = new HashMapType();\\n //headers.put(\\\"Authorization\\\" , \\\"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\\\");\\n executor.logger.info(\\\"LogEvent:\\\"+logEvent);\\n var response = new org.onap.policy.rest.RestManager().post(\\n executor.getParameters().get(\\\"logUrl\\\"),\\n \\\"\\\",\\n \\\"\\\",\\n headers,\\n \\\"application/json\\\",\\n logEvent\\n );\\n executor.logger.info(\\\"DMaaP Response after sending LogEvent: \\\" + response);\\n return response;\\n}\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_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\": \"SimpleCL_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\nvar HashMapType = java.util.HashMap;\\n\\nvar cdsResponse = executor.inFields;\\nvar albumID = cdsResponse.get(\\\"commonHeader\\\").get(\\\"subRequestId\\\");\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"SimpleCL_EventDetailsAlbum\\\").get(albumID.toString());\\nvar commonEventHeader = eventDetailsAlbum.get(\\\"commonEventHeader\\\");\\nvar timestamp = longType(new Date().getTime());\\n\\nsend(commonEventHeader.get(\\\"eventId\\\"), \\\"PNF\\\", eventDetailsAlbum.get(\\\"otherFields\\\").get(\\\"hashMap\\\").get(\\\"pnfName\\\"), timestamp, \\\"FINAL_SUCCESS\\\", \\\"Successfully processed the VES event. Hostname is updated.\\\")\\ntrue;\\n\\nfunction send(id, targetType, targetId, timestamp, status, message) {\\n var logData = '{'\\n +'\\\"id\\\" : \\\"' + id + '\\\",'\\n +'\\\"target\\\" : {'\\n +'\\\"targetType\\\" : \\\"' + targetType + '\\\",'\\n +'\\\"entityInfo\\\" : {'\\n +'\\\"pnf-name\\\" : \\\"' + targetId + '\\\"'\\n +'}'\\n +'},'\\n +'\\\"component\\\" : {'\\n +'\\\"name\\\" : \\\"Policy\\\",'\\n +'\\\"flavour\\\" : \\\"Apex-PDP\\\",'\\n +'\\\"timestamp\\\" : ' + timestamp + ','\\n +'\\\"status\\\" : \\\"' + status + '\\\",'\\n +'\\\"message\\\" : \\\"' + message + '\\\",'\\n +'\\\"artifacts\\\" : {'\\n +'\\\"policyName\\\" : \\\"onap.policies.apex.Simplecontrolloop\\\",'\\n +'\\\"policyVersion\\\" : \\\"1.0.0\\\"'\\n +'}'\\n +'},'\\n +'\\\"otherFields\\\" : {'\\n +'\\\"useCaseName\\\" : \\\"simple-controlloop-usecase\\\"'\\n +'}'\\n +'}';\\n\\n executor.logger.info(\\\"sending the status to log.\\\");\\n fireLogEvent(logData);\\n}\\n\\nfunction fireLogEvent(logEvent){\\n var headers = new HashMapType();\\n //headers.put(\\\"Authorization\\\" , \\\"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\\\");\\n executor.logger.info(\\\"LogEvent:\\\"+logEvent);\\n var response = new org.onap.policy.rest.RestManager().post(\\n executor.getParameters().get(\\\"logUrl\\\"),\\n \\\"\\\",\\n \\\"\\\",\\n headers,\\n \\\"application/json\\\",\\n logEvent\\n );\\n executor.logger.info(\\\"DMaaP Response after sending LogEvent: \\\" + response);\\n return response;\\n}\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAIFailureResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"requestError\",\n \"value\": {\n \"key\": \"requestError\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar longType = java.lang.Long;\\nvar HashMapType = java.util.HashMap;\\n\\nvar aaiErrorMessage = \\\"AAI operation failed. Error message from AAI - \\\" + executor.inFields.get(\\\"requestError\\\").get(\\\"serviceException\\\").get(\\\"text\\\");\\nvar timestamp = longType(new Date().getTime());\\n\\n//Sending messageId received from AAI error message since eventId is not available in this task logic\\nsend(executor.inFields.get(\\\"requestError\\\").get(\\\"serviceException\\\").get(\\\"messageId\\\"), \\\"PNF\\\", \\\"N/A\\\", timestamp, \\\"FINAL_FAILURE\\\", \\\"Failed to process VES event. Reason: \\\" + aaiErrorMessage)\\ntrue;\\n\\nfunction send(id, targetType, targetId, timestamp, status, message) {\\n var logData = '{'\\n +'\\\"id\\\" : \\\"' + id + '\\\",'\\n +'\\\"target\\\" : {'\\n +'\\\"targetType\\\" : \\\"' + targetType + '\\\",'\\n +'\\\"entityInfo\\\" : {'\\n +'\\\"pnf-name\\\" : \\\"' + targetId + '\\\"'\\n +'}'\\n +'},'\\n +'\\\"component\\\" : {'\\n +'\\\"name\\\" : \\\"Policy\\\",'\\n +'\\\"flavour\\\" : \\\"Apex-PDP\\\",'\\n +'\\\"timestamp\\\" : ' + timestamp + ','\\n +'\\\"status\\\" : \\\"' + status + '\\\",'\\n +'\\\"message\\\" : \\\"' + message + '\\\",'\\n +'\\\"artifacts\\\" : {'\\n +'\\\"policyName\\\" : \\\"onap.policies.apex.Simplecontrolloop\\\",'\\n +'\\\"policyVersion\\\" : \\\"1.0.0\\\"'\\n +'}'\\n +'},'\\n +'\\\"otherFields\\\" : {'\\n +'\\\"useCaseName\\\" : \\\"simple-controlloop-usecase\\\"'\\n +'}'\\n +'}';\\n\\n executor.logger.info(\\\"sending the status to log.\\\");\\n fireLogEvent(logData);\\n}\\n\\nfunction fireLogEvent(logEvent){\\n var headers = new HashMapType();\\n //headers.put(\\\"Authorization\\\" , \\\"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\\\");\\n executor.logger.info(\\\"LogEvent:\\\"+logEvent);\\n var response = new org.onap.policy.rest.RestManager().post(\\n executor.getParameters().get(\\\"logUrl\\\"),\\n \\\"\\\",\\n \\\"\\\",\\n headers,\\n \\\"application/json\\\",\\n logEvent\\n );\\n executor.logger.info(\\\"DMaaP Response after sending LogEvent: \\\" + response);\\n return response;\\n}\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_HandleAAISuccessResponseTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"equip-model\",\n \"value\": {\n \"key\": \"equip-model\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"equip-type\",\n \"value\": {\n \"key\": \"equip-type\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"equip-vendor\",\n \"value\": {\n \"key\": \"equip-vendor\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"in-maint\",\n \"value\": {\n \"key\": \"in-maint\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"ipaddress-v4-oam\",\n \"value\": {\n \"key\": \"ipaddress-v4-oam\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"ipaddress-v6-oam\",\n \"value\": {\n \"key\": \"ipaddress-v6-oam\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"management-option\",\n \"value\": {\n \"key\": \"management-option\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"pnf-id\",\n \"value\": {\n \"key\": \"pnf-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"pnf-name\",\n \"value\": {\n \"key\": \"pnf-name\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"pnf-name2\",\n \"value\": {\n \"key\": \"pnf-name2\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"resource-version\",\n \"value\": {\n \"key\": \"resource-version\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_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\": \"SimpleCL_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\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar HashMapType = java.util.HashMap;\\nvar longType = java.lang.Long;\\n\\nvar pnfDetails = executor.inFields;\\nvar albumID = pnfDetails.get(\\\"pnf-id\\\");\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"SimpleCL_EventDetailsAlbum\\\").get(albumID.toString());\\nexecutor.logger.info(\\\"HandleAAISuccessResponseTask extracted context album - \\\" + albumID.toString() + \\\"::\\\" + eventDetailsAlbum);\\n\\nvar commonEventHeader = eventDetailsAlbum.get(\\\"commonEventHeader\\\");\\nvar otherFieldsMap = eventDetailsAlbum.get(\\\"otherFields\\\").get(\\\"hashMap\\\");\\n\\nvar targetEntityName = executor.inFields.get(\\\"pnf-name\\\")\\nvar logMessage = \\\"\\\";\\nvar existingHostname = executor.inFields.get(\\\"pnf-name2\\\");\\nvar hostnameInVesEvent = otherFieldsMap.get(\\\"hostname\\\");\\n\\nvar albumSchemaHelper = executor.getContextAlbum(\\\"SimpleCL_EventDetailsAlbum\\\").getSchemaHelper();\\nvar target = albumSchemaHelper.createNewSubInstance(\\\"target\\\");\\ntarget.put(\\\"targetType\\\", \\\"PNF\\\")\\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\\\"entityInfo\\\");\\nentityInfo.put(\\\"name\\\",targetEntityName);\\ntarget.put(\\\"entityInfo\\\", entityInfo);\\neventDetailsAlbum.put(\\\"target\\\", target);\\n\\nvar returnVal = true;\\nvar timestamp = longType(new Date().getTime());\\nif ((String(hostnameInVesEvent) != \\\"UNDEFINED\\\") && (String(existingHostname) != String(hostnameInVesEvent))) {\\n logMessage = \\\"Hostname available in AAI does not match with the hostname received in the VES Event.\\\";\\n returnVal = false\\n send(commonEventHeader.get(\\\"eventId\\\"), \\\"PNF\\\", otherFieldsMap.get(\\\"pnfName\\\"), timestamp, \\\"FINAL_FAILURE\\\", \\\"Failed to process VES event. Reason: \\\" + logMessage)\\n} else {\\n logMessage = \\\"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\\\";\\n\\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\\\"commonHeader\\\").createNewInstance();\\n commonHeader.put(\\\"subRequestId\\\", albumID.toString());\\n commonHeader.put(\\\"requestId\\\", commonEventHeader.get(\\\"eventId\\\"));\\n commonHeader.put(\\\"originatorId\\\", \\\"POLICY\\\");\\n\\n var blueprintName = \\\"pnf-test-cba\\\";\\n var blueprintVersion = \\\"1.0.0\\\";\\n var newHostname = \\\"host\\\" + Math.random().toString(36).substring(7);\\n eventDetailsAlbum.put(\\\"generatedHostname\\\", newHostname);\\n\\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\\\"actionIdentifiers\\\").createNewInstance();\\n actionIdentifiers.put(\\\"mode\\\", \\\"sync\\\");\\n actionIdentifiers.put(\\\"blueprintName\\\", blueprintName);\\n actionIdentifiers.put(\\\"blueprintVersion\\\", blueprintVersion);\\n actionIdentifiers.put(\\\"actionName\\\", \\\"update-config\\\");\\n\\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewSubInstance(\\\"CDSConfigModifyRequestPayloadEntry\\\");\\n payloadEntry.put(\\\"hostname\\\", newHostname)\\n payloadEntry.put(\\\"IP\\\", executor.inFields.get(\\\"ipaddress-v4-oam\\\"));\\n payloadEntry.put(\\\"pnfName\\\", otherFieldsMap.get(\\\"pnfName\\\"));\\n\\n var payload = executor.subject.getOutFieldSchemaHelper(\\\"payload\\\").createNewInstance();\\n payload.put(\\\"update_DasH_config_DasH_request\\\", payloadEntry);\\n\\n executor.outFields.put(\\\"commonHeader\\\", commonHeader);\\n executor.outFields.put(\\\"actionIdentifiers\\\", actionIdentifiers);\\n executor.outFields.put(\\\"payload\\\", payload);\\n\\n send(commonEventHeader.get(\\\"eventId\\\"), \\\"PNF\\\", otherFieldsMap.get(\\\"pnfName\\\"), timestamp, \\\"SUCCESS\\\", logMessage)\\n}\\n\\nreturnVal;\\n\\nfunction send(id, targetType, targetId, timestamp, status, message) {\\n var logData = '{'\\n +'\\\"id\\\" : \\\"' + id + '\\\",'\\n +'\\\"target\\\" : {'\\n +'\\\"targetType\\\" : \\\"' + targetType + '\\\",'\\n +'\\\"entityInfo\\\" : {'\\n +'\\\"pnf-name\\\" : \\\"' + targetId + '\\\"'\\n +'}'\\n +'},'\\n +'\\\"component\\\" : {'\\n +'\\\"name\\\" : \\\"Policy\\\",'\\n +'\\\"flavour\\\" : \\\"Apex-PDP\\\",'\\n +'\\\"timestamp\\\" : ' + timestamp + ','\\n +'\\\"status\\\" : \\\"' + status + '\\\",'\\n +'\\\"message\\\" : \\\"' + message + '\\\",'\\n +'\\\"artifacts\\\" : {'\\n +'\\\"policyName\\\" : \\\"onap.policies.apex.Simplecontrolloop\\\",'\\n +'\\\"policyVersion\\\" : \\\"1.0.0\\\"'\\n +'}'\\n +'},'\\n +'\\\"otherFields\\\" : {'\\n +'\\\"useCaseName\\\" : \\\"simple-controlloop-usecase\\\"'\\n +'}'\\n +'}';\\n\\n executor.logger.info(\\\"sending the status to log.\\\");\\n fireLogEvent(logData);\\n}\\n\\nfunction fireLogEvent(logEvent){\\n var headers = new HashMapType();\\n //headers.put(\\\"Authorization\\\" , \\\"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\\\");\\n executor.logger.info(\\\"LogEvent:\\\"+logEvent);\\n var response = new org.onap.policy.rest.RestManager().post(\\n executor.getParameters().get(\\\"logUrl\\\"),\\n \\\"\\\",\\n \\\"\\\",\\n headers,\\n \\\"application/json\\\",\\n logEvent\\n );\\n executor.logger.info(\\\"DMaaP Response after sending LogEvent: \\\" + response);\\n return response;\\n}\"\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_HandleVesEventTask\",\n \"version\": \"0.0.1\"\n },\n \"inputFields\": {\n \"entry\": [\n {\n \"key\": \"event\",\n \"value\": {\n \"key\": \"event\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"outputFields\": {\n \"entry\": [\n {\n \"key\": \"aaifield\",\n \"value\": {\n \"key\": \"aaifield\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n },\n \"taskParameters\": {\n \"entry\": []\n },\n \"contextAlbumReference\": [\n {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n }\n ],\n \"taskLogic\": {\n \"key\": \"TaskLogic\",\n \"logicFlavour\": \"JAVASCRIPT\",\n \"logic\": \"var uuidType = java.util.UUID;\\nvar HashMapType = java.util.HashMap;\\nvar longType = java.lang.Long;\\n\\nvar eventDetailsAlbum = executor.getContextAlbum(\\\"SimpleCL_EventDetailsAlbum\\\").getSchemaHelper().createNewInstance();\\nvar returnValue = true;\\n\\nvar event = executor.inFields.get(\\\"event\\\");\\nexecutor.logger.info(\\\"HandleVesEventTask processing VES event - \\\" + event);\\n\\nvar commonEventHeader = event.get(\\\"commonEventHeader\\\");\\nvar otherFields = event.get(\\\"otherFields\\\");\\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\\nvar albumID = commonEventHeader.get(\\\"sourceId\\\");\\n// save the event processing start time in apex\\ncommonEventHeader.put(\\\"startEpochMicrosec\\\", longType(new Date().getTime()));\\n//save the incoming event details to album\\neventDetailsAlbum.put(\\\"commonEventHeader\\\", commonEventHeader);\\neventDetailsAlbum.put(\\\"otherFields\\\", otherFields);\\nexecutor.getContextAlbum(\\\"SimpleCL_EventDetailsAlbum\\\").put(albumID.toString(), eventDetailsAlbum);\\nexecutor.logger.info(\\\"HandleVesEventTask storing context album - \\\" + albumID.toString() + \\\"::\\\" + eventDetailsAlbum);\\n\\nexecutor.getExecutionProperties().setProperty(\\\"pnfName\\\", otherFields.get(\\\"hashMap\\\").get(\\\"pnfName\\\"));\\n\\nvar timestamp = longType(new Date().getTime());\\nsend(eventDetailsAlbum.get(\\\"commonEventHeader\\\").get(\\\"eventId\\\"), \\\"PNF\\\", otherFields.get(\\\"hashMap\\\").get(\\\"pnfName\\\"), timestamp, \\\"ACTIVE\\\", \\\"VES event has been received. Going to fetch details from AAI.\\\")\\nexecutor.logger.info(executor.outFields);\\nreturnValue;\\n\\nfunction send(id, targetType, targetId, timestamp, status, message) {\\n var logData = '{'\\n +'\\\"id\\\" : \\\"' + id + '\\\",'\\n +'\\\"target\\\" : {'\\n +'\\\"targetType\\\" : \\\"' + targetType + '\\\",'\\n +'\\\"entityInfo\\\" : {'\\n +'\\\"pnf-name\\\" : \\\"' + targetId + '\\\"'\\n +'}'\\n +'},'\\n +'\\\"component\\\" : {'\\n +'\\\"name\\\" : \\\"Policy\\\",'\\n +'\\\"flavour\\\" : \\\"Apex-PDP\\\",'\\n +'\\\"timestamp\\\" : ' + timestamp + ','\\n +'\\\"status\\\" : \\\"' + status + '\\\",'\\n +'\\\"message\\\" : \\\"' + message + '\\\",'\\n +'\\\"artifacts\\\" : {'\\n +'\\\"policyName\\\" : \\\"onap.policies.apex.Simplecontrolloop\\\",'\\n +'\\\"policyVersion\\\" : \\\"1.0.0\\\"'\\n +'}'\\n +'},'\\n +'\\\"otherFields\\\" : {'\\n +'\\\"useCaseName\\\" : \\\"simple-controlloop-usecase\\\"'\\n +'}'\\n +'}';\\n\\n executor.logger.info(\\\"sending the status to log.\\\");\\n fireLogEvent(logData);\\n}\\n\\nfunction fireLogEvent(logEvent){\\n var headers = new HashMapType();\\n //headers.put(\\\"Authorization\\\" , \\\"Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==\\\");\\n executor.logger.info(\\\"LogEvent:\\\"+logEvent);\\n var response = new org.onap.policy.rest.RestManager().post(\\n executor.getParameters().get(\\\"logUrl\\\"),\\n \\\"\\\",\\n \\\"\\\",\\n headers,\\n \\\"application/json\\\",\\n logEvent\\n );\\n executor.logger.info(\\\"DMaaP Response after sending LogEvent: \\\" + response);\\n return response;\\n}\"\n }\n }\n }\n ]\n }\n },\n \"events\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Events\",\n \"version\": \"0.0.1\"\n },\n \"eventMap\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"AAI\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"requestError\",\n \"value\": {\n \"key\": \"requestError\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"APEX\",\n \"target\": \"AAI\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"aaifield\",\n \"value\": {\n \"key\": \"aaifield\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAISuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"AAI\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"equip-model\",\n \"value\": {\n \"key\": \"equip-model\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"equip-type\",\n \"value\": {\n \"key\": \"equip-type\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"equip-vendor\",\n \"value\": {\n \"key\": \"equip-vendor\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"in-maint\",\n \"value\": {\n \"key\": \"in-maint\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"ipaddress-v4-oam\",\n \"value\": {\n \"key\": \"ipaddress-v4-oam\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"ipaddress-v6-oam\",\n \"value\": {\n \"key\": \"ipaddress-v6-oam\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"management-option\",\n \"value\": {\n \"key\": \"management-option\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"pnf-id\",\n \"value\": {\n \"key\": \"pnf-id\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"pnf-name\",\n \"value\": {\n \"key\": \"pnf-name\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"pnf-name2\",\n \"value\": {\n \"key\": \"pnf-name2\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"resource-version\",\n \"value\": {\n \"key\": \"resource-version\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyFailureResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"CDS\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_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\": \"SimpleCL_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"APEX\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_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\": \"SimpleCL_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\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifySuccessResponseEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"CDS\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"actionIdentifiers\",\n \"value\": {\n \"key\": \"actionIdentifiers\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_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\": \"SimpleCL_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"payload\",\n \"value\": {\n \"key\": \"payload\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n },\n {\n \"key\": \"status\",\n \"value\": {\n \"key\": \"status\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_LogStatusEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"APEX\",\n \"target\": \"DCAE\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"message\",\n \"value\": {\n \"key\": \"message\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleStringType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_VesEvent\",\n \"version\": \"0.0.1\"\n },\n \"nameSpace\": \"org.onap.policy.apex.simplecontrolloop\",\n \"source\": \"DCAE\",\n \"target\": \"APEX\",\n \"parameter\": {\n \"entry\": [\n {\n \"key\": \"event\",\n \"value\": {\n \"key\": \"event\",\n \"fieldSchemaKey\": {\n \"name\": \"SimpleCL_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"optional\": false\n }\n }\n ]\n }\n }\n }\n ]\n }\n },\n \"albums\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Albums\",\n \"version\": \"0.0.1\"\n },\n \"albums\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbum\",\n \"version\": \"0.0.1\"\n },\n \"scope\": \"policy\",\n \"isWritable\": true,\n \"itemSchema\": {\n \"name\": \"SimpleCL_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n }\n }\n }\n ]\n }\n },\n \"schemas\": {\n \"key\": {\n \"name\": \"onap.policies.apex.Simplecontrolloop_Schemas\",\n \"version\": \"0.0.1\"\n },\n \"schemas\": {\n \"entry\": [\n {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleBooleanType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Java\",\n \"schemaDefinition\": \"java.lang.Boolean\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_AAIRequestErrorType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"AAIRequestErrorType\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"serviceException\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"serviceException\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"messageId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"text\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"variables\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSActionIdentifiersType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSActionIdentifiers_Type\\\",\\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\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyRequestPayloadType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"map\\\",\\n \\\"values\\\": {\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSConfigModifyRequestPayloadEntry\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"hostname\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"IP\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"pnfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSConfigModifyResponsePayloadType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"CDSConfigResponsePayloadEntry\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"update_DasH_config_DasH_response\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"update_DasH_config_DasH_response\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"execute_DasH_command_DasH_logs\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n },\\n {\\n \\\"name\\\": \\\"prepare_DasH_environment_DasH_logs\\\",\\n \\\"type\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": \\\"string\\\"\\n }\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseCommonHeader_Type\\\",\\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}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSFailureResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseStatus_Type\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"code\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"timestamp\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"message\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"errorMessage\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSRequestCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSRequestCommonHeader_Type\\\",\\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\": \"SimpleCL_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseCommonHeaderType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseCommonHeader_Type\\\",\\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}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_CDSSuccessResponseStatusType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"type\\\": \\\"record\\\",\\n \\\"name\\\": \\\"CDSResponseStatus_Type\\\",\\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\": \"SimpleCL_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_EventDetailsAlbumType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\": \\\"eventDetails\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"commonEventHeader\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"commonEventHeader\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"domain\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"eventName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"lastEpochMicrosec\\\",\\n \\\"type\\\": \\\"long\\\"\\n },\\n {\\n \\\"name\\\": \\\"priority\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"reportingEntityName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"sequence\\\",\\n \\\"type\\\": \\\"int\\\"\\n },\\n {\\n \\\"name\\\": \\\"sourceId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"sourceName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"startEpochMicrosec\\\",\\n \\\"type\\\": \\\"long\\\"\\n },\\n {\\n \\\"name\\\": \\\"timeZoneOffset\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"version\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"internalHeaderFields\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"internalHeaderFields\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": []\\n }\\n },\\n {\\n \\\"name\\\": \\\"vesEventListenerVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"otherFields\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"otherFields\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"hashMap\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"hashMap\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"hostname\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"pnfName\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"pnfId\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"ip\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"otherFieldsVersion\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"target\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"target\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"targetType\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n {\\n \\\"name\\\": \\\"entityInfo\\\",\\n \\\"type\\\": {\\n \\\"name\\\": \\\"entityInfo\\\",\\n \\\"type\\\": \\\"record\\\",\\n \\\"fields\\\": [\\n {\\n \\\"name\\\": \\\"name\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\": \\\"generatedHostname\\\",\\n \\\"type\\\": \\\"string\\\"\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleCL_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleCL_VesEventType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Avro\",\n \"schemaDefinition\": \"{\\n \\\"name\\\":\\\"event\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"commonEventHeader\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"commonEventHeader\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"domain\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"eventId\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"eventName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"lastEpochMicrosec\\\",\\n \\\"type\\\":\\\"long\\\"\\n },\\n {\\n \\\"name\\\":\\\"priority\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"reportingEntityName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"sequence\\\",\\n \\\"type\\\":\\\"int\\\"\\n },\\n {\\n \\\"name\\\":\\\"sourceId\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"sourceName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"startEpochMicrosec\\\",\\n \\\"type\\\":\\\"long\\\"\\n },\\n {\\n \\\"name\\\":\\\"version\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"internalHeaderFields\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"internalHeaderFields\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n\\n ]\\n }\\n },\\n {\\n \\\"name\\\":\\\"vesEventListenerVersion\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\":\\\"otherFields\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"otherFields\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"hashMap\\\",\\n \\\"type\\\":{\\n \\\"name\\\":\\\"hashMap\\\",\\n \\\"type\\\":\\\"record\\\",\\n \\\"fields\\\":[\\n {\\n \\\"name\\\":\\\"hostname\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"pnfName\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"pnfId\\\",\\n \\\"type\\\":\\\"string\\\"\\n },\\n {\\n \\\"name\\\":\\\"ip\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n },\\n {\\n \\\"name\\\":\\\"otherFieldsVersion\\\",\\n \\\"type\\\":\\\"string\\\"\\n }\\n ]\\n }\\n }\\n ]\\n}\"\n }\n },\n {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"value\": {\n \"key\": {\n \"name\": \"SimpleLongType\",\n \"version\": \"0.0.1\"\n },\n \"schemaFlavour\": \"Java\",\n \"schemaDefinition\": \"java.lang.Long\"\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 }\n }\n }\n }\n },\n \"eventInputParameters\": {\n \"SimpleCL_DCAEConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"RESTCLIENT\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters\",\n \"parameters\": {\n \"url\": \"http://message-router:3904/events/apex-pnf-input/cl/apex?timeout=30000\"\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"SimpleCL_VesEvent\"\n },\n \"SimpleCL_AAIResponseConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"RESTREQUESTOR\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters\",\n \"parameters\": {\n \"url\": \"https://aai:8443/aai/v14/network/pnfs/pnf/{pnfName}\",\n \"httpMethod\": \"GET\",\n \"httpCodeFilter\": \"[2-5][0-1][0-9]\",\n \"httpHeaders\": [\n [\n \"Accept\",\n \"application/json\"\n ],\n [\n \"Content-Type\",\n \"application/json\"\n ],\n [\n \"X-FromAppId\",\n \"dcae-curl\"\n ],\n [\n \"x-transactionId\",\n \"9998\"\n ],\n [\n \"Authorization\",\n \"Basic QUFJOkFBSQ==\"\n ]\n ]\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"SimpleCL_AAIProducer\",\n \"requestorTimeout\": 2000\n },\n \"SimpleCL_CDSConfigModifyResponseConsumer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"GRPC\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters\"\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventName\": \"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"SimpleCL_CDSConfigModifyRequestProducer\",\n \"requestorTimeout\": 500\n }\n },\n \"eventOutputParameters\": {\n \"SimpleCL_AAIProducer\": {\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\": \"SimpleCL_AAIRequestEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"SimpleCL_AAIResponseConsumer\",\n \"requestorTimeout\": 2000\n },\n \"SimpleCL_CDSConfigModifyRequestProducer\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"GRPC\",\n \"parameterClassName\": \"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters\",\n \"parameters\": {\n \"host\": \"cds-blueprints-processor-grpc\",\n \"port\": 9111,\n \"username\": \"ccsdkapps\",\n \"password\": \"ccsdkapps\",\n \"timeout\": 60\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n },\n \"eventNameFilter\": \"SimpleCL_CDSConfigModifyRequestEvent\",\n \"requestorMode\": true,\n \"requestorPeer\": \"SimpleCL_CDSConfigModifyResponseConsumer\",\n \"requestorTimeout\": 500\n },\n \"SimpleCL_logOutputter\": {\n \"carrierTechnologyParameters\": {\n \"carrierTechnology\": \"FILE\",\n \"parameters\": {\n \"fileName\": \"outputevents.log\"\n }\n },\n \"eventProtocolParameters\": {\n \"eventProtocol\": \"JSON\"\n }\n }\n }\n }\n }\n }\n ]\n }\n}"
- },
- "url": {
- "raw": "{{POLICY-API-URL}}/policy/api/v1/policies",
- "host": [
- "{{POLICY-API-URL}}"
- ],
- "path": [
- "policy",
- "api",
- "v1",
- "policies"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Verify PNF Policy",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "url": {
- "raw": "{{POLICY-API-URL}}/policy/api/v1/policies/onap.policies.apex.pnf.Example/versions/1.0.0",
- "host": [
- "{{POLICY-API-URL}}"
- ],
- "path": [
- "policy",
- "api",
- "v1",
- "policies",
- "onap.policies.apex.pnf.Example",
- "versions",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PDP Group Query",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Deploy Policy",
- "request": {
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"groups\": [\r\n {\r\n \"name\": \"defaultGroup\",\r\n \"deploymentSubgroups\": [\r\n {\r\n \"pdpType\": \"apex\",\r\n \"action\": \"POST\",\r\n \"policies\": [\r\n {\r\n \"name\": \"onap.policies.apex.vnf.Example\",\r\n \"version\": \"1.0.0\"\r\n },\r\n {\r\n \"name\": \"onap.policies.apex.pnf.Example\",\r\n \"version\": \"1.0.0\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n}"
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/deployments/batch",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "deployments",
- "batch"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PDP Group Query",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps"
- ]
- }
- },
- "response": []
- },
- {
- "name": "VNF Policy Status",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status/defaultGroup/onap.policies.apex.vnf.Example/1.0.0",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "status",
- "defaultGroup",
- "onap.policies.apex.vnf.Example",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PNF Policy Status",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status/defaultGroup/onap.policies.apex.pnf.Example/1.0.0",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "status",
- "defaultGroup",
- "onap.policies.apex.pnf.Example",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "VNF Policy Audit",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/onap.policies.apex.vnf.Example/1.0.0?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "audit",
- "defaultGroup",
- "onap.policies.apex.vnf.Example",
- "1.0.0"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "PNF Policy Audit",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/onap.policies.apex.pnf.Example/1.0.0?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "audit",
- "defaultGroup",
- "onap.policies.apex.pnf.Example",
- "1.0.0"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fetch PDP Statistics",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- },
- "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"fireantsdev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\"). You can filter by the number of entries using recordCount attribute"
- },
- "response": []
- },
- {
- "name": "Send event to dmaap - VNF Success",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"event\": {\n \"commonEventHeader\": {\n \"domain\": \"fault\",\n \"eventId\": \"fault0000245\",\n \"eventName\": \"Fault_Vscf:PilotNumberPoolExhaustion\",\n \"lastEpochMicrosec\": 1413378172000000,\n \"priority\": \"High\",\n \"reportingEntityName\": \"ibcx0001vm002oam001\",\n \"sequence\": 1,\n \"sourceId\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\n \"sourceName\": \"dummy-vnf\",\n \"startEpochMicrosec\": 1413378172000000,\n \"timeZoneOffset\": \"UTC-05:30\",\n \"version\": \"4.0.1\",\n \"vesEventListenerVersion\": \"7.0.1\"\n },\n \"faultFields\": {\n \"alarmAdditionalInformation\": {\n \"PilotNumberPoolSize\": \"1000\"\n },\n \"alarmCondition\": \"PilotNumberPoolExhaustion\",\n \"eventSeverity\": \"CRITICAL\",\n \"eventSourceType\": \"other\",\n \"faultFieldsVersion\": 4,\n \"specificProblem\": \"Calls cannot complete - pilot numbers are unavailable\",\n \"vfStatus\": \"Active\"\n }\n }\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{DMAAP-URL}}/events/apex-vnf-input",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "apex-vnf-input"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Read notifications from DMaaP",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json",
- "disabled": true
- }
- ],
- "url": {
- "raw": "{{DMAAP-URL}}/events/APEX-CL-MGT/g1/c1?timeout=30000",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "APEX-CL-MGT",
- "g1",
- "c1"
- ],
- "query": [
- {
- "key": "timeout",
- "value": "30000"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fetch PDP Statistics",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- },
- "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"fireantsdev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\"). You can filter by the number of entries using recordCount attribute"
- },
- "response": []
- },
- {
- "name": "Send event to dmaap - VNF Failure",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"event\": {\n \"commonEventHeader\": {\n \"domain\": \"fault\",\n \"eventId\": \"fault0000245\",\n \"eventName\": \"Fault_Vscf:PilotNumberPoolExhaustion\",\n \"lastEpochMicrosec\": 1413378172000000,\n \"priority\": \"High\",\n \"reportingEntityName\": \"ibcx0001vm002oam001\",\n \"sequence\": 1,\n \"sourceId\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\n \"sourceName\": \"dummy-vnf\",\n \"startEpochMicrosec\": 1413378172000000,\n \"timeZoneOffset\": \"UTC-05:30\",\n \"version\": \"4.0.1\",\n \"vesEventListenerVersion\": \"7.0.1\"\n },\n \"faultFields\": {\n \"alarmAdditionalInformation\": {\n \"PilotNumberPoolSize\": \"1000\"\n },\n \"alarmCondition\": \"PilotNumberPoolExhaustion\",\n \"eventSeverity\": \"CRITICAL\",\n \"eventSourceType\": \"other\",\n \"faultFieldsVersion\": 4,\n \"specificProblem\": \"Calls cannot complete - pilot numbers are unavailable\",\n \"vfStatus\": \"Inactive\"\n }\n }\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{DMAAP-URL}}/events/apex-vnf-input",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "apex-vnf-input"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Read notifications from DMaaP",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json",
- "disabled": true
- }
- ],
- "url": {
- "raw": "{{DMAAP-URL}}/events/APEX-CL-MGT/g1/c1?timeout=30000",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "APEX-CL-MGT",
- "g1",
- "c1"
- ],
- "query": [
- {
- "key": "timeout",
- "value": "30000"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fetch PDP Statistics",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- },
- "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"fireantsdev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\"). You can filter by the number of entries using recordCount attribute"
- },
- "response": []
- },
- {
- "name": "Send event to dmaap - PNF Success",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"event\" : {\n \"commonEventHeader\" : {\n \"startEpochMicrosec\" : 1597953057126,\n \"sourceId\" : \"927b2580-36d9-4f13-8421-3c9d43b7a57e\",\n \"eventId\" : \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\n \"lastEpochMicrosec\" : 1597952499468,\n \"eventName\" : \"Report hostname & IP\",\n \"sourceName\" : \"Simulated_Device\",\n \"reportingEntityName\" : \"cepe-nifi-Beefsteak\",\n \"vesEventListenerVersion\" : \"7.1\",\n \"internalHeaderFields\" : { },\n \"version\" : \"4.0.1\",\n \"priority\" : \"Normal\",\n \"sequence\" : 1,\n \"domain\" : \"other\"\n },\n \"otherFields\" : {\n \"hashMap\" : {\n \"hostname\" : \"the-hostname\",\n \"pnfId\": \"927b2580-36d9-4f13-8421-3c9d43b7a57e\",\n \"ip\" : \"10.195.200.40\",\n \"pnfName\": \"simple-cl-pnf\"\n },\n \"otherFieldsVersion\" : \"3.0\"\n }\n }\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{DMAAP-URL}}/events/apex-pnf-input",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "apex-pnf-input"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Read notifications from DMaaP",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json",
- "disabled": true
- }
- ],
- "url": {
- "raw": "{{DMAAP-URL}}/events/APEX-CL-MGT/g1/c1?timeout=30000",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "APEX-CL-MGT",
- "g1",
- "c1"
- ],
- "query": [
- {
- "key": "timeout",
- "value": "30000"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fetch PDP Statistics",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- },
- "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"fireantsdev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\"). You can filter by the number of entries using recordCount attribute"
- },
- "response": []
- },
- {
- "name": "Send event to dmaap - PNF Failure",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"event\" : {\n \"commonEventHeader\" : {\n \"startEpochMicrosec\" : 1597953057126,\n \"sourceId\" : \"927b2580-36d9-4f13-8421-3c9d43b7a57e\",\n \"eventId\" : \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\n \"lastEpochMicrosec\" : 1597952499468,\n \"eventName\" : \"Report hostname & IP\",\n \"sourceName\" : \"Simulated_Device\",\n \"reportingEntityName\" : \"cepe-nifi-Beefsteak\",\n \"vesEventListenerVersion\" : \"7.1\",\n \"internalHeaderFields\" : { },\n \"version\" : \"4.0.1\",\n \"priority\" : \"Normal\",\n \"sequence\" : 1,\n \"domain\" : \"other\"\n },\n \"otherFields\" : {\n \"hashMap\" : {\n \"hostname\" : \"the-hostname\",\n \"pnfId\": \"927b2580-36d9-4f13-8421-3c9d43b7a77e\",\n \"ip\" : \"10.195.200.40\",\n \"pnfName\": \"simple-cl-pnf-failure\"\n },\n \"otherFieldsVersion\" : \"3.0\"\n }\n }\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{DMAAP-URL}}/events/apex-pnf-input",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "apex-pnf-input"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Read notifications from DMaaP",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json",
- "disabled": true
- }
- ],
- "url": {
- "raw": "{{DMAAP-URL}}/events/APEX-CL-MGT/g1/c1?timeout=30000",
- "host": [
- "{{DMAAP-URL}}"
- ],
- "path": [
- "events",
- "APEX-CL-MGT",
- "g1",
- "c1"
- ],
- "query": [
- {
- "key": "timeout",
- "value": "30000"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fetch PDP Statistics",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- },
- "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"fireantsdev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\"). You can filter by the number of entries using recordCount attribute"
- },
- "response": []
- },
- {
- "name": "Undeploy Policy",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- },
- {
- "key": "password",
- "value": "{{HEALTHCHECK-PASSWORD}}",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"groups\": [\n {\n \"name\": \"defaultGroup\",\n \"deploymentSubgroups\": [\n {\n \"pdpType\": \"apex\",\n \"action\": \"DELETE\",\n \"policies\": [\n {\n \"name\": \"onap.policies.apex.vnf.Example\",\n \"version\": \"1.0.0\"\n },\n {\n \"name\": \"onap.policies.apex.pnf.Example\",\n \"version\": \"1.0.0\"\n }\n ]\n }\n ]\n }\n ]\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/deployments/batch",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "deployments",
- "batch"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PDP Group Query",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"groups\": [\r\n {\r\n \"name\": \"defaultGroup\",\r\n \"deploymentSubgroups\": [\r\n {\r\n \"pdpType\": \"apex\",\r\n \"action\": \"POST\",\r\n \"policies\": [{\r\n \"name\": \"onap.policies.controlloop.operational.apex.Sampledomain\",\r\n \"version\": \"1.0.0\"\r\n }]\r\n }\r\n ]\r\n }\r\n ]\r\n}"
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps"
- ]
- }
- },
- "response": []
- },
- {
- "name": "VNF Policy Status",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status/defaultGroup/onap.policies.apex.vnf.Example/1.0.0",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "status",
- "defaultGroup",
- "onap.policies.apex.vnf.Example",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PNF Policy Status",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/status/defaultGroup/onap.policies.apex.pnf.Example/1.0.0",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "status",
- "defaultGroup",
- "onap.policies.apex.pnf.Example",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "VNF Policy Audit",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/onap.policies.apex.vnf.Example/1.0.0?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "audit",
- "defaultGroup",
- "onap.policies.apex.vnf.Example",
- "1.0.0"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "PNF Policy Audit",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/onap.policies.apex.pnf.Example/1.0.0?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "policies",
- "audit",
- "defaultGroup",
- "onap.policies.apex.pnf.Example",
- "1.0.0"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fetch PDP Statistics",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
- "host": [
- "{{POLICY-PAP-URL}}"
- ],
- "path": [
- "policy",
- "pap",
- "v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex"
- ],
- "query": [
- {
- "key": "recordCount",
- "value": "5"
- }
- ]
- },
- "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"fireantsdev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\"). You can filter by the number of entries using recordCount attribute"
- },
- "response": []
- },
- {
- "name": "Delete VNF Policy",
- "request": {
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "url": {
- "raw": "{{POLICY-API-URL}}/policy/api/v1/policies/onap.policies.apex.vnf.Example/versions/1.0.0",
- "host": [
- "{{POLICY-API-URL}}"
- ],
- "path": [
- "policy",
- "api",
- "v1",
- "policies",
- "onap.policies.apex.vnf.Example",
- "versions",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete PNF Policy",
- "request": {
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- }
- ],
- "url": {
- "raw": "{{POLICY-API-URL}}/policy/api/v1/policies/onap.policies.apex.pnf.Example/versions/1.0.0",
- "host": [
- "{{POLICY-API-URL}}"
- ],
- "path": [
- "policy",
- "api",
- "v1",
- "policies",
- "onap.policies.apex.pnf.Example",
- "versions",
- "1.0.0"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "{{HEALTHCHECK-PASSWORD}}",
- "type": "string"
- },
- {
- "key": "username",
- "value": "healthcheck",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
-} \ No newline at end of file
diff --git a/docs/development/devtools/smoke/postman/create-vnf-pnf-aai.postman_collection.json b/docs/development/devtools/smoke/postman/create-vnf-pnf-aai.postman_collection.json
deleted file mode 100644
index d6894bc6..00000000
--- a/docs/development/devtools/smoke/postman/create-vnf-pnf-aai.postman_collection.json
+++ /dev/null
@@ -1,788 +0,0 @@
-{
- "info": {
- "_postman_id": "10fb21f9-99e5-4097-88c9-87b0eed85b3a",
- "name": "Create VNF & PNF in AAI",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "Add Customer",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"global-customer-id\": \"DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf\",\r\n \"subscriber-name\": \"DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf\",\r\n \"subscriber-type\": \"INFRA\"\r\n}"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v11/business/customers/customer/DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v11",
- "business",
- "customers",
- "customer",
- "DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add CloudRegion",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Real-Time",
- "value": "true",
- "type": "text"
- },
- {
- "key": "X-TransactionId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- },
- {
- "key": "X-FromAppId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"cloud-owner\": \"CloudOwner\",\n \"cloud-region-id\": \"RegionOne\",\n \"cloud-type\": \"openstack\",\n \"owner-defined-type\": \"owner-defined-type\",\n \"cloud-region-version\": \"titanium_cloud\",\n \"identity-url\": \"http://10.195.194.213:5000/v2.0\",\n \"cloud-zone\": \"CloudZone\",\n \"sriov-automation\": true,\n \"tenants\": {\n \"tenant\": [\n {\n \"tenant-id\": \"7320ec4a5b9d4589ba7c4412ccfd290f\",\n \"tenant-name\": \"nso-vnf\",\n \"vservers\": {\n \"vserver\": [\n {\n \"vserver-id\": \"c82153dc-8d84-4e69-9673-5e0a60030779\",\n \"vserver-name\": \"viptela_scripts\",\n \"vserver-name2\": \"viptela_scripts\",\n \"prov-status\": \"Running\",\n \"vserver-selflink\": \"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779\",\n \"in-maint\": false,\n \"is-closed-loop-disabled\": false\n }\n ]\n }\n }\n ]\n }\n}"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "cloud-infrastructure",
- "cloud-regions",
- "cloud-region",
- "CloudOwner",
- "RegionOne"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add Service Subscription",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"service-type\": \"vFWDT\",\r\n \"relationship-list\": {\r\n \"relationship\": [\r\n {\r\n \"related-to\": \"tenant\",\r\n \"related-link\": \"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"cloud-region.cloud-owner\",\r\n \"relationship-value\": \"CloudOwner\"\r\n },\r\n {\r\n \"relationship-key\": \"cloud-region.cloud-region-id\",\r\n \"relationship-value\": \"RegionOne\"\r\n },\r\n {\r\n \"relationship-key\": \"tenant.tenant-id\",\r\n \"relationship-value\": \"7320ec4a5b9d4589ba7c4412ccfd290f\"\r\n }\r\n ],\r\n \"related-to-property\": [\r\n {\r\n \"property-key\": \"tenant.tenant-name\",\r\n \"property-value\": \"nso-vnf\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v11/business/customers/customer/DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf/service-subscriptions/service-subscription/vFWDT",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v11",
- "business",
- "customers",
- "customer",
- "DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf",
- "service-subscriptions",
- "service-subscription",
- "vFWDT"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add Model",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"model-invariant-id\": \"vTEST_VITELA\",\r\n \"model-type\": \"model_type\",\r\n \"model-vers\": {\r\n \"model-ver\": [\r\n {\r\n \"model-version-id\": \"vTEST\",\r\n \"model-name\": \"vTEST\",\r\n \"model-version\": \"v1.4.0\"\r\n }\r\n ]\r\n }\r\n}\r\n"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/service-design-and-creation/models/model/vTEST_VITELA",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "service-design-and-creation",
- "models",
- "model",
- "vTEST_VITELA"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add Service Instance",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"service-instance-name\": \"Service_Ete_Namea337dd5b-4620-4ea6-bc3f-6edf1124d659\",\r\n \"environment-context\": \"General_Revenue-Bearing\",\r\n \"workload-context\": \"Production\",\r\n \"model-invariant-id\": \"vTEST_VITELA\",\r\n \"model-version-id\": \"vTEST\",\r\n \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/55322ada-145a-492e-b196-0d171539a4b2/service-data/service-topology/\",\r\n \"orchestration-status\": \"Active\"\r\n}"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v11/business/customers/customer/DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf/service-subscriptions/service-subscription/vFWDT/service-instances/service-instance/55322ada-145a-492e-b196-0d171539a4b2",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v11",
- "business",
- "customers",
- "customer",
- "DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf",
- "service-subscriptions",
- "service-subscription",
- "vFWDT",
- "service-instances",
- "service-instance",
- "55322ada-145a-492e-b196-0d171539a4b2"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add dummy-vnf",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Real-Time",
- "value": "true",
- "type": "text"
- },
- {
- "key": "X-TransactionId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- },
- {
- "key": "X-FromAppId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"vnf-name\": \"dummy-vnf\",\r\n \"vnf-type\": \"vfw_cnf_cds/null\",\r\n \"service-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"prov-status\": \"ACTIVE\",\r\n \"orchestration-status\": \"Assigned\",\r\n \"in-maint\": false,\r\n \"is-closed-loop-disabled\": false,\r\n \"model-invariant-id\": \"vTEST_XYZ\",\r\n \"model-version-id\": \"vTEST\",\r\n \"model-customization-id\": \"37b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"relationship-list\": {\r\n \"relationship\": [\r\n {\r\n \"related-to\": \"service-instance\",\r\n \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\",\r\n \"related-link\": \"/aai/v14/business/customers/customer/DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf/service-subscriptions/service-subscription/vFWDT/service-instances/service-instance/55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"customer.global-customer-id\",\r\n \"relationship-value\": \"DemoCust_47417dae-a821-4068-9736-e71c7da0d8bf\"\r\n },\r\n {\r\n \"relationship-key\": \"service-subscription.service-type\",\r\n \"relationship-value\": \"vFWDT\"\r\n },\r\n {\r\n \"relationship-key\": \"service-instance.service-instance-id\",\r\n \"relationship-value\": \"55322ada-145a-492e-b196-0d171539a4b2\"\r\n }\r\n ],\r\n \"related-to-property\": [\r\n {\r\n \"property-key\": \"service-instance.service-instance-name\",\r\n \"property-value\": \"Service_Ete_Namea337dd5b-4620-4ea6-bc3f-6edf1124d659\"\r\n }\r\n ]\r\n },\r\n {\r\n \"related-to\": \"tenant\",\r\n \"relationship-label\": \"org.onap.relationships.inventory.BelongsTo\",\r\n \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"cloud-region.cloud-owner\",\r\n \"relationship-value\": \"CloudOwner\"\r\n },\r\n {\r\n \"relationship-key\": \"cloud-region.cloud-region-id\",\r\n \"relationship-value\": \"RegionOne\"\r\n },\r\n {\r\n \"relationship-key\": \"tenant.tenant-id\",\r\n \"relationship-value\": \"7320ec4a5b9d4589ba7c4412ccfd290f\"\r\n }\r\n ],\r\n \"related-to-property\": [\r\n {\r\n \"property-key\": \"tenant.tenant-name\",\r\n \"property-value\": \"nso-vnf\"\r\n }\r\n ]\r\n },\r\n {\r\n \"related-to\": \"vserver\",\r\n \"relationship-label\": \"tosca.relationships.HostedOn\",\r\n \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779\",\r\n \"relationship-data\": [\r\n {\r\n \"relationship-key\": \"cloud-region.cloud-owner\",\r\n \"relationship-value\": \"CloudOwner\"\r\n },\r\n {\r\n \"relationship-key\": \"cloud-region.cloud-region-id\",\r\n \"relationship-value\": \"RegionOne\"\r\n },\r\n {\r\n \"relationship-key\": \"tenant.tenant-id\",\r\n \"relationship-value\": \"7320ec4a5b9d4589ba7c4412ccfd290f\"\r\n },\r\n {\r\n \"relationship-key\": \"vserver.vserver-id\",\r\n \"relationship-value\": \"c82153dc-8d84-4e69-9673-5e0a60030779\"\r\n }\r\n ],\r\n \"related-to-property\": [\r\n {\r\n \"property-key\": \"vserver.vserver-name\",\r\n \"property-value\": \"viptela_scripts\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/generic-vnfs/generic-vnf/57b008b9-b367-4359-93fd-74d3ce0ee1a0",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "generic-vnfs",
- "generic-vnf",
- "57b008b9-b367-4359-93fd-74d3ce0ee1a0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Verify dummy-vnf",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Real-Time",
- "value": "true",
- "type": "text"
- },
- {
- "key": "X-TransactionId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- },
- {
- "key": "X-FromAppId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- }
- ],
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/generic-vnfs/generic-vnf/57b008b9-b367-4359-93fd-74d3ce0ee1a0",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "generic-vnfs",
- "generic-vnf",
- "57b008b9-b367-4359-93fd-74d3ce0ee1a0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add simple-cl-pnf",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Real-Time",
- "value": "true",
- "type": "text"
- },
- {
- "key": "X-TransactionId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- },
- {
- "key": "X-FromAppId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"pnf-name\": \"simple-cl-pnf\",\n \"pnf-name2\": \"the-hostname\",\n \"pnf-id\": \"927b2580-36d9-4f13-8421-3c9d43b7a57e\",\n \"equip-type\": \"example-equip-type-val-20348\",\n \"equip-vendor\": \"example-equip-vendor-val-52182\",\n \"equip-model\": \"example-equip-model-val-8370\",\n \"management-option\": \"example-management-option-val-72881\",\n \"ipaddress-v4-oam\": \"10.195.200.23\",\n \"in-maint\": false,\n \"ipaddress-v6-oam\": \"\"\n }"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v15/network/pnfs/pnf/simple-cl-pnf",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v15",
- "network",
- "pnfs",
- "pnf",
- "simple-cl-pnf"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Verify simple-cl-pnf",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/pnfs/pnf/simple-cl-pnf",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "pnfs",
- "pnf",
- "simple-cl-pnf"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add simple-cl-pnf-failure",
- "request": {
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Accept",
- "value": "application/json",
- "type": "text"
- },
- {
- "key": "Real-Time",
- "value": "true",
- "type": "text"
- },
- {
- "key": "X-TransactionId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- },
- {
- "key": "X-FromAppId",
- "value": "AAI-Temp-Tool",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"pnf-name\": \"simple-cl-pnf-failure\",\n \"pnf-name2\": \"the-hostname\",\n \"pnf-id\": \"927b2580-36d9-4f13-8421-3c9d43b7a77e\",\n \"equip-type\": \"example-equip-type-val-20348\",\n \"equip-vendor\": \"example-equip-vendor-val-52182\",\n \"equip-model\": \"example-equip-model-val-8370\",\n \"management-option\": \"example-management-option-val-72881\",\n \"ipaddress-v4-oam\": \"10.195.200.23\",\n \"in-maint\": false,\n \"ipaddress-v6-oam\": \"\"\n }"
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v15/network/pnfs/pnf/simple-cl-pnf-failure",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v15",
- "network",
- "pnfs",
- "pnf",
- "simple-cl-pnf-failure"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Verify simple-cl-pnf-failure",
- "request": {
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/pnfs/pnf/simple-cl-pnf-failure",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "pnfs",
- "pnf",
- "simple-cl-pnf-failure"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete dummy-vnf",
- "request": {
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/generic-vnfs/generic-vnf/57b008b9-b367-4359-93fd-74d3ce0ee1a0?resource-version=1633120087974",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "generic-vnfs",
- "generic-vnf",
- "57b008b9-b367-4359-93fd-74d3ce0ee1a0"
- ],
- "query": [
- {
- "key": "resource-version",
- "value": "1633120087974"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete simple-cl-pnf",
- "request": {
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/pnfs/pnf/simple-cl-pnf?resource-version=1621307213843",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "pnfs",
- "pnf",
- "simple-cl-pnf"
- ],
- "query": [
- {
- "key": "resource-version",
- "value": "1621307213843"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete simple-cl-pnf-failure",
- "request": {
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Real-Time",
- "type": "text",
- "value": "true"
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "AAI-Temp-Tool"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "{{AAI-URL}}/aai/v14/network/pnfs/pnf/simple-cl-pnf-failure?resource-version=1621307213843",
- "host": [
- "{{AAI-URL}}"
- ],
- "path": [
- "aai",
- "v14",
- "network",
- "pnfs",
- "pnf",
- "simple-cl-pnf-failure"
- ],
- "query": [
- {
- "key": "resource-version",
- "value": "1621307213843"
- }
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "demo123456!",
- "type": "string"
- },
- {
- "key": "username",
- "value": "aai@aai.onap.org",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
-} \ No newline at end of file
diff --git a/docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json b/docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json
deleted file mode 100644
index 3e69f5f0..00000000
--- a/docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json
+++ /dev/null
@@ -1,598 +0,0 @@
-{
- "info": {
- "_postman_id": "c8fa181e-0210-4f6c-a754-da377939c299",
- "name": "Publish CBA in CDS",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "Bootstrap",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/blueprint-model/bootstrap",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "blueprint-model",
- "bootstrap"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Enrich and Publish CBA",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "formdata",
- "formdata": [
- {
- "key": "file",
- "type": "file",
- "src": "/Users/rpujar/repos/bell/controlloop-examples/simple-cl-use-case-cba/Archive.zip"
- }
- ]
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/blueprint-model/enrichandpublish",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "blueprint-model",
- "enrichandpublish"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get all CBAs",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/blueprint-model/paged",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "blueprint-model",
- "paged"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Execute pnf-test-cba success",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"pnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"update-config\"\r\n },\r\n \"payload\": {\r\n \"update-config-request\": {\r\n \"update-config-properties\": {\r\n \"hostname\": \"host\",\r\n \"IP\": \"10.43.230.146\",\r\n \"pnfName\": \"simple-cl-pnf\"\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}"
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/execution-service/process",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "execution-service",
- "process"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Execute pnf-test-cba failure",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"pnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"update-config\"\r\n },\r\n \"payload\": {\r\n \"update-config-request\": {\r\n \"update-config-properties\": {\r\n \"hostname\": \"host\",\r\n \"IP\": \"10.43.230.146\",\r\n \"pnfName\": \"simple-cl-pnf-failure\"\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}"
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/execution-service/process",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "execution-service",
- "process"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Execute vnf-test-cba success",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"modify-config\"\r\n },\r\n \"payload\": {\r\n \"modify-config-request\": {\r\n \"modify-config-properties\": {\r\n \"vfStatus\": \"Active\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}"
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/execution-service/process",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "execution-service",
- "process"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Execute vnf-test-cba failure",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"modify-config\"\r\n },\r\n \"payload\": {\r\n \"modify-config-request\": {\r\n \"modify-config-properties\": {\r\n \"vfStatus\": \"InActive\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}"
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/execution-service/process",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "execution-service",
- "process"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Execute vnf-test-cba success",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"restart\"\r\n },\r\n \"payload\": {\r\n \"restart-request\": {\r\n \"restart-properties\": {\r\n \"vfStatus\": \"Active\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}"
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/execution-service/process",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "execution-service",
- "process"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Execute vnf-test-cba failure",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "POST",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"restart\"\r\n },\r\n \"payload\": {\r\n \"restart-request\": {\r\n \"restart-properties\": {\r\n \"vfStatus\": \"InActive\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}"
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/execution-service/process",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "execution-service",
- "process"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Download CBA",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/blueprint-model/download/by-name/controlloop-hostname-update-cba/version/1.0.0",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "blueprint-model",
- "download",
- "by-name",
- "controlloop-hostname-update-cba",
- "version",
- "1.0.0"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete a specific CBA",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "ccsdkapps",
- "type": "string"
- },
- {
- "key": "username",
- "value": "ccsdkapps",
- "type": "string"
- }
- ]
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{CDS-URL}}/api/v1/blueprint-model/name/pnf-test-cba/version/1.0.0",
- "host": [
- "{{CDS-URL}}"
- ],
- "path": [
- "api",
- "v1",
- "blueprint-model",
- "name",
- "pnf-test-cba",
- "version",
- "1.0.0"
- ]
- }
- },
- "response": []
- }
- ]
-} \ No newline at end of file