From c580fa4be394aef387c37841dcd6a089064d7d58 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Thu, 6 Apr 2023 09:14:11 +0100 Subject: Removed policy upgrade from acm docs Removed policy upgrade page and images from acm docs Page was in the wrong place and had outdated info Issue-ID: POLICY-4614 Change-Id: Ifbaecfec2732dd2129bdcc9cbd1602cc1d50dbb6 Signed-off-by: saul.gill --- ...on Composition Jackarta.postman_collection.json | 1 - .../Control Loop Istanbul.postman_collection.json | 646 ------------------ .../policy-upgrade/images/01-api-pap-upgrade.png | Bin 30754 -> 0 bytes .../policy-upgrade/images/02-api-pap-upgrade.png | Bin 8524 -> 0 bytes .../policy-upgrade/images/03-api-pap-upgrade.png | Bin 35029 -> 0 bytes .../policy-upgrade/images/04-api-pap-upgrade.png | Bin 17130 -> 0 bytes .../policy-upgrade/images/05-api-pap-upgrade.png | Bin 10732 -> 0 bytes .../policy-upgrade/images/06-api-pap-upgrade.png | Bin 10498 -> 0 bytes .../policy-upgrade/images/07-api-pap-upgrade.png | Bin 113698 -> 0 bytes .../policy-upgrade/images/08-api-pap-upgrade.png | Bin 10609 -> 0 bytes .../policy-upgrade/images/09-api-pap-upgrade.png | Bin 74252 -> 0 bytes .../policy-upgrade/images/10-api-pap-upgrade.png | Bin 10832 -> 0 bytes docs/clamp/acm/policy-upgrade/policy-upgrade.rst | 739 --------------------- docs/clamp/clamp.rst | 1 - 14 files changed, 1387 deletions(-) delete mode 100644 docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json delete mode 100644 docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json delete mode 100644 docs/clamp/acm/policy-upgrade/images/01-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/02-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/03-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/04-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/05-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/06-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/07-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/08-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/09-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/images/10-api-pap-upgrade.png delete mode 100644 docs/clamp/acm/policy-upgrade/policy-upgrade.rst diff --git a/docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json b/docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json deleted file mode 100644 index dd6765ab..00000000 --- a/docs/clamp/acm/policy-upgrade/collections/Automation Composition Jackarta.postman_collection.json +++ /dev/null @@ -1 +0,0 @@ -Unexpected error. File contents could not be restored from local history during undo/redo. \ No newline at end of file diff --git a/docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json b/docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json deleted file mode 100644 index a95dfae6..00000000 --- a/docs/clamp/acm/policy-upgrade/collections/Control Loop Istanbul.postman_collection.json +++ /dev/null @@ -1,646 +0,0 @@ -{ - "info": { - "_postman_id": "731421e5-3a15-4829-88f0-519c8bfff4d5", - "name": "Control Loop Istanbul", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "Monitoring", - "item": [ - { - "name": "GET Monitoring Control Loop Element", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/monitoring/clelement?name=PMSH_Instance1&version=2.3.4", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "monitoring", - "clelement" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "2.3.4" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Monitoring Control Loop Elements Control Loop", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/monitoring/clelement/controlloop?name=PMSH_Instance1&version=2.3.4", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "monitoring", - "clelement", - "controlloop" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "2.3.4" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Monitoring Control Loop Participant", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/monitoring/participant?name=PMSH_Instance1&version=2.3.4", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "monitoring", - "participant" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "2.3.4" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Monitoring Control Loop Participants Control Loop", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/monitoring/participants/controlloop?name=PMSH_Instance1&version=2.3.4", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "monitoring", - "participants", - "controlloop" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "2.3.4" - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Comissioning", - "item": [ - { - "name": "POST Commission Tosca Service Template", - "request": { - "method": "POST", - "header": [ - { - "key": "X-ONAP-RequestID", - "value": "709c62b3-8918-41b9-a747-d21eb79c6c20", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/yaml", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "tosca_definitions_version: tosca_simple_yaml_1_3\ndata_types:\n onap.datatypes.ToscaConceptIdentifier:\n derived_from: tosca.datatypes.Root\n properties:\n name:\n type: string\n required: true\n version:\n type: string\n required: true\n onap.datatype.controlloop.Target:\n derived_from: tosca.datatypes.Root\n description: Definition for a entity in A&AI to perform a control loop operation on\n properties:\n targetType:\n type: string\n description: Category for the target type\n required: true\n constraints:\n - valid_values:\n - VNF\n - VM\n - VFMODULE\n - PNF\n entityIds:\n type: map\n description: |\n Map of values that identify the resource. If none are provided, it is assumed that the\n entity that generated the ONSET event will be the target.\n required: false\n metadata:\n clamp_possible_values: ClampExecution:CSAR_RESOURCES\n entry_schema:\n type: string\n onap.datatype.controlloop.Actor:\n derived_from: tosca.datatypes.Root\n description: An actor/operation/target definition\n properties:\n actor:\n type: string\n description: The actor performing the operation.\n required: true\n metadata:\n clamp_possible_values: Dictionary:DefaultActors,ClampExecution:CDS/actor\n operation:\n type: string\n description: The operation the actor is performing.\n metadata:\n clamp_possible_values: Dictionary:DefaultOperations,ClampExecution:CDS/operation\n required: true\n target:\n type: onap.datatype.controlloop.Target\n description: The resource the operation should be performed on.\n required: true\n payload:\n type: map\n description: Name/value pairs of payload information passed by Policy to the actor\n required: false\n metadata:\n clamp_possible_values: ClampExecution:CDS/payload\n entry_schema:\n type: string\n onap.datatype.controlloop.Operation:\n derived_from: tosca.datatypes.Root\n description: An operation supported by an actor\n properties:\n id:\n type: string\n description: Unique identifier for the operation\n required: true\n description:\n type: string\n description: A user-friendly description of the intent for the operation\n required: false\n operation:\n type: onap.datatype.controlloop.Actor\n description: The definition of the operation to be performed.\n required: true\n timeout:\n type: integer\n description: The amount of time for the actor to perform the operation.\n required: true\n retries:\n type: integer\n description: The number of retries the actor should attempt to perform the operation.\n required: true\n default: 0\n success:\n type: string\n description: Points to the operation to invoke on success. A value of \"final_success\" indicates and end to the operation.\n required: false\n default: final_success\n failure:\n type: string\n description: Points to the operation to invoke on Actor operation failure.\n required: false\n default: final_failure\n failure_timeout:\n type: string\n description: Points to the operation to invoke when the time out for the operation occurs.\n required: false\n default: final_failure_timeout\n failure_retries:\n type: string\n description: Points to the operation to invoke when the current operation has exceeded its max retries.\n required: false\n default: final_failure_retries\n failure_exception:\n type: string\n description: Points to the operation to invoke when the current operation causes an exception.\n required: false\n default: final_failure_exception\n failure_guard:\n type: string\n description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\n required: false\n default: final_failure_guard\n onap.datatypes.monitoring.managedObjectDNsBasic:\n constraints: []\n properties:\n DN:\n name: DN\n type: string\n typeVersion: 0.0.0\n description: Managed object distinguished name\n required: true\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.managedObjectDNsBasic\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.managedObjectDNsBasics:\n constraints: []\n properties:\n managedObjectDNsBasic:\n name: managedObjectDNsBasic\n type: map\n typeVersion: 0.0.0\n description: Managed object distinguished name object\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.managedObjectDNsBasic\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.managedObjectDNsBasics\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementGroup:\n constraints: []\n properties:\n measurementTypes:\n name: measurementTypes\n type: list\n typeVersion: 0.0.0\n description: List of measurement types\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementTypes\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n managedObjectDNsBasic:\n name: managedObjectDNsBasic\n type: list\n typeVersion: 0.0.0\n description: List of managed object distinguished names\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.managedObjectDNsBasics\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementGroup\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementGroups:\n constraints: []\n properties:\n measurementGroup:\n name: measurementGroup\n type: map\n typeVersion: 0.0.0\n description: Measurement Group\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementGroup\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementGroups\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementType:\n constraints: []\n properties:\n measurementType:\n name: measurementType\n type: string\n typeVersion: 0.0.0\n description: Measurement type\n required: true\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementType\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.measurementTypes:\n constraints: []\n properties:\n measurementType:\n name: measurementType\n type: map\n typeVersion: 0.0.0\n description: Measurement type object\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementType\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.measurementTypes\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.nfFilter:\n constraints: []\n properties:\n modelNames:\n name: modelNames\n type: list\n typeVersion: 0.0.0\n description: List of model names\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n modelInvariantIDs:\n name: modelInvariantIDs\n type: list\n typeVersion: 0.0.0\n description: List of model invariant IDs\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n modelVersionIDs:\n name: modelVersionIDs\n type: list\n typeVersion: 0.0.0\n description: List of model version IDs\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n nfNames:\n name: nfNames\n type: list\n typeVersion: 0.0.0\n description: List of network functions\n required: true\n constraints: []\n entry_schema:\n type: string\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.nfFilter\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n onap.datatypes.monitoring.subscription:\n constraints: []\n properties:\n measurementGroups:\n name: measurementGroups\n type: list\n typeVersion: 0.0.0\n description: Measurement Groups\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.measurementGroups\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n fileBasedGP:\n name: fileBasedGP\n type: integer\n typeVersion: 0.0.0\n description: File based granularity period\n required: true\n constraints: []\n metadata: {}\n fileLocation:\n name: fileLocation\n type: string\n typeVersion: 0.0.0\n description: ROP file location\n required: true\n constraints: []\n metadata: {}\n subscriptionName:\n name: subscriptionName\n type: string\n typeVersion: 0.0.0\n description: Name of the subscription\n required: true\n constraints: []\n metadata: {}\n administrativeState:\n name: administrativeState\n type: string\n typeVersion: 0.0.0\n description: State of the subscription\n required: true\n constraints:\n - valid_values:\n - LOCKED\n - UNLOCKED\n metadata: {}\n nfFilter:\n name: nfFilter\n type: map\n typeVersion: 0.0.0\n description: Network function filter\n required: true\n constraints: []\n entry_schema:\n type: onap.datatypes.monitoring.nfFilter\n typeVersion: 0.0.0\n constraints: []\n metadata: {}\n name: onap.datatypes.monitoring.subscription\n version: 0.0.0\n derived_from: tosca.datatypes.Root\n metadata: {}\n org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest:\n version: 1.0.0\n derived_from: tosca.datatypes.Root\n properties:\n restRequestId:\n type: onap.datatypes.ToscaConceptIdentifier\n typeVersion: 1.0.0\n required: true\n description: The name and version of a REST request to be sent to a REST endpoint\n httpMethod:\n type: string\n required: true\n constraints:\n - valid_values: [POST, PUT, GET, DELETE]\n description: The REST method to use\n path:\n type: string\n required: true\n description: The path of the REST request relative to the base URL\n body:\n type: string\n required: false\n description: The body of the REST request for PUT and POST requests\n expectedResponse:\n type: integer\n required: true\n constraints: []\n description: THe expected HTTP status code for the REST request\n org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity:\n version: 1.0.0\n derived_from: tosca.datatypes.Root\n properties:\n configurationEntityId:\n type: onap.datatypes.ToscaConceptIdentifier\n typeVersion: 1.0.0\n required: true\n description: The name and version of a Configuration Entity to be handled by the HTTP Control Loop Element\n restSequence:\n type: list\n entry_schema:\n type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\n typeVersion: 1.0.0\n description: A sequence of REST commands to send to the REST endpoint\npolicy_types:\n onap.policies.Monitoring:\n derived_from: tosca.policies.Root\n description: a base policy type for all policies that govern monitoring provisioning\n version: 1.0.0\n name: onap.policies.Monitoring\n onap.policies.Sirisha:\n derived_from: tosca.policies.Root\n description: a base policy type for all policies that govern monitoring provisioning\n version: 1.0.0\n name: onap.policies.Sirisha\n onap.policies.monitoring.dcae-pm-subscription-handler:\n properties:\n pmsh_policy:\n name: pmsh_policy\n type: onap.datatypes.monitoring.subscription\n typeVersion: 0.0.0\n description: PMSH Policy JSON\n required: false\n constraints: []\n metadata: {}\n name: onap.policies.monitoring.dcae-pm-subscription-handler\n version: 1.0.0\n derived_from: onap.policies.Monitoring\n metadata: {}\n onap.policies.controlloop.operational.Common:\n derived_from: tosca.policies.Root\n version: 1.0.0\n name: onap.policies.controlloop.operational.Common\n description: |\n Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant\n Policy Types. This does NOT support the legacy Policy YAML policy type.\n properties:\n id:\n type: string\n description: The unique control loop id.\n required: true\n timeout:\n type: integer\n description: |\n Overall timeout for executing all the operations. This timeout should equal or exceed the total\n timeout for each operation listed.\n required: true\n abatement:\n type: boolean\n description: Whether an abatement event message will be expected for the control loop from DCAE.\n required: true\n default: false\n trigger:\n type: string\n description: Initial operation to execute upon receiving an Onset event message for the Control Loop.\n required: true\n operations:\n type: list\n description: List of operations to be performed when Control Loop is triggered.\n required: true\n entry_schema:\n type: onap.datatype.controlloop.Operation\n onap.policies.controlloop.operational.common.Apex:\n derived_from: onap.policies.controlloop.operational.Common\n type_version: 1.0.0\n version: 1.0.0\n name: onap.policies.controlloop.operational.common.Apex\n description: Operational policies for Apex PDP\n properties:\n engineServiceParameters:\n type: string\n description: The engine parameters like name, instanceCount, policy implementation, parameters etc.\n required: true\n eventInputParameters:\n type: string\n description: The event input parameters.\n required: true\n eventOutputParameters:\n type: string\n description: The event output parameters.\n required: true\n javaProperties:\n type: string\n description: Name/value pairs of properties to be set for APEX if needed.\n required: false\nnode_types:\n org.onap.policy.clamp.controlloop.Participant:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n requred: false\n org.onap.policy.clamp.controlloop.ControlLoopElement:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n required: false\n metadata:\n common: true\n description: Specifies the organization that provides the control loop element\n participant_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n metadata:\n common: true\n participantType:\n type: onap.datatypes.ToscaConceptIdentifier\n required: true\n metadata:\n common: true\n description: The identity of the participant type that hosts this type of Control Loop Element\n startPhase:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n metadata:\n common: true\n description: A value indicating the start phase in which this control loop element will be started, the\n first start phase is zero. Control Loop Elements are started in their start_phase order and stopped\n in reverse start phase order. Control Loop Elements with the same start phase are started and\n stopped simultaneously\n uninitializedToPassiveTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from uninitialized to passive\n passiveToRunningTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from passive to running\n runningToPassiveTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from running to passive\n passiveToUninitializedTimeout:\n type: integer\n required: false\n constraints:\n - greater_or_equal: 0\n default: 60\n metadata:\n common: true\n description: The maximum time in seconds to wait for a state chage from passive to uninitialized\n org.onap.policy.clamp.controlloop.ControlLoop:\n version: 1.0.1\n derived_from: tosca.nodetypes.Root\n properties:\n provider:\n type: string\n required: false\n metadata:\n common: true\n description: Specifies the organization that provides the control loop element\n elements:\n type: list\n required: true\n metadata:\n common: true\n entry_schema:\n type: onap.datatypes.ToscaConceptIdentifier\n description: Specifies a list of control loop element definitions that make up this control loop definition\n org.onap.policy.clamp.controlloop.PolicyControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.PolicyControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\n properties:\n policy_type_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n policy_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: false\n org.onap.policy.clamp.controlloop.CDSControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n cds_blueprint_id:\n type: onap.datatypes.ToscaConceptIdentifier\n requred: true\n org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n chart:\n type: string\n required: true\n configs:\n type: list\n required: false\n requirements:\n type: string\n requred: false\n templates:\n type: list\n required: false\n entry_schema:\n values:\n type: string\n requred: true\n org.onap.policy.clamp.controlloop.HttpControlLoopElement:\n version: 1.0.1\n derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement\n properties:\n baseUrl:\n type: string\n required: true\n description: The base URL to be prepended to each path, identifies the host for the REST endpoints.\n httpHeaders:\n type: map\n required: false\n entry_schema:\n type: string\n description: HTTP headers to send on REST requests\n configurationEntities:\n type: map\n required: true\n entry_schema:\n type: org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity\n typeVersion: 1.0.0\n description: The connfiguration entities the Control Loop Element is managing and their associated REST requests\n\ntopology_template:\n inputs:\n pmsh_monitoring_policy:\n type: onap.datatypes.ToscaConceptIdentifier\n description: The ID of the PMSH monitoring policy to use\n default:\n name: MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test\n version: 1.0.0\n pmsh_operational_policy:\n type: onap.datatypes.ToscaConceptIdentifier\n description: The ID of the PMSH operational policy to use\n default:\n name: operational.apex.pmcontrol\n version: 1.0.0\n node_templates:\n org.onap.policy.controlloop.PolicyControlLoopParticipant:\n version: 2.3.1\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for DCAE microservices\n properties:\n provider: ONAP\n org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the monitoring policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.monitoring.pm-subscription-handler\n version: 1.0.0\n policy_id:\n get_input: pmsh_monitoring_policy\n org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.PolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the operational policy for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n policy_type_id:\n name: onap.policies.operational.pm-subscription-handler\n version: 1.0.0\n policy_id:\n get_input: pmsh_operational_policy\n org.onap.domain.pmsh.DerivedPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\n type_version: 1.0.0\n description: Control loop for Performance Management Subscription Handling\n properties:\n provider: Ericsson\n participantType:\n name: org.onap.policy.controlloop.PolicyControlLoopParticipant\n version: 2.3.1\n participant_id:\n name: org.onap.PM_Policy\n version: 1.0.0\n org.onap.k8s.controlloop.K8SControlLoopParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for K8S\n properties:\n provider: ONAP\n org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement:\n # Chart from new repository\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the K8S microservice for PMSH\n properties:\n provider: ONAP\n participant_id:\n name: K8sParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.k8s.controlloop.K8SControlLoopParticipant\n version: 2.3.4\n chart:\n chartId:\n name: dcae-pmsh\n version: 8.0.0\n namespace: onap\n releaseName: pmshms\n repository:\n repoName: chartmuseum\n protocol: http\n address: 10.152.183.120\n port: 80\n userName: onapinitializer\n password: demo123456!\n overrideParams:\n global.masterPassword: test\n\n org.onap.domain.database.Local_K8SMicroserviceControlLoopElement:\n # Chart installation without passing repository info\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\n type_version: 1.0.0\n description: Control loop element for the K8S microservice for local chart\n properties:\n provider: ONAP\n participant_id:\n name: K8sParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.k8s.controlloop.K8SControlLoopParticipant\n version: 2.3.4\n chart:\n chartId:\n name: nginx-ingress\n version: 0.9.1\n releaseName: nginxms\n namespace: test\n org.onap.controlloop.HttpControlLoopParticipant:\n version: 2.3.4\n type: org.onap.policy.clamp.controlloop.Participant\n type_version: 1.0.1\n description: Participant for Http requests\n properties:\n provider: ONAP\n org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement:\n # Consul http config for PMSH.\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.HttpControlLoopElement\n type_version: 1.0.1\n description: Control loop element for the http requests of PMSH microservice\n properties:\n provider: ONAP\n participant_id:\n name: HttpParticipant0\n version: 1.0.0\n participantType:\n name: org.onap.k8s.controlloop.HttpControlLoopParticipant\n version: 2.3.4\n uninitializedToPassiveTimeout: 180\n startPhase: 1\n baseUrl: http://10.152.183.51:8500\n httpHeaders:\n Content-Type: application/json\n configurationEntities:\n - configurationEntityId:\n name: entity1\n version: 1.0.1\n restSequence:\n - restRequestId:\n name: request1\n version: 1.0.1\n httpMethod: PUT\n path: v1/kv/dcae-pmsh2\n body: '{\n \"control_loop_name\":\"pmsh-control-loop\",\n \"operational_policy_name\":\"pmsh-operational-policy\",\n \"aaf_password\":\"demo123456!\",\n \"aaf_identity\":\"dcae@dcae.onap.org\",\n \"cert_path\":\"/opt/app/pmsh/etc/certs/cert.pem\",\n \"key_path\":\"/opt/app/pmsh/etc/certs/key.pem\",\n \"ca_cert_path\":\"/opt/app/pmsh/etc/certs/cacert.pem\",\n \"enable_tls\":\"true\",\n \"pmsh_policy\":{\n \"subscription\":{\n \"subscriptionName\":\"ExtraPM-All-gNB-R2B\",\n \"administrativeState\":\"UNLOCKED\",\n \"fileBasedGP\":15,\n \"fileLocation\":\"\\/pm\\/pm.xml\",\n \"nfFilter\":{\n \"nfNames\":[\n \"^pnf.*\",\n \"^vnf.*\"\n ],\n \"modelInvariantIDs\":[\n ],\n \"modelVersionIDs\":[\n ],\n \"modelNames\":[\n ]\n },\n \"measurementGroups\":[\n {\n \"measurementGroup\":{\n \"measurementTypes\":[\n {\n \"measurementType\":\"countera\"\n },\n {\n \"measurementType\":\"counterb\"\n }\n ],\n \"managedObjectDNsBasic\":[\n {\n \"DN\":\"dna\"\n },\n {\n \"DN\":\"dnb\"\n }\n ]\n }\n },\n {\n \"measurementGroup\":{\n \"measurementTypes\":[\n {\n \"measurementType\":\"counterc\"\n },\n {\n \"measurementType\":\"counterd\"\n }\n ],\n \"managedObjectDNsBasic\":[\n {\n \"DN\":\"dnc\"\n },\n {\n \"DN\":\"dnd\"\n }\n ]\n }\n }\n ]\n }\n },\n \"streams_subscribes\":{\n \"aai_subscriber\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/AAI_EVENT\",\n \"client_role\":\"org.onap.dcae.aaiSub\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1575976809466\"\n }\n },\n \"policy_pm_subscriber\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\",\n \"client_role\":\"org.onap.dcae.pmSubscriber\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1575876809456\"\n }\n }\n },\n \"streams_publishes\":{\n \"policy_pm_publisher\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\",\n \"client_role\":\"org.onap.dcae.pmPublisher\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1475976809466\"\n }\n },\n \"other_publisher\":{\n \"type\":\"message_router\",\n \"dmaap_info\":{\n \"topic_url\":\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.SOME_OTHER_TOPIC\",\n \"client_role\":\"org.onap.dcae.pmControlPub\",\n \"location\":\"san-francisco\",\n \"client_id\":\"1875976809466\"\n }\n }\n }\n }'\n expectedResponse: 200\n org.onap.domain.sample.GenericK8s_ControlLoopDefinition:\n version: 1.2.3\n type: org.onap.policy.clamp.controlloop.ControlLoop\n type_version: 1.0.0\n description: Control loop for Hello World\n properties:\n provider: ONAP\n elements:\n - name: org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.DerivedPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\n version: 1.2.3\n - name: org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\n version: 1.2.3\n", - "options": { - "raw": { - "language": "text" - } - } - }, - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission" - ] - } - }, - "response": [] - }, - { - "name": "GET Control Loops Definitions", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission" - ] - } - }, - "response": [] - }, - { - "name": "GET Tosca Service Template", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission/toscaservicetemplate", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission", - "toscaservicetemplate" - ] - } - }, - "response": [] - }, - { - "name": "GET Tosca Service Template Schema", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission/toscaServiceTemplateSchema", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission", - "toscaServiceTemplateSchema" - ] - } - }, - "response": [] - }, - { - "name": "GET Common Instance Properties (Common)", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission/getCommonOrInstanceProperties?common=true&name=ToscaServiceTemplateSimple&version=1.0.0", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission", - "getCommonOrInstanceProperties" - ], - "query": [ - { - "key": "common", - "value": "true" - }, - { - "key": "name", - "value": "ToscaServiceTemplateSimple" - }, - { - "key": "version", - "value": "1.0.0" - } - ] - } - }, - "response": [] - }, - { - "name": "DELETE Tosca Service Template", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission?name=ToscaServiceTemplateSimple&version=1.0.0", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission" - ], - "query": [ - { - "key": "name", - "value": "ToscaServiceTemplateSimple" - }, - { - "key": "version", - "value": "1.0.0" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Control Loops Elements", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/commission/elements", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "commission", - "elements" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Instantiation", - "item": [ - { - "name": "POST Instance Properties", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"policy_types\":{\n \"onap.policies.Monitoring\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Monitoring\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.Monitoring\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.Sirisha\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"a base policy type for all policies that govern monitoring provisioning\",\n \"properties\":{\n \n },\n \"key\":{\n \"name\":\"onap.policies.Sirisha\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.Sirisha\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.controlloop.operational.Common\":{\n \"name\":\"onap.policies.controlloop.operational.Common\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.policies.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant\\nPolicy Types. This does NOT support the legacy Policy YAML policy type.\\n\",\n \"properties\":{\n \"abatement\":{\n \"name\":\"abatement\",\n \"type\":\"boolean\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Whether an abatement event message will be expected for the control loop from DCAE.\",\n \"default_value\":false,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"operations\":{\n \"name\":\"operations\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of operations to be performed when Control Loop is triggered.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatype.controlloop.Operation\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"trigger\":{\n \"name\":\"trigger\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Initial operation to execute upon receiving an Onset event message for the Control Loop.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Overall timeout for executing all the operations. This timeout should equal or exceed the total\\ntimeout for each operation listed.\\n\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The unique control loop id.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.controlloop.operational.Common\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.controlloop.operational.Common\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.controlloop.operational.common.Apex\":{\n \"name\":\"onap.policies.controlloop.operational.common.Apex\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.controlloop.operational.Common\",\n \"metadata\":{\n \n },\n \"description\":\"Operational policies for Apex PDP\",\n \"properties\":{\n \"engineServiceParameters\":{\n \"name\":\"engineServiceParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The engine parameters like name, instanceCount, policy implementation, parameters etc.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventOutputParameters\":{\n \"name\":\"eventOutputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event output parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"javaProperties\":{\n \"name\":\"javaProperties\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of properties to be set for APEX if needed.\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"eventInputParameters\":{\n \"name\":\"eventInputParameters\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The event input parameters.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"key\":{\n \"name\":\"onap.policies.controlloop.operational.common.Apex\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.controlloop.operational.common.Apex\",\n \"defined_version\":\"1.0.0\"\n },\n \"onap.policies.monitoring.dcae-pm-subscription-handler\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"onap.policies.Monitoring\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"pmsh_policy\":{\n \"name\":\"pmsh_policy\",\n \"type\":\"onap.datatypes.monitoring.subscription\",\n \"type_version\":\"0.0.0\",\n \"description\":\"PMSH Policy JSON\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"key\":{\n \"name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.policies.monitoring.dcae-pm-subscription-handler\",\n \"defined_version\":\"1.0.0\"\n }\n },\n \"node_types\":{\n \"org.onap.policy.clamp.controlloop.CDSControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.CDSControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"cds_blueprint_id\":{\n \"name\":\"cds_blueprint_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.CDSControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.CDSControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.ControlLoop\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"elements\":{\n \"name\":\"elements\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies a list of control loop element definitions that make up this control loop definition\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the control loop element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.ControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"runningToPassiveTimeout\":{\n \"name\":\"runningToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from running to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participantType\":{\n \"name\":\"participantType\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The identity of the participant type that hosts this type of Control Loop Element\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Specifies the organization that provides the control loop element\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"startPhase\":{\n \"name\":\"startPhase\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A value indicating the start phase in which this control loop element will be started, the first start phase is zero. Control Loop Elements are started in their start_phase order and stopped in reverse start phase order. Control Loop Elements with the same start phase are started and stopped simultaneously\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToUninitializedTimeout\":{\n \"name\":\"passiveToUninitializedTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to uninitialized\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"uninitializedToPassiveTimeout\":{\n \"name\":\"uninitializedToPassiveTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from uninitialized to passive\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"participant_id\":{\n \"name\":\"participant_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n },\n \"passiveToRunningTimeout\":{\n \"name\":\"passiveToRunningTimeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The maximum time in seconds to wait for a state chage from passive to running\",\n \"default_value\":60,\n \"required\":false,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":null,\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":\"0\",\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"common\":\"true\"\n }\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.HttpControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"httpHeaders\":{\n \"name\":\"httpHeaders\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"HTTP headers to send on REST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n },\n \"baseUrl\":{\n \"name\":\"baseUrl\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The base URL to be prepended to each path, identifies the host for the REST endpoints.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"configurationEntities\":{\n \"name\":\"configurationEntities\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The connfiguration entities the Control Loop Element is managing and their associated REST requests\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.ConfigurationEntity\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"values\":{\n \"name\":\"values\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"templates\":{\n \"name\":\"templates\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"chart\":{\n \"name\":\"chart\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"requirements\":{\n \"name\":\"requirements\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"configs\":{\n \"name\":\"configs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.Participant\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"tosca.nodetypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"provider\":{\n \"name\":\"provider\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"defined_version\":\"1.0.1\"\n },\n \"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.1\",\n \"derived_from\":\"org.onap.policy.clamp.controlloop.ControlLoopElement\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"policy_id\":{\n \"name\":\"policy_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"policy_type_id\":{\n \"name\":\"policy_type_id\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"requirements\":null,\n \"key\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"defined_version\":\"1.0.1\"\n }\n },\n \"topology_template\":{\n \"description\":null,\n \"inputs\":{\n \"pmsh_operational_policy\":{\n \"name\":\"pmsh_operational_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n },\n \"pmsh_monitoring_policy\":{\n \"name\":\"pmsh_monitoring_policy\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"value\":null\n }\n },\n \"node_templates\":{\n \"org.onap.controlloop.HttpControlLoopParticipant\":{\n \"name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for Http requests\",\n \"type\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_name\":\"org.onap.controlloop.HttpControlLoopParticipant\",\n \"defined_version\":\"2.3.4\"\n },\n \"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the http requests of PMSH microservice\",\n \"type\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"participantType\":{\n \"name\":\"org.onap.k8s.controlloop.HttpControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"configurationEntities\":\"[{\\\"configurationEntityId\\\":{\\\"name\\\":\\\"entity1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"restSequence\\\":[{\\\"restRequestId\\\":{\\\"name\\\":\\\"request1\\\",\\\"version\\\":\\\"1.0.1\\\"},\\\"httpMethod\\\":\\\"PUT\\\",\\\"path\\\":\\\"v1/kv/dcae-pmsh2\\\",\\\"body\\\":\\\"{ \\\\\\\"control_loop_name\\\\\\\":\\\\\\\"pmsh-control-loop\\\\\\\", \\\\\\\"operational_policy_name\\\\\\\":\\\\\\\"pmsh-operational-policy\\\\\\\", \\\\\\\"aaf_password\\\\\\\":\\\\\\\"demo123456!\\\\\\\", \\\\\\\"aaf_identity\\\\\\\":\\\\\\\"dcae@dcae.onap.org\\\\\\\", \\\\\\\"cert_path\\\\\\\":\\\\\\\"/opt/app/pmsh/etc/certs/cert.pem\\\\\\\", \\\\\\\"key_path\\\\\\\":\\\\\\\"/opt/app/pmsh/etc/certs/key.pem\\\\\\\", \\\\\\\"ca_cert_path\\\\\\\":\\\\\\\"/opt/app/pmsh/etc/certs/cacert.pem\\\\\\\", \\\\\\\"enable_tls\\\\\\\":\\\\\\\"true\\\\\\\", \\\\\\\"pmsh_policy\\\\\\\":{ \\\\\\\"subscription\\\\\\\":{ \\\\\\\"subscriptionName\\\\\\\":\\\\\\\"ExtraPM-All-gNB-R2B\\\\\\\", \\\\\\\"administrativeState\\\\\\\":\\\\\\\"UNLOCKED\\\\\\\", \\\\\\\"fileBasedGP\\\\\\\":15, \\\\\\\"fileLocation\\\\\\\":\\\\\\\"\\\\\\\\/pm\\\\\\\\/pm.xml\\\\\\\", \\\\\\\"nfFilter\\\\\\\":{ \\\\\\\"nfNames\\\\\\\":[ \\\\\\\"^pnf.*\\\\\\\", \\\\\\\"^vnf.*\\\\\\\" ], \\\\\\\"modelInvariantIDs\\\\\\\":[ ], \\\\\\\"modelVersionIDs\\\\\\\":[ ], \\\\\\\"modelNames\\\\\\\":[ ] }, \\\\\\\"measurementGroups\\\\\\\":[ { \\\\\\\"measurementGroup\\\\\\\":{ \\\\\\\"measurementTypes\\\\\\\":[ { \\\\\\\"measurementType\\\\\\\":\\\\\\\"countera\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"counterb\\\\\\\" } ], \\\\\\\"managedObjectDNsBasic\\\\\\\":[ { \\\\\\\"DN\\\\\\\":\\\\\\\"dna\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"dnb\\\\\\\" } ] } }, { \\\\\\\"measurementGroup\\\\\\\":{ \\\\\\\"measurementTypes\\\\\\\":[ { \\\\\\\"measurementType\\\\\\\":\\\\\\\"counterc\\\\\\\" }, { \\\\\\\"measurementType\\\\\\\":\\\\\\\"counterd\\\\\\\" } ], \\\\\\\"managedObjectDNsBasic\\\\\\\":[ { \\\\\\\"DN\\\\\\\":\\\\\\\"dnc\\\\\\\" }, { \\\\\\\"DN\\\\\\\":\\\\\\\"dnd\\\\\\\" } ] } } ] } }, \\\\\\\"streams_subscribes\\\\\\\":{ \\\\\\\"aai_subscriber\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/AAI_EVENT\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.aaiSub\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1575976809466\\\\\\\" } }, \\\\\\\"policy_pm_subscriber\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.pmSubscriber\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1575876809456\\\\\\\" } } }, \\\\\\\"streams_publishes\\\\\\\":{ \\\\\\\"policy_pm_publisher\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.PM_SUBSCRIPTIONS\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.pmPublisher\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1475976809466\\\\\\\" } }, \\\\\\\"other_publisher\\\\\\\":{ \\\\\\\"type\\\\\\\":\\\\\\\"message_router\\\\\\\", \\\\\\\"dmaap_info\\\\\\\":{ \\\\\\\"topic_url\\\\\\\":\\\\\\\"https://10.152.183.151:3905/events/org.onap.dmaap.mr.SOME_OTHER_TOPIC\\\\\\\", \\\\\\\"client_role\\\\\\\":\\\\\\\"org.onap.dcae.pmControlPub\\\\\\\", \\\\\\\"location\\\\\\\":\\\\\\\"san-francisco\\\\\\\", \\\\\\\"client_id\\\\\\\":\\\\\\\"1875976809466\\\\\\\" } } } }\\\",\\\"expectedResponse\\\":200}]}]\",\n \"provider\":\"ONAP\",\n \"startPhase\":1,\n \"uninitializedToPassiveTimeout\":180,\n \"httpHeaders\":\"{\\\"Content-Type\\\":\\\"application/json\\\"}\",\n \"participant_id\":{\n \"name\":\"HttpParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"baseUrl\":\"http://10.152.183.51:8500\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.HttpControlLoopElement\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the operational policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.operational.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"provider\":\"Ericsson\",\n \"policy_id\":{\n \"get_input\":\"pmsh_operational_policy\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the K8S microservice for local chart\",\n \"type\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"K8sParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"ONAP\",\n \"chart\":\"{\\\"chartId\\\":{\\\"name\\\":\\\"nginx-ingress\\\",\\\"version\\\":\\\"0.9.1\\\"},\\\"releaseName\\\":\\\"nginxms\\\",\\\"namespace\\\":\\\"test\\\"}\",\n \"participantType\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the monitoring policy for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"policy_type_id\":{\n \"name\":\"onap.policies.monitoring.pm-subscription-handler\",\n \"version\":\"1.0.0\"\n },\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"provider\":\"Ericsson\",\n \"policy_id\":{\n \"get_input\":\"pmsh_monitoring_policy\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.PolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.k8s.controlloop.K8SControlLoopParticipant\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for K8S\",\n \"type\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n },\n \"defined_name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"defined_version\":\"2.3.4\"\n },\n \"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"Ericsson\",\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop for Hello World\",\n \"type\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"elements\":[\n {\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n {\n \"name\":\"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n }\n ],\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.ControlLoop\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.policy.controlloop.PolicyControlLoopParticipant\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Participant for DCAE microservices\",\n \"type\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"type_version\":\"1.0.1\",\n \"properties\":{\n \"provider\":\"ONAP\"\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.Participant\",\n \"version\":\"1.0.1\"\n },\n \"key\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n },\n \"defined_name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"defined_version\":\"2.3.1\"\n },\n \"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop element for the K8S microservice for PMSH\",\n \"type\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"K8sParticipant0\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"ONAP\",\n \"chart\":\"{\\\"chartId\\\":{\\\"name\\\":\\\"dcae-pmsh\\\",\\\"version\\\":\\\"8.0.0\\\"},\\\"namespace\\\":\\\"onap\\\",\\\"releaseName\\\":\\\"pmshms\\\",\\\"repository\\\":{\\\"repoName\\\":\\\"chartmuseum\\\",\\\"protocol\\\":\\\"http\\\",\\\"address\\\":\\\"10.152.183.120\\\",\\\"port\\\":80,\\\"userName\\\":\\\"onapinitializer\\\",\\\"password\\\":\\\"demo123456!\\\"},\\\"overrideParams\\\":{\\\"global.masterPassword\\\":\\\"test\\\"}}\",\n \"participantType\":{\n \"name\":\"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\":\"2.3.4\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n },\n \"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\":{\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\",\n \"derived_from\":null,\n \"metadata\":{\n \n },\n \"description\":\"Control loop for Performance Management Subscription Handling\",\n \"type\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"type_version\":\"1.0.0\",\n \"properties\":{\n \"participant_id\":{\n \"name\":\"org.onap.PM_Policy\",\n \"version\":\"1.0.0\"\n },\n \"provider\":\"Ericsson\",\n \"participantType\":{\n \"name\":\"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\":\"2.3.1\"\n }\n },\n \"requirements\":null,\n \"capabilities\":null,\n \"identifier\":{\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"type_identifier\":{\n \"name\":\"org.onap.policy.clamp.controlloop.DerivedPolicyControlLoopElement\",\n \"version\":\"1.0.0\"\n },\n \"key\":{\n \"name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\":\"1.2.3\"\n },\n \"defined_name\":\"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"defined_version\":\"1.2.3\"\n }\n },\n \"policies\":null,\n \"policies_as_map\":{\n \n }\n },\n \"tosca_definitions_version\":\"tosca_simple_yaml_1_3\",\n \"data_types\":{\n \"onap.datatype.controlloop.Actor\":{\n \"name\":\"onap.datatype.controlloop.Actor\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An actor/operation/target definition\",\n \"properties\":{\n \"payload\":{\n \"name\":\"payload\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name/value pairs of payload information passed by Policy to the actor\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CDS/payload\"\n }\n },\n \"target\":{\n \"name\":\"target\",\n \"type\":\"onap.datatype.controlloop.Target\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The resource the operation should be performed on.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"actor\":{\n \"name\":\"actor\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The actor performing the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultActors,ClampExecution:CDS/actor\"\n }\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The operation the actor is performing.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \"clamp_possible_values\":\"Dictionary:DefaultOperations,ClampExecution:CDS/operation\"\n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.controlloop.Actor\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatype.controlloop.Actor\",\n \"defined_version\":null\n },\n \"onap.datatype.controlloop.Operation\":{\n \"name\":\"onap.datatype.controlloop.Operation\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"An operation supported by an actor\",\n \"properties\":{\n \"failure_retries\":{\n \"name\":\"failure_retries\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation has exceeded its max retries.\",\n \"default_value\":\"final_failure_retries\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"id\":{\n \"name\":\"id\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Unique identifier for the operation\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_timeout\":{\n \"name\":\"failure_timeout\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the time out for the operation occurs.\",\n \"default_value\":\"final_failure_timeout\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure\":{\n \"name\":\"failure\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on Actor operation failure.\",\n \"default_value\":\"final_failure\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"operation\":{\n \"name\":\"operation\",\n \"type\":\"onap.datatype.controlloop.Actor\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The definition of the operation to be performed.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_guard\":{\n \"name\":\"failure_guard\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.\",\n \"default_value\":\"final_failure_guard\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"retries\":{\n \"name\":\"retries\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The number of retries the actor should attempt to perform the operation.\",\n \"default_value\":0,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"timeout\":{\n \"name\":\"timeout\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The amount of time for the actor to perform the operation.\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"failure_exception\":{\n \"name\":\"failure_exception\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke when the current operation causes an exception.\",\n \"default_value\":\"final_failure_exception\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"description\":{\n \"name\":\"description\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"A user-friendly description of the intent for the operation\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"success\":{\n \"name\":\"success\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Points to the operation to invoke on success. A value of \\\"final_success\\\" indicates and end to the operation.\",\n \"default_value\":\"final_success\",\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.controlloop.Operation\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatype.controlloop.Operation\",\n \"defined_version\":null\n },\n \"onap.datatype.controlloop.Target\":{\n \"name\":\"onap.datatype.controlloop.Target\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":\"Definition for a entity in A&AI to perform a control loop operation on\",\n \"properties\":{\n \"entityIds\":{\n \"name\":\"entityIds\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Map of values that identify the resource. If none are provided, it is assumed that the\\nentity that generated the ONSET event will be the target.\\n\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":null\n },\n \"metadata\":{\n \"clamp_possible_values\":\"ClampExecution:CSAR_RESOURCES\"\n }\n },\n \"targetType\":{\n \"name\":\"targetType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Category for the target type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"VNF\",\n \"VM\",\n \"VFMODULE\",\n \"PNF\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatype.controlloop.Target\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatype.controlloop.Target\",\n \"defined_version\":null\n },\n \"onap.datatypes.ToscaConceptIdentifier\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"version\":{\n \"name\":\"version\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"name\":{\n \"name\":\"name\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasic\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"DN\":{\n \"name\":\"DN\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.managedObjectDNsBasics\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Managed object distinguished name object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasic\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementGroup\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementTypes\":{\n \"name\":\"measurementTypes\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of measurement types\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementTypes\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"managedObjectDNsBasic\":{\n \"name\":\"managedObjectDNsBasic\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of managed object distinguished names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.managedObjectDNsBasics\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroup\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementGroups\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementGroup\":{\n \"name\":\"measurementGroup\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Group\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroup\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementGroups\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementType\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementType\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementType\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.measurementTypes\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementType\":{\n \"name\":\"measurementType\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement type object\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementType\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.measurementTypes\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.nfFilter\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"modelVersionIDs\":{\n \"name\":\"modelVersionIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model version IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelInvariantIDs\":{\n \"name\":\"modelInvariantIDs\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model invariant IDs\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"modelNames\":{\n \"name\":\"modelNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of model names\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"nfNames\":{\n \"name\":\"nfNames\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"List of network functions\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.nfFilter\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.nfFilter\",\n \"defined_version\":null\n },\n \"onap.datatypes.monitoring.subscription\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"measurementGroups\":{\n \"name\":\"measurementGroups\",\n \"type\":\"list\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Measurement Groups\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.measurementGroups\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n },\n \"fileBasedGP\":{\n \"name\":\"fileBasedGP\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"File based granularity period\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"fileLocation\":{\n \"name\":\"fileLocation\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"ROP file location\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"subscriptionName\":{\n \"name\":\"subscriptionName\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Name of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"administrativeState\":{\n \"name\":\"administrativeState\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"State of the subscription\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"LOCKED\",\n \"UNLOCKED\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":{\n \n }\n },\n \"nfFilter\":{\n \"name\":\"nfFilter\",\n \"type\":\"map\",\n \"type_version\":\"0.0.0\",\n \"description\":\"Network function filter\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":{\n \"name\":null,\n \"type\":\"onap.datatypes.monitoring.nfFilter\",\n \"type_version\":\"0.0.0\",\n \"description\":null,\n \"constraints\":[\n \n ]\n },\n \"metadata\":{\n \n }\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"onap.datatypes.monitoring.subscription\",\n \"version\":\"0.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"onap.datatypes.monitoring.subscription\",\n \"defined_version\":null\n },\n \"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\":{\n \"name\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\",\n \"version\":\"1.0.0\",\n \"derived_from\":\"tosca.datatypes.Root\",\n \"metadata\":{\n \n },\n \"description\":null,\n \"properties\":{\n \"body\":{\n \"name\":\"body\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The body of the REST request for PUT and POST requests\",\n \"default_value\":null,\n \"required\":false,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"expectedResponse\":{\n \"name\":\"expectedResponse\",\n \"type\":\"integer\",\n \"type_version\":\"0.0.0\",\n \"description\":\"THe expected HTTP status code for the REST request\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n \n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"httpMethod\":{\n \"name\":\"httpMethod\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The REST method to use\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":[\n {\n \"valid_values\":[\n \"POST\",\n \"PUT\",\n \"GET\",\n \"DELETE\"\n ],\n \"equal\":null,\n \"greater_than\":null,\n \"greater_or_equal\":null,\n \"less_than\":null,\n \"less_or_equal\":null,\n \"range_values\":null\n }\n ],\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"restRequestId\":{\n \"name\":\"restRequestId\",\n \"type\":\"onap.datatypes.ToscaConceptIdentifier\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The name and version of a REST request to be sent to a REST endpoint\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n },\n \"path\":{\n \"name\":\"path\",\n \"type\":\"string\",\n \"type_version\":\"0.0.0\",\n \"description\":\"The path of the REST request relative to the base URL\",\n \"default_value\":null,\n \"required\":true,\n \"status\":null,\n \"constraints\":null,\n \"key_schema\":null,\n \"entry_schema\":null,\n \"metadata\":null\n }\n },\n \"constraints\":[\n \n ],\n \"key\":{\n \"name\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\",\n \"version\":\"1.0.0\"\n },\n \"type\":null,\n \"type_version\":null,\n \"defined_name\":\"org.onap.datatypes.policy.clamp.controlloop.httpControlLoopElement.RestRequest\",\n \"defined_version\":\"1.0.0\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instanceProperties?Content-Type=application/json", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instanceProperties" - ], - "query": [ - { - "key": "Content-Type", - "value": "application/json" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Control Loop Priming", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/controlLoopPriming", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "controlLoopPriming" - ] - } - }, - "response": [] - }, - { - "name": "DELETE Instance Properties", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instanceProperties?name=PMSH_Instance1&version=1.2.3", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instanceProperties" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "1.2.3" - } - ] - } - }, - "response": [] - }, - { - "name": "PUT Control Loop Instantiation change", - "request": { - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"controlLoopList\": [\n {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\",\n \"derivedFrom\": null,\n \"metadata\": null,\n \"description\": \"PMSH control loop Instance2\",\n \"definition\": {\n \"name\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\": \"1.2.3\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"elements\": {\n \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\": {\n \"id\": \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"b0231bb2-289a-468d-8538-eeff6b8e6111\": {\n \"id\": \"b0231bb2-289a-468d-8538-eeff6b8e6111\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.HttpControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"HttpParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\": {\n \"id\": \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\": {\n \"id\": \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\": {\n \"id\": \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"552c8615-b639-43c3-aa90-03e5df2b9c23\": {\n \"id\": \"552c8615-b639-43c3-aa90-03e5df2b9c23\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"d2202465-487d-4580-ae17-a3a1ae7eb038\": {\n \"id\": \"d2202465-487d-4580-ae17-a3a1ae7eb038\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n }\n },\n \"primed\": false,\n \"type\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance2\",\n \"typeVersion\": \"1.2.3\",\n \"key\": {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\"\n },\n \"definedName\": \"PMSH_Instance2\",\n \"definedVersion\": \"1.2.3\"\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSH_Instance1&version=2.3.4", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instantiation" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "2.3.4" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Control Loop Instantiation", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instantiation?name=PMSH_Instance1&version=1.2.3", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instantiation" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "1.2.3" - } - ] - } - }, - "response": [] - }, - { - "name": "POST Control Loops Instantiation", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"controlLoopList\": [\n {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\",\n \"derivedFrom\": null,\n \"metadata\": null,\n \"description\": \"PMSH control loop Instance2\",\n \"definition\": {\n \"name\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition\",\n \"version\": \"1.2.3\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"elements\": {\n \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\": {\n \"id\": \"7853b3af-f1bf-4f3e-8006-8bebb19aa52c\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"b0231bb2-289a-468d-8538-eeff6b8e6111\": {\n \"id\": \"b0231bb2-289a-468d-8538-eeff6b8e6111\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.HttpControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"HttpParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\": {\n \"id\": \"f15e4ef9-93e8-4170-831a-c2634bfa0c91\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\": {\n \"id\": \"ef8be7dc-03da-4017-89c6-75a99aa28bbe\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.DerivedPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\": {\n \"id\": \"9a8db139-8eb5-4f52-8c38-dfc4405cb559\",\n \"definition\": {\n \"name\": \"org.onap.domain.database.Local_K8SMicroserviceControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.k8s.controlloop.K8SControlLoopParticipant\",\n \"version\": \"2.3.4\"\n },\n \"participantId\": {\n \"name\": \"K8sParticipant0\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"552c8615-b639-43c3-aa90-03e5df2b9c23\": {\n \"id\": \"552c8615-b639-43c3-aa90-03e5df2b9c23\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n },\n \"d2202465-487d-4580-ae17-a3a1ae7eb038\": {\n \"id\": \"d2202465-487d-4580-ae17-a3a1ae7eb038\",\n \"definition\": {\n \"name\": \"org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement\",\n \"version\": \"1.2.3\"\n },\n \"participantType\": {\n \"name\": \"org.onap.policy.controlloop.PolicyControlLoopParticipant\",\n \"version\": \"2.3.1\"\n },\n \"participantId\": {\n \"name\": \"org.onap.PM_Policy\",\n \"version\": \"1.0.0\"\n },\n \"state\": \"UNINITIALISED\",\n \"orderedState\": \"UNINITIALISED\",\n \"toscaServiceTemplateFragment\": null,\n \"description\": null,\n \"clElementStatistics\": null,\n \"propertiesMap\": {}\n }\n },\n \"primed\": false,\n \"type\": \"org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance2\",\n \"typeVersion\": \"1.2.3\",\n \"key\": {\n \"name\": \"PMSH_Instance2\",\n \"version\": \"1.2.3\"\n },\n \"definedName\": \"PMSH_Instance2\",\n \"definedVersion\": \"1.2.3\"\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instantiation", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instantiation" - ] - } - }, - "response": [] - }, - { - "name": "PUT Change Control Loop Order State", - "request": { - "method": "PUT", - "header": [ - { - "key": "X-ONAP-RequestID", - "value": "709c62b3-8918-41b9-a747-d21eb79c6c20", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"orderedState\": \"PASSIVE\",\n \"controlLoopIdentifierList\": [\n {\n \"name\": \"PMSH_Instance1\",\n \"version\": \"1.2.3\"\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instantiation/command", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instantiation", - "command" - ] - } - }, - "response": [] - }, - { - "name": "GET Control Loop Instantiation State", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "localhost:6969/onap/controlloop/v2/instantiationState?name=PMSH_Instance1&version=2.3.4", - "host": [ - "localhost" - ], - "port": "6969", - "path": [ - "onap", - "controlloop", - "v2", - "instantiationState" - ], - "query": [ - { - "key": "name", - "value": "PMSH_Instance1" - }, - { - "key": "version", - "value": "2.3.4" - } - ] - } - }, - "response": [] - } - ] - } - ], - "auth": { - "type": "basic", - "basic": [ - { - "key": "username", - "value": "healthcheck", - "type": "string" - }, - { - "key": "password", - "value": "zb!XztG34", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] -} \ No newline at end of file diff --git a/docs/clamp/acm/policy-upgrade/images/01-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/01-api-pap-upgrade.png deleted file mode 100644 index 7c84292a..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/01-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/02-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/02-api-pap-upgrade.png deleted file mode 100644 index 41433c68..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/02-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/03-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/03-api-pap-upgrade.png deleted file mode 100644 index 79e9582c..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/03-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/04-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/04-api-pap-upgrade.png deleted file mode 100644 index 56811741..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/04-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/05-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/05-api-pap-upgrade.png deleted file mode 100644 index 54dfd144..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/05-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/06-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/06-api-pap-upgrade.png deleted file mode 100644 index 21369115..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/06-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/07-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/07-api-pap-upgrade.png deleted file mode 100644 index 80ad99b2..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/07-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/08-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/08-api-pap-upgrade.png deleted file mode 100644 index afdd1f52..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/08-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/09-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/09-api-pap-upgrade.png deleted file mode 100644 index 23b7dc89..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/09-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/images/10-api-pap-upgrade.png b/docs/clamp/acm/policy-upgrade/images/10-api-pap-upgrade.png deleted file mode 100644 index c641bff8..00000000 Binary files a/docs/clamp/acm/policy-upgrade/images/10-api-pap-upgrade.png and /dev/null differ diff --git a/docs/clamp/acm/policy-upgrade/policy-upgrade.rst b/docs/clamp/acm/policy-upgrade/policy-upgrade.rst deleted file mode 100644 index eb9b5038..00000000 --- a/docs/clamp/acm/policy-upgrade/policy-upgrade.rst +++ /dev/null @@ -1,739 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. - -.. _clamp-policy-upgrade-label: - -TOSCA Policy Testing Upgrade -############################ - -.. contents:: - :depth: 3 - -Automation Composition -********************** - -Istanbul -++++++++ - - -**Step 1:** Clone Policy Clamp - -.. code-block:: bash - - git clone "https://gerrit.onap.org/r/policy/clamp" - -**Step 2:** Change Master Branch to Istanbul - -.. code-block:: bash - - git checkout -b origin/istanbul - -**Step 3:** Run Maven Clean Install - -.. code-block:: bash - - mvn clean install - -**Step 3:** Create the Database by going to /clamp/runtime/extra/bin-for-dev - -.. code-block:: bash - - ./start-db.sh test - -**Step 4:** Start Clamp Runtime by going to /clamp/runtime/extra/bin-for-dev - -.. code-block:: bash - - ./start-backend.sh - -**Step 5:** Start Control Loop Runtime by going to /clamp/runtime-controlloop - -.. code-block:: bash - - java -jar target/policy-clamp-runtime-controlloop-6.1.5-SNAPSHOT - -**Step 6:** Open up Postman and import the following collections - - `Download Istanbul Postman Collections `_ - -**Step 7:** Open up the folder Control Loop Istanbul/Commissioning - - Select POST Commission Tosca Service Template and run it. - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedInstanceProperties": [ - { - "name": "PMSH_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant", - "version": "2.3.1" - }, - { - "name": "org.onap.controlloop.HttpControlLoopParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant_Instance1", - "version": "2.3.1" - }, - { - "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant_Instance1", - "version": "2.3.4" - }, - { - "name": "org.onap.controlloop.HttpControlLoopParticipant_Instance1", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement", - "version": "1.2.3" - } - ] - } - -**Step 8:** To try out other endpoints try out the other postman collections inside commission folder - -**Step 9:** To decommission the Tosca Service Template Select DELETE Tosca Service Template - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedControlLoopDefinitions": [ - { - "name": "ToscaServiceTemplateSimple", - "version": "1.0.0" - } - ] - } - -**Step 10:** For Instance Properties select the following folder in postman Control Loop Istanbul/Instantiation - - Select POST Instance Properties - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedInstanceProperties": [ - { - "name": "PMSH_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant", - "version": "2.3.1" - }, - { - "name": "org.onap.controlloop.HttpControlLoopParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Local_K8SMicroserviceControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.sample.GenericK8s_ControlLoopDefinition_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant_Instance1", - "version": "2.3.1" - }, - { - "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant_Instance1", - "version": "2.3.4" - }, - { - "name": "org.onap.controlloop.HttpControlLoopParticipant_Instance1", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.pmsh.DerivedDerivedPolicyControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceControlLoopElement_Instance1", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.DerivedPolicyControlLoopElement", - "version": "1.2.3" - } - ] - } - -**Step 11:** To try out other endpoints try out the other postman collections inside Instantiation folder - -**Step 12:** To delete Instance properties select DELETE Instance Properties - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedControlLoops": [ - { - "name": "PMSH_Instance1", - "version": "1.2.3" - } - ] - } - -**Step 13:** For monitoring endpoints go to Control Loop Istanbul/Monitoring folder - -Jakarta -+++++++ - - -**Step 1:** Clone Policy Clamp - -.. code-block:: bash - - git clone "https://gerrit.onap.org/r/policy/clamp" - -**Step 2:** Change Master Branch to Jakarta - -.. code-block:: bash - - git checkout -b origin/jakarta - -**Step 3:** Run Maven Clean Install - -.. code-block:: bash - - mvn clean install - -**Step 3:** Create the Database by going to /clamp/runtime/extra/bin-for-dev - -.. code-block:: bash - - ./start-db.sh test - -**Step 4:** Start Clamp Runtime by going to /clamp/runtime/extra/bin-for-dev - -.. code-block:: bash - - ./start-backend.sh - -**Step 5:** Start Automation Composition Runtime by going to /clamp/runtime-acm - -.. code-block:: bash - - java -jar target/policy-clamp-runtime-acm-6.3.0-SNAPSHOT.jar - -**Step 6:** Open up Postman and import the following collections - - `Download Jakarta Postman Collections `_ - -**Step 7:** Open up the folder Automation Composition Jakarta/Commissioning - - Select POST Commission Tosca Service Template and run it. - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedAutomationCompositionDefinitions": [ - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.clamp.acm.HttpParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.policy.clamp.acm.KubernetesParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.policy.clamp.acm.PolicyParticipant", - "version": "2.3.1" - } - ] - } - -**Step 8:** To try out other endpoints try out the other postman collections inside commission folder - -**Step 9:** To decommission the Tosca Service Template Select DELETE Tosca Service Template - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedAutomationCompositionDefinitions": [ - { - "name": "ToscaServiceTemplateSimple", - "version": "1.0.0" - } - ] - } - -**Step 10:** For Instance Properties select the following folder in postman Automation Composition Jakarta/Instantiation - - Select POST Instance Properties - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedInstanceProperties": [ - { - "name": "ATT", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.clamp.acm.PolicyParticipant", - "version": "2.3.1" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.clamp.acm.HttpParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.policy.clamp.acm.KubernetesParticipant-ATT", - "version": "2.3.4" - }, - { - "name": "org.onap.policy.clamp.acm.KubernetesParticipant", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement-ATT", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement-ATT", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement-ATT", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement-ATT", - "version": "1.2.3" - }, - { - "name": "org.onap.policy.clamp.acm.PolicyParticipant-ATT", - "version": "2.3.1" - }, - { - "name": "org.onap.policy.clamp.acm.HttpParticipant-ATT", - "version": "2.3.4" - }, - { - "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement", - "version": "1.2.3" - }, - { - "name": "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition-ATT", - "version": "1.2.3" - } - ] - } - -**Step 11:** To try out other endpoints try out the other postman collections inside Instantiation folder - -**Step 12:** To delete Instance properties select DELETE Instance Properties - - *- Should receive the following result* - -.. code-block:: json - :linenos: - - { - "errorDetails": null, - "affectedAutomationCompositionDefinitions": [ - { - "name": "ToscaServiceTemplateSimple", - "version": "1.0.0" - } - ] - } - -**Step 13:** For monitoring endpoints go to Automation Composition Jakarta/Monitoring folder - -PAP & API -********* - -Istanbul -++++++++ - -**Step 1:** Clone Policy Docker - -.. code-block:: bash - - git clone "https://gerrit.onap.org/r/policy/docker" - -**Step 2:** Go to the CSIT directory - -.. code-block:: bash - - cd docker/csit - -**Step 3:** Run prepare csit script - -.. code-block:: bash - - ./prepare-csit.sh - -**Step 4:** Modify the compose-grafana.yml file - -remove everything from xacml-pdp downwards to grafana - -add the following in api after the keyword expose - -.. code-block:: bash - - ports: - - "6970:6969" - -add the following in pap after the keyword expose - -.. code-block:: bash - - ports: - - "6971:6969" - -**Step 5:** Run start grafana script - -.. code-block:: bash - - ./start-grafana.sh - -**Step 6:** Once api and pap has started check run the postman script Policy Framework Lifecycle API/Lifecycle Api Healthcheck at port 6970 - -.. image:: images/01-api-pap-upgrade.png - -**Step 7:** Log into mariadb container - -.. code-block:: bash - - docker exec -it mariadb sh - -**Step 8:** Log into mariadb container - -.. code-block:: bash - - docker exec -it mariadb sh - - -**Step 9:** Connect to mariadb - -.. code-block:: bash - - mysql -u policy_user -p - -**Step 10:** Enter mariadb password - -.. image:: images/02-api-pap-upgrade.png - -**password:** policy_user - -**Step 11:** View all schemas - -.. code-block:: bash - - show schemas; - -.. image:: images/03-api-pap-upgrade.png - -**Step 12:** Select policyadmin schema - -.. code-block:: bash - - use policyadmin; - -**Step 13:** View all tables - -.. code-block:: bash - - show tables; - -.. image:: images/04-api-pap-upgrade.png - -**Step 14:** Change schema to migration - -.. code-block:: bash - - use migration; - -**Step 15:** View migration tables - -.. code-block:: bash - - show tables; - -.. image:: images/05-api-pap-upgrade.png - -**Step 16:** Select tables from schema_versions - -.. code-block:: bash - - select * from schema_versions; - -.. image:: images/06-api-pap-upgrade.png - -'*' Notice the version 1000 is the latest - -**Step 17:** Go inside the db-migrator container - -.. code-block:: bash - - docker exec -it policy-db-migrator sh - -**Step 18:** See what environment variables is set on the container - -.. code-block:: bash - - printenv - -**Step 19:** If SQL_HOST, SQL_DB, SQL_USER, SQL_PASSWORD & SCRIPT_DIRECTORY is not set do the following - -.. code-block:: bash - :linenos: - - export SQL_HOST=mariadb - export SQL_DB=policyadmin - export SQL_USER=policy_user - export SQL_PASSWORD=policy_user - export SCRIPT_DIRECTORY=sql - -**Step 20:** To downgrade to Istanbul go to the following directory /opt/app/policy/bin and use the following script - -.. code-block:: bash - - ./prepare_downgrade policyadmin - -**Step 21:** To downgrade to Istanbul go to the following directory /opt/app/policy/bin and use the following script - -.. code-block:: bash - - ./db-migrator -s policyadmin -o downgrade -f 1000 -t 0800 - -**Step 22:** Go back to the mariaddb container - -.. code-block:: bash - - docker exec -it mariadb sh - -**Step 23:** Log back into mariadb - -.. code-block:: bash - - mysql -u policy_user -p - -**Step 24:** See if the downgrade has been successfully - -.. code-block:: bash - :linenos: - - use migration; - select * from policyadmin_schema_changelog; - select * from schema_versions; - -.. image:: images/07-api-pap-upgrade.png - -* - -.. image:: images/08-api-pap-upgrade.png - -* - -.. image:: images/01-api-pap-upgrade.png - -**Step 25:** To upgrade to Jakarta repeat steps 17, 18 & 19 - -**Step 26:** Got to the following directory /opt/app/policy/bin and use the following script - -.. code-block:: bash - - ./prepare_upgrade.sh policyadmin - -**Step 27:** Got to the following directory /opt/app/policy/bin and use the following script - -.. code-block:: bash - - ./db-migrator -s policyadmin -o upgrade -f 0800 -t 0900 - -**Step 28:** Repeat steps 22, 23 & 24 - -.. image:: images/09-api-pap-upgrade.png - -* - -.. image:: images/10-api-pap-upgrade.png - -* - -.. image:: images/01-api-pap-upgrade.png \ No newline at end of file diff --git a/docs/clamp/clamp.rst b/docs/clamp/clamp.rst index 3c3b2407..a1c275c1 100644 --- a/docs/clamp/clamp.rst +++ b/docs/clamp/clamp.rst @@ -16,7 +16,6 @@ described in TOSCA. acm/defining-acms acm/api-protocol/api-protocol-tree acm/clamp-gui/policy-gui - acm/policy-upgrade/policy-upgrade acm/design-impl/design-impl .. note:: -- cgit 1.2.3-korg