From a1d43b2cc96facd2b42c0ac7b9ecdf4c6dfb13cd Mon Sep 17 00:00:00 2001 From: Murali Date: Fri, 18 Aug 2017 05:11:20 +0000 Subject: Remove upload package to catalogue Change-Id: I8e6923a9d9484e2c71a1d123be14c80724aeee7e JIRA: VNFSDK-53 Signed-off-by: Murali --- .../openo/vnfsdk/marketplace/wrapper/PackageWrapper.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'vnfmarket-be/vnf-sdk-marketplace/src/main') 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 -- cgit 1.2.3-korg