ad/src/app.constants.ts

31 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-10-17 09:27:52 +00:00
// service
2023-10-10 14:54:01 +00:00
export const SERVICE_NAME = 'ad';
2023-10-17 09:27:52 +00:00
2023-10-17 12:41:51 +00:00
// grpc
export const GRPC_PACKAGE_NAME = 'ad';
export const GRPC_SERVICE_NAME = 'AdService';
// messaging output
2023-10-19 07:00:41 +00:00
export const AD_CREATED_ROUTING_KEY = 'ad.created';
// messaging input
2023-12-06 14:51:46 +00:00
export const MATCHER_AD_CREATED_MESSAGE_HANDLER = 'matcherAdCreated';
export const MATCHER_AD_CREATED_ROUTING_KEY = 'matcher-ad.created';
export const MATCHER_AD_CREATED_QUEUE = 'ad.matcher-ad.created';
2023-12-06 14:51:46 +00:00
export const MATCHER_AD_CREATION_FAILED_MESSAGE_HANDLER =
'matcherAdCreationFailed';
export const MATCHER_AD_CREATION_FAILED_ROUTING_KEY =
'matcher-ad.creation-failed';
export const MATCHER_AD_CREATION_FAILED_QUEUE = 'ad.matcher-ad.creation-failed';
2023-10-19 07:00:41 +00:00
2023-10-17 09:27:52 +00:00
// configuration
export const SERVICE_CONFIGURATION_SET_QUEUE = 'ad-configuration-set';
export const SERVICE_CONFIGURATION_DELETE_QUEUE = 'ad-configuration-delete';
export const SERVICE_CONFIGURATION_PROPAGATE_QUEUE =
'ad-configuration-propagate';
// health
2023-10-17 12:41:51 +00:00
export const GRPC_HEALTH_PACKAGE_NAME = 'health';
2023-10-17 09:27:52 +00:00
export const HEALTH_AD_REPOSITORY = 'AdRepository';
2023-10-10 14:54:01 +00:00
export const HEALTH_CRITICAL_LOGGING_KEY = 'logging.ad.health.crit';