Upgrade sonar plugin
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / asdc / parser / ToscaParser.java
1 package org.openecomp.vid.asdc.parser;
2
3 import java.nio.file.Path;
4
5 import org.openecomp.sdc.tosca.parser.exceptions.SdcToscaParserException;
6 import org.openecomp.vid.asdc.AsdcCatalogException;
7 import org.openecomp.vid.asdc.beans.tosca.ToscaCsar;
8 import org.openecomp.vid.asdc.beans.Service;
9 import org.openecomp.vid.model.ServiceModel;
10
11 public interface ToscaParser{
12         ToscaCsar parse(Path path) throws AsdcCatalogException;
13         
14         ServiceModel makeServiceModel(String uuid,Path path,Service asdcServiceMetadata) throws Exception;
15 }