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

TOSCA does not attempt to delete decompressed folders in certain conditions

XMLWordPrintable

    • SDC Sprint 10

      There is a negative path in ToscaTemplate where a csar file is decompressed, and fails validation. In this case a null value for _getPath(String _path) is returned which results in _abort() being called.  This path in the code does not result in the decompressed folder being deleted.  

      abort() could be modified to include CSAR.deleteDir

      This was discovered during a unit test where an empty csar file was tested. It was decompressed but no further processing took place on the contents as there was nothing to process.

            tgitelman tgitelman
            seamussinghamd seamussinghamd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified