28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
// service
|
|
export const SERVICE_NAME = 'matcher';
|
|
|
|
// grpc
|
|
export const GRPC_PACKAGE_NAME = 'matcher';
|
|
export const GRPC_GEOGRAPHY_PACKAGE_NAME = 'geography';
|
|
export const GRPC_GEOROUTER_SERVICE_NAME = 'GeorouterService';
|
|
|
|
// messaging output
|
|
export const MATCHER_AD_CREATED_ROUTING_KEY = 'matcher-ad.created';
|
|
export const MATCHER_AD_CREATION_FAILED_ROUTING_KEY =
|
|
'matcher-ad.creation-failed';
|
|
export const MATCHER_AD_UPDATED_ROUTING_KEY = 'matcher-ad.updated';
|
|
export const MATCHER_AD_UPDATE_FAILED_ROUTING_KEY = 'matcher-ad.update-failed';
|
|
|
|
// messaging input
|
|
export const AD_CREATED_MESSAGE_HANDLER = 'adCreated';
|
|
export const AD_CREATED_ROUTING_KEY = 'ad.created';
|
|
export const AD_CREATED_QUEUE = 'matcher.ad.created';
|
|
export const AD_DELETED_MESSAGE_HANDLER = 'adDeleted';
|
|
export const AD_DELETED_ROUTING_KEY = 'ad.deleted';
|
|
export const AD_DELETED_QUEUE = 'matcher.ad.deleted';
|
|
|
|
// health
|
|
export const GRPC_HEALTH_PACKAGE_NAME = 'health';
|
|
export const HEALTH_AD_REPOSITORY = 'AdRepository';
|
|
export const HEALTH_CRITICAL_LOGGING_KEY = 'logging.matcher.health.crit';
|