AMSTERDAM Videos


  • What is CLAMP ?


          3 min video to showcase what CLAMP purpose is and how it materialize a closed loop within ONAP


  • CLAMP Holmes Walk through
    This video (49min) walks through the setup of an Holmes Closed loop using Amsterdam release

BEIJING Videos

Design part in SDC

Step1-SDC_Create_Service.mp4

Step2-SDC_Push_Service_To_Test.mp4

Step3-SDC_Approve_Service_In_Test.mp4


Distribution to CLAMP

Step4-SDC_Distribute_Service.mp4

Step5-CLAMP_Check_Distribution.mp4


Configure Closed loop in CLAMP UI

Step6-CLAMP_Configure_ClosedLoop.mp4

Submit Configuration and Operational Policies to Policy Engine

Step7-CLAMP_Submit_ClosedLoop.mp4

Step8-POLICY_Check_Policies.mp4

Deploy/Control the Closed Loop on DCAE

Step9-CLAMP_Deploy_ClosedLoop.mp4

Step10-CLAMP_Deployment_Operations.mp4




CASABLANCA Videos

Control Dasboard part 1 (preview):  ingestion of dmaap events file


CL_dashboard_part_01.mp4

Control Loop Dashboard part 2 (preview): Kibana Dashboard

CL_dashboard_part_02.mp4

vCPE Control Loop Animation

vCPE_closed_loop_ons.mp4


Closed Loop with Spark POC


Clamp deploy on spark cluster


FRANKFURT Videos

In this release CLAMP has been completely changed because of the self-serve feature. The policy UIs are not written in the stone anymore,instead they are generated from the policy TOSCA files.

In a nutshell, these are the CLAMP features:

  1. Get and store the microservice blueprint (DCAE) + Service data (like VNF data, Vfmodules data) from SDC distribution, use the frankfurt TCA blueprint located here: https://git.onap.org/dcaegen2/platform/blueprints/tree/blueprints/k8s-tca-clampnode.yaml?h=frankfurt
  2. Get the CDS workflow inputs from CDS during SDC CSAR installation
  3. Store each SDC distribution in "Loop Template", they can be instantiated as a "Loop Instance"
  4. Get and store all TOSCA policy files + PDP groups from the policy engine
  5. Insertion/Removal of policies in the loop instance.
  6. Each policy can be configured according to the TOSCA definition
  7. Read TOSCA metadata section to give possible values to the user when it's possible ( VNF + VFModules data, CDS payload values)

The SDC distribution did not change since Casablanca, please check the previous video to see how to attach a DCAE blueprint defining the micro-services and distribute it to CLAMP.

Clamp-aaf.mp4


Connection to CLAMP UI

Clamp uses AAF to authenticate the user and get the different permissions.

You can either use the default certificate loaded into AAF for CLAMP Admin user or create a new user in AAF and assign the roles "org.onap.clamp.clds.admin.dev", "org.onap.clamp.clds.designer.dev", "org.onap.clamp.clds.vf_filter_all.dev" and "org.onap.clamp.service".

The default certificate can be found here: https://gerrit.onap.org/r/gitweb?p=clamp.git;a=blob;f=src/main/resources/clds/aaf/org.onap.clamp.p12;h=268aa1a3ce56e01448f8043cc0b05b5fceb5a47d;hb=HEAD

The password is:    "China in the Spring"

The certificate must be loaded into your favorite browser before trying to load the CLAMP UI.


Clamp-aaf.mp4


Create a loop instance from a loop template

When SDC distributes the service information to CLAMP, loop templates are created in CLAMP for each DCAE blueprint found in the CSAR.


Loop instance can be created from a loop template, each template is therefore related to a "service"

Create the Loop.mp4

Add or Remove the policies in the loop instance


TOSCA based policies can be added or removed from the loop instance.

CLAMP gets periodically the TOSCA based policies available on the policy engine and stores them into the database, so that the user can select what policies he wants to use in the loop instance.


Add remove Op Policies.mp4


Add a legacy policy

Operational legacy policy can also be added. This one is not TOSCA based and is the same as the one used in El Alto.


It uses a legacy code in CLAMP


Configure each policy

Each policies in the loop instance must be configured by clicking on each box.

The PDP group must now also be set for the policy engine deployment.

CLAMP gets periodically the available PDP groups from the policy engine per TOSCA based policy

Clamp-policy-config.mp4



Submit to policy engine

In this video, we show you how to submit all the policies defined in the loop instance to the policy engine.

Clamp Designer UI.mp4

Deploy microservices to DCAE

In this video, we show you how to deploy the microservices defined in the loop instance (those are initially defined by the DCAE blueprint and distributed from SDC)

Clamp DCAE Deploy.mp4

Stop/Restart the loop

In this video, we show you how to stop or restart the loop instance, it obviously undeploy or re-deploy all the policies from/to the policy engine.

Clamp Start-Stop.mp4


Undeploy the loop

In this video, we show you how to undeploy the microservices from DCAE

Clamp undeploy dcae.mp4


Developer's Guide Videos (based on latest release)

  1. The clamp project is structured as a single pom.xml (no maven submodule), it builds the Frontend and the Backend docker images, publishes a Jar on nexus and a NPM package that can be used to get the clamp UI react components. The frontend is located in the "ui-react" folder, and build with NPM into an NGINX docker container. The backend is a standalone Springboot JAR created from the src folder.Clamp-0-Project Structure.mp4

  2. The backend uses Springboot and Camel, the code entry points are located in "scheduled beans" (policy controller/Sdc Controller) and defined in Camel routes. All Rest api endpoints are defined in Camel. The backend uses also the "spring profiles" to enable or disable features (like sdc controller, aaf cadi, policy controller, etc ...)
    Clamp-Entry points (Camel, Beans, Spring profiles).mp4

  3. In the clamp structure, there is a folder extra/bin-for-dev that contains scripts for the developer. They are used to start the mariadb container (preload available), the policy/dcae emulator, the backend from the maven target/JAR (debug port opened) and the frontend from the target/ui-react code (using target folder NodeJS). The main language used between the frontend and backend is JSON, so looking at the Firefox Debugger Networks tab, it's possible to see all the data exchanged and understand the flow and debug the javascript code
    Clamp-Start Clamp and debug the UI.mp4
  4. The code is entirely monitored in term of coverage (used by Sonar), the single maven module facilitates that Sonar report unification. The frontend uses JEST (with snapshots) to do the unit testing of the javascript. The backend is tested with 2 phases, the maven test phase (Junit) and the maven Integration test phase (Junit with SpringBootTest). The integration test phase is crucial as it tests Clamp against a real mariadb, the emulator, and more recently, the Robotframework tests have been introduced during that phase. There are therefore a good tooling chain to validate Clamp code and improves the coverage.  VIDEO TO BE DONE

  5. The backend code has an SDC controller that is used to deploy the service/resources/blueprints created and distributed in SDC. It uses the SDC Client that uses the DMaap notification. The CsarInstaller class is responsible of deploying those artifacts to the clamp database, it creates some "loop templates" that can be used to create a "loop instance". The policy controller is also present to get periodically all the Tosca files defined in the Policy Engine. Those are available to the user for configuring the control loop instance. VIDEO TO BE DONE

  6. The Frontend does not require any code for the policy UI presented to the user, instead the frontend uses a library that convert a Json Schema to a nice UI. Therefore the backend has a ToscaToJson Converter that is used to convert all tosca based policies. This converter is built to be modular in a sense that plugins can be added to fetch info in third party systems (like CDS), this mechanism is called Json enrichment. The user is therefore able to see in the UI the data coming from others onap/non onap components. The backend supports also a tosca dictionary mechanism that can do simple enrichment for specific tosca keywords defined in that dictionary. VIDEO TO BE DONE

  7. The backend has an authentication mechanism that is used for each Rest query, there currently 2 Springboot profiles "modules" that be exclusively enabled, either the "cldsDeaultUser" or the AAF one, that uses CADI filter. When using AAF, the user permission are retrieved from the AAF instance, the user can choose a X509 or "basic authentication" login. The front end obviously forward those info to the backend. The frontend is just a renderer without any logic. VIDEO TO BE DONE

  8. Clamp auto generates the Swagger JSON from the Camel Rest routes automatically. To export that json created only when the backend is up, we use one of the Integration test to export that json into the docs folder. The clamp pom then defines some plugins to convert that JSon to HTML or PDF. There is currently no documentation around those swagger info, it's just a raw Swagger json.
    Clamp-Swagger.mp4





  • No labels

17 Comments

  1. Hi Christophe,

    Can you post complete demo video of Closed Loop using CLAMP ?. It will help us to understand the communication between other components.

    Thanks,

    Karthik

  2. Hi Everybody,

    I installed the CLAMP component towards understanding better. I followed the steps in  https://github.com/onap/clamp. However, the Template Menu didn't show in the Closed Loop Modeler (figure below). I already changed the user permissions, but the issue keeps. Any suggestions?

    Tks,

    Nathan Saraiva

  3. Hello All,


    the reason why you don't see the template menu, is that you are using the latest version of the code (Beijing Release) which is still under completion (we are nearly there!)

    The design of templates has been moved to SDC-DCAED for Beijing so CLAMP will only be there to do the runtime part (start - stop - update - configure)

    Beijing will also introduce runtime analytics for Closed loop efficiency, response time etc


    We will be updating this page soon with new videos and look for documentation update as well.. stay tuned!


    Meanwhile, if you want to run what is available in Amsterdam (and what is currently pictured in the videos), feel free to spin up the amsterdam version of CLAMP

    1. Hi Christophe,

      Thank you so much for your fast answer. I installed the Amsterdam release.

  4. Hi Christophe,

    Christophe Closset

    I have a couple of questions.

    1. Is there a video available for Clamp demo with Beijing release?

    2. Is Dcae ds has been integrated into SDC as a part of Beijing release ?

    1. Hello,


      1. We had troubles with the recording, we are working on a new one - this will also be showcased at ONS Europe upcoming Event
      2. No it was not

      Regards

      Christophe

  5. Hi,

    Christophe Closset Thanks for your quick response.


    I tried to bring up Amsterdam based Clamp.

    I followed the 3 mins video, and I faced the following issues.

    1. I could not able to see any policy when i click on TCA in the Policy drop-down.
    2. So, I created a new Operational policy, and tried to add that one to TCA, when i click the submit button, I got the following error

      clamp_1 | 15:26:44.629 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'service' for key 'name' not found in JSON
      clamp_1 | 15:26:44.631 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'actionSet' for key 'name' not found in JSON
      clamp_1 | 15:26:44.633 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'vf' for key 'name' not found in JSON
      clamp_1 | 15:26:44.634 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'vfc' for key 'name' not found in JSON
      clamp_1 | 15:26:44.634 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'location' for key 'name' not found in JSON
      clamp_1 | 15:26:44.635 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - VF not found in model
      clamp_1 | 15:26:44.636 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT actionCd=SUBMIT
      clamp_1 | 15:26:44.638 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT actionStateCd=INITIATED
      clamp_1 | 15:26:44.638 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT processDefinitionKey=clds-process-action-wf
      clamp_1 | 15:26:44.638 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT modelName=sample6
      clamp_1 | 15:26:44.638 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT test=null
      clamp_1 | 15:26:44.638 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT bpmnText=<?xml version="1.0" encoding="UTF-8"?>
      clamp_1 | <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
      clamp_1 | <bpmn:process id="Process_1" isExecutable="false">
      clamp_1 | <bpmn:startEvent id="StartEvent_1">
      clamp_1 | <bpmn:outgoing>SequenceFlow_07ayh8q</bpmn:outgoing>
      clamp_1 | </bpmn:startEvent>
      clamp_1 | <bpmn:vesCollector id="VesCollector_1q76cyu">
      clamp_1 | <bpmn:incoming>SequenceFlow_07ayh8q</bpmn:incoming>
      clamp_1 | <bpmn:outgoing>SequenceFlow_1qcj8pe</bpmn:outgoing>
      clamp_1 | </bpmn:vesCollector>
      clamp_1 | <bpmn:tCA id="TCA_0ouz6h4">
      clamp_1 | <bpmn:incoming>SequenceFlow_1qcj8pe</bpmn:incoming>
      clamp_1 | <bpmn:outgoing>SequenceFlow_0jy27lr</bpmn:outgoing>
      clamp_1 | </bpmn:tCA>
      clamp_1 | <bpmn:policy id="Policy_1ckbt5a">
      clamp_1 | <bpmn:incoming>SequenceFlow_0jy27lr</bpmn:incoming>
      clamp_1 | <bpmn:outgoing>SequenceFlow_1yjoe18</bpmn:outgoing>
      clamp_1 | </bpmn:policy>
      clamp_1 | <bpmn:endEvent id="EndEvent_1f2i0t2">
      clamp_1 | <bpmn:incoming>SequenceFlow_1yjoe18</bpmn:incoming>
      clamp_1 | </bpmn:endEvent>
      clamp_1 | <bpmn:sequenceFlow id="SequenceFlow_07ayh8q" sourceRef="StartEvent_1" targetRef="VesCollector_1q76cyu" />
      clamp_1 | <bpmn:sequenceFlow id="SequenceFlow_1qcj8pe" sourceRef="VesCollector_1q76cyu" targetRef="TCA_0ouz6h4" />
      clamp_1 | <bpmn:sequenceFlow id="SequenceFlow_0jy27lr" sourceRef="TCA_0ouz6h4" targetRef="Policy_1ckbt5a" />
      clamp_1 | <bpmn:sequenceFlow id="SequenceFlow_1yjoe18" sourceRef="Policy_1ckbt5a" targetRef="EndEvent_1f2i0t2" />
      clamp_1 | </bpmn:process>
      clamp_1 | <bpmndi:BPMNDiagram id="BPMNDiagram_1">
      clamp_1 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      clamp_1 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
      clamp_1 | <dc:Bounds x="50" y="162" width="36" height="36" />
      clamp_1 | </bpmndi:BPMNShape>
      clamp_1 | <bpmndi:BPMNShape id="VesCollector_1q76cyu_di" bpmnElement="VesCollector_1q76cyu">
      clamp_1 | <dc:Bounds x="205" y="132" width="120" height="80" />
      clamp_1 | </bpmndi:BPMNShape>
      clamp_1 | <bpmndi:BPMNShape id="TCA_0ouz6h4_di" bpmnElement="TCA_0ouz6h4">
      clamp_1 | <dc:Bounds x="434" y="132" width="120" height="80" />
      clamp_1 | </bpmndi:BPMNShape>
      clamp_1 | <bpmndi:BPMNShape id="Policy_1ckbt5a_di" bpmnElement="Policy_1ckbt5a">
      clamp_1 | <dc:Bounds x="620" y="112" width="120" height="80" />
      clamp_1 | </bpmndi:BPMNShape>
      clamp_1 | <bpmndi:BPMNShape id="EndEvent_1f2i0t2_di" bpmnElement="EndEvent_1f2i0t2">
      clamp_1 | <dc:Bounds x="867" y="162" width="36" height="36" />
      clamp_1 | <bpmndi:BPMNLabel>
      clamp_1 | <dc:Bounds x="840" y="198" width="90" height="20" />
      clamp_1 | </bpmndi:BPMNLabel>
      clamp_1 | </bpmndi:BPMNShape>
      clamp_1 | <bpmndi:BPMNEdge id="SequenceFlow_07ayh8q_di" bpmnElement="SequenceFlow_07ayh8q">
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="86" y="180" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="146" y="180" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="146" y="172" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="205" y="172" />
      clamp_1 | <bpmndi:BPMNLabel>
      clamp_1 | <dc:Bounds x="101" y="166" width="90" height="20" />
      clamp_1 | </bpmndi:BPMNLabel>
      clamp_1 | </bpmndi:BPMNEdge>
      clamp_1 | <bpmndi:BPMNEdge id="SequenceFlow_1qcj8pe_di" bpmnElement="SequenceFlow_1qcj8pe">
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="325" y="172" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="434" y="172" />
      clamp_1 | <bpmndi:BPMNLabel>
      clamp_1 | <dc:Bounds x="334.5" y="162" width="90" height="20" />
      clamp_1 | </bpmndi:BPMNLabel>
      clamp_1 | </bpmndi:BPMNEdge>
      clamp_1 | <bpmndi:BPMNEdge id="SequenceFlow_0jy27lr_di" bpmnElement="SequenceFlow_0jy27lr">
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="554" y="172" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="587" y="172" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="587" y="152" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="620" y="152" />
      clamp_1 | <bpmndi:BPMNLabel>
      clamp_1 | <dc:Bounds x="542" y="152" width="90" height="20" />
      clamp_1 | </bpmndi:BPMNLabel>
      clamp_1 | </bpmndi:BPMNEdge>
      clamp_1 | <bpmndi:BPMNEdge id="SequenceFlow_1yjoe18_di" bpmnElement="SequenceFlow_1yjoe18">
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="740" y="152" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="804" y="152" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="804" y="180" />
      clamp_1 | <di:waypoint xsi:type="dc:Point" x="867" y="180" />
      clamp_1 | <bpmndi:BPMNLabel>
      clamp_1 | <dc:Bounds x="759" y="156" width="90" height="20" />
      clamp_1 | </bpmndi:BPMNLabel>
      clamp_1 | </bpmndi:BPMNEdge>
      clamp_1 | </bpmndi:BPMNPlane>
      clamp_1 | </bpmndi:BPMNDiagram>
      clamp_1 | </bpmn:definitions>
      clamp_1 |
      clamp_1 | 15:26:44.639 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT propText={"Policy_1ckbt5a":{"New_Policy1":[{"name":"pname","value":"New_Policy1"},{"name":"pid","value":"0"},{"name":"timeout","value":"345"},{"policyConfigurations":[[{"name":"maxRetries","value":["3"]},{"name":"retryTimeLimit","value":["180"]},{"name":"_id","value":["9X8qTbj"]},{"name":"parentPolicy","value":[""]},{"name":"targetResourceId","value":[""]}]]}]},"TCA_0ouz6h4":{"New_Set1":[{"name":"tname","value":"New_Set1"},{"name":"tuuid","value":"73e2d160-caef-tc51-900d-00132ef47f6d"},{"name":"tcaPol","value":"New_Policy1"},{"name":"eventName","value":"vCPEvGMUXPacketLoss"},{"name":"controlLoopSchemaType","value":"VNF"},{"name":"tcaPolId","value":"0"},{"serviceConfigurations":[["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","LESS","20","ABATED"],["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","GREATER","10","ONSET"]]}]}}
      clamp_1 | 15:26:44.639 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT userid=admin
      clamp_1 | 15:26:44.639 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT getTypeId=null
      clamp_1 | 15:26:44.639 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT deploymentId=null
      clamp_1 | 15:26:44.657 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT bpmnJson={"policy":[{"id":"Policy_1ckbt5a", "from":"TCA_0ouz6h4"}],"tca":[{"id":"TCA_0ouz6h4", "from":"VesCollector_1q76cyu"}],"holmes":[],"vesCollector":[{"id":"VesCollector_1q76cyu", "from":"StartEvent_1"}]}
      clamp_1 | 15:26:44.657 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT isTest=false
      clamp_1 | 15:26:44.657 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - PUT isInsertTestEvent=false
      clamp_1 | 15:26:44.657 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - modelProp - {"Policy_1ckbt5a":{"New_Policy1":[{"name":"pname","value":"New_Policy1"},{"name":"pid","value":"0"},{"name":"timeout","value":"345"},{"policyConfigurations":[[{"name":"maxRetries","value":["3"]},{"name":"retryTimeLimit","value":["180"]},{"name":"_id","value":["9X8qTbj"]},{"name":"parentPolicy","value":[""]},{"name":"targetResourceId","value":[""]}]]}]},"TCA_0ouz6h4":{"New_Set1":[{"name":"tname","value":"New_Set1"},{"name":"tuuid","value":"73e2d160-caef-tc51-900d-00132ef47f6d"},{"name":"tcaPol","value":"New_Policy1"},{"name":"eventName","value":"vCPEvGMUXPacketLoss"},{"name":"controlLoopSchemaType","value":"VNF"},{"name":"tcaPolId","value":"0"},{"serviceConfigurations":[["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","LESS","20","ABATED"],["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","GREATER","10","ONSET"]]}]}}
      clamp_1 | 15:26:44.657 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.service.SecureServiceBase - docText - {}
      clamp_1 | 15:26:44.666 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.client.SdcSendReqDelegate - userid=admin
      clamp_1 | 15:26:44.668 [ForkJoinPool.commonPool-worker-0] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'correlationalLogic' for key 'name' not found in JSON
      clamp_1 | 15:26:44.668 [ForkJoinPool.commonPool-worker-0] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'configPolicyName' for key 'name' not found in JSON
      clamp_1 | 15:26:44.668 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'recipe' for key 'name' not found in JSON
      clamp_1 | 15:26:44.669 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'parentPolicy' for key 'name' not found in JSON
      clamp_1 | 15:26:44.669 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'parentPolicyConditions' for key 'name' not found in JSON
      clamp_1 | 15:26:44.669 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'targetResourceId' for key 'name' not found in JSON
      clamp_1 | 15:26:44.669 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'service' for key 'name' not found in JSON
      clamp_1 | 15:26:44.670 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'actionSet' for key 'name' not found in JSON
      clamp_1 | 15:26:44.670 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'vf' for key 'name' not found in JSON
      clamp_1 | 15:26:44.670 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'vfc' for key 'name' not found in JSON
      clamp_1 | 15:26:44.670 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] WARN org.onap.clamp.clds.model.prop.AbstractModelElement - Value 'location' for key 'name' not found in JSON
      clamp_1 | 15:26:44.671 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.client.req.TcaRequestFormatter - tcaPolicyContent={"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vCPEvGMUXPacketLoss","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"sample6.ClosedLoop_fd143188_9fd4_11e8_a436_0242ac130002_TCA_0ouz6h4","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ClosedLoop-fd143188-9fd4-11e8-a436-0242ac130002_null","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":10,"direction":"GREATER","severity":"MAJOR","closedLoopEventStatus":"ONSET"},{"closedLoopControlName":"ClosedLoop-fd143188-9fd4-11e8-a436-0242ac130002_null","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":10,"direction":"GREATER","severity":"MAJOR","closedLoopEventStatus":"ONSET"}]}]}
      clamp_1 | 15:26:44.671 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO org.onap.clamp.clds.client.req.TcaRequestFormatter - Yaml that will be updated:
      clamp_1 | 15:26:44.672 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] ERROR org.camunda.bpm.engine.context - ENGINE-16006 BPMN Stack Trace:
      clamp_1 | ServiceTask_0x8ypxf (activity-execute, ProcessInstance[129])
      clamp_1 | ServiceTask_0x8ypxf
      clamp_1 | ^
      clamp_1 | |
      clamp_1 | ExclusiveGateway_2
      clamp_1 | ^
      clamp_1 | |
      clamp_1 | StartEvent_1
      clamp_1 |
      clamp_1 | 15:26:44.673 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: Exception caught when attempting to update the blueprint
      clamp_1 | org.onap.clamp.clds.exception.TcaRequestFormatterException: Exception caught when attempting to update the blueprint
      clamp_1 | at org.onap.clamp.clds.client.req.TcaRequestFormatter.updatedBlueprintWithConfiguration(TcaRequestFormatter.java:201)
      clamp_1 | at org.onap.clamp.clds.client.req.SdcReq.formatBlueprint(SdcReq.java:89)
      clamp_1 | at org.onap.clamp.clds.client.SdcSendReqDelegate.execute(SdcSendReqDelegate.java:71)
      clamp_1 | at org.camunda.bpm.engine.impl.bpmn.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:36)
      clamp_1 | at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:54)
      clamp_1 | at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:87)
      clamp_1 | at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:59)
      clamp_1 | at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior$3.call(ServiceTaskDelegateExpressionActivityBehavior.java:112)
      clamp_1 | at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior$3.call(ServiceTaskDelegateExpressionActivityBehavior.java:98)
      clamp_1 | at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnActivityBehavior.java:108)
      clamp_1 | at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.performExecution(ServiceTaskDelegateExpressionActivityBehavior.java:123)
      clamp_1 | at org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior.execute(TaskActivityBehavior.java:65)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:57)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:46)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueIfExecutionDoesNotAffectNextOperation(PvmExecutionImpl.java:1936)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:38)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:27)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:89)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:611)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:587)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$5.callback(PvmExecutionImpl.java:1875)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$5.callback(PvmExecutionImpl.java:1872)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:1942)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1891)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1872)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:57)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:27)
      clamp_1 | at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:65)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:89)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:622)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:597)
      clamp_1 | at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:89)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:622)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:597)
      clamp_1 | at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:89)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:611)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:587)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.scopeCreated(PvmAtomicOperationTransitionCreateScope.java:34)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:50)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:24)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:89)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:112)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:611)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:587)
      clamp_1 | at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.start(PvmExecutionImpl.java:231)
      clamp_1 | at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:432)
      clamp_1 | at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:55)
      clamp_1 | at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
      clamp_1 | at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
      clamp_1 | at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      clamp_1 | at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
      clamp_1 | at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
      clamp_1 | at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.executeWithVariablesInReturn(ProcessInstantiationBuilderImpl.java:156)
      clamp_1 | at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:122)
      clamp_1 | at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:118)
      clamp_1 | at org.camunda.bpm.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:91)
      clamp_1 | at org.onap.clamp.clds.service.CldsService.putModelAndProcessAction(CldsService.java:479)
      clamp_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      clamp_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      clamp_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      clamp_1 | at java.lang.reflect.Method.invoke(Method.java:498)
      clamp_1 | at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
      clamp_1 | at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
      clamp_1 | at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
      clamp_1 | at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
      clamp_1 | at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
      clamp_1 | at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
      clamp_1 | at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      clamp_1 | at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      clamp_1 | at org.apache.camel.component.cxf.cxfbean.CxfBeanDestination.process(CxfBeanDestination.java:83)
      clamp_1 | at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:103)
      clamp_1 | at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71)
      clamp_1 | at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
      clamp_1 | at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)
      clamp_1 | at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
      clamp_1 | at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:542)
      clamp_1 | at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
      clamp_1 | at org.apache.camel.processor.Pipeline.process(Pipeline.java:120)
      clamp_1 | at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
      clamp_1 | at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
      clamp_1 | at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)
      clamp_1 | at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:195)
      clamp_1 | at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:74)
      clamp_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
      clamp_1 | at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
      clamp_1 | at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
      clamp_1 | at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
      clamp_1 | at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
      clamp_1 | at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      clamp_1 | at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:107)
      clamp_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      clamp_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      clamp_1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      clamp_1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
      clamp_1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      clamp_1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      clamp_1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      clamp_1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      clamp_1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
      clamp_1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
      clamp_1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      clamp_1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
      clamp_1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
      clamp_1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      clamp_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      clamp_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      clamp_1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      clamp_1 | at java.lang.Thread.run(Thread.java:748)
      clamp_1 | Caused by: java.lang.NullPointerException: null
      clamp_1 | at org.onap.clamp.clds.client.req.TcaRequestFormatter.updatedBlueprintWithConfiguration(TcaRequestFormatter.java:180)
      clamp_1 | ... 186 common frames omitted
      clamp_1 | 15:26:44.699 [ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa] INFO com.att.ajsc.csi.logging.PerformanceTracking - Performance Log:
      clamp_1 | restservices.clds.v1.clds.action.submit.sample6#AJSC-CSI#ajsc:ajsc6camundademo-1.1.0-TEST-3b2c8895ba29-N/A#ajscUser~CNG-CSI~f6122ac6-4195-4224-a5b6-fecb43b60eaa#2018-08-14T15:26:44.621Z#ajscUser#[7b65c79f-323b-488a-8110-adb51b6d599a]|Main#I#1534260404621#restservices.clds.v1.clds.action.submit.sample6|Main#E#1534260404698#restservices.clds.v1.clds.action.submit.sample6|RecordSizes#ReqMsgSize=18603#RespMsgSize=83#ClientDME2Lookup=#ClientSentTime=null#Cluster=N/A#Vtier=3b2c8895ba29#ClientApp=ajsc-csi-restful~ajsc6camundademo#Mode=#InstanceName=ajsc:ajsc6camundademo-1.1.0-TEST-3b2c8895ba29-N/A#HostIPAddress=172.19.0.3#HostName=3b2c8895ba29#FaultEntity=CSI#ExternalFaultCode=500#ExternalFaultDescription=<RequestError xmlns="http://csi.cingular.com/CSI/Namespaces/Rest/RequestError.xsd">
      clamp_1 | <ServiceException>
      clamp_1 | <MessageId>SVC9999</MessageId>
      clamp_1 | <Text>An internal error has occurred</Text>
      clamp_1 | </ServiceException>
      clamp_1 | </RequestError>#ResponseCode=200#ResponseDescription=Unknown Error Returned

  6. Hi Christophe Closset, I followed the videos to design service which distributes CLAMP controlloop. However I'm falling short of  blueprint yaml "tca_docker_k8s_m_v2.yaml" file which we browse while creating artifact for the VF when creating service. Can somebody suggest how this blueprint yaml looks like, any sample file you refer. I browsed following yaml file as blueprint controloop, is that correct ?  Please correct me if I'm wrong somewhere, Appreciate your help. Thank you

    controlLoop:
      version: 2.0.0
      controlLoopName: ControlLoop-vdns_dev-48f0c2c3-a172-4192-9ae3-052274181b6e
      trigger_policy: unique-policy-id-1-scale-up
      timeout: 3600
     
    policies:
      - id: unique-policy-id-1-scale-up
        name: policy-vdns_dev
        description:
        actor: SO
        recipe: VF Module Create
        target:
          type: VNF
        retry: 0
        timeout: 1200
        success: final_success
        failure: final_failure
        failure_timeout: final_failure_timeout
        failure_retries: final_failure_retries
        failure_exception: final_failure_exception
        failure_guard: final_failure_guard


    I see the distribution failure for CLAMP, which says the following error.


    2018-10-10T11:09:01,335Z||pool-4-thread-10|||||INFO|||Receive a callback notification in SDC, nb of resources: 1

    2018-10-10T11:09:06,335Z||pool-4-thread-10|||||INFO|||Notification received for service UUID:3c4ee84d-94d2-40fd-ae4b-890ffa5ff4b1

    2018-10-10T11:09:06,336Z||pool-4-thread-10|||||INFO|||Trying to download the artifact : /sdc/v1/catalog/services/Clamptest1/1.0/artifacts/service-Clamptest1-csar.csar UUID: 8c8e3e24-8141-4bca-9429-4abcb04a4f76

    2018-10-10T11:09:06,810Z||pool-4-thread-10|||||INFO|||Successfully downloaded the artifact /sdc/v1/catalog/services/Clamptest1/1.0/artifacts/service-Clamptest1-csar.csar UUID 8c8e3e24-8141-4bca-9429-4abcb04a4f76Size of payload 78193

    2018-10-10T11:09:06,810Z||pool-4-thread-10|||||INFO|||Writing CSAR file to: /tmp/sdc-controllers/sdc-controller/service-Clamptest1-csar.csar UUID 8c8e3e24-8141-4bca-9429-4abcb04a4f76)

    2018-10-10T11:09:08,157Z||pool-4-thread-10|||||INFO|||Found a blueprint entry in the CSAR controlloop.yaml for resource instance Name 00e0654a-ed83-466b-a08c 0

    2018-10-10T11:09:08,157Z||pool-4-thread-10|||||INFO|||1 blueprint(s) will be converted to closed loop

    2018-10-10T11:09:08,159Z||pool-4-thread-10|||||ERROR|||Unexpected exception caught during the notification processing

    java.lang.NullPointerException: null

            at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.searchForPolicyScopePrefix(CsarInstallerImpl.java:195)

            at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.buildModelName(CsarInstallerImpl.java:114)

            at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.isCsarAlreadyDeployed(CsarInstallerImpl.java:105)

            at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl$$FastClassBySpringCGLIB$$c70b96f8.invoke(<generated>)

            at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

            at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:669)

            at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl$$EnhancerBySpringCGLIB$$e182f961.isCsarAlreadyDeployed(<generated>)

            at org.onap.clamp.clds.sdc.controller.SdcSingleController.treatNotification(SdcSingleController.java:239)

            at org.onap.clamp.clds.sdc.controller.SdcSingleController$SdcNotificationCallBack.activateCallback(SdcSingleController.java:90)

            at org.onap.sdc.impl.NotificationConsumer.run(NotificationConsumer.java:71)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

            at java.lang.Thread.run(Thread.java:748)

    2018-10-10T11:09:08,159Z||pool-4-thread-10|||||INFO|||Sending DEPLOY(DEPLOY_ERROR) notification to SDC for

    1. a sample blueprint (used for Casablanca pairwise testing on heat) has been posted here: CLAMP Documentation (under Casablanca documentation)

  7. Hi Gervais-Martial Ngueko,

    I've used the blueprint you've referred, but it fails while distributing to CLAMP.

    I've extracted logs from CLAMP - can you suggest your observations.  Thanks for your time.


    2018-10-15T13:03:33,665Z|b2f59848-cd74-4f10-be28-09b7478aa443|ttp-nio-8080-exec-12|CldsService: GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization Error|GET healthcheck completed 2018-10-15T13:03:35,853Z||pool-4-thread-10|||||INFO|||Notification received for service UUID:82518bdd-6ac5-484a-b726-25f2ca001b64 2018-10-15T13:03:35,853Z||pool-4-thread-10|||||INFO|||Trying to download the artifact : /sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar UUID: 668fee60-29b6-488e-aada-dffff9271b16 2018-10-15T13:03:36,743Z||pool-4-thread-10|||||INFO|||Successfully downloaded the artifact /sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar UUID 668fee60-29b6-488e-aada-dffff9271b16Size of payload 80148 2018-10-15T13:03:36,743Z||pool-4-thread-10|||||INFO|||Writing CSAR file to: /tmp/sdc-controllers/sdc-controller/service-Clamptest4-csar.csar UUID 668fee60-29b6-488e-aada-dffff9271b16) 2018-10-15T13:03:38,257Z||pool-4-thread-10|||||INFO|||Found a blueprint entry in the CSAR tca_docker_heat_m_v2.yaml for resource instance Name 00e0654a-ed83-466b-a08c 0 2018-10-15T13:03:38,257Z||pool-4-thread-10|||||INFO|||1 blueprint(s) will be converted to closed loop 2018-10-15T13:03:38,259Z||pool-4-thread-10|||||INFO|||policyName found in blueprint tca_docker_heat_m_v2.yaml is get_input 2018-10-15T13:03:38,334Z||pool-4-thread-10|||||INFO|||Sending DOWNLOAD(DOWNLOAD_OK) notification to SDC for artifact:/sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar 2018-10-15T13:03:39,340Z||pool-4-thread-10|||||INFO|||SDC Notification sent successfully(sendDownloadStatus) 2018-10-15T13:03:39,340Z||pool-4-thread-10|||||INFO|||Sending DOWNLOAD(DOWNLOAD_OK) notification to SDC for artifact:/sdc/v1/catalog/services/Clamptest4/1.0/resourceInstances/00e0654aed83466ba08c0/artifacts/00e0654aed83466ba08c0_modules.json 2018-10-15T13:03:40,346Z||pool-4-thread-10|||||INFO|||SDC Notification sent successfully(sendDownloadStatus) 2018-10-15T13:03:40,348Z||pool-4-thread-10|||||INFO|||Installing the CSAR /tmp/sdc-controllers/sdc-controller/service-Clamptest4-csar.csar 2018-10-15T13:03:40,348Z||pool-4-thread-10|||||INFO|||Processing blueprint tca_docker_heat_m_v2.yaml 2018-10-15T13:03:40,350Z||pool-4-thread-10|||||INFO|||Mapping found for blueprint tca_docker_heat_m_v2.yaml is classpath:/clds/templates/bpmn/tca-template.xml 2018-10-15T13:03:40,352Z||pool-4-thread-10|||||INFO|||policyName found in blueprint tca_docker_heat_m_v2.yaml is get_input 2018-10-15T13:03:40,360Z||pool-4-thread-10|||||INFO|||Fake Clds Template created for blueprint tca_docker_heat_m_v2.yaml with name DCAE-Designer-Template-CLAMPClampTest4_v1_0_00e0654a-ed83-466b-a08c0 2018-10-15T13:03:40,360Z||pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae Inventory Service full url - http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml 2018-10-15T13:03:40,360Z||pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using HTTP URL to contact DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml 2018-10-15T13:03:40,408Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response Code: 200 2018-10-15T13:03:40,408Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response Content: {"links":{"previousLink":null,"nextLink":null},"totalCount":0,"items":[]} 2018-10-15T13:03:40,431Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae inventory totalCount returned is 0, so waiting 10000ms before retrying ... 2018-10-15T13:03:43,747Z|e83d3cfb-1edd-48a3-81da-736fb3282570|http-nio-8080-exec-5|CldsService: GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization Error|GET healthcheck completed 2018-10-15T13:03:50,431Z|3a87825f-33e6-4bd7-b4e2-4d0f3e27a0e0|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using HTTP URL to contact DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml 2018-10-15T13:03:50,446Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response Code: 200 2018-10-15T13:03:50,446Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response Content: {"links":{"previousLink":null,"nextLink":null},"totalCount":0,"items":[]} 2018-10-15T13:03:50,446Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae inventory totalCount returned is 0, so waiting 10000ms before retrying ... 2018-10-15T13:03:53,753Z|21bf2b9d-a651-4df7-9ad0-a5d3754ca9e5|ttp-nio-8080-exec-11|CldsService: GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization Error|GET healthcheck completed 2018-10-15T13:04:00,449Z|90fcf985-19db-45b8-ad8d-f7fc6a5a10c7|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using HTTP URL to contact DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml 2018-10-15T13:04:00,498Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response Code: 200 2018-10-15T13:04:00,499Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Response Content: {"links":{"previousLink":null,"nextLink":null},"totalCount":0,"items":[]} 2018-10-15T13:04:00,499Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Dcae inventory totalCount returned is 0, so waiting 10000ms before retrying ... 2018-10-15T13:04:03,764Z|089c9cec-57c2-45cf-a4ff-321f81ce14e3|http-nio-8080-exec-7|CldsService: GET healthcheck|Clamp-Health-Check|CLDS|isAuthorized|INFO|100|Authorization Error|GET healthcheck completed 2018-10-15T13:04:10,500Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|WARN|||Dcae inventory totalCount returned is still 0, after 3 attempts, returning NULL 2018-10-15T13:04:10,533Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||policyName found in blueprint tca_docker_heat_m_v2.yaml is get_input 2018-10-15T13:04:10,560Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|ERROR|||Unexpected exception caught during the notification processing java.lang.NullPointerException: null         at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.createFakeCldsModel(CsarInstallerImpl.java:266)         at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl.installTheCsar(CsarInstallerImpl.java:134)         at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl$$FastClassBySpringCGLIB$$c70b96f8.invoke(<generated>)         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)         at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)         at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)         at org.onap.clamp.clds.sdc.controller.installer.CsarInstallerImpl$$EnhancerBySpringCGLIB$$e182f961.installTheCsar(<generated>)         at org.onap.clamp.clds.sdc.controller.SdcSingleController.treatNotification(SdcSingleController.java:247)         at org.onap.clamp.clds.sdc.controller.SdcSingleController$SdcNotificationCallBack.activateCallback(SdcSingleController.java:90)         at org.onap.sdc.impl.NotificationConsumer.run(NotificationConsumer.java:71)         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)         at java.lang.Thread.run(Thread.java:748) 2018-10-15T13:04:10,561Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Sending DEPLOY(DEPLOY_ERROR) notification to SDC for artifact:/sdc/v1/catalog/services/Clamptest4/1.0/artifacts/service-Clamptest4-csar.csar 2018-10-15T13:04:11,564Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||SDC Notification sent successfully(sendDeploymentdStatus) 2018-10-15T13:04:11,565Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Sending DEPLOY(DEPLOY_ERROR) notification to SDC for artifact:/sdc/v1/catalog/services/Clamptest4/1.0/resourceInstances/00e0654aed83466ba08c0/artifacts/00e0654aed83466ba08c0_modules.json 2018-10-15T13:04:12,572Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||SDC Notification sent successfully(sendDeploymentdStatus)

  8. It's because the Blueprint has not been deployed properly on DCAE, CLAMP logs that:

    GET healthcheck completed 2018-10-15T13:04:10,500Z|b6010b19-496a-4425-8f5e-e0bd65e9f244|pool-4-thread-10|||DCAE|getDcaeInformation|WARN|||Dcae inventory totalCount returned is still 0, after 3 attempts, returning NULL


    Clamp logs also the URL used  to verify

    |pool-4-thread-10|||DCAE|getDcaeInformation|INFO|||Using HTTP URL to contact DCAE:http://inventory.onap:8080/dcae-service-types?asdcResourceId=ceff68b1-d4e0-439b-9fe4-c902ab91cc2c&asdcServiceId=a0fe0adb-51fa-4028-bfa7-ea17c10587f6&typeName=tca_docker_heat_m_v2.yaml


    Due to that the deployment can't be done properly, as the DCAE deployment ID is really required for CLAMP.

    You can may be try to redistribute again on SDC side and check DCAE logs.

  9. How to deploy CLAMP Casablanca Release in VM/HEAT mode

    I deploy CLAMP with the latest Demo deploy scripts, the five containers are all up, but after that the vm and the containers are all not accessable.

    I notice that the network defination in docker-compose.yml is blank. Is this make the CLAMP vm and containers can not be accessed?

            ports:

                - 5601:5601
            depends_on:
                - elasticsearch
            # volumes:
            # - ../../../src/main/docker/kibana/saved-objects/:/saved-objects/
            networks:
                cldash_net:

        networks:
            cldash_net:
            clamp_net:


    How to config the network cldash_net?

  10. There is normally no "tricky conf" to do ... the Containers are available by using the VM IP and corresponding port (all exposed to the VM, as your screenshot shown).

    For instance:

    https://<VM-IP>:8443/designer/index.html should work.


  11. Sébastien Determe Gervais-Martial Ngueko
    Is there any video/screenshot of the new (react-based) CLAMP GUI available?

    1. Damian Nowak , No not yet, we will do it as soon as we have time to update or add the video's with the new UI.