Yes I am using Dublin version. Thanks, Vidya
On Wed, Aug 21, 2019 at 7:47 PM Sonsino, Ofir <[email protected]> wrote: > Hi, > > Was the CSAR generated in SDC Dublin by chance? > > > > Ofir > > > > *From:* Vidya Bijoor [mailto:[email protected]] > *Sent:* Wednesday, August 21, 2019 2:03 PM > *To:* [email protected]; Sonsino, Ofir < > [email protected]>; VENKATESH KUMAR, VIJAY <[email protected]>; > Ngueko, Gervais-Martial <[email protected]>; Determe, > Sebastien <[email protected]>; DRAGOSH, PAM < > [email protected]> > *Cc:* Gaurav agrawal <[email protected]>; Rama SubbaReddy < > [email protected]> > *Subject:* [SDC][CLAMP][POLICY][Control loop] CSAR Parsing failed - > importing new policy types > > > > Hi All, > > > > I am working on DCAEGEN2-1584 > <https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_DCAEGEN2-2D1584&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=Eie6hMFSG98lAHI20vKBXee_JM3A4jgOMoIOUi3z3hE&s=hpdGWUxO7lvszv2-0zYLjHF2_gA-g2Gdvx2eiZl1gBE&e=> > . > Onboarding restconf collector through CLAMP. > > > > New policy type is added to SDC by modifying policy-types.yml and imported > using importPolicyTypes.py script. > > Path: > > [image: image.png] > > > > New policy type is available in SDC UI. but *CSAR parsing failed and it > does not have new policy type. * > > [image: image.png] > > > > > > Please let me know if there is any other way to import policy type. > > > > > > *Exception:* > > 08:50:57.962 [pool-4-thread-1] DEBUG > org.onap.sdc.toscaparser.api.ToscaTemplate - ToscaTemplate Loading YAMEL > file > /tmp/JTP2731620137037425461/Definitions/service-Clamptest100-template.yml > > > *08:50:58.318 [pool-4-thread-1] ERROR > org.onap.clamp.clds.sdc.controller.SdcSingleController - Unexpected > exception caught during the notification processing > java.lang.NullPointerException: null at > org.onap.sdc.toscaparser.api.elements.PolicyType._validateKeys(PolicyType.java:130)* > at > org.onap.sdc.toscaparser.api.elements.PolicyType.<init>(PolicyType.java:40) > at > org.onap.sdc.toscaparser.api.EntityTemplate.<init>(EntityTemplate.java:112) > at org.onap.sdc.toscaparser.api.Policy.<init>(Policy.java:46) > at > org.onap.sdc.toscaparser.api.TopologyTemplate._policies(TopologyTemplate.java:217) > at > org.onap.sdc.toscaparser.api.TopologyTemplate.<init>(TopologyTemplate.java:81) > at > org.onap.sdc.toscaparser.api.ToscaTemplate._topologyTemplate(ToscaTemplate.java:250) > at org.onap.sdc.toscaparser.api.ToscaTemplate.init(ToscaTemplate.java:217) > at > org.onap.sdc.toscaparser.api.ToscaTemplate.<init>(ToscaTemplate.java:120) > at > org.onap.sdc.tosca.parser.impl.SdcToscaParserFactory.init(SdcToscaParserFactory.java:80) > at > org.onap.sdc.tosca.parser.impl.SdcToscaParserFactory.getSdcCsarHelper(SdcToscaParserFactory.java:61) > at > org.onap.clamp.clds.sdc.controller.installer.CsarHandler.save(CsarHandler.java:109) > at > org.onap.clamp.clds.sdc.controller.SdcSingleController.treatNotification(SdcSingleController.java:273) > at > org.onap.clamp.clds.sdc.controller.SdcSingleController$SdcNotificationCallBack.activateCallback(SdcSingleController.java:101) > 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) > > > > Thanks, > > Vidya > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18650): https://lists.onap.org/g/onap-discuss/message/18650 Mute This Topic: https://lists.onap.org/mt/32977059/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
