Skip to content

Commit 6f590dc

Browse files
author
Anders Breid
authored
Updated subscription templates file (#198)
* Updated subscripotion templates file * Added subject field
1 parent 1422de0 commit 6f590dc

File tree

1 file changed

+46
-13
lines changed

1 file changed

+46
-13
lines changed
Lines changed: 46 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,85 @@
11
[{
22
"subscriptionName" : "Subscription1",
3-
"userName" : "ABC",
3+
"userName" : "functionalUser",
4+
"password" : "functionalUserPassword",
5+
"ldapUserName" : "ABC",
46
"repeat" : false,
5-
"created" : 1523473956269,
7+
"notificationMessageKeyValuesAuth" : [],
8+
"authenticationType" : "BASIC_AUTH",
9+
"created" : 1542117412833,
610
"notificationType" : "REST_POST",
711
"notificationMeta" : "http://eiffel-jenkins1:8080/job/ei-artifact-triggered-job/build",
812
"restPostBodyMediaType" : "application/x-www-form-urlencoded",
9-
"notificationMessageKeyValues" : [
13+
"notificationMessageKeyValues" : [
1014

1115
{
1216
"formkey" : "json",
1317
"formvalue" : "{parameter: [{ name: 'jsonparams', value : to_string(@) }]}"
1418
}
1519
],
16-
"requirements" : [
20+
"requirements" : [
1721
{
18-
"conditions" : [
22+
"conditions" : [
1923
{
2024
"jmespath" : "gav.groupId=='com.othercompany.library'"
2125
}
2226
]
2327
}
2428

25-
]
29+
]
2630
},
2731
{
2832
"subscriptionName" : "Subscription2",
29-
"userName" : "ABC",
33+
"ldapUserName" : "ABC",
3034
"repeat" : false,
31-
"created" : 1523473956269,
32-
"notificationType" : "REST_POST",
35+
"notificationMessageKeyValuesAuth" : [],
36+
"authenticationType" : "NO_AUTH",
37+
"created" : 1542117412834,
3338
"notificationMeta" : "http://eiffel-jenkins2:8080/job/ei-artifact-triggered-job/build",
39+
"notificationType" : "REST_POST",
3440
"restPostBodyMediaType" : "application/x-www-form-urlencoded",
35-
"notificationMessageKeyValues" : [
41+
"notificationMessageKeyValues" : [
3642
{
3743
"formkey" : "json",
3844
"formvalue" : "{parameter: [{ name: 'jsonparams', value : to_string(@) }]}"
3945
}
4046
],
41-
"requirements" : [
47+
"requirements" : [
4248
{
43-
"conditions" : [
49+
"conditions" : [
4450
{
4551
"jmespath" : "gav.groupId=='com.othercompany.library'"
4652
}
4753
]
4854
}
4955

5056
]
51-
57+
58+
},
59+
{
60+
"subscriptionName" : "Subscription3_Mail_Notification",
61+
"ldapUserName" : "ABC",
62+
"repeat" : false,
63+
"notificationMessageKeyValuesAuth" : [],
64+
"authenticationType" : "NO_AUTH",
65+
"created" : 1542802953782,
66+
"notificationMeta" : "mymail@company.com",
67+
"emailSubject" : "My Email Subject",
68+
"notificationType" : "MAIL",
69+
"restPostBodyMediaType" : "",
70+
"notificationMessageKeyValues" : [
71+
{
72+
"formkey" : "",
73+
"formvalue" : "{mydata: [{ fullaggregation : to_string(@) }]}"
74+
}
75+
],
76+
"requirements" : [
77+
{
78+
"conditions" : [
79+
{
80+
"jmespath" : "gav.groupId=='com.othercompany.library'"
81+
}
82+
]
83+
}
84+
]
5285
}]

0 commit comments

Comments
 (0)