Skip to content

Commit a31b4f8

Browse files
committed
changelog
1 parent 8eef8df commit a31b4f8

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Diff for: CHANGELOG.unreleased.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- `/rest/v0/vifs` (PR [#8483](https://github.com/vatesfr/xen-orchestra/pull/8483))
1616
- `/rest/v0/vifs/<vif-id>` (PR [#8483](https://github.com/vatesfr/xen-orchestra/pull/8483))
1717
- [VM/Advanced] Rename `Block migration` to `Disable migration` (PR [#8492](https://github.com/vatesfr/xen-orchestra/pull/8492))
18+
- [Plugin/Web hook] Web hook plugin now support `Office 365 connector` format (PR [#8498](https://github.com/vatesfr/xen-orchestra/pull/8498))
1819

1920
### Bug fixes
2021

@@ -45,6 +46,7 @@
4546
- @xen-orchestra/web minor
4647
- @xen-orchestra/web-core minor
4748
- xo-server patch
49+
- xo-server-web-hooks minor
4850
- xo-web patch
4951

5052
<!--packages-end-->

Diff for: packages/xo-server-web-hooks/src/index.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,6 @@ export const configurationSchema = ({ xo: { apiMethods } }) => ({
153153
type: 'object',
154154
title: 'Hook',
155155
properties: {
156-
isOfficeHook: {
157-
description: 'Enable if your URL require a payload that follow the office 365 connector format',
158-
title: 'Office 365 connector format',
159-
type: 'boolean',
160-
},
161156
method: {
162157
description: 'The method to be bound to',
163158
enum: Object.keys(apiMethods).sort(),
@@ -178,6 +173,11 @@ export const configurationSchema = ({ xo: { apiMethods } }) => ({
178173
title: 'URL',
179174
type: 'string',
180175
},
176+
isOfficeHook: {
177+
description: 'Enable if your URL require a payload that follow the office 365 connector format',
178+
title: 'Office 365 connector format',
179+
type: 'boolean',
180+
},
181181
waitForResponse: {
182182
description: 'Waiting for the server response before executing the call. Only available on "PRE" type',
183183
title: 'Wait for response',
@@ -195,16 +195,16 @@ export const testSchema = {
195195
type: 'object',
196196
description: 'The test will simulate a hook on `vm.start` (both "pre" and "post" hooks)',
197197
properties: {
198-
isOfficeHook: {
199-
description: 'Enable if your URL require a payload that follow the office 365 connector format',
200-
title: 'Office 365 connector format',
201-
type: 'boolean',
202-
},
203198
url: {
204199
title: 'URL',
205200
type: 'string',
206201
description: 'The URL the test request will be sent to',
207202
},
203+
isOfficeHook: {
204+
description: 'Enable if your URL require a payload that follow the office 365 connector format',
205+
title: 'Office 365 connector format',
206+
type: 'boolean',
207+
},
208208
},
209209
}
210210

0 commit comments

Comments
 (0)