From f8309e3163b115f6ac6efc0dd2aded837bf81e2d Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Thu, 25 May 2017 09:27:28 +0000 Subject: [PATCH] index page updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@149054 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../grsf_publish_ws/WelcomeService.java | 23 ------------------- src/main/webapp/WEB-INF/web.xml | 8 +++---- src/main/webapp/index.jsp | 6 +++++ 3 files changed, 10 insertions(+), 27 deletions(-) delete mode 100644 src/main/java/org/gcube/data_catalogue/grsf_publish_ws/WelcomeService.java diff --git a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/WelcomeService.java b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/WelcomeService.java deleted file mode 100644 index 8ea030d..0000000 --- a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/WelcomeService.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.gcube.data_catalogue.grsf_publish_ws; - -import javax.inject.Singleton; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; - -@Path("/") -@Singleton -/** - * The welcome service for the GRSF server. - * @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it) - */ -public class WelcomeService { - - @GET - @Produces(MediaType.TEXT_HTML) - public Response sayHtmlHello() { - return Response.ok("

The grsf publisher web service is up and running!

").build(); - } -} diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index bfe3b5f..80003b8 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -24,10 +24,6 @@ /rest/* - - index.jsp - - Context of pending products under manage activities ManageVRE @@ -43,4 +39,8 @@ + + + index.jsp + diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 2d71cdc..546eb63 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,11 @@

The GRSF publisher web service is up and running!

+
+ This service has been implemented to serve the needs of GRSF records + publication. You can find all the details about this service here +