From d8c03aac3e5ac6a495cb0b2ca664076b3f55dfb8 Mon Sep 17 00:00:00 2001 From: Murali Date: Thu, 31 Aug 2017 11:08:10 +0000 Subject: Fix class path issue Change-Id: I9b6eddced269b888e84d2dc23257223b6d2545ce Jira:VNFSDK-71 Signed-off-by: Murali --- .../src/main/resources/mybatis/sql/MarketplaceMapper.xml | 12 ++++++------ .../vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml | 2 +- .../vnfsdk/marketplace/resource/PackageResourceTest.java | 9 +-------- 3 files changed, 8 insertions(+), 15 deletions(-) (limited to 'vnfmarket-be') diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/mybatis/sql/MarketplaceMapper.xml b/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/mybatis/sql/MarketplaceMapper.xml index 27801ae5..aeaa4a47 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/mybatis/sql/MarketplaceMapper.xml +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/resources/mybatis/sql/MarketplaceMapper.xml @@ -15,16 +15,16 @@ limitations under the License. --> - + - SELECT * FROM CSAR_PACKAGE_TABLE - SELECT * FROM @@ -33,7 +33,7 @@ CSARID=#{csarId} - + INSERT INTO CSAR_PACKAGE_TABLE (CSARID, DOWNLOADURI, REPORT, SIZE, FORMAT, CREATETIME, DELETIONPENDING, MODIFYTIME, SHORTDESC, NAME, VERSION, PROVIDER, TYPE, DETAILS, REMARKS,DOWNLOADCOUNT) @@ -48,10 +48,10 @@ CSARID=#{csarId} - + UPDATE CSAR_PACKAGE_TABLE SET DOWNLOADCOUNT=#{downloadCount} WHERE CSARID=#{csarId} - \ No newline at end of file + diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml b/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml index 7aedd58b..21497057 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml @@ -9,7 +9,7 @@ org.glassfish.jersey.servlet.ServletContainer jersey.config.server.provider.packages - org.openo.vnfsdk.marketplace.resource + org.onap.vnfsdk.marketplace.resource jersey.config.server.provider.classnames 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 bccbfaba..13dcf2f6 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 @@ -995,14 +995,7 @@ public class PackageResourceTest { assertEquals(res,true); } - @Test - public void testGetSession() { - try { - assertNull( ConnectionUtil.getSession() ); - } catch( Exception e ) { - e.printStackTrace(); - } - } + @Test public void testToJson() { -- cgit 1.2.3-korg