@Requirement(reqId="DOI_SRV_100",reqName="Listing des styles") @Requirement(reqId="DOI_SRV_110",reqName="Listing des langues") @Requirement(reqId="DOI_SRV_120",reqName="Formatage d\u2019une citation") @Requirement(reqId="DOI_MONIT_020",reqName="Monitoring de l\'\u00e9tat de DataCite") public final class DoiCrossCiteApplication extends AbstractApplication
The FAIR Guiding Principles provide a guideline for the those that want to enhance reuse of their data (Wilkinson 2016).
Security
--------------
No authentication / no autorisation
Routing
--------------
root
|
|__ style
|__ language
|__ format
| Modifier and Type | Field and Description |
|---|---|
private ClientCrossCiteCitation |
client
Client to query CrossCite.
|
static String |
FORMAT_URI
URI "/format" to retrieves the citation.
|
static String |
LANGUAGE_URI
URI "/language" to get the languages, which are used to format
the citation.
|
private static org.apache.logging.log4j.Logger |
LOG
Logger.
|
static String |
NAME
Application name.
|
static String |
STYLES_URI
URI "/style" to get the styles, which are used to format the
citation.
|
DEFAULT_CORS_CREDENTIALS, DEFAULT_CORS_ORIGIN| Constructor and Description |
|---|
DoiCrossCiteApplication()
Constructs the application.
|
| Modifier and Type | Method and Description |
|---|---|
org.restlet.Restlet |
createInboundRoot()
Creates router the DOICrossCiteApplication.
|
ClientCrossCiteCitation |
getClient()
Returns the client to query cross cite.
|
org.apache.logging.log4j.Logger |
getLog()
Returns the logger.
|
createAuthenticator, createAuthenticatorLoginBased, createCoreService, createHtmlRepresentation, createTokenAuthenticator, getConfig, getTokenDB, sendAlertWhenDataCiteFailedattachToComponent, attachToHost, canDescribe, createFinder, createWadlRepresentation, getApplicationInfo, getBaseRef, getPreferredWadlVariant, getRouter, getWadlVariants, handle, isAutoDescribing, setAutoDescribing, setBaseRef, wadlRepresent, wadlRepresentcreateOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getServices, getStatusService, getTaskService, getTunnelService, isDebugging, setConnectorService, setConnegService, setContext, setConverterService, setCurrent, setDebugging, setDecoderService, setEncoderService, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setOutboundRoot, setRangeService, setRoles, setStatusService, setTaskService, setTunnelService, start, stoppublic static final String STYLES_URI
public static final String LANGUAGE_URI
public static final String FORMAT_URI
public static final String NAME
private static final org.apache.logging.log4j.Logger LOG
private final ClientCrossCiteCitation client
public DoiCrossCiteApplication()
public org.restlet.Restlet createInboundRoot()
STYLES_URI to access to the different
styles for a citationLANGUAGE_URI to access to the
different languages for a citationFORMAT_URI to access to the formatted
citationcreateInboundRoot in class org.restlet.Applicationpublic ClientCrossCiteCitation getClient()
public org.apache.logging.log4j.Logger getLog()
getLog in class AbstractApplicationCopyright © 2017–2020 CNES. All rights reserved.