aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-24 13:12:01 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-24 13:12:01 +0530
commita53c8b9d59eb61ab20808442330e512539daa57c (patch)
tree25b82d332632b27700a582a3288e396f5173db8d
parentd50329d39901f18a7f410f0df3dc943d5180ea66 (diff)
update sample casr with csar.meta
Issue-ID: VNFSDK-304 Change-Id: Ic2edca798975f4ab0ad4f8d17f76ce335d1ca818 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java24
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csarbin4622 -> 4799 bytes
2 files changed, 0 insertions, 24 deletions
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<PackageWrapperUtil>() {
-
- @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<PackageHandler>() {
@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
--- a/vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csar
+++ b/vnfmarket-be/vnf-sdk-marketplace/src/test/resources/clearwater_ns.csar
Binary files differ