diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-09-24 13:12:01 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-09-24 13:12:01 +0530 |
commit | a53c8b9d59eb61ab20808442330e512539daa57c (patch) | |
tree | 25b82d332632b27700a582a3288e396f5173db8d /vnfmarket-be | |
parent | d50329d39901f18a7f410f0df3dc943d5180ea66 (diff) |
update sample casr with csar.meta
Issue-ID: VNFSDK-304
Change-Id: Ic2edca798975f4ab0ad4f8d17f76ce335d1ca818
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'vnfmarket-be')
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 Binary files differindex 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 |