diff options
author | Murali <murali.p@huawei.com> | 2017-08-18 05:11:20 +0000 |
---|---|---|
committer | Murali <murali.p@huawei.com> | 2017-08-18 05:11:20 +0000 |
commit | a1d43b2cc96facd2b42c0ac7b9ecdf4c6dfb13cd (patch) | |
tree | cc1b0a7d356873de44e299ea36e07e23c5908308 | |
parent | 4818494681481356c04cf97085d772dd56c1c162 (diff) |
Remove upload package to catalogue
Change-Id: I8e6923a9d9484e2c71a1d123be14c80724aeee7e
JIRA: VNFSDK-53
Signed-off-by: Murali <murali.p@huawei.com>
-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 |