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
This commit is contained in:
parent
e84425736e
commit
f8309e3163
|
@ -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("<html><body><h2>The grsf publisher web service is up and running!</h2></body></html>").build();
|
||||
}
|
||||
}
|
|
@ -24,10 +24,6 @@
|
|||
<url-pattern>/rest/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<context-param>
|
||||
<description>Context of pending products under manage activities</description>
|
||||
<param-name>ManageVRE</param-name>
|
||||
|
@ -43,4 +39,8 @@
|
|||
<!-- <param-value>/gcube/devNext/NextNext</param-value> -->
|
||||
<!-- <param-value>/gcube/preprod/preVRE</param-value> -->
|
||||
</context-param>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
</web-app>
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
<html>
|
||||
<body>
|
||||
<h2>The GRSF publisher web service is up and running!</h2>
|
||||
<div>
|
||||
This service has been implemented to serve the needs of GRSF records
|
||||
publication. You can find all the details about this service <a
|
||||
href="https://wiki.gcube-system.org/gcube/GCube_Data_Catalogue_for_GRSF"
|
||||
target="_blank">here</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Reference in New Issue