Sketch stub for resource initializer and access path.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@154877 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5e16677dba
commit
6df9e62b8f
|
@ -0,0 +1,21 @@
|
|||
package org.gcube.resourcemanagement.manager.service;
|
||||
|
||||
import javax.ws.rs.ApplicationPath;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import org.gcube.resourcemanagement.manager.service.rest.Access;
|
||||
import org.glassfish.jersey.server.ResourceConfig;
|
||||
|
||||
/**
|
||||
* @author Manuele Simi (ISTI - CNR)
|
||||
*/
|
||||
@ApplicationPath("/")
|
||||
public class ResourceInitializer extends ResourceConfig {
|
||||
|
||||
public static final String APPLICATION_JSON_CHARSET_UTF_8 = MediaType.APPLICATION_JSON + ";charset=UTF-8";
|
||||
|
||||
public ResourceInitializer(){
|
||||
packages(Access.class.getPackage().toString());
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
/**
|
||||
* @author Manuele Simi (ISTI - CNR)
|
||||
*
|
||||
*/
|
||||
package org.gcube.resourcemanagement.manager.service;
|
|
@ -0,0 +1,14 @@
|
|||
package org.gcube.resourcemanagement.manager.service.rest;
|
||||
|
||||
import javax.ws.rs.Path;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.rest.AccessPath;
|
||||
/**
|
||||
*
|
||||
* @author Manuele Simi (ISTI-CNR)
|
||||
*
|
||||
*/
|
||||
@Path(AccessPath.ACCESS_PATH_PART)
|
||||
public class Access {
|
||||
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
/**
|
||||
* @author Manuele Simi (ISTI - CNR)
|
||||
*
|
||||
*/
|
||||
package org.gcube.resourcemanagement.manager.service.rest;
|
Loading…
Reference in New Issue