Look in the robot code for the sdc_interface.robot.

There is an example of how to initiate a distribution sincne robot does it 
through the SDC API.

Brian


From: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
Lianhao Lu
Sent: Wednesday, September 26, 2018 1:20 AM
To: onap-discuss@lists.onap.org; Lu, Lianhao <lianhao...@intel.com>; 
'onap-...@lists.onap.org' <onap-...@lists.onap.org>
Subject: Re: [onap-discuss] [SDC] Questions about the ways to trigger SDC 
distribute the NS csar

I found this RESTful API: POST 
https://{serverRoot}/sdc/v1/catalog/services/{serviceUUID}/distribution/{opEnvId}/activate<https://urldefense.proofpoint.com/v2/url?u=https-3A__-257bserverRoot-257d_sdc_v1_catalog_services_-257bserviceUUID-257d_distribution_-257bopEnvId-257d_activate&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=V1DIwt6NqtAk9T9x554oAy2aFvtKPOyzj8PxlE5D_JA&s=xQj5jOBXxZaem_sTy_P-fg8iLrq2LT2ZbURjInfNsu4&e=>

Is that the correct one to activate the service distribution? Can anyone please 
tell me what is {opEnvId}? I went through the SDC catalog API reference, and 
this is the only place need operational environment ID.  What kind of value 
should we put here in this RESTful API call?

-Lianhao

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
[mailto:onap-discuss@lists.onap.org] On Behalf Of Lianhao Lu
Sent: Wednesday, September 26, 2018 10:19 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
'onap-...@lists.onap.org' 
<onap-...@lists.onap.org<mailto:onap-...@lists.onap.org>>
Subject: [onap-discuss] [SDC] Questions about the ways to trigger SDC 
distribute the NS csar

Hi SDC team,

Currently we're trying to do some stability test of policy which is a SDC 
distribution client user. So I'm wondering besides clicking on the button in 
SDC GUI, is there other way to trigger SDC to distribute the NS csar to all SDC 
distribution client users, e.g. is there a SDC RESTful API we can use?

Best Regards,
-Lianhao


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12659): https://lists.onap.org/g/onap-discuss/message/12659
Mute This Topic: https://lists.onap.org/mt/26226896/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to