Hi,
Working on copy services from one environment to another for Casablanca
release. I am using rest calls, GET calls from Source and POST/PUT Calls to
Target, to perform this operation.
* Have a query about finding the associated VSP (VSP ID & VSP Version) with
Resource (Added in Service Composition):
* In my source system, I have performed following steps and created
service: (Created from UI)
* Created VSP named VSP1 and Version 1.0 (Certified)
* Created Resource R1 from VSP VSP1 - Version 1.0 (Certified)
* Created Service S1 and added Resource R1 in composition
* Certified Service S1 and Distributed
* Now I have updated VSP VSP1 and created multiple versions of it and
certified all of them. Let's say now VSP1 is having versions named 1.0, 2.0,
3.0, 4.0, 5.0
* But my Service S1 is having Resource R1, which is created from VSP
VSP1 - Version named 1.0
* Now I want to get all data(VSP, Resource, Service) related to this
Service S1:
* I am having data only related to Service S1: Service Name and
Version
* I am fetching service details using above data (by get call -
/sdc2/rest/v1/catalog/services/serviceName/{svcNormalizedName}/serviceVersion/{svcVersion})
* From above get call response, I can get all the associated
resources, by iterating each of them I can get particular resource details (by
get call -
/sdc2/rest/v1/catalog/services/serviceName/{svcNormalizedName}/serviceVersion/{svcVersion})
* Resource Details (GET
/sdc2/rest/v1/catalog/services/serviceName/{svcNormalizedName}/serviceVersion/{svcVersion})
response holds below two fields and values:
* csarUUID: "b7e8040c22604a8d90320ab81e8c9cbf" - verified this id
- it looks similar to the associated VSP ID, could you please confirm if my
understanding is right?
* csarVersion: "1.0" - verified this - it looks similar to the
associated VSP's version name, could you please confirm if my understanding is
right?
* If above is not related to associated VSP and VSP Version, could
you please guide me how to find associated VSP ID and VSP Version from Resource
Data?
Ankit Bhatt
Software Development Specialist,
Software Engineering,
Open Network - Amdocs Technology
+91 20 40154762 (office)
+91 8160014292(mobile)
[cid:[email protected]]
Did you know that Amdocs is a Platinum member of
ONAP<https://www.amdocs.com/open-network/nfv-powered-by-onap>?
Gartner names Amdocs as a Leader in its Magic Quadrant for IRCM & OSS for the
8th consecutive year. Read
why.<https://www.amdocs.com/gartner-names-amdocs-leader>
Read the latest on Amdocs.com<http://www.amdocs.com/> and the Amdocs blog
network<http://blogs.amdocs.com/> - and follow us on
Facebook<http://www.facebook.com/Amdocs>, Twitter<http://twitter.com/Amdocs>,
LinkedIn<http://www.linkedin.com/company/amdocs> and
YouTube<http://www.youtube.com/amdocs>.
This email and the information contained herein is proprietary and confidential
and subject to the Amdocs Email Terms of Service, which you may review at
https://www.amdocs.com/about/email-terms-of-service
<https://www.amdocs.com/about/email-terms-of-service>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17182): https://lists.onap.org/g/onap-discuss/message/17182
Mute This Topic: https://lists.onap.org/mt/31718726/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-