Not sure this is what you are looking for but robot has a function to mark a 
Service as Inactive and to Delete Inactive packages from SDC.

If you simply want to make the items disappear from the VID Deploy button 
screen you can change the status from DISTRIBUTION_COMPLETE_OK in A&AI and that 
will remove them from the filter that VID uses to pull available services from.

Note that models in SDC that are deleted after distribution complete does NOT 
remove them from being available in A&AI etc for future services since the 
protocol right now does not support removing an model once it is distributed 
(mostly because there is no way for SDC to know if the model is still in use).

Brian

Mark ASDC Catalog Resource Inactive
    [Documentation]    deletes an asdc Catalog Resource
    [Arguments]    ${catalog_resource_id}
    ${resp}=    Run ASDC Delete Request    
${ASDC_CATALOG_RESOURCES_PATH}/${catalog_resource_id}     
${ASDC_DESIGNER_USER_ID}
    Should Be Equal As Strings  ${resp.status_code}     204
    [Return]    ${resp}
Delete Inactive ASDC Catalog Resources
    [Documentation]    delete all asdc Catalog Resources that are inactive
    ${resp}=    Run ASDC Delete Request    
${ASDC_CATALOG_INACTIVE_RESOURCES_PATH}     ${ASDC_DESIGNER_USER_ID}
    Should Be Equal As Strings  ${resp.status_code}     200
    [Return]    ${resp.json()}

From: [email protected] <[email protected]> On Behalf Of 
akash ravishankar
Sent: Thursday, May 02, 2019 8:14 AM
To: [email protected]
Subject: [onap-discuss] Deletion of distributed CSAR Package #sdc

Hello team,
                I am attempting to find APIs to directly delete an onboarded 
CSAR package from SDC. This should reflect when I search the present SDC models 
in VID.(i.e the onboarded package must have been deleted). Atleast even if I 
know how to delete them using UI, then that is also sufficient. Please help 
ASAP. I tried undistributing them and deleted directly using different users 
i.e gv0001,op0001 and cs0008. Even though I deleted the CSAR package, I am not 
able to delete the package.

Thanks and regards,
Akash


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

View/Reply Online (#16870): https://lists.onap.org/g/onap-discuss/message/16870
Mute This Topic: https://lists.onap.org/mt/31453970/21656
Mute #sdc: https://lists.onap.org/mk?hashtag=sdc&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to