@hosty-sdk/app 0.55.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "agent-fixtures.1",
2
+ "schemaVersion": "agent-fixtures.2",
3
3
  "provider": {
4
4
  "appId": "org.example.unrelated",
5
5
  "installationId": "installation-1",
@@ -34,8 +34,8 @@
34
34
  }
35
35
  },
36
36
  {
37
- "method": "POST",
38
- "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
37
+ "method": "PUT",
38
+ "path": "/runs/22222222-2222-4222-8222-222222222222/stop",
39
39
  "body": {
40
40
  "requestId": "44444444-4444-4444-8444-444444444444",
41
41
  "expectedGeneration": "33333333-3333-4333-8333-333333333333",
@@ -43,8 +43,8 @@
43
43
  }
44
44
  },
45
45
  {
46
- "method": "POST",
47
- "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
46
+ "method": "PUT",
47
+ "path": "/runs/22222222-2222-4222-8222-222222222222/stop",
48
48
  "body": {
49
49
  "requestId": "44444444-4444-4444-8444-444444444444",
50
50
  "fenceIfNotAdmitted": {
@@ -104,6 +104,20 @@
104
104
  "count": 1,
105
105
  "data": "YQ=="
106
106
  }
107
+ },
108
+ {
109
+ "method": "PUT",
110
+ "path": "/runs/22222222-2222-4222-8222-222222222222/stop",
111
+ "body": {
112
+ "requestId": "44444444-4444-4444-8444-444444444444"
113
+ }
114
+ },
115
+ {
116
+ "method": "PUT",
117
+ "path": "/runs/22222222-2222-4222-8222-222222222222/discard",
118
+ "body": {
119
+ "requestId": "33333333-3333-4333-8333-333333333333"
120
+ }
107
121
  }
108
122
  ],
109
123
  "invalidRequests": [
@@ -145,8 +159,8 @@
145
159
  }
146
160
  },
147
161
  {
148
- "method": "POST",
149
- "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
162
+ "method": "PUT",
163
+ "path": "/runs/22222222-2222-4222-8222-222222222222/stop",
150
164
  "body": {
151
165
  "requestId": "44444444-4444-4444-8444-444444444444",
152
166
  "expectedGeneration": "33333333-3333-4333-8333-333333333333",
@@ -182,6 +196,30 @@
182
196
  "command": "retire",
183
197
  "stopped": true
184
198
  }
199
+ },
200
+ {
201
+ "method": "POST",
202
+ "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
203
+ "body": {
204
+ "requestId": "44444444-4444-4444-8444-444444444444",
205
+ "expectedGeneration": "33333333-3333-4333-8333-333333333333",
206
+ "expectedRevision": "1"
207
+ }
208
+ },
209
+ {
210
+ "method": "POST",
211
+ "path": "/runs/22222222-2222-4222-8222-222222222222/discard",
212
+ "body": {
213
+ "requestId": "33333333-3333-4333-8333-333333333333"
214
+ }
215
+ },
216
+ {
217
+ "method": "PUT",
218
+ "path": "/runs/22222222-2222-4222-8222-222222222222/discard",
219
+ "body": {
220
+ "requestId": "33333333-3333-4333-8333-333333333333",
221
+ "force": true
222
+ }
185
223
  }
186
224
  ]
187
225
  }