Skip to content

Commit 90f3f99

Browse files
author
sachin-maheshwari
authored
Merge pull request #372 from topcoder-platform/hotfix/kafka-topic-name-change
kafka topic name change
2 parents 0c7d1e9 + 2fa6c8c commit 90f3f99

File tree

1 file changed

+49
-49
lines changed

1 file changed

+49
-49
lines changed

src/constants.js

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -81,74 +81,74 @@ export const EVENT = {
8181
};
8282

8383
export const BUS_API_EVENT = {
84-
PROJECT_CREATED: 'notifications.connect.project.created',
85-
PROJECT_UPDATED: 'connect.action.project.updated',
86-
PROJECT_SUBMITTED_FOR_REVIEW: 'notifications.connect.project.submittedForReview',
87-
PROJECT_APPROVED: 'notifications.connect.project.approved',
88-
PROJECT_PAUSED: 'notifications.connect.project.paused',
89-
PROJECT_COMPLETED: 'notifications.connect.project.completed',
90-
PROJECT_CANCELED: 'notifications.connect.project.canceled',
91-
PROJECT_ACTIVE: 'notifications.connect.project.active',
92-
93-
PROJECT_PHASE_TRANSITION_ACTIVE: 'notifications.connect.project.phase.transition.active',
94-
PROJECT_PHASE_TRANSITION_COMPLETED: 'notifications.connect.project.phase.transition.completed',
95-
PROJECT_PHASE_UPDATE_PAYMENT: 'notifications.connect.project.phase.update.payment',
96-
PROJECT_PHASE_UPDATE_PROGRESS: 'notifications.connect.project.phase.update.progress',
97-
PROJECT_PHASE_UPDATE_SCOPE: 'notifications.connect.project.phase.update.scope',
98-
99-
MEMBER_JOINED: 'notifications.connect.project.member.joined',
100-
MEMBER_LEFT: 'notifications.connect.project.member.left',
101-
MEMBER_REMOVED: 'notifications.connect.project.member.removed',
102-
MEMBER_ASSIGNED_AS_OWNER: 'notifications.connect.project.member.assignedAsOwner',
103-
MEMBER_JOINED_COPILOT: 'notifications.connect.project.member.copilotJoined',
104-
MEMBER_JOINED_MANAGER: 'notifications.connect.project.member.managerJoined',
105-
106-
PROJECT_LINK_CREATED: 'notifications.connect.project.linkCreated',
107-
PROJECT_FILE_UPLOADED: 'notifications.connect.project.fileUploaded',
108-
PROJECT_SPECIFICATION_MODIFIED: 'connect.action.project.updated.spec',
109-
PROJECT_PROGRESS_MODIFIED: 'connect.action.project.updated.progress',
110-
PROJECT_FILES_UPDATED: 'connect.action.project.files.updated',
111-
PROJECT_TEAM_UPDATED: 'connect.action.project.team.updated',
84+
PROJECT_CREATED: 'connect.notification.project.created',
85+
PROJECT_UPDATED: 'connect.notification.project.updated',
86+
PROJECT_SUBMITTED_FOR_REVIEW: 'connect.notification.project.submittedForReview',
87+
PROJECT_APPROVED: 'connect.notification.project.approved',
88+
PROJECT_PAUSED: 'connect.notification.project.paused',
89+
PROJECT_COMPLETED: 'connect.notification.project.completed',
90+
PROJECT_CANCELED: 'connect.notification.project.canceled',
91+
PROJECT_ACTIVE: 'connect.notification.project.active',
92+
93+
PROJECT_PHASE_TRANSITION_ACTIVE: 'connect.notification.project.phase.transition.active',
94+
PROJECT_PHASE_TRANSITION_COMPLETED: 'connect.notification.project.phase.transition.completed',
95+
PROJECT_PHASE_UPDATE_PAYMENT: 'connect.notification.project.phase.update.payment',
96+
PROJECT_PHASE_UPDATE_PROGRESS: 'connect.notification.project.phase.update.progress',
97+
PROJECT_PHASE_UPDATE_SCOPE: 'connect.notification.project.phase.update.scope',
98+
99+
MEMBER_JOINED: 'connect.notification.project.member.joined',
100+
MEMBER_LEFT: 'connect.notification.project.member.left',
101+
MEMBER_REMOVED: 'connect.notification.project.member.removed',
102+
MEMBER_ASSIGNED_AS_OWNER: 'connect.notification.project.member.assignedAsOwner',
103+
MEMBER_JOINED_COPILOT: 'connect.notification.project.member.copilotJoined',
104+
MEMBER_JOINED_MANAGER: 'connect.notification.project.member.managerJoined',
105+
106+
PROJECT_LINK_CREATED: 'connect.notification.project.linkCreated',
107+
PROJECT_FILE_UPLOADED: 'connect.notification.project.fileUploaded',
108+
PROJECT_SPECIFICATION_MODIFIED: 'connect.notification.project.updated.spec',
109+
PROJECT_PROGRESS_MODIFIED: 'connect.notification.project.updated.progress',
110+
PROJECT_FILES_UPDATED: 'connect.notification.project.files.updated',
111+
PROJECT_TEAM_UPDATED: 'connect.notification.project.team.updated',
112112

113113
// When phase is added/updated/deleted from the project,
114114
// When product is added/deleted from a phase
115115
// When product is updated on any field other than specification
116-
PROJECT_PLAN_UPDATED: 'connect.action.project.plan.updated',
116+
PROJECT_PLAN_UPDATED: 'connect.notification.project.plan.updated',
117117

118-
PROJECT_PLAN_READY: 'connect.action.project.plan.ready',
118+
PROJECT_PLAN_READY: 'connect.notification.project.plan.ready',
119119

120120
// When milestone is added/deleted to/from the phase,
121121
// When milestone is updated for duration/startDate/endDate/status
122-
TIMELINE_ADJUSTED: 'connect.action.timeline.adjusted',
122+
TIMELINE_ADJUSTED: 'connect.notification.project.timeline.adjusted',
123123

124124
// When specification of a product is modified
125-
PROJECT_PRODUCT_SPECIFICATION_MODIFIED: 'connect.action.project.product.update.spec',
125+
PROJECT_PRODUCT_SPECIFICATION_MODIFIED: 'connect.notification.project.product.update.spec',
126126

127-
MILESTONE_ADDED: 'connect.action.timeline.milestone.added',
128-
MILESTONE_REMOVED: 'connect.action.timeline.milestone.removed',
129-
MILESTONE_UPDATED: 'connect.action.timeline.milestone.updated',
127+
MILESTONE_ADDED: 'connect.notification.project.timeline.milestone.added',
128+
MILESTONE_REMOVED: 'connect.notification.project.timeline.milestone.removed',
129+
MILESTONE_UPDATED: 'connect.notification.project.timeline.milestone.updated',
130130
// When milestone is marked as active
131-
MILESTONE_TRANSITION_ACTIVE: 'connect.action.timeline.milestone.transition.active',
131+
MILESTONE_TRANSITION_ACTIVE: 'connect.notification.project.timeline.milestone.transition.active',
132132
// When milestone is marked as completed
133-
MILESTONE_TRANSITION_COMPLETED: 'connect.action.timeline.milestone.transition.completed',
133+
MILESTONE_TRANSITION_COMPLETED: 'connect.notification.project.timeline.milestone.transition.completed',
134134
// When milestone is marked as paused
135-
MILESTONE_TRANSITION_PAUSED: 'connect.action.timeline.milestone.transition.paused',
135+
MILESTONE_TRANSITION_PAUSED: 'connect.notification.project.timeline.milestone.transition.paused',
136136
// When milestone is waiting for customers's input
137-
MILESTONE_WAITING_CUSTOMER: 'connect.action.timeline.milestone.waiting.customer',
137+
MILESTONE_WAITING_CUSTOMER: 'connect.notification.project.timeline.milestone.waiting.customer',
138138

139139
// TC Message Service events
140-
TOPIC_CREATED: 'notifications.connect.project.topic.created',
141-
TOPIC_UPDATED: 'notifications.connect.project.topic.updated',
142-
POST_CREATED: 'notifications.connect.project.post.created',
143-
POST_UPDATED: 'notifications.connect.project.post.edited',
140+
TOPIC_CREATED: 'connect.notification.project.topic.created',
141+
TOPIC_UPDATED: 'connect.notification.project.topic.updated',
142+
POST_CREATED: 'connect.notification.project.post.created',
143+
POST_UPDATED: 'connect.notification.project.post.edited',
144144

145145
// Project Member Invites
146-
PROJECT_MEMBER_INVITE_CREATED: 'notifications.connect.project.member.invite.created',
147-
PROJECT_MEMBER_INVITE_REQUESTED: 'notifications.connect.project.member.invite.requested',
148-
PROJECT_MEMBER_INVITE_UPDATED: 'notifications.connect.project.member.invite.updated',
149-
PROJECT_MEMBER_INVITE_APPROVED: 'notifications.connect.project.member.invite.approved',
150-
PROJECT_MEMBER_INVITE_REJECTED: 'notifications.connect.project.member.invite.rejected',
151-
PROJECT_MEMBER_EMAIL_INVITE_CREATED: 'connect.action.email.project.member.invite.created',
146+
PROJECT_MEMBER_INVITE_CREATED: 'connect.notification.project.member.invite.created',
147+
PROJECT_MEMBER_INVITE_REQUESTED: 'connect.notification.project.member.invite.requested',
148+
PROJECT_MEMBER_INVITE_UPDATED: 'connect.notification.project.member.invite.updated',
149+
PROJECT_MEMBER_INVITE_APPROVED: 'connect.notification.project.member.invite.approved',
150+
PROJECT_MEMBER_INVITE_REJECTED: 'connect.notification.project.member.invite.rejected',
151+
PROJECT_MEMBER_EMAIL_INVITE_CREATED: 'connect.notification.email.project.member.invite.created',
152152
};
153153

154154
export const REGEX = {

0 commit comments

Comments
 (0)