Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3894

Delete VSP - Restrict deletion of archived VSPs if used in VF

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Kohn Release
    • None
    • None
    • None

      SDC onboarding to verify if a VSP is used in a VF in SDC-BE before proceeding with the deletion of a VSP (endpoint VendorSoftwareProducts::deleteVsp). 

      If the VSP is in use in a VF an appropriate error message is displayed to the user to indicate the VF must first be deleted (including identifying information for the VF in question).

      An existing endpoint in sdc-be can be used to check if a VF exists that is created from the VSP: /sdc2/rest/v1/catalog/resources/csar/{csaruuid} in ResourcesServlet::getResourceFromCsar

      This is backend impact only to update logic in existing delete endpoint

       

            franciscovila franciscovila
            franciscovila franciscovila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: