From a53c8b9d59eb61ab20808442330e512539daa57c Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 24 Sep 2018 13:12:01 +0530 Subject: update sample casr with csar.meta Issue-ID: VNFSDK-304 Change-Id: Ic2edca798975f4ab0ad4f8d17f76ce335d1ca818 Signed-off-by: Kanagaraj Manickam k00365106 --- .../marketplace/resource/PackageResourceTest.java | 24 --------------------- .../src/test/resources/clearwater_ns.csar | Bin 4622 -> 4799 bytes 2 files changed, 24 deletions(-) (limited to 'vnfmarket-be/vnf-sdk-marketplace') diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java index 92b5b525..dcd3c4c4 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java @@ -685,30 +685,6 @@ public class PackageResourceTest { } }; - new MockUp() { - - @Mock - public PackageData getPackageData(PackageMeta meta) { - PackageData packageData = new PackageData(); - packageData.setCreateTime("25-3-2017 15:26:00"); - packageData.setDeletionPending("deletion"); - packageData.setDownloadUri("downloaduri"); - packageData.setFormat("format"); - packageData.setModifyTime("time"); - packageData.setName("name"); - packageData.setCsarId("csarid"); - packageData.setProvider("huawei"); - String fileSize = "10 mb"; - packageData.setSize(fileSize); - packageData.setType("type"); - packageData.setVersion("v2.0"); - packageData.setDetails("details"); - packageData.setShortDesc("description"); - packageData.setRemarks("remarks"); - return packageData; - } - }; - new MockUp() { @Mock diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csar b/vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csar index 0960b20a..5f5762b3 100644 Binary files a/vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csar and b/vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csar differ -- cgit 1.2.3-korg