vulcain-corejs
Version:
Vulcain micro-service framework
50 lines (49 loc) • 1.78 kB
TypeScript
/**
* Conventions values
* You can override this values before instanciating application
*
* @export
* @class Conventions
*/
export declare class Conventions {
private static _instance;
static deepAssign(from: any, target: any): void;
static readonly instance: Conventions;
static toEnvironmentVariableName(name: string): string;
/**
* Naming
*
*/
defaultApplicationFolder: string;
defaultHystrixPath: string;
defaultUrlprefix: string;
vulcainFileName: string;
defaultStatsdDelayInMs: number;
defaultSecretKey: string;
defaultTokenExpiration: string;
VULCAIN_SECRET_KEY: string;
TOKEN_ISSUER: string;
TOKEN_EXPIRATION: string;
ENV_VULCAIN_TENANT: string;
ENV_VULCAIN_ENV: string;
ENV_VULCAIN_DOMAIN: string;
ENV_SERVICE_NAME: string;
ENV_SERVICE_VERSION: string;
ENV_VULCAIN_ENV_MODE: string;
hystrix: {
"hystrix.health.snapshot.validityInMilliseconds": number;
"hystrix.force.circuit.open": boolean;
"hystrix.force.circuit.closed": boolean;
"hystrix.circuit.enabled": boolean;
"hystrix.circuit.sleepWindowInMilliseconds": number;
"hystrix.circuit.errorThresholdPercentage": number;
"hystrix.circuit.volumeThreshold": number;
"hystrix.execution.timeoutInMilliseconds": number;
"hystrix.metrics.statistical.window.timeInMilliseconds": number;
"hystrix.metrics.statistical.window.bucketsNumber": number;
"hystrix.metrics.percentile.window.timeInMilliseconds": number;
"hystrix.metrics.percentile.window.bucketsNumber": number;
"hystrix.isolation.semaphore.maxConcurrentRequests": number;
"hystrix.fallback.semaphore.maxConcurrentRequests": number;
};
}