added spatial key
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-common-library@158853 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2b4ae66e67
commit
31f2112983
|
@ -3,5 +3,4 @@ encoding//src/main/java=UTF-8
|
|||
encoding//src/main/resources=UTF-8
|
||||
encoding//src/test/java=UTF-8
|
||||
encoding//src/test/resources=UTF-8
|
||||
encoding//target/generated-sources/gwt=UTF-8
|
||||
encoding/<project>=UTF-8
|
||||
|
|
|
@ -8,7 +8,7 @@ package org.gcube.datacatalogue.common;
|
|||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||
*/
|
||||
public class Constants {
|
||||
|
||||
|
||||
// base record (only custom field key)
|
||||
public static final String CATALOG_ID = "catalog_id";
|
||||
public static final String DESCRIPTION = "description";
|
||||
|
@ -20,7 +20,7 @@ public class Constants {
|
|||
public static final String MAINTAINER_CONTACT = "maintainer_contact";
|
||||
public static final String EXTRAS_FIELD = "extras_fields";
|
||||
public static final String EXTRAS_RESOURCES = "extras_resources";
|
||||
|
||||
|
||||
// common record
|
||||
public static final String UUID_KB_CUSTOM_KEY = "GRSF UUID";
|
||||
public static final String UUID_KB_JSON_KEY = "grsf_uuid";
|
||||
|
@ -52,7 +52,7 @@ public class Constants {
|
|||
public static final String GRSF_TYPE_JSON_KEY = "grsf_type";
|
||||
public static final String MANAGEMENT_ENTITIES_CUSTOM_KEY = "Management Body/Authority(ies)";
|
||||
public static final String MANAGEMENT_ENTITIES_JSON_KEY = "management_body_authorities";
|
||||
|
||||
|
||||
// stock record
|
||||
public static final String STOCK_NAME_CUSTOM_KEY = "Stock Name";
|
||||
public static final String STOCK_NAME_JSON_KEY = "stock_name";
|
||||
|
@ -78,7 +78,9 @@ public class Constants {
|
|||
public static final String SCIENTIFIC_ADVICE_JSON_KEY = "scientific_advice";
|
||||
public static final String ASSESSOR_CUSTOM_KEY = "Assessor";
|
||||
public static final String ASSESSOR_JSON_KEY = "assessor";
|
||||
|
||||
public static final String SPATIAL_GEOJSON_JSON_KEY = "spatial";
|
||||
public static final String SPATIAL_GEOJSON_CUSTOM_KEY = "spatial";
|
||||
|
||||
// fishery record
|
||||
public static final String FISHERY_NAME_CUSTOM_KEY = "Fishery Name";
|
||||
public static final String FISHERY_NAME_JSON_KEY = "fishery_name";
|
||||
|
@ -94,13 +96,13 @@ public class Constants {
|
|||
public static final String PRODUCTION_SYSTEM_TYPE_JSON_KEY = "production_system_type";
|
||||
public static final String FISHING_GEAR_CUSTOM_KEY = "Fishing gear";
|
||||
public static final String FISHING_GEAR_JSON_KEY = "fishing_gear";
|
||||
|
||||
|
||||
// similar records bean sub-fields
|
||||
public static final String SIMILAR_RECORDS_BEAN_FIELD_URL = "url";
|
||||
public static final String SIMILAR_RECORDS_BEAN_FIELD_DESCRIPTION = "description";
|
||||
public static final String SIMILAR_RECORDS_BEAN_FIELD_NAME = "name";
|
||||
public static final String SIMILAR_RECORDS_BEAN_FIELD_IDENTIFIER = "id";
|
||||
|
||||
|
||||
// other fields/regex
|
||||
public static final String DEFAULT_LICENSE = "CC-BY-SA-4.0";
|
||||
public static final String SYSTEM_TYPE_CUSTOM_KEY = "system:type";
|
||||
|
@ -112,29 +114,29 @@ public class Constants {
|
|||
public static final String GRSF_ADMIN_ORGANIZATION_NAME = "grsf_admin";
|
||||
public static final String GENERIC_RESOURCE_NAME_MAP_KEY_NAMESPACES_STOCK = "GRSF Stock";
|
||||
public static final String GENERIC_RESOURCE_NAME_MAP_KEY_NAMESPACES_FISHERY = "GRSF Fishery";
|
||||
|
||||
|
||||
// response for patch/creation
|
||||
public static final String RESPONSE_CREATE_PATCH_ID = "id";
|
||||
public static final String RESPONSE_CREATE_KNOWLEDGE_BASE_ID = "knowledge_base_id";
|
||||
public static final String RESPONSE_CREATE_PRODUCT_URL = "product_url";
|
||||
public static final String RESPONSE_CREATE_ERROR_MESSAGE = "error";
|
||||
|
||||
|
||||
// management constants area
|
||||
public static final String MANAGEMENT_AREA_NAMESPACE = "management_area:";
|
||||
public static final String ANNOTATION_CUSTOM_KEY= "Annotation";
|
||||
|
||||
|
||||
// Resource information set
|
||||
public static final String RESOURCE_URL = "url";
|
||||
public static final String RESOURCE_DESCRIPTION = "description";
|
||||
public static final String RESOURCE_NAME = "name";
|
||||
|
||||
|
||||
// Refers to information
|
||||
public static final String REFERS_TO_URL = "url";
|
||||
public static final String REFERS_TO_ID = "id";
|
||||
|
||||
|
||||
// delete record
|
||||
public static final String DELETE_RECORD_ID = "id";
|
||||
|
||||
|
||||
// Time series
|
||||
public static final String TIME_SERIES_YEAR_FIELD = "reference_year";
|
||||
public static final String TIME_SERIES_VALUE_FIELD = "value";
|
||||
|
@ -168,5 +170,5 @@ public class Constants {
|
|||
// session info for user
|
||||
public static final String GRSF_ADMIN_SESSION_KEY = "IS_GRSF_ADMIN";
|
||||
public static final String GRSF_CATALOGUE_MANAGER_ROLE = "Catalogue Manager"; // managed as Team Role
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue