1
1
[{
2
- "notificationMessage" : " sample@ericsson.com" ,
3
- "notificationMeta" : " http://127.0.0.1:3000/ei/test_subscription_rest" ,
4
- "notificationType" : " REST_POST" ,
2
+ "subscriptionName" : " Subscription1" ,
5
3
"repeat" : false ,
6
- "requirements" : [
4
+ "created" : 1523473956269 ,
5
+ "notificationType" : " REST_POST" ,
6
+ "notificationMeta" : " http://eiffel-jenkins1:8080/job/ei-artifact-triggered-job/build" ,
7
+ "restPostBodyMediaType" : " application/x-www-form-urlencoded" ,
8
+ "notificationMessageKeyValues" : [
7
9
{
8
- "conditions" : [
9
- {
10
- "jmespath" : " gav.groupId=='com.mycompany.myproduct'"
11
- },
12
- {
13
- "jmespath" : " testCaseExecutions[?testCase.conclusion == 'SUCCESSFUL' && testCase.id=='TC5']"
14
- }
15
- ]
16
- },
10
+ "formkey" : " json" ,
11
+ "formvalue" : " {parameter: [{ name: 'jsonparams', value : to_string(@) }]}"
12
+ }
13
+ ],
14
+ "requirements" : [
17
15
{
18
16
"conditions" : [
19
17
{
20
- "jmespath" : " gav.groupId=='com.mycompany.myproduct'"
21
- },
22
- {
23
- "jmespath" : " testCaseExecutions[?testCaseStartedEventId == '13af4a14-f951-4346-a1ba-624c79f10e98']"
18
+ "jmespath" : " gav.groupId=='com.othercompany.library'"
24
19
}
25
20
]
26
21
}
27
- ],
28
- "subscriptionName" : " Subscription_Test"
22
+ ]
29
23
},
30
24
{
31
- "notificationMessage" : " sample2@ericsson.com" ,
32
- "notificationMeta" : " http://127.0.0.1:3000/ei/test_subscription_rest" ,
33
- "notificationType" : " REST_POST" ,
25
+ "subscriptionName" : " Subscription2" ,
34
26
"repeat" : false ,
35
- "requirements" : [
27
+ "created" : 1523473956269 ,
28
+ "notificationType" : " REST_POST" ,
29
+ "notificationMeta" : " http://eiffel-jenkins2:8080/job/ei-artifact-triggered-job/build" ,
30
+ "restPostBodyMediaType" : " application/x-www-form-urlencoded" ,
31
+ "notificationMessageKeyValues" : [
36
32
{
37
- "conditions" : [
38
- {
39
- "jmespath" : " gav.groupId=='com.mycompany.myproduct'"
40
- },
41
- {
42
- "jmespath" : " testCaseExecutions[?testCase.conclusion == 'SUCCESSFUL' && testCase.id=='TC5']"
43
- }
44
- ]
45
- },
33
+ "formkey" : " json" ,
34
+ "formvalue" : " {parameter: [{ name: 'jsonparams', value : to_string(@) }]}"
35
+ }
36
+ ],
37
+ "requirements" : [
46
38
{
47
39
"conditions" : [
48
40
{
49
- "jmespath" : " gav.groupId=='com.mycompany.myproduct'"
50
- },
51
- {
52
- "jmespath" : " testCaseExecutions[?testCaseStartedEventId == '13af4a14-f951-4346-a1ba-624c79f10e98']"
41
+ "jmespath" : " gav.groupId=='com.othercompany.library'"
53
42
}
54
43
]
55
44
}
56
- ],
57
- "subscriptionName" : " Subscription_Test_Modify"
45
+ ]
58
46
}]
0 commit comments