Aligned constants names.

This commit is contained in:
Luca Frosini 2022-07-26 11:44:02 +02:00
parent 155709bcf8
commit c1b7512557
1 changed files with 4 additions and 6 deletions

View File

@ -5,8 +5,6 @@ package org.gcube.gcat.api;
*/ */
public class GCatConstants { public class GCatConstants {
@Deprecated
public static final String OLD_SERVICE_CLASS = "data-catalogue";
public static final String SERVICE_CLASS = "org.gcube.data-catalogue"; public static final String SERVICE_CLASS = "org.gcube.data-catalogue";
public static final String SERVICE_NAME = "gcat"; public static final String SERVICE_NAME = "gcat";
@ -16,11 +14,11 @@ public class GCatConstants {
public static final String SERVICE_ENTRY_NAME = "org.gcube.gcat.ResourceInitializer"; public static final String SERVICE_ENTRY_NAME = "org.gcube.gcat.ResourceInitializer";
public static final String PURGE_QUERY_PARAMETER = "purge"; public static final String PURGE_QUERY_PARAMETER = "purge";
public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json;charset=UTF-8"; public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json;charset=UTF-8";
public static final String LIMIT_PARAMETER = "limit"; public static final String LIMIT_QUERY_PARAMETER = "limit";
public static final String OFFSET_PARAMETER = "offset"; public static final String OFFSET_QUERY_PARAMETER = "offset";
public static final String COUNT_PARAMETER = "count"; public static final String COUNT_QUERY_PARAMETER = "count";
public static final String OWN_ONLY_QUERY_PARAMETER = "own_only"; public static final String OWN_ONLY_QUERY_PARAMETER = "own_only";
public static final String COUNT_KEY = "count"; public static final String COUNT_KEY = "count";
public static final String ORGANIZATION_PARAMETER = "organization"; public static final String ORGANIZATION_PARAMETER = "organization";