-
Task
-
Resolution: Done
-
Medium
-
None
-
None
Hi Liping,
Sure.
While we were working on this command, it was suggested to use this way. Now it seems not working, I am not sure if any changes made in SDC.
So can you update the YAML with new parameter and default value set to INFORMATION in CLI project and submit the changes in gerrit.
In your case, after adding this new param, please run
Schema-refresh command
Then you can continue to use this command.
Regards
Kanagaraj Manickam
Lead Architect
Cloudfiy Networking OSDT
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka
Tel: + 91-80-49160700 ext 72410 Mob: 9945602938
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!
From: zhaoliping [zhaoliping@chinamobile.com]
Sent: 21 February 2020 16:25
To: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Cc: 'Yan Yang' <yangyanyj@chinamobile.com>
Subject: RE: Question about how to upload csar file to service model, need your help.
Hi Kanag,
Yes, thanks a lot for your help.
I have learnt your script already. And I use the same steps to add artifact successfully and I can see it on SDC UI.
But after this step , when I onboard ns I found parsing part is failed because the catalog can’t find the uploaded ns csar file under “Artifacts/Deployment/OTHER/”.
So I checked the ns csar file uploaded by using the cli command, the file is under “Artifacts/Informational/OTHER/”.
And I add artifact to service model manually on SDC UI, the ns csar file uploaded is under “Artifacts/ Deployment/OTHER/”.
And then I update "artifactGroupType":"INFORMATIONAL" to "artifactGroupType":" Deployment" in the service-model-add-artifact-schema-dublin.yaml, the onboard ns part can run successfully and the parsing part is correct.
So I guess the yaml file maybe need to update the value of "artifactGroupType" and it’s a hard code can’t accept the parameter value.
Could you kindly help me to check the details? Many thanks.
BR,
Liping.