forked from idugalic/axon-contract-testing-demo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathordering-shipping.json
99 lines (99 loc) · 2.06 KB
/
ordering-shipping.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"consumer": {
"name": "ordering"
},
"provider": {
"name": "shipping"
},
"messages": [
{
"description": "PrepareShipmentCmd",
"metaData": {
"contentType": "application/json; charset\u003dUTF-8"
},
"contents": {
"shipmentId": "shipment_25abf8de-7e11-4e53-9334-376fd418aa1c",
"destination": "destination"
},
"matchingRules": {
"body": {
"$.shipmentId": {
"matchers": [
{
"match": "type"
}
],
"combine": "AND"
},
"$.destination": {
"matchers": [
{
"match": "type"
}
],
"combine": "AND"
}
}
}
},
{
"description": "ShipmentArrivedEvt",
"metaData": {
"contentType": "application/json; charset\u003dUTF-8"
},
"contents": {
"shipmentId": "shipment_76d3e5fb-627f-413d-9492-b8c54d79b48a"
},
"matchingRules": {
"body": {
"$.shipmentId": {
"matchers": [
{
"match": "type"
}
],
"combine": "AND"
}
}
}
},
{
"description": "ShipmentPreparedEvt",
"metaData": {
"contentType": "application/json; charset\u003dUTF-8"
},
"contents": {
"shipmentId": "shipment_0686c9aa-530e-407a-9ef1-70856252fd43",
"destination": "destination"
},
"matchingRules": {
"body": {
"$.shipmentId": {
"matchers": [
{
"match": "type"
}
],
"combine": "AND"
},
"$.destination": {
"matchers": [
{
"match": "type"
}
],
"combine": "AND"
}
}
}
}
],
"metadata": {
"pactSpecification": {
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.14"
}
}
}