1
1
[{
2
2
"subscriptionName" : " Subscription1" ,
3
- "userName" : " ABC" ,
3
+ "userName" : " functionalUser" ,
4
+ "password" : " functionalUserPassword" ,
5
+ "ldapUserName" : " ABC" ,
4
6
"repeat" : false ,
5
- "created" : 1523473956269 ,
7
+ "notificationMessageKeyValuesAuth" : [],
8
+ "authenticationType" : " BASIC_AUTH" ,
9
+ "created" : 1542117412833 ,
6
10
"notificationType" : " REST_POST" ,
7
11
"notificationMeta" : " http://eiffel-jenkins1:8080/job/ei-artifact-triggered-job/build" ,
8
12
"restPostBodyMediaType" : " application/x-www-form-urlencoded" ,
9
- "notificationMessageKeyValues" : [
13
+ "notificationMessageKeyValues" : [
10
14
11
15
{
12
16
"formkey" : " json" ,
13
17
"formvalue" : " {parameter: [{ name: 'jsonparams', value : to_string(@) }]}"
14
18
}
15
19
],
16
- "requirements" : [
20
+ "requirements" : [
17
21
{
18
- "conditions" : [
22
+ "conditions" : [
19
23
{
20
24
"jmespath" : " gav.groupId=='com.othercompany.library'"
21
25
}
22
26
]
23
27
}
24
28
25
- ]
29
+ ]
26
30
},
27
31
{
28
32
"subscriptionName" : " Subscription2" ,
29
- "userName " : " ABC" ,
33
+ "ldapUserName " : " ABC" ,
30
34
"repeat" : false ,
31
- "created" : 1523473956269 ,
32
- "notificationType" : " REST_POST" ,
35
+ "notificationMessageKeyValuesAuth" : [],
36
+ "authenticationType" : " NO_AUTH" ,
37
+ "created" : 1542117412834 ,
33
38
"notificationMeta" : " http://eiffel-jenkins2:8080/job/ei-artifact-triggered-job/build" ,
39
+ "notificationType" : " REST_POST" ,
34
40
"restPostBodyMediaType" : " application/x-www-form-urlencoded" ,
35
- "notificationMessageKeyValues" : [
41
+ "notificationMessageKeyValues" : [
36
42
{
37
43
"formkey" : " json" ,
38
44
"formvalue" : " {parameter: [{ name: 'jsonparams', value : to_string(@) }]}"
39
45
}
40
46
],
41
- "requirements" : [
47
+ "requirements" : [
42
48
{
43
- "conditions" : [
49
+ "conditions" : [
44
50
{
45
51
"jmespath" : " gav.groupId=='com.othercompany.library'"
46
52
}
47
53
]
48
54
}
49
55
50
56
]
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
+ ]
52
85
}]
0 commit comments