Skip to content

Commit 6365538

Browse files
authored
Merge pull request mendix#5782 from mendix/MvM-RenameWebhooks
Rename Webhooks and Deployment Webhooks
2 parents 7d7a1dd + 52a52bd commit 6365538

7 files changed

Lines changed: 31 additions & 28 deletions

File tree

content/en/docs/apidocs-mxsdk/apidocs/build-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The Build API only works for apps which are deployed to the Mendix Cloud.
1515

1616
The Build API allows you to manage deployment packages and create new deployment packages using our build server. You will need the information from the [Teamserver API](/apidocs-mxsdk/apidocs/team-server-api/) as input for these API calls. You will also need to provide authentication for each call; this is described in [Authentication](/apidocs-mxsdk/apidocs/authentication/).
1717

18-
You can use deployment webhooks to trigger CI/CD pipelines which use this API. These are described in [Mendix Deployment Webhooks](/developerportal/deploy/webhooks/).
18+
You can use webhooks to trigger CI/CD pipelines which use this API. These are described in [Webhooks](/developerportal/deploy/webhooks/).
1919

2020
The image below provides a domain model representation of the concepts discussed below and how these are related:
2121

content/en/docs/apidocs-mxsdk/apidocs/deploy-api/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The Deploy API only works for apps which are deployed to the Mendix Cloud.
1616

1717
The Deploy API allows you to manage application environments in the Mendix Cloud. You can retrieve the status of, and start and stop, applications. You can also configure new model versions and deploy them to application environments. To create and manage deployment packages you also need the [Build API](/apidocs-mxsdk/apidocs/build-api/). For backup-related actions refer to [Backups API](/apidocs-mxsdk/apidocs/backups-api/).
1818

19-
You can use deployment webhooks to trigger CI/CD pipelines which use this API. These are described in [Mendix Deployment Webhooks](/developerportal/deploy/webhooks/).
19+
You can use webhooks to trigger CI/CD pipelines which use this API. These are described in [Webhooks](/developerportal/deploy/webhooks/).
2020

2121
This image provides a domain model representation of the concepts discussed below and how these are related:
2222

content/en/docs/apidocs-mxsdk/apidocs/webhooks-sprints.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: "Webhooks"
2+
title: "Webhooks for Stories and Sprints"
3+
linktitle: "Webhooks for Stories/Sprints"
34
url: /apidocs-mxsdk/apidocs/webhooks-sprints/
45
category: "API Documentation"
56
weight: 75
@@ -8,22 +9,24 @@ weight: 75
89
## 1 Introduction
910

1011
{{% alert color="warning" %}}
11-
The webhook payloads described in this document are for app Sprints and stories. These webhooks were enabled via **General Settings** > **Webhooks** or via your app. These webhooks have been deprecated. For more information, see the deprecation note in [Webhooks](/developerportal/collaborate/general-settings/#webhooks).
12+
The webhook payloads described in this document are for app stories and Sprints. These webhooks were enabled via **General Settings** > **Webhooks** or via your app.
13+
14+
The webhooks for stories and Sprints have been deprecated. For more information, see the deprecation note in the [Webhooks](/developerportal/collaborate/general-settings/#webhooks) section of *General Settings*.
1215
{{% /alert %}}
1316

1417
{{% alert color="info" %}}
15-
You can now set deployment webhooks for your app. These are described in [Mendix Deployment Webhooks](/developerportal/deploy/webhooks/).
18+
You can also set deployment webhooks for your app. These are described in [Webhooks](/developerportal/deploy/webhooks/).
1619
{{% /alert %}}
1720

18-
Webhooks allow you to build or set up Mendix Platform connectors that subscribe to certain events on the Developer Portal. When one of those events is triggered, Mendix sends an HTTP POST payload to the webhook's configured URL. Webhooks can be used to update an external application to keep it up-to-date with the changes happening in the Developer Portal.
21+
Webhooks for stories and Sprints allow you to build or set up Mendix Platform connectors that subscribe to certain events on the Developer Portal. When one of those events is triggered, Mendix sends an HTTP POST payload to the webhook's configured URL. Webhooks for stories and Sprints can be used to update an external application to keep it up-to-date with the changes happening in the Developer Portal.
1922

2023
Every POST payload contains the following delivery information as part of the header:
2124

2225
* `MxAPI-Projects-EventCategory` – the types of event subscribed to (for example, Sprints)
2326
* `MxAPI-Projects-Delivery` – a random UUID
2427
* `MxAPI-Signature` – the HMAC hex digest (asymmetric hash using the *HMAC_SHA256* hash algorithm) of the response body, which is calculated using the hash (the hashes secret provided in the webhooks setting using the *SHA-256* hash algorithm with the length as 50)
2528
* For example, `(gNh407kBD1wkpHfwIrjWcTMjw4rKxIKX0s5b48FYOys=)`
26-
* `MxAPI-Webhooks-Version` – the version of the webhooks payload (for example, 1)
29+
* `MxAPI-Webhooks-Version` – the version of the webhooks for stories and Sprints payload (for example, 1)
2730
* `MxAPI-Webhooks-Version-Expiry` – the expiry date for this version (empty if it is the latest version)
2831
* `User-Agent``Mx-Platform`
2932

@@ -35,7 +38,7 @@ The required event category subscription is **Sprints**.
3538

3639
## 3 Stories
3740

38-
Webhooks event are generated when a [story](/developerportal/collaborate/stories/) is created or updated.
41+
Webhooks for stories and Sprints event are generated when a [story](/developerportal/collaborate/stories/) is created or updated.
3942

4043
The required event category subscription is **Stories**.
4144

content/en/docs/developerportal/collaborate/general-settings/_index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,37 +153,37 @@ It is possible to migrate all or part of your content from [Stories](/developerp
153153
## 7 Webhooks {#webhooks}
154154

155155
{{% alert color="warning" %}}
156-
This tab is for webhooks for app Sprints and stories, and it is deprecated. This tab will be removed and these webhooks will be discontinued later in 2023. It is no longer possible to add new webhook configurations for app Sprints and stories to your apps, but existing configurations will remain active and can still be edited.
156+
This tab is for webhooks for stories and Sprints, and it is deprecated. This tab will be removed and these webhooks will be discontinued later in 2023. It is no longer possible to add new webhook configurations for stories and Sprints to your apps, but existing configurations will remain active and can still be edited.
157157
{{% /alert %}}
158158

159159
{{% alert color="info" %}}
160-
You can now set deployment webhooks for your app. For details, see [Mendix Deployment Webhooks](/developerportal/deploy/webhooks/).
160+
You can also set webhooks for your app to trigger endpoints when changes are made to deployment packages or models held in the git Team Server. For details, see [Webhooks](/developerportal/deploy/webhooks/).
161161
{{% /alert %}}
162162

163163
{{% alert color="info" %}}
164-
This tab is only visible if you already have webhooks created, you are a **Scrum Master**, and you have **Mendix Stories** turned on in the [Project Management](#project-management) tab.
164+
This tab is only visible if you already have webhooks for stories and Sprints created, you are a **Scrum Master**, and you have **Mendix Stories** turned on in the [Project Management](#project-management) tab.
165165
{{% /alert %}}
166166

167-
Open the **Webhooks** tab to manage your app's webhooks. A webhook enables the Developer Portal to talk to another website and post updated Developer Portal content (for example, Sprint updates and new stories) to that website. For example, if you want to follow the changes in your app, you can create a service with a certain [URL](#url) that keeps track of the data, and then changes in the app in the Developer Portal are sent to that URL.
167+
Open the **Webhooks** tab to manage your app's webhooks for stories and Sprints. A webhook enables the Developer Portal to talk to another website and post updated Developer Portal content (for example, Sprint updates and new stories) to that website. For example, if you want to follow the changes in your app, you can create a service with a certain [URL](#url) that keeps track of the data, and then changes in the app in the Developer Portal are sent to that URL.
168168

169169
{{< figure src="/attachments/developerportal/collaborate/general-settings/webhooks-list.png" width="800" >}}
170170

171-
After clicking **New Webhook** to create a new webhook, fill in the following details:
171+
After clicking **New Webhook** to create a new webhook for stories and sprints, fill in the following details:
172172

173-
* **Name** – the name of the webhook
174-
* <a id="url"></a>**URL** – the URL to which the webhook will connect
175-
* **Secret** – the secret used by the Developer Portal to sign the data payload in order to identify the source of the data to the receiving URL (this appears when creating and editing a webhook, but it will not be displayed on the **Webhooks settings** page)
173+
* **Name** – the name of the webhook for stories and Sprints
174+
* <a id="url"></a>**URL** – the URL to which the webhook for stories and Sprints will connect
175+
* **Secret** – the secret used by the Developer Portal to sign the data payload in order to identify the source of the data to the receiving URL (this appears when creating and editing a webhook for stories and Sprints, but it will not be displayed on the **Webhooks settings** page)
176176
* **Version** – the version of the webhooks feature to be used
177-
* **Events** – what types of data will be sent via the webhook (you must select at least one; this appears when creating and editing a webhook, but it will not be displayed on the **Webhooks settings** page)
177+
* **Events** – what types of data will be sent via the webhook for stories and Sprints (you must select at least one; this appears when creating and editing a webhook for stories and Sprints, but it will not be displayed on the **Webhooks settings** page)
178178
* [Sprints](/developerportal/collaborate/stories/#story-actions)
179179
* [Stories](/developerportal/collaborate/stories/)
180180

181-
To edit the above details for an existing webhook, click **Edit**.
181+
To edit the above details for an existing webhook for stories and Sprints, click **Edit**.
182182

183-
To delete an existing webhook, click **Delete**.
183+
To delete an existing webhook for stories and Sprints, click **Delete**.
184184

185185
{{% alert color="info" %}}
186-
For details on the technical configuration of webhooks, see [Webhooks](/apidocs-mxsdk/apidocs/webhooks-sprints/) in the *API Documentation*.
186+
For details on the technical configuration of webhooks for stories and sprints, see [Webhooks for Stories and Sprints](/apidocs-mxsdk/apidocs/webhooks-sprints/) in the *API Documentation*.
187187
{{% /alert %}}
188188

189189
## 8 History {#history}

content/en/docs/developerportal/deploy/mendix-cloud-deploy/webhooks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Mendix Deployment Webhooks"
3-
linktitle: "Deployment Webhooks"
2+
title: "Webhooks"
3+
linktitle: "Webhooks"
44
url: /developerportal/deploy/webhooks/
55
weight: 75
66
description: "Creating a Webhook to trigger actions from the Mendix cloud"
@@ -13,7 +13,7 @@ This feature is in Beta. For more information on Beta products, see [Beta Releas
1313

1414
## 1 Introduction
1515

16-
Mendix deployment webhooks allow you to send information about your licensed Mendix app deployed to the Mendix Cloud to an external app or workflow. This can be used, for example, to trigger an automated CI/CD workflow when a new change is committed to the Team Server.
16+
Webhooks allow you to send information about your licensed Mendix app deployed to the Mendix Cloud to an external app or workflow. This can be used, for example, to trigger an automated CI/CD workflow when a new change is committed to the Team Server.
1717

1818
Mendix provides webhooks to send project information when the following events happen to your app:
1919

@@ -23,9 +23,9 @@ Mendix provides webhooks to send project information when the following events h
2323
The webhooks contain a retry mechanism if an error response is received from the endpoint to ensure that the trigger reaches the endpoint.
2424

2525
{{% alert color="info" %}}
26-
Mendix deployment webhooks are only available for licensed Mendix apps which are deployed to the Mendix Cloud.
26+
Webhooks are only available for licensed Mendix apps which are deployed to the Mendix Cloud.
2727

28-
They are set up and work independently of the [webhooks used for Sprints and stories](/developerportal/collaborate/general-settings/#webhooks), which are deprecated.
28+
They are set up and work independently of the deprecated [webhooks for Sprints and Stories](/developerportal/collaborate/general-settings/#webhooks).
2929
{{% /alert %}}
3030

3131
## 2 Configuring a Webhook{#setting-up}

content/en/docs/releasenotes/deployment/mendix-cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For information on the current status of deployment to Mendix Cloud and any plan
2121

2222
#### Improvements
2323

24-
* We have added webhooks which can trigger endpoints when changes are committed to a Team Server Git repository, or a new deployment package is available for deployment to the Mendix Cloud. See [Mendix Deployment Webhooks](/developerportal/deploy/webhooks/) for more information.
24+
* We have added webhooks which can trigger endpoints when changes are committed to a Team Server Git repository, or a new deployment package is available for deployment to the Mendix Cloud. See [Webhooks](/developerportal/deploy/webhooks/) for more information.
2525

2626
{{% alert color="info" %}}This feature is currently in a [Beta Release](/releasenotes/beta-features/).{{% /alert %}}
2727

content/en/docs/releasenotes/developer-portal/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To see the current status of the Mendix Developer Portal and Control Center, see
3737

3838
#### Deprecations
3939

40-
* We have deprecated **General Settings** > **Webhooks** for app Sprints and stories. For more information, see the deprecation note in [Webhooks](/developerportal/collaborate/general-settings/#webhooks). You can now set deployment webhooks for your app. These are described in [Mendix Deployment Webhooks](/developerportal/deploy/webhooks/).
40+
* We have deprecated **General Settings** > **Webhooks** for stories and Sprints. For more information, see the deprecation note in the [Webhooks](/developerportal/collaborate/general-settings/#webhooks) section of *General Settings*. You can now set webhooks for building and deploying your app. These are described in [Webhooks](/developerportal/deploy/webhooks/).
4141

4242
### March 9th, 2023
4343

@@ -974,7 +974,7 @@ In Portfolio Management, you can do the following
974974

975975
#### Webhooks Available
976976

977-
* We have added the ability to create webhooks for your apps. These webhooks can be configured to send information when Sprints change and/or stories change.
977+
* We have added the ability to create webhooks for stories and Sprints for your apps. These webhooks can be configured to send information when Sprints change and/or stories change.
978978

979979
### April 5th, 2019
980980

0 commit comments

Comments
 (0)