org.openprovenance.prov.service.core.Constants Maven / Gradle / Ivy
package org.openprovenance.prov.service.core;
import java.util.Arrays;
import java.util.List;
public interface Constants {
String HAS_PROVENANCE = "http://www.w3.org/ns/prov#has_provenance";
String DOCUMENT_NOT_FOUND = "Document not found";
String WILDCARD = "*";
String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin";
String HEADER_PARAM_ACCEPT = "Accept";
String PROVAPI = "provapi";
String ALLOWABLE_INPUT_DOCUMENT_EXTENSIONS = "ttl,provn,provx,json,rdf,trig,jsonld";
String ALLOWABLE_OUTPUT_DOCUMENT_EXTENSIONS = "ttl,provn,provx,json,rdf,trig,svg,png,pdf,jpg,jpeg,jsonld";
List translationExtensions = Arrays.asList(ALLOWABLE_OUTPUT_DOCUMENT_EXTENSIONS.split(","));
String EXPANSION = "expansion";
String TEMPLATE_EXPANSION = "templateExpansion";
String SUMMARISATION = "summarisation";
String GITHUB_CLIENT_SECRET = "GITHUB_CLIENT_SECRET";
String GITHUB_CLIENT_ID = "GITHUB_CLIENT_ID";
String HTTP_HEADER_PROVENANCE_ACCEPT_DATETIME_OPTION = "X-PROVENANCE-ACCEPT-DATETIME-OPTION";
String HTTP_HEADER_PROVENANCE_ACCEPT_TIMEZONE = "X-PROVENANCE-ACCEPT-TIMEZONE";
String HTTP_HEADER_PROVENANCE_CONTENT_DATETIME_OPTION = "X-PROVENANCE-CONTENT-DATETIME-OPTION";
String HTTP_HEADER_PROVENANCE_CONTENT_TIMEZONE = "X-PROVENANCE-CONTENT-TIMEZONE";
}