hi tal
csar.meta is used to identify the package type, etc. The file can
be ignored for the SDC parser.
Thanks
Maopeng
原始邮件
发件人: <halfon....@amdocs.com>
收件人: <onap-discuss@lists.onap.org> <ml6...@intl.att.com>张茂鹏10030173赵化冰10201488
抄送人: <tali.orenb...@amdocs.com> <oren.kl...@amdocs.com> <mari...@amdocs.com>
日 期 :2017年08月29日 15:48
主 题 :RE: Failes to parse ZTE csar
Hi
We are trying to parse the CSAR supply by ZTE for the VoLTE usecase
The CSAR are located @
https://wiki.onap.org/display/DW/SDC+2017-07-31+Meeting+notes
We are using a valid tosca parser
We are getting this exception for all the CSAR there, All the CSAR have a file
call csar.meta and the parses can parse it because it does not contain valid
YAML content.
I need help to understand what is this file and why do I need it on the root.
If needed I need this file to be fixed
For exmple SPGW.csar
org.openecomp.sdc.toscaparser.api.common.JToscaException: The file "csar.meta"
in the CSAR
"C:\onap\workspace\tosca\jtosca\target\test-classes\csars\SPGW.csar" does not
contain valid YAML content
at
org.openecomp.sdc.toscaparser.api..prereq.CSAR._parseAndValidateMetaProperties(CSAR.java:167)
at
org.openecomp.sdc.toscaparser.api..prereq.CSAR.validate(CSAR.java:93)
at
org.openecomp.sdc.toscaparser.api..ToscaTemplate._getPath(ToscaTemplate.java:508)
at
org.openecomp.sdc.toscaparser.api..ToscaTemplate.init(ToscaTemplate.java:140)
at
org.openecomp.sdc.toscaparser.api..ToscaTemplate.<init>(ToscaTemplate.java:97)
at
org.openecomp.sdc.toscaparser.JToscaMetadataParse.testSPGWcsar(JToscaMetadataParse.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at
com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Disconnected from the target VM, address: '127.0.0.1:57744', transport: 'socket'
Best regards
Tal Halfon
Development Manager @ Amdocs
P. +972 54 2213763
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,you may review at
https://www.amdocs.com/about/email-disclaimer
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss