diff options
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace/src')
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/openo/vnfsdk/marketplace/wrapper/PackageWrapper.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/openo/vnfsdk/marketplace/wrapper/PackageWrapper.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/openo/vnfsdk/marketplace/wrapper/PackageWrapper.java index f42ac636..5fa245f5 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/openo/vnfsdk/marketplace/wrapper/PackageWrapper.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/openo/vnfsdk/marketplace/wrapper/PackageWrapper.java @@ -258,14 +258,14 @@ public class PackageWrapper { //Upload the Package to CATALOUGE and get CSARID //--------------------------------------------- - String catalougeCsarId = LifecycleTestExceutor.uploadPackageToCatalouge(oOnboradingRequest); - if((null == catalougeCsarId) || catalougeCsarId.isEmpty()) - { - LOG.error("Failed to Upload Package to catalougeCsarId " + ToolUtil.objectToString(basicInfo)); - return Response.status(Status.INTERNAL_SERVER_ERROR).build(); - } - oOnboradingRequest.setCsarIdCatalouge(catalougeCsarId); - LOG.info("catalougeCsarId :" + catalougeCsarId); + //String catalougeCsarId = LifecycleTestExceutor.uploadPackageToCatalouge(oOnboradingRequest); + //if((null == catalougeCsarId) || catalougeCsarId.isEmpty()) + //{ + // LOG.error("Failed to Upload Package to catalougeCsarId " + ToolUtil.objectToString(basicInfo)); + //return Response.status(Status.INTERNAL_SERVER_ERROR).build(); + // } + //oOnboradingRequest.setCsarIdCatalouge(catalougeCsarId); + //LOG.info("catalougeCsarId :" + catalougeCsarId); //Update Default download count to -1 |