Command Line Interface
Command Reference
RDFShape API's CLI currently supports the following launch-arguments:
--httpsAttempt to serve the API via HTTPS (default is false), searching for certificates as specified in the current environment.-p, --port <arg>Port in which the API will listen for requests. Values must be in range 1-65535 (default is 8080).-s, --silentEnable silent mode in order not to log any output to console ( default is false).-t, --stream-timeout <arg>Seconds that the server will wait before closing a streaming validation for which no data is received. Values must be in range 1-1800 (default is 40).-v, --verboseShow additional logging information (use cumulative times for additional info, like:-vvv).--versionPrint the version of the program.--helpPrint the help menu.
Verbosity levels
When using the -v, --verbose CLI argument, the following logging messages are
shown on console at each time:
No verbose argumentERROR level messages-vWARN level messages and upwards-vvINFO level messages and upwards (includes client connections and requests)-vvvDEBUG level messages and upwards
JVM Custom Arguments
In case RDFShape API is having trouble to generate permalinks due to an SSL issue, try adding the following argument:
-Djdk.tls.client.protocols=TLSv1.2
Examples
- Launching RDFShape API in port 8081:
rdfshape -p 8081
- Launching RDFShape API in port 80, try to use the HTTPS configuration from the environment:
rdfshape -p 80 --https
- Launching RDFShape API in port 8080, with the maximum verbosity level:
rdfshape -vvv