All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.kernel.vidgenerator.constant.VIDGeneratorConstant Maven / Gradle / Ivy

The newest version!
/**
 * 
 */
package io.mosip.kernel.vidgenerator.constant;

/**
 * Constants for VID generator
 * 
 * @author Urvil Joshi
 * @since 1.0.0
 *
 */
public final class VIDGeneratorConstant {

	/**
	 * Private constructor for VIDGeneratorConstants
	 */
	private VIDGeneratorConstant() {
	}

	/**
	 * The string field UTC
	 */
	public static final String UTC = "UTC";
	/**
	 * The string field DEFAULTADMIN_MOSIP_IO
	 */
	public static final String DEFAULTADMIN_MOSIP_IO = "[email protected]";

	/**
	 * The string field for http port
	 */
	public static final String SERVER_PORT = "server.port";

	/**
	 * The string field SERVER_SERVLET_PATH
	 */
	public static final String SERVER_SERVLET_PATH = "server.servlet.path";

	/**
	 * The string field V1_0_VID
	 */
	public static final String VVID = "/vid";

	/**
	 * The string field COMMA
	 */
	public static final String COMMA = ",";
	/**
	 * The string field SPRING_APPLICATION_NAME
	 */
	public static final String SPRING_APPLICATION_NAME = "spring.application.name";
	/**
	 * The string field SPRING_APPLICATION_NAME
	 */
	public static final String SPRING_CLOUD_CONFIG_NAME = "spring.cloud.config.name";
	/**
	 * The string field PROPERTIES
	 */
	public static final String PROPERTIES = ".properties";
	/**
	 * The string field DASH
	 */
	public static final String DASH = "-";
	/**
	 * The string field SPRING_CLOUD_CONFIG_LABEL
	 */
	public static final String SPRING_CLOUD_CONFIG_LABEL = "spring.cloud.config.label";
	/**
	 * The string field FORWARD_SLASH
	 */
	public static final String FORWARD_SLASH = "/";
	/**
	 * The string field SPRING_PROFILES_ACTIVE
	 */
	public static final String SPRING_PROFILES_ACTIVE = "spring.profiles.active";
	/**
	 * The string field KERNEL
	 */
	public static final String KERNEL = "/kernel/";
	/**
	 * The string field SPRING_CLOUD_CONFIG_URI
	 */
	public static final String SPRING_CLOUD_CONFIG_URI = "spring.cloud.config.uri";

	/**
	 * The string field for GENERATE_VID
	 */
	public static final String GENERATE_VID = "GENERATE_VID";

	/**
	 * The string field for VID_GENERATOR_ADDRESS
	 */
	public static final String VID_GENERATOR_ADDRESS = "VID_GENERATOR_ADDRESS";

	/**
	 * The string field for http port
	 */
	public static final String HTTP_PORT = "http.port";

	/**
	 * The string field for empty string
	 */
	public static final String EMPTY_STRING = "";

	/**
	 * The string field 0
	 */
	public static final String ZERO = "0";

	/**
	 * The string field 2
	 */
	public static final String TWO = "2";

	/**
	 * The string field 9
	 */
	public static final String NINE = "9";

	/**
	 * The string field ZERO_TO_NINE
	 */
	public static final String ZERO_TO_NINE = "1234567890";

	/**
	 * The string field CONTENTTYPE
	 */
	public static final String CONTENTTYPE = "application/json";

	/**
	 * The string field HEALTH_ENDPOINT
	 */
	public static final String HEALTH_ENDPOINT = "/actuator/health";

	/**
	 * The string field current working directory
	 */
	public static final String CURRENT_WORKING_DIRECTORY = "user.dir";

	public static final String APPLICATION_JSON = "application/json";

	/**
	 * The static field for ConfigStoreOptions type to be used in
	 * ConfigRetriever[viz. spring-config-server , file etc.]
	 */
	public static final String CONFIG_STORE_OPTIONS_TYPE = "spring-config-server";
	/**
	 * The static field value for time-out
	 */
	public static final String CONFIG_SERVER_FETCH_TIME_OUT = "180000";
	/**
	 * The static field for url
	 */
	public static final String URL = "url";
	/**
	 * The static field for time-out
	 */
	public static final String TIME_OUT = "timeout";

	public static final String SWAGGER_UI_JSON_FILENAME = "swagger.json";

	public static final String SWAGGER_UI_PATH = "swagger-ui";

	/**
	 * The swagger ui json file path.
	 */
	public static final String SWAGGER_UI_JSON_PATH = SWAGGER_UI_PATH + "/" + SWAGGER_UI_JSON_FILENAME;

	/**
	 * The swagger json template file.
	 */
	public static final String SWAGGER_JSON_TEMPLATE = "swagger-template.vm";
	/**
	 * The enable signing property key
	 */
	public static final String SIGNING_ENABLE = "mosip.kernel.vid.response-signing-enable";

	public static final String VIDEXPIRY = "videxpiry";

	public static final String GET_EXECUTOR_POOL_ENABLE = "mosip.kernel.vid.get_executor_pool";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy