44quarkus.rest.path =/api
55# Jira projects config:
66#
7- # Hibernate projects group (https://hibernate.atlassian.net)
8- # Set of common configurations for the entire group:
9- jira.project-group."hibernate".scheduled.cron =${JIRA_SCHEDULED_CRON_HIBERNATE:off}
10- jira.project-group."hibernate".source.api-uri =${JIRA_API_URL_HIBERNATE:https://hibernate.atlassian.net/rest/api/2}
11- jira.project-group."hibernate".source.api-user.email =${JIRA_API_USER_HIBERNATE}
12- jira.project-group."hibernate".source.api-user.token =${JIRA_API_TOKEN_HIBERNATE}
13- jira.project-group."hibernate".destination.api-uri =${JIRA_API_URL_REDHAT:https://hibernate.atlassian.net/rest/api/2}
14- jira.project-group."hibernate".destination.login-kind =BEARER_TOKEN
15- jira.project-group."hibernate".destination.api-user.email =${JIRA_API_USER_REDHAT}
16- jira.project-group."hibernate".destination.api-user.token =${JIRA_API_TOKEN_REDHAT}
17- jira.project-group."hibernate".can-set-reporter =true
18- # Processing queue configuration:
19- jira.project-group."hibernate".processing.queue-size =${PROCESSING_QUEUE_SIZE:10000}
20- #
217# Management endpoints:
228quarkus.management.enabled =true
239quarkus.management.auth.basic =true
@@ -35,323 +21,6 @@ quarkus.security.users.embedded.users."management-user"=${MANAGEMENT_USER_PASSWO
3521# >> By default, the scheduler is not started unless a @Scheduled business method is found.
3622# >> You may need to force the start of the scheduler for "pure" programmatic scheduling via quarkus.scheduler.start-mode=forced
3723quarkus.scheduler.start-mode =forced
38- # List of users we expect to map between instances.
39- # We use ids as other means like email/name etc may be unreliable (email may not be accessible if user decided to hide it)
40- #
41- # On Red Hat side:
42- # Search for user at RH jira with https://issues.redhat.com/rest/api/2/user/search?username=rh-ee-mbekhta
43- # On Hibernate side:
44- # Search for a user at https://hibernate.atlassian.net/jira/people/search
45- # Just open a user profile and get the ID from the URl: https://hibernate.atlassian.net/jira/people/557058:18cf44bb-bc9b-4e8d-b1b7-882969ddc8e5
46- #
47- %prod,test.jira.project-group."hibernate".users.mapped-property-name =name
48- %prod,test.jira.project-group."hibernate".users.not-mapped-assignee =
[email protected] 49- # Yoann:
50- %dev.jira.project-group."hibernate".users.mapping."557058\: 58fa1ced-171a-4c00-97e8-5d70d442cc4b" =557058:58fa1ced-171a-4c00-97e8-5d70d442cc4b
51- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 58fa1ced-171a-4c00-97e8-5d70d442cc4b" =rh-ee-yrodiere
52- # Marko:
53- %dev.jira.project-group."hibernate".users.mapping."557058\: 18cf44bb-bc9b-4e8d-b1b7-882969ddc8e5" =557058:18cf44bb-bc9b-4e8d-b1b7-882969ddc8e5
54- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 18cf44bb-bc9b-4e8d-b1b7-882969ddc8e5" =rh-ee-mbekhta
55- # Steve
56- %prod,test.jira.project-group."hibernate".users.mapping."557058\: aafa2e9a-7a21-4c62-bf4a-050acb31276c" =sebersol
57- # Martin
58- %prod,test.jira.project-group."hibernate".users.mapping."5cff634e0ca4470c59b24c1e" =mmarcian
59- # Andrea
60- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 8ce9ebec-e8f7-4cb9-b414-ea2ae49591e3" =aboriero
61- # Marco
62- %prod,test.jira.project-group."hibernate".users.mapping."712020\: dcf258b4-84bc-4e85-a34f-054b5ac2d0d1" =mbellade
63- %prod,test.jira.project-group."hibernate".users.mapping."637b480e9e48f2b9a6119795" =mbellade
64- # Guillaume
65- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 71e31052-f0d7-46e3-a9d7-8b9acd6998d8" =
[email protected] 66- # # Gunnar
67- # %prod,test.jira.project-group."hibernate".users.mapping."557058\:6a9959ae-3b15-4370-ad41-e78c978f4f7b"=gunnar.morling
68- # # Sanne
69- # # or JIRAUSER247447
70- # %prod,test.jira.project-group."hibernate".users.mapping."557058\:99e61e65-956b-4a21-b29c-06057642e9ea"[email protected] 71- # %prod,test.jira.project-group."hibernate".users.mapping."557058\:690dd548-c602-4a58-9c7e-0923346f4e97"[email protected] 72- # %prod,test.jira.project-group."hibernate".users.mapping."70121\:05895251-ccc4-42d9-acf3-7800fcf17a4c"[email protected] 73- # %prod,test.jira.project-group."hibernate".users.mapping."557058\:f781de72-2c68-4904-9be1-937e6dcca29f"[email protected] 74- # # Emmanuel
75- # %prod,test.jira.project-group."hibernate".users.mapping."557058\:7146ccce-8d92-4967-a2e1-f09ff06cc122"=rhn-engineering-ebernard
76- # %prod,test.jira.project-group."hibernate".users.mapping."557058\:60723d35-67e0-400b-9749-abf4e657a6bd"=rhn-engineering-ebernard
77- # Scott
78- %prod,test.jira.project-group."hibernate".users.mapping."557058\: ff72c345-4c9e-4140-98cc-5cd4fedbdfac" =
[email protected] 79- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 3cb286d0-7d8f-47ff-a3f8-c8cc6a2016f3" =
[email protected] 80- %prod,test.jira.project-group."hibernate".users.mapping."557058\: db1a3420-e3e5-4207-9989-5d434a8152e9" =
[email protected] 81- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 9c00e014-1754-4b71-9606-dab4e465c26c" =
[email protected] 82- # Christian
83- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 0222998d-a0c8-4789-91ec-6a92d10dfb9a" =
[email protected] 84- # Koen
85- %prod,test.jira.project-group."hibernate".users.mapping."557058\: 926ec7e6-0515-4337-a65b-32fd943f79ca" =
[email protected] 86- # Fabio
87- %prod,test.jira.project-group."hibernate".users.mapping."602700e4b9d00300709fe7d1" =
[email protected] 88- # Jan
89- %prod,test.jira.project-group."hibernate".users.mapping."557058\: d2e3c0d7-28e0-4bde-9d33-5380e446ab06" =
[email protected] 90- # Davide
91- %prod,test.jira.project-group."hibernate".users.mapping."557058\: dc17d3f8-d34a-4a8a-a552-704e1902d0ae" =
[email protected] 92- # # Gavin
93- # jira.project-group."hibernate".users.mapping."557058\:c227967f-4207-4715-82ea-1c48a845aea1"=
94- # ##########################################################################
95- # Issue types:
96- jira.project-group."hibernate".issue-types.default-value =3
97- jira.project-group."hibernate".priorities.default-value =3
98- jira.project-group."hibernate".statuses.default-value =1
99- jira.project-group."hibernate".issue-link-types.default-value =10011
100- jira.project-group."hibernate".issue-link-types.parent-link-type =10011
101- jira.project-group."hibernate".users.default-value =-1
102-
103- # Issue link types:
104- %prod.jira.project-group."hibernate".issue-link-types.default-value =12310001
105- # Depend
106- %prod.jira.project-group."hibernate".issue-link-types.parent-link-type =12311220
107- # Blocks: is blocked by
108- %prod.jira.project-group."hibernate".issue-link-types.mapping."10100" =12310720
109- %prod.jira.project-group."hibernate".issue-link-types.mapping."10101" =12310720
110- %prod.jira.project-group."hibernate".issue-link-types.mapping."10102" =12310720
111- # Cause: caused by
112- %prod.jira.project-group."hibernate".issue-link-types.mapping."10050" =12310220
113- # Cloners: cloned from
114- %prod.jira.project-group."hibernate".issue-link-types.mapping."10030" =12310120
115- # Documentation: documented by
116- %prod.jira.project-group."hibernate".issue-link-types.mapping."10060" =12310420
117- # Duplicate: is duplicated by
118- %prod.jira.project-group."hibernate".issue-link-types.mapping."10000" =12310000
119- # Fix: is fixed by -> Related
120- %prod.jira.project-group."hibernate".issue-link-types.mapping."10010" =12310001
121- # Follow Up: is followed up by -> Related
122- %prod.jira.project-group."hibernate".issue-link-types.mapping."10070" =12310001
123- # Prerequisite: required for -> Related
124- %prod.jira.project-group."hibernate".issue-link-types.mapping."10020" =12310001
125- # Relates: relates to -> Related
126- %prod.jira.project-group."hibernate".issue-link-types.mapping."10011" =12310001
127- #
128- #
129- # Issue types:
130- # Scheme OJA-ITS-002 defines only these:
131- #
132- # Bug 1
133- # Epic 16
134- # Risk 11406
135- # Story 17
136- # Sub-task 5
137- # Task 3
138- # Vulnerability 12207
139- # Weakness 12206
140- #
141- # Task
142- %prod.jira.project-group."hibernate".issue-types.default-value =3
143- # bug -> bug
144- %prod.jira.project-group."hibernate".issue-types.mapping."1" =1
145- %prod.jira.project-group."hibernate".issue-types.mapping."10054" =1
146- # New Feature -> Story
147- %prod.jira.project-group."hibernate".issue-types.mapping."2" =17
148- # Task -> Task
149- %prod.jira.project-group."hibernate".issue-types.mapping."3" =3
150- # Improvement -> Story
151- %prod.jira.project-group."hibernate".issue-types.mapping."4" =17
152- # Patch -> Task
153- %prod.jira.project-group."hibernate".issue-types.mapping."5" =3
154- # Deprecation -> Task
155- %prod.jira.project-group."hibernate".issue-types.mapping."6" =3
156- # Sub-task -> Task
157- %prod.jira.project-group."hibernate".issue-types.mapping."7" =3
158- # Remove Feature -> Task
159- %prod.jira.project-group."hibernate".issue-types.mapping."8" =3
160- # Epic -> Epic
161- %prod.jira.project-group."hibernate".issue-types.mapping."9" =16
162- # Story -> Story
163- %prod.jira.project-group."hibernate".issue-types.mapping."10" =17
164- # Technical task -> Task
165- %prod.jira.project-group."hibernate".issue-types.mapping."11" =3
166- # Task -> Task
167- %prod.jira.project-group."hibernate".issue-types.mapping."10019" =3
168- # Epic -> Epic
169- %prod.jira.project-group."hibernate".issue-types.mapping."10020" =16
170- # Subtask -> Task
171- %prod.jira.project-group."hibernate".issue-types.mapping."10021" =3
172- # Story -> Story
173- %prod.jira.project-group."hibernate".issue-types.mapping."10052" =17
174- # Task -> Task
175- %prod.jira.project-group."hibernate".issue-types.mapping."10053" =3
176- # Epic -> Epic
177- %prod.jira.project-group."hibernate".issue-types.mapping."10055" =16
178- # Subtask -> Task
179- %prod.jira.project-group."hibernate".issue-types.mapping."10056" =3
180- # Proposal -> Task
181- %prod.jira.project-group."hibernate".issue-types.mapping."10057" =3
182- # #############
183- %dev,test.jira.project-group."hibernate".issue-types.mapping."1" =1
184- %dev,test.jira.project-group."hibernate".issue-types.mapping."10054" =10054
185- %dev,test.jira.project-group."hibernate".issue-types.mapping."2" =2
186- %dev,test.jira.project-group."hibernate".issue-types.mapping."3" =3
187- %dev,test.jira.project-group."hibernate".issue-types.mapping."4" =4
188- %dev,test.jira.project-group."hibernate".issue-types.mapping."5" =5
189- %dev,test.jira.project-group."hibernate".issue-types.mapping."6" =6
190- %dev,test.jira.project-group."hibernate".issue-types.mapping."7" =3
191- %dev,test.jira.project-group."hibernate".issue-types.mapping."8" =8
192- %dev,test.jira.project-group."hibernate".issue-types.mapping."9" =9
193- %dev,test.jira.project-group."hibernate".issue-types.mapping."10" =10
194- %dev,test.jira.project-group."hibernate".issue-types.mapping."11" =11
195- %dev,test.jira.project-group."hibernate".issue-types.mapping."10019" =10019
196- %dev,test.jira.project-group."hibernate".issue-types.mapping."10020" =10020
197- %dev,test.jira.project-group."hibernate".issue-types.mapping."10021" =10021
198- %dev,test.jira.project-group."hibernate".issue-types.mapping."10052" =10052
199- %dev,test.jira.project-group."hibernate".issue-types.mapping."10053" =10053
200- %dev,test.jira.project-group."hibernate".issue-types.mapping."10055" =10055
201- %dev,test.jira.project-group."hibernate".issue-types.mapping."10056" =3
202- %dev,test.jira.project-group."hibernate".issue-types.mapping."10057" =10057
203- # #############
204- #
205- #
206- # Priority:
207- # Major
208- %prod.jira.project-group."hibernate".priorities.default-value =3
209- # Blocker -> Blocker
210- %prod.jira.project-group."hibernate".priorities.mapping."1" =1
211- # Critical -> Critical
212- %prod.jira.project-group."hibernate".priorities.mapping."2" =2
213- # Major -> Major
214- %prod.jira.project-group."hibernate".priorities.mapping."3" =3
215- # Minor -> Normal
216- %prod.jira.project-group."hibernate".priorities.mapping."4" =10200
217- # Trivial -> Minor
218- %prod.jira.project-group."hibernate".priorities.mapping."5" =4
219- #
220- #
221- # Status:
222- # Status is not updated directly but only through a transition,
223- # hence we are mapping the status ID to a transition ID:
224- #
225- # New:
226- # Open
227- %dev.jira.project-group."hibernate".statuses.mapping."1" =11
228- %prod.jira.project-group."hibernate".statuses.mapping."1" =51
229- # Awaiting Test Case
230- %dev.jira.project-group."hibernate".statuses.mapping."10000" =11
231- %prod.jira.project-group."hibernate".statuses.mapping."10000" =51
232- # Awaiting Response
233- %dev.jira.project-group."hibernate".statuses.mapping."10003" =11
234- %prod.jira.project-group."hibernate".statuses.mapping."10003" =51
235- # Awaiting Contribution
236- %dev.jira.project-group."hibernate".statuses.mapping."10171" =11
237- %prod.jira.project-group."hibernate".statuses.mapping."10171" =51
238- # Reopened
239- %dev.jira.project-group."hibernate".statuses.mapping."4" =11
240- %prod.jira.project-group."hibernate".statuses.mapping."4" =51
241- # To Do
242- %dev.jira.project-group."hibernate".statuses.mapping."10100" =11
243- %prod.jira.project-group."hibernate".statuses.mapping."10100" =51
244- # To Do
245- %dev.jira.project-group."hibernate".statuses.mapping."10130" =11
246- %prod.jira.project-group."hibernate".statuses.mapping."10130" =51
247- # To Do
248- %dev.jira.project-group."hibernate".statuses.mapping."10168" =11
249- %prod.jira.project-group."hibernate".statuses.mapping."10168" =51
250-
251- # In progress:
252- # In Progress
253- %dev.jira.project-group."hibernate".statuses.mapping."3" =21
254- %prod.jira.project-group."hibernate".statuses.mapping."3" =31
255- # In Progress
256- %dev.jira.project-group."hibernate".statuses.mapping."10131" =21
257- %prod.jira.project-group."hibernate".statuses.mapping."10131" =31
258- # In Progress
259- %dev.jira.project-group."hibernate".statuses.mapping."10169" =21
260- %prod.jira.project-group."hibernate".statuses.mapping."10169" =31
261- # Stalled
262- %dev.jira.project-group."hibernate".statuses.mapping."10141" =21
263- %prod.jira.project-group."hibernate".statuses.mapping."10141" =31
264- # In Review
265- %dev.jira.project-group."hibernate".statuses.mapping."10175" =21
266- %prod.jira.project-group."hibernate".statuses.mapping."10175" =31
267- # Review
268- %dev.jira.project-group."hibernate".statuses.mapping."10173" =21
269- %prod.jira.project-group."hibernate".statuses.mapping."10173" =31
270- # Waiting for review
271- %dev.jira.project-group."hibernate".statuses.mapping."10002" =21
272- %prod.jira.project-group."hibernate".statuses.mapping."10002" =31
273-
274- # Closed:
275- # Resolved
276- %dev.jira.project-group."hibernate".statuses.mapping."5" =41
277- %prod.jira.project-group."hibernate".statuses.mapping."5" =41
278- # Closed
279- %dev.jira.project-group."hibernate".statuses.mapping."6" =41
280- %prod.jira.project-group."hibernate".statuses.mapping."6" =41
281- # Done
282- %dev.jira.project-group."hibernate".statuses.mapping."10101" =41
283- %prod.jira.project-group."hibernate".statuses.mapping."10101" =41
284- # Done
285- %dev.jira.project-group."hibernate".statuses.mapping."10170" =41
286- %prod.jira.project-group."hibernate".statuses.mapping."10170" =41
287- # Done
288- %dev.jira.project-group."hibernate".statuses.mapping."10132" =41
289- %prod.jira.project-group."hibernate".statuses.mapping."10132" =41
290-
291- #
292- #
293- # List of projects we are syncing:
294- # JIRATEST1 (10322) -> JIRATEST2 (10323):
295- # We specify only the target projects here:
296- %dev,test.jira.project-group."hibernate".projects.JIRATEST1.project-id =10323
297- %dev,test.jira.project-group."hibernate".projects.JIRATEST1.project-key =JIRATEST2
298- %dev,test.jira.project-group."hibernate".projects.JIRATEST1.original-project-key =JIRATEST1
299- %dev,test.jira.project-group."hibernate".projects.JIRATEST1.security.enabled =true
300- %dev,test.jira.project-group."hibernate".projects.JIRATEST1.security.secret =${JIRA_WEBHOOK_SECRET_JIRATEST1:no-secret}
301-
302- # %prod.jira.project-group."hibernate".projects.JIRATEST1.project-id=12346522
303- # %prod.jira.project-group."hibernate".projects.JIRATEST1.project-key=OGM
304- # %prod.jira.project-group."hibernate".projects.JIRATEST1.original-project-key=JIRATEST1
305- # %prod.jira.project-group."hibernate".projects.JIRATEST1.security.enabled=true
306- # %prod.jira.project-group."hibernate".projects.JIRATEST1.security.secret=${JIRA_WEBHOOK_SECRET_JIRATEST1:no-secret}
307-
308- # HHH (10031) -> HHH (12346325):
309- # https://issues.redhat.com/rest/api/2/project/HHH
310- # We specify only the target projects here:
311- %prod.jira.project-group."hibernate".projects.HHH.project-id =12346325
312- %prod.jira.project-group."hibernate".projects.HHH.project-key =HHH
313- %prod.jira.project-group."hibernate".projects.HHH.original-project-key =HHH
314- %prod.jira.project-group."hibernate".projects.HHH.security.enabled =${JIRA_WEBHOOK_SIGNATURE_CHECK_ENABLED:true}
315- %prod.jira.project-group."hibernate".projects.HHH.security.secret =${JIRA_WEBHOOK_SECRET_HHH:no-secret}
316- # HV (10060) -> HV (12346521):
317- # We specify only the target projects here:
318- %prod.jira.project-group."hibernate".projects.HV.project-id =12346521
319- %prod.jira.project-group."hibernate".projects.HV.project-key =HV
320- %prod.jira.project-group."hibernate".projects.HV.original-project-key =HV
321- %prod.jira.project-group."hibernate".projects.HV.security.enabled =${JIRA_WEBHOOK_SIGNATURE_CHECK_ENABLED:true}
322- %prod.jira.project-group."hibernate".projects.HV.security.secret =${JIRA_WEBHOOK_SECRET_HV:no-secret}
323- # HSEARCH (10061) -> HSEARCH (12346323):
324- # https://issues.redhat.com/rest/api/2/project/HSEARCH
325- # We specify only the target projects here:
326- %prod.jira.project-group."hibernate".projects.HSEARCH.project-id =12346323
327- %prod.jira.project-group."hibernate".projects.HSEARCH.project-key =HSEARCH
328- %prod.jira.project-group."hibernate".projects.HSEARCH.original-project-key =HSEARCH
329- %prod.jira.project-group."hibernate".projects.HSEARCH.security.enabled =${JIRA_WEBHOOK_SIGNATURE_CHECK_ENABLED:true}
330- %prod.jira.project-group."hibernate".projects.HSEARCH.security.secret =${JIRA_WEBHOOK_SECRET_HSEARCH:no-secret}
331- # HREACT (10321) -> HREACT (12346324):
332- # https://issues.redhat.com/rest/api/2/project/HREACT
333- # We specify only the target projects here:
334- %prod.jira.project-group."hibernate".projects.HREACT.project-id =12346324
335- %prod.jira.project-group."hibernate".projects.HREACT.project-key =HREACT
336- %prod.jira.project-group."hibernate".projects.HREACT.original-project-key =HREACT
337- %prod.jira.project-group."hibernate".projects.HREACT.security.enabled =${JIRA_WEBHOOK_SIGNATURE_CHECK_ENABLED:true}
338- %prod.jira.project-group."hibernate".projects.HREACT.security.secret =${JIRA_WEBHOOK_SECRET_HREACT:no-secret}
339- # HBX (10030) -> HBX (12346326):
340- # https://issues.redhat.com/rest/api/2/project/HBX
341- # We specify only the target projects here:
342- %prod.jira.project-group."hibernate".projects.HBX.project-id =12346326
343- %prod.jira.project-group."hibernate".projects.HBX.project-key =HBX
344- %prod.jira.project-group."hibernate".projects.HBX.original-project-key =HBX
345- %prod.jira.project-group."hibernate".projects.HBX.security.enabled =${JIRA_WEBHOOK_SIGNATURE_CHECK_ENABLED:true}
346- %prod.jira.project-group."hibernate".projects.HBX.security.secret =${JIRA_WEBHOOK_SECRET_HBX:no-secret}
347- # OGM (10160) -> OGM (12346522):
348- # https://issues.redhat.com/rest/api/2/project/OGM
349- # We specify only the target projects here:
350- %prod.jira.project-group."hibernate".projects.OGM.project-id =12346522
351- %prod.jira.project-group."hibernate".projects.OGM.project-key =OGM
352- %prod.jira.project-group."hibernate".projects.OGM.original-project-key =OGM
353- %prod.jira.project-group."hibernate".projects.OGM.security.enabled =${JIRA_WEBHOOK_SIGNATURE_CHECK_ENABLED:true}
354- %prod.jira.project-group."hibernate".projects.OGM.security.secret =${JIRA_WEBHOOK_SECRET_OGM:no-secret}
35524# #############
35625# Deploy to OpenShift
35726#
@@ -361,8 +30,10 @@ quarkus.openshift.part-of=replicate-jira
36130# This requires an additional controller to run on the OpenShift cluster (in our case it does).
36231# See https://github.com/tnozicka/openshift-acme/#enabling-acme-certificates-for-your-object
36332quarkus.openshift.annotations."kubernetes.io/tls-acme" =true
364- quarkus.openshift.env.configmaps =replicate-jira-config
33+ quarkus.openshift.env.configmaps =replicate-jira-config,replicate-jira-hibernate-config
36534quarkus.openshift.env.secrets =replicate-jira-secrets
35+ quarkus.openshift.mounts.app-config.path =/home/jboss/config
36+ quarkus.openshift.config-map-volumes.app-config.config-map-name =replicate-jira-hibernate-config
36637# Resource requirements
36738quarkus.openshift.resources.limits.cpu =1000m
36839quarkus.openshift.resources.requests.cpu =400m
0 commit comments