class ToscaResourceStructure {

    public void updateResourceStructure(IArtifactInfo artifact) throws ASDCDownloadException {

        try {
            SdcToscaParserFactory factory = SdcToscaParserFactory.getInstance();// Autoclosable

            String filePath =
                    Paths.get(msoConfigPath, "ASDC", artifact.getArtifactVersion(), artifact.getArtifactName())
                            .normalize().toString();

            File spoolFile = new File(filePath);

            logger.debug("ASDC File path is: {}", spoolFile.getAbsolutePath());
            logger.info(LoggingAnchor.FOUR, MessageEnum.ASDC_RECEIVE_SERVICE_NOTIF.toString(), "***PATH", "ASDC",
                    spoolFile.getAbsolutePath());

            sdcCsarHelper = factory.getSdcCsarHelper(spoolFile.getAbsolutePath(), false);

        } catch (Exception e) {
            logger.debug(e.getMessage(), e);
            logger.error(LoggingAnchor.SIX, MessageEnum.ASDC_GENERAL_EXCEPTION_ARG.toString(),
                    "Exception caught during parser *****LOOK********* " + artifact.getArtifactName(), "ASDC",
                    "processResourceNotification", ErrorCode.BusinessProcessError.getValue(),
                    "Exception in " + "processResourceNotification", e);

            throw new ASDCDownloadException("Exception caught when passing the csar file to the parser ", e);
        }

        serviceMetadata = sdcCsarHelper.getServiceMetadata();

    }

    public  ToscaResourceStructure();
    public  ToscaResourceStructure(final String msoConfigPath);

}