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';
|
|
|
|
|
2023-12-07 10:11:52 +00:00
|
|
|
// messaging output
|
2023-10-19 07:00:41 +00:00
|
|
|
export const AD_CREATED_ROUTING_KEY = 'ad.created';
|
2024-04-26 08:58:44 +00:00
|
|
|
// messaging output
|
|
|
|
export const AD_DELETED_ROUTING_KEY = 'ad.deleted';
|
2023-12-07 10:11:52 +00:00
|
|
|
|
|
|
|
// messaging input
|
2023-12-06 14:51:46 +00:00
|
|
|
export const MATCHER_AD_CREATED_MESSAGE_HANDLER = 'matcherAdCreated';
|
2023-12-07 10:11:52 +00:00
|
|
|
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 =
|
2023-12-07 10:11:52 +00:00
|
|
|
'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';
|