const REGISTRY_URL = process.env.REGISTRY_URL;
const KEYCLOAK_URL = process.env.KEYCLOAK_URL;
const KEYCLOAK_REALM = 'divoc';
const JWT_PUBLIC_KEY = process.env.AUTH_PUBLIC_KEY;
const KAFKA_BOOTSTRAP_SERVER = process.env.KAFKA_BOOTSTRAP_SERVERS;
const DISEASE_CODE = process.env.DISEASE_CODE;
const PUBLIC_HEALTH_AUTHORITY = process.env.FHIR_PUBLIC_HEALTH_AUTHORITY;
const EU_CERTIFICATE_EXPIRY = parseInt(process.env.EU_CERTIFICATE_EXPIRY);
const SHC_CERTIFICATE_EXPIRY = parseInt(process.env.SHC_CERTIFICATE_EXPIRY);
const CERTIFICATE_ISSUER = process.env.CERTIFICATE_ISSUER;
const REDIS_URL = process.env.REDIS_URL
const REDIS_KEY_EXPIRE = process.env.REDIS_KEY_EXPIRE;
const REDIS_ENABLED = process.env.REDIS_ENABLED === "true";
const ETCD_URL = process.env.ETCD_URL;
const CONFIGURATION_LAYER = process.env.CONFIGURATION_LAYER;
const ETCD_AUTH_ENABLED = process.env.ETCD_AUTH_ENABLED === "true"
const ETCD_USERNAME = process.env.ETCD_USERNAME;
const ETCD_PASSWORD = process.env.ETCD_PASSWORD;
const ENTITY_TYPES = process.env.ENTITY_TYPES;
module.exports = {
    REGISTRY_URL,
    JWT_PUBLIC_KEY,
    KAFKA_BOOTSTRAP_SERVER,
    KEYCLOAK_URL,
    KEYCLOAK_REALM,
    DISEASE_CODE,
    PUBLIC_HEALTH_AUTHORITY,
    EU_CERTIFICATE_EXPIRY,
    CERTIFICATE_ISSUER,
    REDIS_ENABLED,
    REDIS_URL,
    REDIS_KEY_EXPIRE,
    ETCD_URL,
    SHC_CERTIFICATE_EXPIRY,
    CONFIGURATION_LAYER,
    ETCD_AUTH_ENABLED,
    ETCD_USERNAME,
    ETCD_PASSWORD,
    ENTITY_TYPES
};