26 lines
581 B
Java
26 lines
581 B
Java
package org.gcube.idm;
|
|
|
|
import javax.ws.rs.ApplicationPath;
|
|
|
|
import org.gcube.idm.rest.GreetingsRest;
|
|
import org.gcube.smartgears.annotations.ManagedBy;
|
|
import org.glassfish.jersey.server.ResourceConfig;
|
|
|
|
/**
|
|
* @author Alfredo Oliviero (ISTI - CNR)
|
|
*/
|
|
|
|
|
|
// SMARTGEARS
|
|
// legge i parametri del service da application.yaml
|
|
|
|
@ApplicationPath("/")
|
|
@ManagedBy(IdentityManagerdInitializator.class)
|
|
public class IdentityManagerResourceInitializer extends ResourceConfig {
|
|
|
|
public IdentityManagerResourceInitializer() {
|
|
packages(GreetingsRest.class.getPackage().toString());
|
|
}
|
|
|
|
}
|