* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
* You may obtain a copy of the License at\r
- * \r
+ * \r
* http://www.apache.org/licenses/LICENSE-2.0\r
* \r
* Unless required by applicable law or agreed to in writing, software\r
}\r
\r
/* (non-Javadoc)\r
- * @see org.openecomp.vid.asdc.AsdcClient#getResources()\r
*/\r
public Collection<Resource> getResources() throws AsdcCatalogException {\r
final Collection<Resource> resources = new LinkedList<Resource> ();\r
/* (non-Javadoc)\r
* @see org.openecomp.vid.asdc.AsdcClient#getResourceToscaModel(java.util.UUID)\r
*/\r
- public ToscaCsar getResourceToscaModel(UUID resourceUuid) throws AsdcCatalogException {\r
+ public Path getResourceToscaModel(UUID resourceUuid) throws AsdcCatalogException {\r
final String toscaModelURL = getCatalog().getJSONObject("resources")\r
.getJSONObject(resourceUuid.toString())\r
.getString("toscaModelURL");\r
\r
if (toscaModelStream == null) return null;\r
\r
- return getToscaModel(toscaModelStream);\r
+ return null;//getToscaModel(toscaModelStream);\r
}\r
\r
/* (non-Javadoc)\r
* @see org.openecomp.vid.asdc.AsdcClient#getServiceToscaModel(java.util.UUID)\r
*/\r
- public ToscaCsar getServiceToscaModel(UUID serviceUuid) throws AsdcCatalogException {\r
+ public Path getServiceToscaModel(UUID serviceUuid) throws AsdcCatalogException {\r
final String toscaModelURL = getCatalog().getJSONObject("services")\r
.getJSONObject(serviceUuid.toString())\r
.getString("toscaModelURL");\r
\r
if (toscaModelStream == null) return null;\r
\r
- return getToscaModel(toscaModelStream);\r
+ return null;//getToscaModel(toscaModelStream);\r
}\r
\r
/**\r
throw new AsdcCatalogException("Caught IOException while processing CSAR", e);\r
}\r
}\r
+\r
}\r