Skip to content

Commit 0a9f381

Browse files
committed
Merge branch 'develop' of https://github.com/PublicisSapient/knowhow-processors into issue-fix
2 parents 2c4f9fe + 47c0e47 commit 0a9f381

File tree

30 files changed

+995
-13
lines changed

30 files changed

+995
-13
lines changed

argocd/src/main/resources/application.properties

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,16 @@ togglz.console.secured=false
5050

5151
#Spring boot actuator properties
5252
management.endpoints.web.exposure.include=health
53-
management.endpoint.health.show-details=never
53+
management.endpoint.health.show-details=never
54+
55+
56+
broken-connection.maximum-email-notification-count=${MAXIMUMEMAILNOTIFICATIONCOUNT:3}
57+
broken-connection.email-notification-frequency=${EMAILNOTIFICATIONFREQUENCY:5}
58+
broken-connection.email-notification-subject=Action Required: Restore Your {{Tool_Name}} Connection
59+
broken-connection.fix-url=/#/dashboard/Config/ConfigSettings?tab=1
60+
broken-connection.help-url=https://publicissapient.atlassian.net/servicedesk/customer/portal/7/group/38/create/101
61+
broken-connection.kafka-mail-topic=mail-topic
62+
broken-connection.ui-host=localhost,127.0.0.1,ui,customapi
63+
broken-connection.notification-switch=true
64+
broken-connection.mail-without-kafka=true
65+
broken-connection.mail-template.Broken_Connection=Broken_Connection_Notification_Template
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!doctype html>
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Broken Connection Alert</title>
9+
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
10+
</head>
11+
12+
<body style="font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; background-color: #f0f0f0; margin: 0;">
13+
<table cellpadding="0" cellspacing="0" style="width: 800px; margin: 20px auto; background-color: #ffffff;">
14+
<tbody>
15+
<tr>
16+
<td style="padding: 30px; text-align: center;">
17+
<div style="font-size: 42px;">
18+
kn<span style="color: #FE414D;">o</span>w<span style="font-weight: 900;">HOW</span>
19+
</div>
20+
<hr style="border-top: 1px solid #0099ff;" />
21+
</td>
22+
</tr>
23+
<tr>
24+
<td style="padding: 25px;">
25+
<p>Hi <strong th:text="${User_Name}"></strong>,</p>
26+
27+
<p>
28+
We’ve detected that your <strong th:text="${Tool_Name}"></strong> connection is currently
29+
<span style="color: #FE414D;">broken</span> — this is usually due to an expired token or authentication issue.
30+
As a result, data fetching and syncing might be disrupted, and in some cases, historical data could be lost.
31+
</p>
32+
33+
<p>
34+
Please update your credentials promptly to ensure smooth data flow and avoid any potential data loss.
35+
</p>
36+
37+
<div style="margin: 20px 0;">
38+
<a th:href="${Fix_Url}" style="background-color: #0099ff; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;">
39+
Fix your connection now
40+
</a>
41+
</div>
42+
43+
<p>
44+
Need help? Reach out to us anytime at
45+
<a th:href="${Help_Url}">knowHOW Request</a>.
46+
</p>
47+
48+
<p style="margin-top: 40px;">Thanks,<br/>The KnowHow Team</p>
49+
</td>
50+
</tr>
51+
</tbody>
52+
</table>
53+
</body>
54+
</html>

azure-boards/src/main/resources/application.properties

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,16 @@ togglz.console.secured=false
9696

9797
#Spring boot actuator properties
9898
management.endpoints.web.exposure.include=health
99-
management.endpoint.health.show-details=never
99+
management.endpoint.health.show-details=never
100+
101+
102+
broken-connection.maximum-email-notification-count=${MAXIMUMEMAILNOTIFICATIONCOUNT:3}
103+
broken-connection.email-notification-frequency=${EMAILNOTIFICATIONFREQUENCY:5}
104+
broken-connection.email-notification-subject=Action Required: Restore Your {{Tool_Name}} Connection
105+
broken-connection.fix-url=/#/dashboard/Config/ConfigSettings?tab=1
106+
broken-connection.help-url=https://publicissapient.atlassian.net/servicedesk/customer/portal/7/group/38/create/101
107+
broken-connection.kafka-mail-topic=mail-topic
108+
broken-connection.ui-host=localhost,127.0.0.1,ui,customapi
109+
broken-connection.notification-switch=true
110+
broken-connection.mail-without-kafka=true
111+
broken-connection.mail-template.Broken_Connection=Broken_Connection_Notification_Template
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!doctype html>
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Broken Connection Alert</title>
9+
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
10+
</head>
11+
12+
<body style="font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; background-color: #f0f0f0; margin: 0;">
13+
<table cellpadding="0" cellspacing="0" style="width: 800px; margin: 20px auto; background-color: #ffffff;">
14+
<tbody>
15+
<tr>
16+
<td style="padding: 30px; text-align: center;">
17+
<div style="font-size: 42px;">
18+
kn<span style="color: #FE414D;">o</span>w<span style="font-weight: 900;">HOW</span>
19+
</div>
20+
<hr style="border-top: 1px solid #0099ff;" />
21+
</td>
22+
</tr>
23+
<tr>
24+
<td style="padding: 25px;">
25+
<p>Hi <strong th:text="${User_Name}"></strong>,</p>
26+
27+
<p>
28+
We’ve detected that your <strong th:text="${Tool_Name}"></strong> connection is currently
29+
<span style="color: #FE414D;">broken</span> — this is usually due to an expired token or authentication issue.
30+
As a result, data fetching and syncing might be disrupted, and in some cases, historical data could be lost.
31+
</p>
32+
33+
<p>
34+
Please update your credentials promptly to ensure smooth data flow and avoid any potential data loss.
35+
</p>
36+
37+
<div style="margin: 20px 0;">
38+
<a th:href="${Fix_Url}" style="background-color: #0099ff; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;">
39+
Fix your connection now
40+
</a>
41+
</div>
42+
43+
<p>
44+
Need help? Reach out to us anytime at
45+
<a th:href="${Help_Url}">knowHOW Request</a>.
46+
</p>
47+
48+
<p style="margin-top: 40px;">Thanks,<br/>The KnowHow Team</p>
49+
</td>
50+
</tr>
51+
</tbody>
52+
</table>
53+
</body>
54+
</html>

azure-pipeline/src/main/resources/application.properties

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,15 @@ togglz.console.secured=false
5353

5454
#Spring boot actuator properties
5555
management.endpoints.web.exposure.include=health
56-
management.endpoint.health.show-details=never
56+
management.endpoint.health.show-details=never
57+
58+
broken-connection.maximum-email-notification-count=${MAXIMUMEMAILNOTIFICATIONCOUNT:3}
59+
broken-connection.email-notification-frequency=${EMAILNOTIFICATIONFREQUENCY:5}
60+
broken-connection.email-notification-subject=Action Required: Restore Your {{Tool_Name}} Connection
61+
broken-connection.fix-url=/#/dashboard/Config/ConfigSettings?tab=1
62+
broken-connection.help-url=https://publicissapient.atlassian.net/servicedesk/customer/portal/7/group/38/create/101
63+
broken-connection.kafka-mail-topic=mail-topic
64+
broken-connection.ui-host=localhost,127.0.0.1,ui,customapi
65+
broken-connection.notification-switch=true
66+
broken-connection.mail-without-kafka=true
67+
broken-connection.mail-template.Broken_Connection=Broken_Connection_Notification_Template
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!doctype html>
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Broken Connection Alert</title>
9+
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
10+
</head>
11+
12+
<body style="font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; background-color: #f0f0f0; margin: 0;">
13+
<table cellpadding="0" cellspacing="0" style="width: 800px; margin: 20px auto; background-color: #ffffff;">
14+
<tbody>
15+
<tr>
16+
<td style="padding: 30px; text-align: center;">
17+
<div style="font-size: 42px;">
18+
kn<span style="color: #FE414D;">o</span>w<span style="font-weight: 900;">HOW</span>
19+
</div>
20+
<hr style="border-top: 1px solid #0099ff;" />
21+
</td>
22+
</tr>
23+
<tr>
24+
<td style="padding: 25px;">
25+
<p>Hi <strong th:text="${User_Name}"></strong>,</p>
26+
27+
<p>
28+
We’ve detected that your <strong th:text="${Tool_Name}"></strong> connection is currently
29+
<span style="color: #FE414D;">broken</span> — this is usually due to an expired token or authentication issue.
30+
As a result, data fetching and syncing might be disrupted, and in some cases, historical data could be lost.
31+
</p>
32+
33+
<p>
34+
Please update your credentials promptly to ensure smooth data flow and avoid any potential data loss.
35+
</p>
36+
37+
<div style="margin: 20px 0;">
38+
<a th:href="${Fix_Url}" style="background-color: #0099ff; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;">
39+
Fix your connection now
40+
</a>
41+
</div>
42+
43+
<p>
44+
Need help? Reach out to us anytime at
45+
<a th:href="${Help_Url}">knowHOW Request</a>.
46+
</p>
47+
48+
<p style="margin-top: 40px;">Thanks,<br/>The KnowHow Team</p>
49+
</td>
50+
</tr>
51+
</tbody>
52+
</table>
53+
</body>
54+
</html>

azure-repo/src/main/resources/application.properties

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,16 @@ togglz.console.secured=false
5757

5858
#Spring boot actuator properties
5959
management.endpoints.web.exposure.include=health
60-
management.endpoint.health.show-details=never
60+
management.endpoint.health.show-details=never
61+
62+
63+
broken-connection.maximum-email-notification-count=${MAXIMUMEMAILNOTIFICATIONCOUNT:3}
64+
broken-connection.email-notification-frequency=${EMAILNOTIFICATIONFREQUENCY:5}
65+
broken-connection.email-notification-subject=Action Required: Restore Your {{Tool_Name}} Connection
66+
broken-connection.fix-url=/#/dashboard/Config/ConfigSettings?tab=1
67+
broken-connection.help-url=https://publicissapient.atlassian.net/servicedesk/customer/portal/7/group/38/create/101
68+
broken-connection.kafka-mail-topic=mail-topic
69+
broken-connection.ui-host=localhost,127.0.0.1,ui,customapi
70+
broken-connection.notification-switch=true
71+
broken-connection.mail-without-kafka=true
72+
broken-connection.mail-template.Broken_Connection=Broken_Connection_Notification_Template
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!doctype html>
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Broken Connection Alert</title>
9+
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
10+
</head>
11+
12+
<body style="font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; background-color: #f0f0f0; margin: 0;">
13+
<table cellpadding="0" cellspacing="0" style="width: 800px; margin: 20px auto; background-color: #ffffff;">
14+
<tbody>
15+
<tr>
16+
<td style="padding: 30px; text-align: center;">
17+
<div style="font-size: 42px;">
18+
kn<span style="color: #FE414D;">o</span>w<span style="font-weight: 900;">HOW</span>
19+
</div>
20+
<hr style="border-top: 1px solid #0099ff;" />
21+
</td>
22+
</tr>
23+
<tr>
24+
<td style="padding: 25px;">
25+
<p>Hi <strong th:text="${User_Name}"></strong>,</p>
26+
27+
<p>
28+
We’ve detected that your <strong th:text="${Tool_Name}"></strong> connection is currently
29+
<span style="color: #FE414D;">broken</span> — this is usually due to an expired token or authentication issue.
30+
As a result, data fetching and syncing might be disrupted, and in some cases, historical data could be lost.
31+
</p>
32+
33+
<p>
34+
Please update your credentials promptly to ensure smooth data flow and avoid any potential data loss.
35+
</p>
36+
37+
<div style="margin: 20px 0;">
38+
<a th:href="${Fix_Url}" style="background-color: #0099ff; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;">
39+
Fix your connection now
40+
</a>
41+
</div>
42+
43+
<p>
44+
Need help? Reach out to us anytime at
45+
<a th:href="${Help_Url}">knowHOW Request</a>.
46+
</p>
47+
48+
<p style="margin-top: 40px;">Thanks,<br/>The KnowHow Team</p>
49+
</td>
50+
</tr>
51+
</tbody>
52+
</table>
53+
</body>
54+
</html>

bamboo/src/main/resources/application.properties

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,15 @@ togglz.console.secured=false
5252

5353
#Spring boot actuator properties
5454
management.endpoints.web.exposure.include=health
55-
management.endpoint.health.show-details=never
55+
management.endpoint.health.show-details=never
56+
57+
broken-connection.maximum-email-notification-count=${MAXIMUMEMAILNOTIFICATIONCOUNT:3}
58+
broken-connection.email-notification-frequency=${EMAILNOTIFICATIONFREQUENCY:5}
59+
broken-connection.email-notification-subject=Action Required: Restore Your {{Tool_Name}} Connection
60+
broken-connection.fix-url=/#/dashboard/Config/ConfigSettings?tab=1
61+
broken-connection.help-url=https://publicissapient.atlassian.net/servicedesk/customer/portal/7/group/38/create/101
62+
broken-connection.kafka-mail-topic=mail-topic
63+
broken-connection.ui-host=localhost,127.0.0.1,ui,customapi
64+
broken-connection.notification-switch=true
65+
broken-connection.mail-without-kafka=true
66+
broken-connection.mail-template.Broken_Connection=Broken_Connection_Notification_Template
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!doctype html>
2+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Broken Connection Alert</title>
9+
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
10+
</head>
11+
12+
<body style="font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; background-color: #f0f0f0; margin: 0;">
13+
<table cellpadding="0" cellspacing="0" style="width: 800px; margin: 20px auto; background-color: #ffffff;">
14+
<tbody>
15+
<tr>
16+
<td style="padding: 30px; text-align: center;">
17+
<div style="font-size: 42px;">
18+
kn<span style="color: #FE414D;">o</span>w<span style="font-weight: 900;">HOW</span>
19+
</div>
20+
<hr style="border-top: 1px solid #0099ff;" />
21+
</td>
22+
</tr>
23+
<tr>
24+
<td style="padding: 25px;">
25+
<p>Hi <strong th:text="${User_Name}"></strong>,</p>
26+
27+
<p>
28+
We’ve detected that your <strong th:text="${Tool_Name}"></strong> connection is currently
29+
<span style="color: #FE414D;">broken</span> — this is usually due to an expired token or authentication issue.
30+
As a result, data fetching and syncing might be disrupted, and in some cases, historical data could be lost.
31+
</p>
32+
33+
<p>
34+
Please update your credentials promptly to ensure smooth data flow and avoid any potential data loss.
35+
</p>
36+
37+
<div style="margin: 20px 0;">
38+
<a th:href="${Fix_Url}" style="background-color: #0099ff; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;">
39+
Fix your connection now
40+
</a>
41+
</div>
42+
43+
<p>
44+
Need help? Reach out to us anytime at
45+
<a th:href="${Help_Url}">knowHOW Request</a>.
46+
</p>
47+
48+
<p style="margin-top: 40px;">Thanks,<br/>The KnowHow Team</p>
49+
</td>
50+
</tr>
51+
</tbody>
52+
</table>
53+
</body>
54+
</html>

0 commit comments

Comments
 (0)