summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-elasticsearch
diff options
context:
space:
mode:
authorkj <keren.joseph@amdocs.com>2018-03-19 15:07:44 +0200
committerkj <keren.joseph@amdocs.com>2018-03-27 19:48:13 +0300
commit9bf2731ab42d49b3ac89d07e0e1282f685151c57 (patch)
treed900d4ad718f0939c5f580787032df46cce5c726 /kubernetes/aai/charts/aai-elasticsearch
parentbd46220299a64b32296a998ca74c37a1510007d4 (diff)
Add standardized helm chart for aai
Issue-ID: OOM-734 Change-Id: I6b1a85017d79b92afcae44cf823ab000a10ce4be Signed-off-by: kj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-elasticsearch')
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/.helmignore21
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/Chart.yaml4
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/resources/config/elasticsearch.yml400
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/templates/configmap.yaml23
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml96
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/templates/service.yaml25
-rw-r--r--kubernetes/aai/charts/aai-elasticsearch/values.yaml84
7 files changed, 653 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-elasticsearch/.helmignore b/kubernetes/aai/charts/aai-elasticsearch/.helmignore
new file mode 100644
index 0000000000..f0c1319444
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/.helmignore
@@ -0,0 +1,21 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
diff --git a/kubernetes/aai/charts/aai-elasticsearch/Chart.yaml b/kubernetes/aai/charts/aai-elasticsearch/Chart.yaml
new file mode 100644
index 0000000000..348e4fa8cd
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/Chart.yaml
@@ -0,0 +1,4 @@
+apiVersion: v1
+description: ONAP AAI elasticsearch
+name: aai-elasticsearch
+version: 2.0.0
diff --git a/kubernetes/aai/charts/aai-elasticsearch/resources/config/elasticsearch.yml b/kubernetes/aai/charts/aai-elasticsearch/resources/config/elasticsearch.yml
new file mode 100644
index 0000000000..822ae32f10
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/resources/config/elasticsearch.yml
@@ -0,0 +1,400 @@
+##################### Elasticsearch Configuration Example #####################
+
+# This file contains an overview of various configuration settings,
+# targeted at operations staff. Application developers should
+# consult the guide at <http://elasticsearch.org/guide>.
+#
+# The installation procedure is covered at
+# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>.
+#
+# Elasticsearch comes with reasonable defaults for most settings,
+# so you can try it out without bothering with configuration.
+#
+# Most of the time, these defaults are just fine for running a production
+# cluster. If you're fine-tuning your cluster, or wondering about the
+# effect of certain configuration option, please _do ask_ on the
+# mailing list or IRC channel [http://elasticsearch.org/community].
+
+# Any element in the configuration can be replaced with environment variables
+# by placing them in ${...} notation. For example:
+#
+# node.rack: ${RACK_ENV_VAR}
+
+# For information on supported formats and syntax for the config file, see
+# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html>
+################################### Cluster ###################################
+
+# Cluster name identifies your cluster for auto-discovery. If you're running
+# multiple clusters on the same network, make sure you're using unique names.
+#
+# cluster.name: elasticsearch
+
+cluster.name: ES_AAI
+
+#################################### Node #####################################
+
+node.name: ES_ONAP
+node.master: true
+node.data: true
+
+
+# Use the Cluster Health API [http://localhost:9200/_cluster/health], the
+# Node Info API [http://localhost:9200/_nodes] or GUI tools
+# such as <http://www.elasticsearch.org/overview/marvel/>,
+# <http://github.com/karmi/elasticsearch-paramedic>,
+# <http://github.com/lukas-vlcek/bigdesk> and
+# <http://mobz.github.com/elasticsearch-head> to inspect the cluster state.
+
+# By default, multiple nodes are allowed to start from the same installation location
+# to disable it, set the following:
+
+node.max_local_storage_nodes: 1
+
+
+#################################### Index ####################################
+# You can set a number of options (such as shard/replica options, mapping
+# or analyzer definitions, translog settings, ...) for indices globally,
+# in this file.
+#
+# Note, that it makes more sense to configure index settings specifically for
+# a certain index, either when creating it or by using the index templates API.
+#
+# See <http://elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules.html> and
+# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/indices-create-index.html>
+# for more information.
+
+# Set the number of shards (splits) of an index (5 by default):
+
+index.number_of_shards: 5
+
+# Set the number of replicas (additional copies) of an index (1 by default):
+
+index.number_of_replicas: 1
+
+# These settings directly affect the performance of index and search operations
+# in your cluster. Assuming you have enough machines to hold shards and
+# replicas, the rule of thumb is:
+#
+# 1. Having more *shards* enhances the _indexing_ performance and allows to
+# _distribute_ a big index across machines.
+# 2. Having more *replicas* enhances the _search_ performance and improves the
+# cluster _availability_.
+#
+# The "number_of_shards" is a one-time setting for an index.
+#
+# The "number_of_replicas" can be increased or decreased anytime,
+# by using the Index Update Settings API.
+#
+# Elasticsearch takes care about load balancing, relocating, gathering the
+# results from nodes, etc. Experiment with different settings to fine-tune
+# your setup.
+
+# Use the Index Status API (<http://localhost:9200/A/_status>) to inspect
+# the index status.
+
+
+#################################### Paths ####################################
+
+# Path to directory containing configuration (this file and logging.yml):
+#path.conf: /opt/app/elasticsearch/config
+
+# Path to directory where to store index data allocated for this node.
+# Use swm auto link to redirect the data directory if necessary.
+
+#path.data: /opt/app/elasticsearch/data
+
+# path.data: /path/to/data1,/path/to/data2
+
+# path.work: /path/to/work
+
+#path.logs: /opt/app/elasticsearch/logs
+
+#path.plugins: /opt/app/elasticsearch/plugins
+
+
+#################################### Plugin ###################################
+
+# If a plugin listed here is not installed for current node, the node will not start.
+#
+# plugin.mandatory: mapper-attachments,lang-groovy
+
+
+################################### Memory ####################################
+
+# Elasticsearch performs poorly when JVM starts swapping: you should ensure that
+# it _never_ swaps.
+#
+# Set this property to true to lock the memory: default is true
+
+bootstrap.mlockall: true
+
+# Make sure that the ES_MIN_MEM and ES_MAX_MEM environment variables are set
+# to the same value, and that the machine has enough memory to allocate
+# for Elasticsearch, leaving enough memory for the operating system itself.
+#
+# You should also make sure that the Elasticsearch process is allowed to lock
+# the memory, eg. by using `ulimit -l unlimited`.
+
+
+############################## Network And HTTP ###############################
+# Elasticsearch, by default, binds itself to the 0.0.0.0 address, and listens
+# on port [9200-9300] for HTTP traffic and on port [9300-9400] for node-to-node
+# communication. (the range means that if the port is busy, it will automatically
+# try the next port).
+
+# Set the bind address specifically (IPv4 or IPv6):
+network.bind_host: 0.0.0.0
+
+# Set the address other nodes will use to communicate with this node. If not
+# set, it is automatically derived. It must point to an actual IP address.
+
+# network.publish_host: 0.0.0.0
+
+# Set both 'bind_host' and 'publish_host':
+# network.host: 192.168.0.1
+
+
+# Set a custom port for the node to node communication (9300 by default):
+transport.tcp.port: {{ .Values.config.tcpPort }}
+
+# Enable compression for all communication between nodes (disabled by default):
+transport.tcp.compress: false
+
+# Set a custom port to listen for HTTP traffic:
+# http.port: 9200
+http.port: {{ .Values.service.internalPort }}
+
+# Set a custom allowed content length:
+# http.max_content_length: 100mb
+http.max_content_length: 100mb
+
+# Disable HTTP completely:
+# http.enabled: false
+http.enabled: true
+
+# This is specifically useful for permitting which front end Kibana Url's are permitted to access elastic search.
+http.cors.enabled: false
+http.cors.allow-origin: "/.*/"
+http.cors.allow-headers: X-Requested-With, Content-Type, Content-Length
+http.cors.allow-credentials: false
+################################### Gateway ###################################
+
+# The gateway allows for persisting the cluster state between full cluster
+# restarts. Every change to the state (such as adding an index) will be stored
+# in the gateway, and when the cluster starts up for the first time,
+# it will read its state from the gateway.
+# There are several types of gateway implementations. For more information, see
+# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/modules-gateway.html>.
+
+# The default gateway type is the "local" gateway (recommended):
+#
+#gateway.type: local
+#gateway.type: local
+
+# Settings below control how and when to start the initial recovery process on
+# a full cluster restart (to reuse as much local data as possible when using shared
+# gateway).
+
+# Allow recovery process after N nodes in a cluster are up:
+#
+# gateway.recover_after_nodes: 1
+gateway.recover_after_nodes: 1
+
+# Set the timeout to initiate the recovery process, once the N nodes
+# from previous setting are up (accepts time value):
+#
+#gateway.recover_after_time: 5m
+gateway.recover_after_time: 5m
+
+# Set how many nodes are expected in this cluster. Once these N nodes
+# are up (and recover_after_nodes is met), begin recovery process immediately
+# (without waiting for recover_after_time to expire):
+#
+# gateway.expected_nodes: 2
+gateway.expected_nodes: 2
+
+############################# Recovery Throttling #############################
+
+# These settings allow to control the process of shards allocation between
+# nodes during initial recovery, replica allocation, rebalancing,
+# or when adding and removing nodes.
+
+# Set the number of concurrent recoveries happening on a node:
+#
+# 1. During the initial recovery
+#
+# cluster.routing.allocation.node_initial_primaries_recoveries: 4
+#
+# 2. During adding/removing nodes, rebalancing, etc
+#
+# cluster.routing.allocation.node_concurrent_recoveries: 2
+
+# Set to throttle throughput when recovering (eg. 100mb, by default 20mb):
+# indices.recovery.max_bytes_per_sec: 20mb
+indices.recovery.max_bytes_per_sec: 20mb
+
+# Set to limit the number of open concurrent streams when
+# recovering a shard from a peer:
+#
+# indices.recovery.concurrent_streams: 5
+indices.recovery.concurrent_streams: 5
+
+################################## Discovery ##################################
+
+# Discovery infrastructure ensures nodes can be found within a cluster
+# and master node is elected. Multicast discovery is the default.
+
+# Set to ensure a node sees N other master eligible nodes to be considered
+# operational within the cluster. Its recommended to set it to a higher value
+# than 1 when running more than 2 nodes in the cluster.
+#
+discovery.zen.minimum_master_nodes: 1
+
+# Set the time to wait for ping responses from other nodes when discovering.
+# Set this option to a higher value on a slow or congested network
+# to minimize discovery failures:
+#
+# discovery.zen.ping.timeout: 3s
+discovery.zen.ping.timeout:
+
+# For more information, see
+# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/modules-discovery-zen.html>
+
+# Unicast discovery allows to explicitly control which nodes will be used
+# to discover the cluster. It can be used when multicast is not present,
+# or to restrict the cluster communication-wise.
+#
+# 1. Disable multicast discovery (enabled by default):
+# discovery.zen.ping.multicast.enabled: false
+discovery.zen.ping.multicast.enabled: false
+
+
+# 2. Configure an initial list of master nodes in the cluster
+# to perform discovery when new nodes (master or data) are started:
+#
+# discovery.zen.ping.unicast.hosts: ["host1", "host2:port"]
+discovery.zen.ping.unicast.hosts: ["0.0.0.0"]
+
+# EC2 discovery allows to use AWS EC2 API in order to perform discovery.
+#
+# You have to install the cloud-aws plugin for enabling the EC2 discovery.
+#
+# For more information, see
+# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/modules-discovery-ec2.html>
+#
+#
+# See <http://elasticsearch.org/tutorials/elasticsearch-on-ec2/>
+# for a step-by-step tutorial.
+
+# GCE discovery allows to use Google Compute Engine API in order to perform discovery.
+#
+# You have to install the cloud-gce plugin for enabling the GCE discovery.
+#
+# For more information, see <https://github.com/elasticsearch/elasticsearch-cloud-gce>.
+
+# Azure discovery allows to use Azure API in order to perform discovery.
+#
+# You have to install the cloud-azure plugin for enabling the Azure discovery.
+#
+# For more information, see <https://github.com/elasticsearch/elasticsearch-cloud-azure>.
+
+################################## Slow Log ##################################
+
+# Shard level query and fetch threshold logging.
+
+#index.search.slowlog.threshold.query.warn: 10s
+#index.search.slowlog.threshold.query.info: 5s
+#index.search.slowlog.threshold.query.debug: 2s
+#index.search.slowlog.threshold.query.trace: 500ms
+
+#index.search.slowlog.threshold.fetch.warn: 1s
+#index.search.slowlog.threshold.fetch.info: 800ms
+#index.search.slowlog.threshold.fetch.debug: 500ms
+#index.search.slowlog.threshold.fetch.trace: 200ms
+
+#index.indexing.slowlog.threshold.index.warn: 10s
+#index.indexing.slowlog.threshold.index.info: 5s
+#index.indexing.slowlog.threshold.index.debug: 2s
+#index.indexing.slowlog.threshold.index.trace: 500ms
+
+################################## GC Logging ################################
+
+#monitor.jvm.gc.young.warn: 1000ms
+#monitor.jvm.gc.young.info: 700ms
+#monitor.jvm.gc.young.debug: 400ms
+
+#monitor.jvm.gc.old.warn: 10s
+#monitor.jvm.gc.old.info: 5s
+#monitor.jvm.gc.old.debug: 2s
+
+#############################################################################################
+### SEARCH GUARD SSL #
+### Configuration #
+###############################################################################################
+## Uncomment all lines below prefixed with #X# (globally remove #X#) for searchguard
+##
+###############################################################################################
+### Transport layer SSL #
+### #
+###############################################################################################
+### Enable or disable node-to-node ssl encryption (default: true)
+#X#searchguard.ssl.transport.enable_openssl_if_available: true
+#X#searchguard.ssl.transport.enabled: true
+### JKS or PKCS12 (default: JKS)
+#X#searchguard.ssl.transport.keystore_type: JKS
+### Relative path to the keystore file (mandatory, this stores the server certificates), must be placed under the config/ dir
+#X#searchguard.ssl.transport.keystore_filepath: /some/path
+### Alias name (default: first alias which could be found)
+###searchguard.ssl.transport.keystore_alias: localhost
+### Keystore password (default: changeit)
+#X#searchguard.ssl.transport.keystore_password: changeit
+##
+### JKS or PKCS12 (default: JKS)
+#X#searchguard.ssl.transport.truststore_type: JKS
+### Relative path to the truststore file (mandatory, this stores the client/root certificates), must be placed under the config/ dir
+#X#searchguard.ssl.transport.truststore_filepath: truststore.jks
+### Alias name (default: first alias which could be found)
+###searchguard.ssl.transport.truststore_alias: my_alias
+### Truststore password (default: changeit)
+#X#searchguard.ssl.transport.truststore_password: changeit
+### Enforce hostname verification (default: true)
+###searchguard.ssl.transport.enforce_hostname_verification: true
+### If hostname verification specify if hostname should be resolved (default: true)
+###searchguard.ssl.transport.resolve_hostname: true
+### Use native Open SSL instead of JDK SSL if available (default: true)
+###searchguard.ssl.transport.enable_openssl_if_available: false
+##
+###############################################################################################
+### HTTP/REST layer SSL #
+### #
+###############################################################################################
+### Enable or disable rest layer security - https, (default: false)
+#X#searchguard.ssl.http.enable_openssl_if_available: true
+#X#searchguard.ssl.http.enabled: true
+### JKS or PKCS12 (default: JKS)
+#X#searchguard.ssl.http.keystore_type: JKS
+### Relative path to the keystore file (this stores the server certificates), must be placed under the config/ dir
+#X#searchguard.ssl.http.keystore_filepath: /keystore/path
+### Alias name (default: first alias which could be found)
+###searchguard.ssl.http.keystore_alias: my_alias
+### Keystore password (default: changeit)
+#X#searchguard.ssl.http.keystore_password: changeit
+### Do the clients (typically the browser or the proxy) have to authenticate themself to the http server, default is OPTIONAL
+### To enforce authentication use REQUIRE, to completely disable client certificates use NONE
+###searchguard.ssl.http.clientauth_mode: REQUIRE
+### JKS or PKCS12 (default: JKS)
+#X#searchguard.ssl.http.truststore_type: JKS
+### Relative path to the truststore file (this stores the client certificates), must be placed under the config/ dir
+#X#searchguard.ssl.http.truststore_filepath: truststore.jks
+### Alias name (default: first alias which could be found)
+###searchguard.ssl.http.truststore_alias: my_alias
+### Truststore password (default: changeit)
+#X#searchguard.ssl.http.truststore_password: changeit
+### Use native Open SSL instead of JDK SSL if available (default: true)
+###searchguard.ssl.http.enable_openssl_if_available: false
+
+#####################################################
+##### Security manager - Searchguard Configuration
+#####################################################
+#X#security.manager.enabled: false
+#X#searchguard.authcz.admin_dn:
diff --git a/kubernetes/aai/charts/aai-elasticsearch/templates/configmap.yaml b/kubernetes/aai/charts/aai-elasticsearch/templates/configmap.yaml
new file mode 100644
index 0000000000..991a06abcf
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/templates/configmap.yaml
@@ -0,0 +1,23 @@
+# Copyright © 2017 Amdocs, Bell Canada
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#{{ if not .Values.disableAaiElasticsearch }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/elasticsearch.yml").AsConfig . | indent 2 }}
+#{{ end }}
diff --git a/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml b/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml
new file mode 100644
index 0000000000..6792d4cd54
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/templates/deployment.yaml
@@ -0,0 +1,96 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: {{ include "common.fullname" . }}
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+spec:
+ replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
+ template:
+ metadata:
+ labels:
+ app: {{ include "common.name" . }}
+ name: {{ include "common.name" . }}
+ spec:
+ initContainers:
+ - command:
+ - /bin/sh
+ - -c
+ - |
+ mkdir -p /logroot/elasticsearch/es-data
+ chmod -R 777 /logroot/elasticsearch/es-data
+ chown -R root:root /logroot
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ securityContext:
+ privileged: true
+ image: {{ .Values.global.dockerhubRepository | default .Values.dockerhubRepository }}/{{ .Values.global.busyboxImage | default .Values.busyboxImage }}
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ name: init-sysctl
+ volumeMounts:
+ - name: elasticsearch-data
+ mountPath: /logroot/
+ hostname: {{ include "common.name" . }}
+ containers:
+ - name: {{ include "common.name" . }}
+ image: {{ .Values.global.dockerhubRepository | default .Values.dockerhubRepository }}/{{ .Values.image }}
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ ports:
+ - containerPort: {{ .Values.service.internalPort }}
+ # disable liveness probe when breakpoints set in debugger
+ # so K8s doesn't restart unresponsive container
+ {{- if eq .Values.liveness.enabled true }}
+ livenessProbe:
+ tcpSocket:
+ port: {{ .Values.service.internalPort }}
+ initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.liveness.periodSeconds }}
+ {{ end -}}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.service.internalPort }}
+ initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.readiness.periodSeconds }}
+ volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
+ - name: elasticsearch-config
+ subPath: elasticsearch.yml
+ mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
+ - name: elasticsearch-data
+ mountPath: /usr/share/elasticsearch/data
+ resources:
+{{ toYaml .Values.resources | indent 10 }}
+ {{- if .Values.nodeSelector }}
+ nodeSelector:
+{{ toYaml .Values.nodeSelector | indent 8 }}
+ {{- end -}}
+ {{- if .Values.affinity }}
+ affinity:
+{{ toYaml .Values.affinity | indent 8 }}
+ {{- end }}
+
+ volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
+ - name: elasticsearch-config
+ configMap:
+ name: {{ include "common.fullname" . }}
+ - name: elasticsearch-data
+ hostPath:
+ path: {{ .Values.persistence.mountPath }}/{{ include "common.namespace" . }}/{{ .Values.persistence.mountSubPath }}
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
diff --git a/kubernetes/aai/charts/aai-elasticsearch/templates/service.yaml b/kubernetes/aai/charts/aai-elasticsearch/templates/service.yaml
new file mode 100644
index 0000000000..84548eda86
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/templates/service.yaml
@@ -0,0 +1,25 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "common.name" . }}
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ {{if eq .Values.service.type "NodePort" -}}
+ - port: {{ .Values.service.internalPort }}
+ nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
+ name: {{ .Values.service.name }}
+ {{- else -}}
+ - port: {{ .Values.service.internalPort }}
+ name: {{ .Values.service.name }}
+ {{- end}}
+ selector:
+ app: {{ include "common.fullname" . }}
+ release: {{ .Release.Name }}
+ clusterIP: None
diff --git a/kubernetes/aai/charts/aai-elasticsearch/values.yaml b/kubernetes/aai/charts/aai-elasticsearch/values.yaml
new file mode 100644
index 0000000000..af7fd3d3ed
--- /dev/null
+++ b/kubernetes/aai/charts/aai-elasticsearch/values.yaml
@@ -0,0 +1,84 @@
+# Default values for elasticsearch.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+global: # global defaults
+ nodePortPrefix: 302
+ repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
+
+# application image
+dockerhubRepository: docker.io
+image: elasticsearch:2.4.1
+pullPolicy: Always
+
+# application configuration
+config:
+ tcpPort: 8443
+
+
+# default number of instances
+replicaCount: 1
+
+nodeSelector: {}
+
+affinity: {}
+
+# probe configuration parameters
+liveness:
+ initialDelaySeconds: 10
+ periodSeconds: 10
+ # necessary to disable liveness probe when setting breakpoints
+ # in debugger so K8s doesn't restart unresponsive container
+ enabled: true
+
+readiness:
+ initialDelaySeconds: 10
+ periodSeconds: 10
+
+service:
+ type: ClusterIP
+ name: aai-elasticsearch
+ internalPort: 9200
+
+ingress:
+ enabled: false
+
+persistence:
+ enabled: true
+
+ ## A manually managed Persistent Volume and Claim
+ ## Requires persistence.enabled: true
+ ## If defined, PVC must be created manually before volume will be bound
+ # existingClaim:
+ volumeReclaimPolicy: Retain
+
+ ## database data Persistent Volume Storage Class
+ ## If defined, storageClassName: <storageClass>
+ ## If set to "-", storageClassName: "", which disables dynamic provisioning
+ ## If undefined (the default) or set to null, no storageClassName spec is
+ ## set, choosing the default provisioner. (gp2 on AWS, standard on
+ ## GKE, AWS & OpenStack)
+ ##
+ ## storageClass: "-"
+ accessMode: ReadWriteMany
+ size: 2Gi
+ mountPath: /dockerdata-nfs
+ mountSubPath: aai/elasticsearch/data
+
+resources: {}
+ # We usually recommend not to specify default resources and to leave this as a conscious
+ # choice for the user. This also increases chances charts run on environments with little
+ # resources, such as Minikube. If you do want to specify resources, uncomment the following
+ # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
+ #
+ # Example:
+ # Configure resource requests and limits
+ # ref: http://kubernetes.io/docs/user-guide/compute-resources/
+ # Minimum memory for development is 2 CPU cores and 4GB memory
+ # Minimum memory for production is 4 CPU cores and 8GB memory
+#resources:
+# limits:
+# cpu: 2
+# memory: 4Gi
+# requests:
+# cpu: 2
+# memory: 4Gi
470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755
{
  "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
  "node_types": {
    "org.onap.nodetypes.policy.MetadataSet": {
      "derived_from": "tosca.nodetypes.Root",
      "version": "1.0.0"
    }
  },

  "topology_template": {
    "node_templates": {
      "apex.metadata.pnf": {
        "version": "1.0.0",
        "type": "org.onap.nodetypes.policy.MetadataSet",
        "type_version": "1.0.0",
        "description": "Metadata set for apex pnf Policy",
        "metadata": {
          "apexPolicyModel": {
            "key": {
              "name": "onap.policies.apex.Simplecontrolloop2",
              "version": "0.0.1"
            },
            "keyInformation": {
              "key": {
                "name": "onap.policies.apex.Simplecontrolloop2_KeyInfo",
                "version": "0.0.1"
              },
              "keyInfoMap": {
                "entry": [
                  {
                    "key": {
                      "name": "SimpleBooleanType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleBooleanType",
                        "version": "0.0.1"
                      },
                      "UUID": "7218fb2f-59e3-321d-9ae1-bc97b19eb4ae",
                      "description": "Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAIFailureResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIFailureResponseEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "c8a29e27-0a15-354a-84f9-4c7f207e5c81",
                      "description": "Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "UUID": "5e843cee-0180-39b9-8989-180b2ffe11c0",
                      "description": "Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAIRequestErrorType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIRequestErrorType",
                        "version": "0.0.1"
                      },
                      "UUID": "90291c92-9b27-3cd9-8720-db572419c048",
                      "description": "Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAIRequestEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIRequestEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "7b7e6751-4e0b-389d-98c0-5567bbc0294c",
                      "description": "Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAISuccessResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAISuccessResponseEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "63d5680c-14ef-3505-8d34-ebb646bba07b",
                      "description": "Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "UUID": "a84ca97d-6e94-39a2-91f9-59a6c9aa435e",
                      "description": "Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSActionIdentifiersType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSActionIdentifiersType",
                        "version": "0.0.1"
                      },
                      "UUID": "0e2ee622-7fd3-3e49-82e2-539c4f5e9624",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "e84f8682-ea33-3ad0-8626-8bc4634581fc",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "UUID": "a252f835-2479-38ef-9ef4-20af62725752",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyFailureResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyFailureResponseTask2",
                        "version": "0.0.1"
                      },
                      "UUID": "cfc46ea9-b8c1-38dd-ac9c-304c916daf34",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyRequestEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyRequestEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "1e7095d6-a455-3f89-acae-486e35d7e311",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                        "version": "0.0.1"
                      },
                      "UUID": "d22ea83b-695d-3da9-b9f5-41f16ca433bf",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
                        "version": "0.0.1"
                      },
                      "UUID": "e9fe2e40-1f0d-30dd-8b9e-885695878693",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "5e04fa76-0a17-38a9-8524-23b2d1a23fa5",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "UUID": "15866380-40f5-3f8e-87d9-13747a36d352",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifySuccessResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifySuccessResponseTask2",
                        "version": "0.0.1"
                      },
                      "UUID": "2c3d76ce-dd42-32ac-a397-ab418534e1cf",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
                        "version": "0.0.1"
                      },
                      "UUID": "b99c44da-dae7-3c96-b528-58852537d063",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSFailureResponseStatusType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSFailureResponseStatusType",
                        "version": "0.0.1"
                      },
                      "UUID": "1db688e2-3afe-3b03-9795-fdbfa80fa240",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSRequestCommonHeaderType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSRequestCommonHeaderType",
                        "version": "0.0.1"
                      },
                      "UUID": "31022456-e85b-3a9b-9ecb-a09691792d3e",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
                        "version": "0.0.1"
                      },
                      "UUID": "d6075720-622e-3a0d-827a-aa4580a2f5d7",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSSuccessResponseStatusType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSSuccessResponseStatusType",
                        "version": "0.0.1"
                      },
                      "UUID": "948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5",
                      "description": "Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_EventDetailsAlbum",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_EventDetailsAlbum",
                        "version": "0.0.1"
                      },
                      "UUID": "63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644",
                      "description": "Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_EventDetailsAlbumType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_EventDetailsAlbumType",
                        "version": "0.0.1"
                      },
                      "UUID": "a0407d0b-5719-38bf-9529-25ad62ace8c4",
                      "description": "Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_HandleAAIFailureResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_HandleAAIFailureResponseTask2",
                        "version": "0.0.1"
                      },
                      "UUID": "28e894dc-4ab8-3469-aab7-d81bd05bb4c9",
                      "description": "Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_HandleAAISuccessResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_HandleAAISuccessResponseTask2",
                        "version": "0.0.1"
                      },
                      "UUID": "073f1433-999e-3506-98ad-ef820d2fa7f0",
                      "description": "Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_HandleVesEventTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_HandleVesEventTask2",
                        "version": "0.0.1"
                      },
                      "UUID": "afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74",
                      "description": "Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "317be184-a01a-3e2d-9ae4-cafaa405de70",
                      "description": "Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEventComponentType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEventComponentType",
                        "version": "0.0.1"
                      },
                      "UUID": "be7fc79b-9b73-381a-8e23-9dd6e6b1233d",
                      "description": "Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEventOtherFieldsType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEventOtherFieldsType",
                        "version": "0.0.1"
                      },
                      "UUID": "1a082851-49e3-3f4c-b023-c05236cc8389",
                      "description": "Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEventTargetType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEventTargetType",
                        "version": "0.0.1"
                      },
                      "UUID": "cab6cd51-ea7b-3241-a173-ea8a24e29737",
                      "description": "Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_VesEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_VesEvent",
                        "version": "0.0.1"
                      },
                      "UUID": "0f57665a-f0a9-314e-ad0a-04c1f5758174",
                      "description": "Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_VesEventHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_VesEventHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "UUID": "ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b",
                      "description": "Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_VesEventType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_VesEventType",
                        "version": "0.0.1"
                      },
                      "UUID": "9fd7a967-57d4-36ef-81e9-c3396f3aa8d1",
                      "description": "Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleLongType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleLongType",
                        "version": "0.0.1"
                      },
                      "UUID": "2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574",
                      "description": "Generated description for concept referred to by key \"SimpleLongType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleStringType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleStringType",
                        "version": "0.0.1"
                      },
                      "UUID": "8a4957cf-9493-3a76-8c22-a208e23259af",
                      "description": "Generated description for concept referred to by key \"SimpleStringType:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2",
                        "version": "0.0.1"
                      },
                      "UUID": "ecc97b87-f30b-344c-a476-d36501bf5cbd",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2_Albums",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2_Albums",
                        "version": "0.0.1"
                      },
                      "UUID": "1469671a-56dd-3a68-bf6c-77a5cf7a9487",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2_Events",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2_Events",
                        "version": "0.0.1"
                      },
                      "UUID": "23c4eee4-aba5-36f6-96d6-46f40061bfed",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2_KeyInfo",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2_KeyInfo",
                        "version": "0.0.1"
                      },
                      "UUID": "ea9e73ff-483c-3827-896c-6eaa9d69bc6e",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2_Policies",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2_Policies",
                        "version": "0.0.1"
                      },
                      "UUID": "38c068e5-bb9a-3997-9e50-ec77c66825c8",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2_Schemas",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2_Schemas",
                        "version": "0.0.1"
                      },
                      "UUID": "38514b27-8b9b-3d06-844a-3aced27deb0a",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""
                    }
                  },
                  {
                    "key": {
                      "name": "onap.policies.apex.Simplecontrolloop2_Tasks",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "onap.policies.apex.Simplecontrolloop2_Tasks",
                        "version": "0.0.1"
                      },
                      "UUID": "0e0387b5-07fa-30e4-8554-eb51d2e18939",
                      "description": "Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""
                    }
                  }
                ]
              }
            },
            "policies": {
              "key": {
                "name": "onap.policies.apex.Simplecontrolloop2_Policies",
                "version": "0.0.1"
              },
              "policyMap": {
                "entry": [
                  {
                    "key": {
                      "name": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "policyKey": {
                        "name": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "template": "Freestyle",
                      "state": {
                        "entry": [
                          {
                            "key": "SimpleCL_ReceiveAAIFailureResponseState",
                            "value": {
                              "stateKey": {
                                "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                                "parentKeyVersion": "0.0.1",
                                "parentLocalName": "NULL",
                                "localName": "SimpleCL_ReceiveAAIFailureResponseState"
                              },
                              "trigger": {
                                "name": "SimpleCL_AAIFailureResponseEvent",
                                "version": "0.0.1"
                              },
                              "stateOutputs": {
                                "entry": [
                                  {
                                    "key": "AAIFailureStateOutput",
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState",
                                        "localName": "AAIFailureStateOutput"
                                      },
                                      "outgoingEvent": {
                                        "name": "SimpleCL_LogEvent",
                                        "version": "0.0.1"
                                      },
                                      "outgoingEventReference": [
                                        {
                                          "name": "SimpleCL_LogEvent",
                                          "version": "0.0.1"
                                        }
                                      ],
                                      "nextState": {
                                        "parentKeyName": "NULL",
                                        "parentKeyVersion": "0.0.0",
                                        "parentLocalName": "NULL",
                                        "localName": "NULL"
                                      }
                                    }
                                  }
                                ]
                              },
                              "contextAlbumReference": [],
                              "taskSelectionLogic": {
                                "key": "NULL",
                                "logicFlavour": "UNDEFINED",
                                "logic": ""
                              },
                              "stateFinalizerLogicMap": {
                                "entry": []
                              },
                              "defaultTask": {
                                "name": "SimpleCL_HandleAAIFailureResponseTask2",
                                "version": "0.0.1"
                              },
                              "taskReferences": {
                                "entry": [
                                  {
                                    "key": {
                                      "name": "SimpleCL_HandleAAIFailureResponseTask2",
                                      "version": "0.0.1"
                                    },
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState",
                                        "localName": "SimpleCL_AAIFailureResponseHandlerPolicy2"
                                      },
                                      "outputType": "DIRECT",
                                      "output": {
                                        "parentKeyName": "SimpleCL_AAIFailureResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveAAIFailureResponseState",
                                        "localName": "AAIFailureStateOutput"
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "firstState": "SimpleCL_ReceiveAAIFailureResponseState"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "policyKey": {
                        "name": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "template": "Freestyle",
                      "state": {
                        "entry": [
                          {
                            "key": "SimpleCL_ReceiveAAISuccessResponseState",
                            "value": {
                              "stateKey": {
                                "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                                "parentKeyVersion": "0.0.1",
                                "parentLocalName": "NULL",
                                "localName": "SimpleCL_ReceiveAAISuccessResponseState"
                              },
                              "trigger": {
                                "name": "SimpleCL_AAISuccessResponseEvent",
                                "version": "0.0.1"
                              },
                              "stateOutputs": {
                                "entry": [
                                  {
                                    "key": "AAISuccessStateOutput",
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState",
                                        "localName": "AAISuccessStateOutput"
                                      },
                                      "outgoingEvent": {
                                        "name": "SimpleCL_CDSConfigModifyRequestEvent",
                                        "version": "0.0.1"
                                      },
                                      "outgoingEventReference": [
                                        {
                                          "name": "SimpleCL_CDSConfigModifyRequestEvent",
                                          "version": "0.0.1"
                                        },
                                        {
                                          "name": "SimpleCL_LogEvent",
                                          "version": "0.0.1"
                                        }
                                      ],
                                      "nextState": {
                                        "parentKeyName": "NULL",
                                        "parentKeyVersion": "0.0.0",
                                        "parentLocalName": "NULL",
                                        "localName": "NULL"
                                      }
                                    }
                                  }
                                ]
                              },
                              "contextAlbumReference": [],
                              "taskSelectionLogic": {
                                "key": "NULL",
                                "logicFlavour": "UNDEFINED",
                                "logic": ""
                              },
                              "stateFinalizerLogicMap": {
                                "entry": []
                              },
                              "defaultTask": {
                                "name": "SimpleCL_HandleAAISuccessResponseTask2",
                                "version": "0.0.1"
                              },
                              "taskReferences": {
                                "entry": [
                                  {
                                    "key": {
                                      "name": "SimpleCL_HandleAAISuccessResponseTask2",
                                      "version": "0.0.1"
                                    },
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState",
                                        "localName": "SimpleCL_AAISuccessResponseHandlerPolicy2"
                                      },
                                      "outputType": "DIRECT",
                                      "output": {
                                        "parentKeyName": "SimpleCL_AAISuccessResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveAAISuccessResponseState",
                                        "localName": "AAISuccessStateOutput"
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "firstState": "SimpleCL_ReceiveAAISuccessResponseState"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "policyKey": {
                        "name": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "template": "Freestyle",
                      "state": {
                        "entry": [
                          {
                            "key": "SimpleCL_CDSConfigModifyFailureResponseState",
                            "value": {
                              "stateKey": {
                                "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                                "parentKeyVersion": "0.0.1",
                                "parentLocalName": "NULL",
                                "localName": "SimpleCL_CDSConfigModifyFailureResponseState"
                              },
                              "trigger": {
                                "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
                                "version": "0.0.1"
                              },
                              "stateOutputs": {
                                "entry": [
                                  {
                                    "key": "ConfigModifyFailureResponseOutput",
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState",
                                        "localName": "ConfigModifyFailureResponseOutput"
                                      },
                                      "outgoingEvent": {
                                        "name": "SimpleCL_LogEvent",
                                        "version": "0.0.1"
                                      },
                                      "outgoingEventReference": [
                                        {
                                          "name": "SimpleCL_LogEvent",
                                          "version": "0.0.1"
                                        }
                                      ],
                                      "nextState": {
                                        "parentKeyName": "NULL",
                                        "parentKeyVersion": "0.0.0",
                                        "parentLocalName": "NULL",
                                        "localName": "NULL"
                                      }
                                    }
                                  }
                                ]
                              },
                              "contextAlbumReference": [],
                              "taskSelectionLogic": {
                                "key": "NULL",
                                "logicFlavour": "UNDEFINED",
                                "logic": ""
                              },
                              "stateFinalizerLogicMap": {
                                "entry": []
                              },
                              "defaultTask": {
                                "name": "SimpleCL_CDSConfigModifyFailureResponseTask2",
                                "version": "0.0.1"
                              },
                              "taskReferences": {
                                "entry": [
                                  {
                                    "key": {
                                      "name": "SimpleCL_CDSConfigModifyFailureResponseTask2",
                                      "version": "0.0.1"
                                    },
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState",
                                        "localName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"
                                      },
                                      "outputType": "DIRECT",
                                      "output": {
                                        "parentKeyName": "SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_CDSConfigModifyFailureResponseState",
                                        "localName": "ConfigModifyFailureResponseOutput"
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "firstState": "SimpleCL_CDSConfigModifyFailureResponseState"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "policyKey": {
                        "name": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "template": "Freestyle",
                      "state": {
                        "entry": [
                          {
                            "key": "SimpleCL_CDSConfigModifySuccessResponseState",
                            "value": {
                              "stateKey": {
                                "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                                "parentKeyVersion": "0.0.1",
                                "parentLocalName": "NULL",
                                "localName": "SimpleCL_CDSConfigModifySuccessResponseState"
                              },
                              "trigger": {
                                "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
                                "version": "0.0.1"
                              },
                              "stateOutputs": {
                                "entry": [
                                  {
                                    "key": "ConfigModifySuccessResponseOutput",
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState",
                                        "localName": "ConfigModifySuccessResponseOutput"
                                      },
                                      "outgoingEvent": {
                                        "name": "SimpleCL_LogEvent",
                                        "version": "0.0.1"
                                      },
                                      "outgoingEventReference": [
                                        {
                                          "name": "SimpleCL_LogEvent",
                                          "version": "0.0.1"
                                        }
                                      ],
                                      "nextState": {
                                        "parentKeyName": "NULL",
                                        "parentKeyVersion": "0.0.0",
                                        "parentLocalName": "NULL",
                                        "localName": "NULL"
                                      }
                                    }
                                  }
                                ]
                              },
                              "contextAlbumReference": [],
                              "taskSelectionLogic": {
                                "key": "NULL",
                                "logicFlavour": "UNDEFINED",
                                "logic": ""
                              },
                              "stateFinalizerLogicMap": {
                                "entry": []
                              },
                              "defaultTask": {
                                "name": "SimpleCL_CDSConfigModifySuccessResponseTask2",
                                "version": "0.0.1"
                              },
                              "taskReferences": {
                                "entry": [
                                  {
                                    "key": {
                                      "name": "SimpleCL_CDSConfigModifySuccessResponseTask2",
                                      "version": "0.0.1"
                                    },
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState",
                                        "localName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"
                                      },
                                      "outputType": "DIRECT",
                                      "output": {
                                        "parentKeyName": "SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_CDSConfigModifySuccessResponseState",
                                        "localName": "ConfigModifySuccessResponseOutput"
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "firstState": "SimpleCL_CDSConfigModifySuccessResponseState"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_VesEventHandlerPolicy2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "policyKey": {
                        "name": "SimpleCL_VesEventHandlerPolicy2",
                        "version": "0.0.1"
                      },
                      "template": "Freestyle",
                      "state": {
                        "entry": [
                          {
                            "key": "SimpleCL_ReceiveVesState",
                            "value": {
                              "stateKey": {
                                "parentKeyName": "SimpleCL_VesEventHandlerPolicy2",
                                "parentKeyVersion": "0.0.1",
                                "parentLocalName": "NULL",
                                "localName": "SimpleCL_ReceiveVesState"
                              },
                              "trigger": {
                                "name": "SimpleCL_VesEvent",
                                "version": "0.0.1"
                              },
                              "stateOutputs": {
                                "entry": [
                                  {
                                    "key": "VesOutput",
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_VesEventHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveVesState",
                                        "localName": "VesOutput"
                                      },
                                      "outgoingEvent": {
                                        "name": "SimpleCL_AAIRequestEvent",
                                        "version": "0.0.1"
                                      },
                                      "outgoingEventReference": [
                                        {
                                          "name": "SimpleCL_AAIRequestEvent",
                                          "version": "0.0.1"
                                        },
                                        {
                                          "name": "SimpleCL_LogEvent",
                                          "version": "0.0.1"
                                        }
                                      ],
                                      "nextState": {
                                        "parentKeyName": "NULL",
                                        "parentKeyVersion": "0.0.0",
                                        "parentLocalName": "NULL",
                                        "localName": "NULL"
                                      }
                                    }
                                  }
                                ]
                              },
                              "contextAlbumReference": [],
                              "taskSelectionLogic": {
                                "key": "NULL",
                                "logicFlavour": "UNDEFINED",
                                "logic": ""
                              },
                              "stateFinalizerLogicMap": {
                                "entry": []
                              },
                              "defaultTask": {
                                "name": "SimpleCL_HandleVesEventTask2",
                                "version": "0.0.1"
                              },
                              "taskReferences": {
                                "entry": [
                                  {
                                    "key": {
                                      "name": "SimpleCL_HandleVesEventTask2",
                                      "version": "0.0.1"
                                    },
                                    "value": {
                                      "key": {
                                        "parentKeyName": "SimpleCL_VesEventHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveVesState",
                                        "localName": "SimpleCL_VesEventHandlerPolicy2"
                                      },
                                      "outputType": "DIRECT",
                                      "output": {
                                        "parentKeyName": "SimpleCL_VesEventHandlerPolicy2",
                                        "parentKeyVersion": "0.0.1",
                                        "parentLocalName": "SimpleCL_ReceiveVesState",
                                        "localName": "VesOutput"
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "firstState": "SimpleCL_ReceiveVesState"
                    }
                  }
                ]
              }
            },
            "tasks": {
              "key": {
                "name": "onap.policies.apex.Simplecontrolloop2_Tasks",
                "version": "0.0.1"
              },
              "taskMap": {
                "entry": [
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyFailureResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyFailureResponseTask2",
                        "version": "0.0.1"
                      },
                      "inputEvent": {
                        "key": {
                          "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
                          "version": "0.0.1"
                        },
                        "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                        "source": "CDS",
                        "target": "APEX",
                        "parameter": {
                          "entry": [
                            {
                              "key": "actionIdentifiers",
                              "value": {
                                "key": "actionIdentifiers",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSActionIdentifiersType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "commonHeader",
                              "value": {
                                "key": "commonHeader",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "payload",
                              "value": {
                                "key": "payload",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "status",
                              "value": {
                                "key": "status",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSFailureResponseStatusType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            }
                          ]
                        },
                        "toscaPolicyState": "EXIT_FAILURE"
                      },
                      "outputEvents": {
                        "entry": [
                          {
                            "key": "SimpleCL_LogEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_LogEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "DCAE",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "component",
                                    "value": {
                                      "key": "component",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventComponentType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "id",
                                    "value": {
                                      "key": "id",
                                      "fieldSchemaKey": {
                                        "name": "SimpleStringType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "otherFields",
                                    "value": {
                                      "key": "otherFields",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventOtherFieldsType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "target",
                                    "value": {
                                      "key": "target",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventTargetType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          }
                        ]
                      },
                      "taskParameters": {
                        "entry": []
                      },
                      "contextAlbumReference": [
                        {
                          "name": "SimpleCL_EventDetailsAlbum",
                          "version": "0.0.1"
                        }
                      ],
                      "taskLogic": {
                        "key": "TaskLogic",
                        "logicFlavour": "JAVASCRIPT",
                        "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n    var timestamp = longType(new Date().getTime());\n    var logEventFields = java.util.HashMap();\n    logEventFields.put(\"id\", eventId);\n    \n    var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n    entityInfo.put(\"pnf_DasH_name\", pnfName);\n    var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n    target.put(\"entityInfo\", entityInfo);\n    target.put(\"targetType\", targetType)\n    logEventFields.put(\"target\", target);\n    \n    var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n    artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n    artifacts.put(\"policyVersion\", \"1.0.0\");\n    var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n    component.put(\"artifacts\", artifacts);\n    component.put(\"name\", \"Policy\")\n    component.put(\"flavour\", \"Apex-PDP\")\n    component.put(\"timestamp\", timestamp)\n    component.put(\"status\", status)\n    component.put(\"message\", message)\n    logEventFields.put(\"component\", component);\n    \n    var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n    otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n    logEventFields.put(\"otherFields\", otherFieldsEntry);\n    \n    return logEventFields;\n}"
                      }
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifySuccessResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifySuccessResponseTask2",
                        "version": "0.0.1"
                      },
                      "inputEvent": {
                        "key": {
                          "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
                          "version": "0.0.1"
                        },
                        "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                        "source": "CDS",
                        "target": "APEX",
                        "parameter": {
                          "entry": [
                            {
                              "key": "actionIdentifiers",
                              "value": {
                                "key": "actionIdentifiers",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSActionIdentifiersType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "commonHeader",
                              "value": {
                                "key": "commonHeader",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "payload",
                              "value": {
                                "key": "payload",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "status",
                              "value": {
                                "key": "status",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_CDSSuccessResponseStatusType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            }
                          ]
                        },
                        "toscaPolicyState": "EXIT_SUCCESS"
                      },
                      "outputEvents": {
                        "entry": [
                          {
                            "key": "SimpleCL_LogEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_LogEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "DCAE",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "component",
                                    "value": {
                                      "key": "component",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventComponentType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "id",
                                    "value": {
                                      "key": "id",
                                      "fieldSchemaKey": {
                                        "name": "SimpleStringType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "otherFields",
                                    "value": {
                                      "key": "otherFields",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventOtherFieldsType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "target",
                                    "value": {
                                      "key": "target",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventTargetType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          }
                        ]
                      },
                      "taskParameters": {
                        "entry": []
                      },
                      "contextAlbumReference": [
                        {
                          "name": "SimpleCL_EventDetailsAlbum",
                          "version": "0.0.1"
                        }
                      ],
                      "taskLogic": {
                        "key": "TaskLogic",
                        "logicFlavour": "JAVASCRIPT",
                        "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n    var timestamp = longType(new Date().getTime());\n    var logEventFields = java.util.HashMap();\n    logEventFields.put(\"id\", eventId);\n    \n    var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n    entityInfo.put(\"pnf_DasH_name\", pnfName);\n    var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n    target.put(\"entityInfo\", entityInfo);\n    target.put(\"targetType\", targetType)\n    logEventFields.put(\"target\", target);\n    \n    var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n    artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n    artifacts.put(\"policyVersion\", \"1.0.0\");\n    var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n    component.put(\"artifacts\", artifacts);\n    component.put(\"name\", \"Policy\")\n    component.put(\"flavour\", \"Apex-PDP\")\n    component.put(\"timestamp\", timestamp)\n    component.put(\"status\", status)\n    component.put(\"message\", message)\n    logEventFields.put(\"component\", component);\n    \n    var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n    otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n    logEventFields.put(\"otherFields\", otherFieldsEntry);\n    \n    return logEventFields;\n}"
                      }
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_HandleAAIFailureResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_HandleAAIFailureResponseTask2",
                        "version": "0.0.1"
                      },
                      "inputEvent": {
                        "key": {
                          "name": "SimpleCL_AAIFailureResponseEvent",
                          "version": "0.0.1"
                        },
                        "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                        "source": "AAI",
                        "target": "APEX",
                        "parameter": {
                          "entry": [
                            {
                              "key": "requestError",
                              "value": {
                                "key": "requestError",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_AAIRequestErrorType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            }
                          ]
                        },
                        "toscaPolicyState": "EXIT_FAILURE"
                      },
                      "outputEvents": {
                        "entry": [
                          {
                            "key": "SimpleCL_LogEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_LogEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "DCAE",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "component",
                                    "value": {
                                      "key": "component",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventComponentType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "id",
                                    "value": {
                                      "key": "id",
                                      "fieldSchemaKey": {
                                        "name": "SimpleStringType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "otherFields",
                                    "value": {
                                      "key": "otherFields",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventOtherFieldsType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "target",
                                    "value": {
                                      "key": "target",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventTargetType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          }
                        ]
                      },
                      "taskParameters": {
                        "entry": []
                      },
                      "contextAlbumReference": [
                        {
                          "name": "SimpleCL_EventDetailsAlbum",
                          "version": "0.0.1"
                        }
                      ],
                      "taskLogic": {
                        "key": "TaskLogic",
                        "logicFlavour": "JAVASCRIPT",
                        "logic": "var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n    var timestamp = longType(new Date().getTime());\n    var logEventFields = java.util.HashMap();\n    logEventFields.put(\"id\", eventId);\n    \n    var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n    entityInfo.put(\"pnf_DasH_name\", pnfName);\n    var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n    target.put(\"entityInfo\", entityInfo);\n    target.put(\"targetType\", targetType)\n    logEventFields.put(\"target\", target);\n    \n    var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n    artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n    artifacts.put(\"policyVersion\", \"1.0.0\");\n    var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n    component.put(\"artifacts\", artifacts);\n    component.put(\"name\", \"Policy\")\n    component.put(\"flavour\", \"Apex-PDP\")\n    component.put(\"timestamp\", timestamp)\n    component.put(\"status\", status)\n    component.put(\"message\", message)\n    logEventFields.put(\"component\", component);\n    \n    var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n    otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n    logEventFields.put(\"otherFields\", otherFieldsEntry);\n    \n    return logEventFields;\n}"
                      }
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_HandleAAISuccessResponseTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_HandleAAISuccessResponseTask2",
                        "version": "0.0.1"
                      },
                      "inputEvent": {
                        "key": {
                          "name": "SimpleCL_AAISuccessResponseEvent",
                          "version": "0.0.1"
                        },
                        "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                        "source": "AAI",
                        "target": "APEX",
                        "parameter": {
                          "entry": [
                            {
                              "key": "equip-model",
                              "value": {
                                "key": "equip-model",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "equip-type",
                              "value": {
                                "key": "equip-type",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "equip-vendor",
                              "value": {
                                "key": "equip-vendor",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "frame-id",
                              "value": {
                                "key": "frame-id",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "in-maint",
                              "value": {
                                "key": "in-maint",
                                "fieldSchemaKey": {
                                  "name": "SimpleBooleanType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "ipaddress-v4-oam",
                              "value": {
                                "key": "ipaddress-v4-oam",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "nf-role",
                              "value": {
                                "key": "nf-role",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "pnf-ipv4-address",
                              "value": {
                                "key": "pnf-ipv4-address",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "pnf-name",
                              "value": {
                                "key": "pnf-name",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            },
                            {
                              "key": "resource-version",
                              "value": {
                                "key": "resource-version",
                                "fieldSchemaKey": {
                                  "name": "SimpleStringType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            }
                          ]
                        },
                        "toscaPolicyState": ""
                      },
                      "outputEvents": {
                        "entry": [
                          {
                            "key": "SimpleCL_CDSConfigModifyRequestEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_CDSConfigModifyRequestEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "APEX",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "actionIdentifiers",
                                    "value": {
                                      "key": "actionIdentifiers",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_CDSActionIdentifiersType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "commonHeader",
                                    "value": {
                                      "key": "commonHeader",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_CDSRequestCommonHeaderType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "payload",
                                    "value": {
                                      "key": "payload",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          },
                          {
                            "key": "SimpleCL_LogEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_LogEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "DCAE",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "component",
                                    "value": {
                                      "key": "component",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventComponentType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "id",
                                    "value": {
                                      "key": "id",
                                      "fieldSchemaKey": {
                                        "name": "SimpleStringType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "otherFields",
                                    "value": {
                                      "key": "otherFields",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventOtherFieldsType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "target",
                                    "value": {
                                      "key": "target",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventTargetType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          }
                        ]
                      },
                      "taskParameters": {
                        "entry": []
                      },
                      "contextAlbumReference": [
                        {
                          "name": "SimpleCL_EventDetailsAlbum",
                          "version": "0.0.1"
                        }
                      ],
                      "taskLogic": {
                        "key": "TaskLogic",
                        "logicFlavour": "JAVASCRIPT",
                        "logic": "var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\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;\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    var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n    executor.addFieldsToOutput(logEventFields);\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(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n    commonHeader.put(\"subRequestId\", albumID.toString());\n    commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n    commonHeader.put(\"originatorId\", \"POLICY\");\n\n    var blueprintName = \"controlloop-hostname-update\";\n    var blueprintVersion = \"1.0.4\";\n    var newHostname = \"host\" + Math.random().toString(36).substring(7);\n    eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n    var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"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(\"SimpleCL_CDSConfigModifyRequestEvent\", \"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(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n    payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n    var cdsRequestEventFields = java.util.HashMap();\n    cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n    cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n    cdsRequestEventFields.put(\"payload\", payload);\n    executor.addFieldsToOutput(cdsRequestEventFields);\n\n    var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n    executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n    var timestamp = longType(new Date().getTime());\n    var logEventFields = java.util.HashMap();\n    logEventFields.put(\"id\", eventId);\n    \n    var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n    entityInfo.put(\"pnf_DasH_name\", pnfName);\n    var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n    target.put(\"entityInfo\", entityInfo);\n    target.put(\"targetType\", targetType)\n    logEventFields.put(\"target\", target);\n    \n    var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n    artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n    artifacts.put(\"policyVersion\", \"1.0.0\");\n    var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n    component.put(\"artifacts\", artifacts);\n    component.put(\"name\", \"Policy\")\n    component.put(\"flavour\", \"Apex-PDP\")\n    component.put(\"timestamp\", timestamp)\n    component.put(\"status\", status)\n    component.put(\"message\", message)\n    logEventFields.put(\"component\", component);\n    \n    var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n    otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n    logEventFields.put(\"otherFields\", otherFieldsEntry);\n    \n    return logEventFields;\n}"
                      }
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_HandleVesEventTask2",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_HandleVesEventTask2",
                        "version": "0.0.1"
                      },
                      "inputEvent": {
                        "key": {
                          "name": "SimpleCL_VesEvent",
                          "version": "0.0.1"
                        },
                        "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                        "source": "DCAE",
                        "target": "APEX",
                        "parameter": {
                          "entry": [
                            {
                              "key": "event",
                              "value": {
                                "key": "event",
                                "fieldSchemaKey": {
                                  "name": "SimpleCL_VesEventType",
                                  "version": "0.0.1"
                                },
                                "optional": false
                              }
                            }
                          ]
                        },
                        "toscaPolicyState": "ENTRY"
                      },
                      "outputEvents": {
                        "entry": [
                          {
                            "key": "SimpleCL_AAIRequestEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_AAIRequestEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "AAI",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "aaifield",
                                    "value": {
                                      "key": "aaifield",
                                      "fieldSchemaKey": {
                                        "name": "SimpleStringType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          },
                          {
                            "key": "SimpleCL_LogEvent",
                            "value": {
                              "key": {
                                "name": "SimpleCL_LogEvent",
                                "version": "0.0.1"
                              },
                              "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                              "source": "APEX",
                              "target": "DCAE",
                              "parameter": {
                                "entry": [
                                  {
                                    "key": "component",
                                    "value": {
                                      "key": "component",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventComponentType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "id",
                                    "value": {
                                      "key": "id",
                                      "fieldSchemaKey": {
                                        "name": "SimpleStringType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "otherFields",
                                    "value": {
                                      "key": "otherFields",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventOtherFieldsType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  },
                                  {
                                    "key": "target",
                                    "value": {
                                      "key": "target",
                                      "fieldSchemaKey": {
                                        "name": "SimpleCL_LogEventTargetType",
                                        "version": "0.0.1"
                                      },
                                      "optional": false
                                    }
                                  }
                                ]
                              },
                              "toscaPolicyState": ""
                            }
                          }
                        ]
                      },
                      "taskParameters": {
                        "entry": []
                      },
                      "contextAlbumReference": [
                        {
                          "name": "SimpleCL_EventDetailsAlbum",
                          "version": "0.0.1"
                        }
                      ],
                      "taskLogic": {
                        "key": "TaskLogic",
                        "logicFlavour": "JAVASCRIPT",
                        "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(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n    // populate logEventFields\n    var timestamp = longType(new Date().getTime());\n    var logEventFields = java.util.HashMap();\n    logEventFields.put(\"id\", eventId);\n    \n    var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n    entityInfo.put(\"pnf_DasH_name\", pnfName);\n    var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n    target.put(\"entityInfo\", entityInfo);\n    target.put(\"targetType\", targetType)\n    logEventFields.put(\"target\", target);\n    \n    var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n    artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n    artifacts.put(\"policyVersion\", \"1.0.0\");\n    var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n    component.put(\"artifacts\", artifacts);\n    component.put(\"name\", \"Policy\")\n    component.put(\"flavour\", \"Apex-PDP\")\n    component.put(\"timestamp\", timestamp)\n    component.put(\"status\", status)\n    component.put(\"message\", message)\n    logEventFields.put(\"component\", component);\n    \n    var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n    otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n    logEventFields.put(\"otherFields\", otherFieldsEntry);\n    \n    return logEventFields;\n}"
                      }
                    }
                  }
                ]
              }
            },
            "events": {
              "key": {
                "name": "onap.policies.apex.Simplecontrolloop2_Events",
                "version": "0.0.1"
              },
              "eventMap": {
                "entry": [
                  {
                    "key": {
                      "name": "SimpleCL_AAIFailureResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIFailureResponseEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "AAI",
                      "target": "APEX",
                      "parameter": {
                        "entry": [
                          {
                            "key": "requestError",
                            "value": {
                              "key": "requestError",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_AAIRequestErrorType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      }
                    },
                    "toscaPolicyState": "EXIT_FAILURE"
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAIRequestEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIRequestEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "APEX",
                      "target": "AAI",
                      "parameter": {
                        "entry": [
                          {
                            "key": "aaifield",
                            "value": {
                              "key": "aaifield",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": ""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAISuccessResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAISuccessResponseEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "AAI",
                      "target": "APEX",
                      "parameter": {
                        "entry": [
                          {
                            "key": "equip-model",
                            "value": {
                              "key": "equip-model",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "equip-type",
                            "value": {
                              "key": "equip-type",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "equip-vendor",
                            "value": {
                              "key": "equip-vendor",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "frame-id",
                            "value": {
                              "key": "frame-id",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "in-maint",
                            "value": {
                              "key": "in-maint",
                              "fieldSchemaKey": {
                                "name": "SimpleBooleanType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "ipaddress-v4-oam",
                            "value": {
                              "key": "ipaddress-v4-oam",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "nf-role",
                            "value": {
                              "key": "nf-role",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "pnf-ipv4-address",
                            "value": {
                              "key": "pnf-ipv4-address",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "pnf-name",
                            "value": {
                              "key": "pnf-name",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "resource-version",
                            "value": {
                              "key": "resource-version",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": ""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyFailureResponseEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "CDS",
                      "target": "APEX",
                      "parameter": {
                        "entry": [
                          {
                            "key": "actionIdentifiers",
                            "value": {
                              "key": "actionIdentifiers",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSActionIdentifiersType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "commonHeader",
                            "value": {
                              "key": "commonHeader",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "payload",
                            "value": {
                              "key": "payload",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "status",
                            "value": {
                              "key": "status",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSFailureResponseStatusType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": "EXIT_FAILURE"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyRequestEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyRequestEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "APEX",
                      "target": "APEX",
                      "parameter": {
                        "entry": [
                          {
                            "key": "actionIdentifiers",
                            "value": {
                              "key": "actionIdentifiers",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSActionIdentifiersType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "commonHeader",
                            "value": {
                              "key": "commonHeader",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSRequestCommonHeaderType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "payload",
                            "value": {
                              "key": "payload",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": ""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifySuccessResponseEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "CDS",
                      "target": "APEX",
                      "parameter": {
                        "entry": [
                          {
                            "key": "actionIdentifiers",
                            "value": {
                              "key": "actionIdentifiers",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSActionIdentifiersType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "commonHeader",
                            "value": {
                              "key": "commonHeader",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "payload",
                            "value": {
                              "key": "payload",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "status",
                            "value": {
                              "key": "status",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_CDSSuccessResponseStatusType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": "EXIT_SUCCESS"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "APEX",
                      "target": "DCAE",
                      "parameter": {
                        "entry": [
                          {
                            "key": "component",
                            "value": {
                              "key": "component",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_LogEventComponentType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "id",
                            "value": {
                              "key": "id",
                              "fieldSchemaKey": {
                                "name": "SimpleStringType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "otherFields",
                            "value": {
                              "key": "otherFields",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_LogEventOtherFieldsType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          },
                          {
                            "key": "target",
                            "value": {
                              "key": "target",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_LogEventTargetType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": ""
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_VesEvent",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_VesEvent",
                        "version": "0.0.1"
                      },
                      "nameSpace": "org.onap.policy.apex.simplecontrolloop",
                      "source": "DCAE",
                      "target": "APEX",
                      "parameter": {
                        "entry": [
                          {
                            "key": "event",
                            "value": {
                              "key": "event",
                              "fieldSchemaKey": {
                                "name": "SimpleCL_VesEventType",
                                "version": "0.0.1"
                              },
                              "optional": false
                            }
                          }
                        ]
                      },
                      "toscaPolicyState": "ENTRY"
                    }
                  }
                ]
              }
            },
            "albums": {
              "key": {
                "name": "onap.policies.apex.Simplecontrolloop2_Albums",
                "version": "0.0.1"
              },
              "albums": {
                "entry": [
                  {
                    "key": {
                      "name": "SimpleCL_EventDetailsAlbum",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_EventDetailsAlbum",
                        "version": "0.0.1"
                      },
                      "scope": "policy",
                      "isWritable": true,
                      "itemSchema": {
                        "name": "SimpleCL_EventDetailsAlbumType",
                        "version": "0.0.1"
                      }
                    }
                  }
                ]
              }
            },
            "schemas": {
              "key": {
                "name": "onap.policies.apex.Simplecontrolloop2_Schemas",
                "version": "0.0.1"
              },
              "schemas": {
                "entry": [
                  {
                    "key": {
                      "name": "SimpleBooleanType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleBooleanType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Java",
                      "schemaDefinition": "java.lang.Boolean"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_AAIRequestErrorType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_AAIRequestErrorType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSActionIdentifiersType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSActionIdentifiersType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyRequestPayloadType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSConfigModifyResponsePayloadType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSFailureResponseCommonHeaderType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSFailureResponseStatusType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSFailureResponseStatusType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSRequestCommonHeaderType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSRequestCommonHeaderType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSSuccessResponseCommonHeaderType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_CDSSuccessResponseStatusType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_CDSSuccessResponseStatusType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_EventDetailsAlbumType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_EventDetailsAlbumType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEventComponentType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEventComponentType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "schemaDefinition": "{\n        \"name\": \"component\",\n        \"type\": \"record\",\n        \"fields\": [\n          {\n            \"name\": \"name\",\n            \"type\": \"string\"\n          },\n          {\n            \"name\": \"flavour\",\n            \"type\": \"string\"\n          },\n          {\n            \"name\": \"timestamp\",\n            \"type\": \"long\"\n          },\n          {\n            \"name\": \"status\",\n            \"type\": \"string\"\n          },\n          {\n            \"name\": \"message\",\n            \"type\": \"string\"\n          },\n          {\n            \"name\": \"artifacts\",\n            \"type\": {\n              \"name\": \"artifacts\",\n              \"type\": \"record\",\n              \"fields\": [\n                {\n                  \"name\": \"policyName\",\n                  \"type\": \"string\"\n                },\n                {\n                  \"name\": \"policyVersion\",\n                  \"type\": \"string\"\n                }\n              ]\n            }\n          }\n        ]\n      }"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEventOtherFieldsType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEventOtherFieldsType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "schemaDefinition": "{\n        \"name\": \"otherFields\",\n        \"type\": \"record\",\n        \"fields\": [\n          {\n            \"name\": \"useCaseName\",\n            \"type\": \"string\"\n          }\n        ]\n      }"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_LogEventTargetType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_LogEventTargetType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "schemaDefinition": "{\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\": \"pnf_DasH_name\",\n                  \"type\": \"string\"\n                }\n              ]\n            }\n          }\n        ]\n      }"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleCL_VesEventType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleCL_VesEventType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Avro",
                      "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}"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleLongType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleLongType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Java",
                      "schemaDefinition": "java.lang.Long"
                    }
                  },
                  {
                    "key": {
                      "name": "SimpleStringType",
                      "version": "0.0.1"
                    },
                    "value": {
                      "key": {
                        "name": "SimpleStringType",
                        "version": "0.0.1"
                      },
                      "schemaFlavour": "Java",
                      "schemaDefinition": "java.lang.String"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    }
  }
}