2017-12-19 15:18:13 +01:00
|
|
|
package org.gcube.accounting.service;
|
2017-05-03 14:47:10 +02:00
|
|
|
|
|
|
|
import javax.ws.rs.ApplicationPath;
|
2017-06-29 18:00:00 +02:00
|
|
|
import javax.ws.rs.core.MediaType;
|
2017-05-03 14:47:10 +02:00
|
|
|
|
2017-12-22 16:23:00 +01:00
|
|
|
import org.gcube.accounting.service.resources.RecordManagement;
|
2017-05-03 14:47:10 +02:00
|
|
|
import org.glassfish.jersey.server.ResourceConfig;
|
2017-12-14 17:03:22 +01:00
|
|
|
|
2017-05-03 14:47:10 +02:00
|
|
|
/**
|
|
|
|
* @author Alessandro Pieve (alessandro.pieve@isti.cnr.it)
|
2017-06-29 18:00:00 +02:00
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
2017-05-03 14:47:10 +02:00
|
|
|
*/
|
2017-06-29 18:00:00 +02:00
|
|
|
@ApplicationPath("/")
|
2017-12-14 17:03:22 +01:00
|
|
|
public class AccountingResource extends ResourceConfig {
|
2017-06-29 18:00:00 +02:00
|
|
|
|
|
|
|
public static final String APPLICATION_JSON_CHARSET_UTF_8 = MediaType.APPLICATION_JSON + ";charset=UTF-8";
|
|
|
|
|
2017-12-14 17:03:22 +01:00
|
|
|
public AccountingResource() {
|
2017-12-22 16:23:00 +01:00
|
|
|
packages(RecordManagement.class.getPackage().toString());
|
2017-05-03 14:47:10 +02:00
|
|
|
}
|
2017-12-14 17:03:22 +01:00
|
|
|
|
2017-05-03 14:47:10 +02:00
|
|
|
}
|