Skip to content

Commit 0aa9cc2

Browse files
PMP version control updates
1 parent ffd52ac commit 0aa9cc2

6 files changed

Lines changed: 93 additions & 40 deletions

File tree

content/en/docs/private-platform/configuration/pmp-version-control.md

Lines changed: 93 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Before configuring GitLab for Private Mendix Platform, ensure that you fulfill t
3838

3939
### Configuration
4040

41-
* **Host URL** - This is the host URL of your GitLab server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your GitLab server host name is mygitlab.example.com, you should input `https://mygitlab.example.com` here.
41+
* **Host URL** - This is the host URL of your GitLab server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your GitLab server host name is `mygitlab.example.com`, you should input `https://mygitlab.example.com` here.
4242
* **Group ID** - All the apps on Private Mendix Platform are created under a GitLab group. You need to create a group in GitLab and then input the *Group ID* in this field.
43-
* **Group owner PAT** - This is the PAT from the above group owner. When generating the access token for group owner, select all scopes and set expiration date to never.
43+
* **Group owner PAT** - This is the PAT from the above group owner. When generating the access token for group owner, select all scopes and set expiration date to **never**.
4444
* **Automatic Access Provisioning** - If you use a self-managed GitLab server, you can enable this feature to automatically create GitLab user and PAT for private platform users. During logging in the platform, user email is used as unique key to search in GitLab server. If this email name is not registered in GitLab, Private Mendix Platform creates a GitLab user with this email. A PAT is then generated for this user.
4545
* **Admin PAT** - This is the PAT of the GitLab administrator, which is the root user access token with all scopes selected.
4646

@@ -63,10 +63,12 @@ Private Mendix Platform supports only the following predefined GitLab push rules
6363

6464
Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
6565

66-
* Check whether the commit author is a GitLab user.
66+
* Check whether the commit author is a GitLab user
6767

6868
Commits are restricted to existing GitLab users.
6969

70+
{{< figure src="/attachments/private-platform/pmp-vc1.png" alt="Version Control Settings for Gitlab" class="no-border" >}}
71+
7072
## GitHub
7173

7274
This section describes the configuration of a GitHub repository. Private Mendix Platform supports GitHub Enterprise Server and GitHub Enterprise Cloud.
@@ -81,60 +83,100 @@ Before configuring GitHub for Private Mendix Platform, ensure that you fulfill t
8183
* For GitHub Enterprise Server with Automatic Access Provisioning enabled, a GitHub administrator‑level PAT is available.
8284
* For GitHub Enterprise Cloud with Data Residency enabled, an OAuth App can be created in the GitHub organisation.
8385

84-
### Common Configuration
86+
### Common Configuration {#common-config}
8587

8688
The following configuration applies to all GitHub server types, unless stated otherwise.
8789

8890
* **Organization Name** - All the apps on Private Mendix Platform are created under an organization. You need to create an organization to host all the Mendix apps. Type the organization name into this field.
89-
* **Organization Owner PAT** - Input the classic PAT of this organization owner into this field. You need select at least these scopes: `repo admin:org user delete_repo`. The expiration date is set to **No Expiration**.
91+
* **Organization Owner PAT** - This is the Personal Access Token (PAT) of the organization owner. The PAT must have sufficient permissions to manage repositories and organization access. It is recommended to use a classic PAT with the required scopes selected and the expiration date set to **No Expiration**.
9092

9193
### GitHub Enterprise Server
9294

93-
* **Host URL** - This is the host URL of your GitHub server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your GitHub server host name is mygithub.example.com, you should input `https://mygithub.example.com` here.
94-
* **Automatic Access Provisioning** - If you are running a self-managed GitHub enterprise server, you can enable this feature to automatically create GitHub user and PAT for private platform users. During logging in to the platform, the user email is used as unique key to search in GitHub server. If this email name is not registered in GitHub, Private Mendix Platform creates a GitHub user with this email. A PAT is then generated for this user.
95-
* **AdminPAT** - This is the PAT of the GitHub enterprise instance administrator. When generating this PAT, all scopes should be selected.
95+
* **Host URL** - This is the host URL of your GitHub server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your GitHub server host name is `mygithub.example.com`, you should input `https://mygithub.example.com` here.
96+
* **Automatic Access Provisioning** - If you are running a self-managed GitHub enterprise server, you can enable this feature to automatically create GitHub users and Personal Access Tokens for Private Mendix Platform users. When logging in to the platform, the user email is used as unique key to search in GitHub server. If this email name is not registered in GitHub, Private Mendix Platform creates a GitHub user with this email. A PAT is then generated for this user.
97+
* **AdminPAT** - This is the PAT of the GitHub Enterprise Server administrator. The token must be generated with sufficient privileges to manage users and access permissions.
9698

97-
### Normal User Credentials
99+
{{< figure src="/attachments/private-platform/pmp-vc2.png" alt="Version Control Settings for GitHub Enterprise Server" class="no-border" >}}
98100

99-
When the **Automatic Access Provisioning** is disabled, Private Mendix Platform users need to manually input the GitHub user name and PAT at first login.
101+
### GitHub Enterprise Cloud
100102

101103
{{% alert color="info" %}}
102-
This user needs to be invited into this organization as a organization member.
104+
Automatic access provisioning is not supported for GitHub Enterprise Cloud.
103105
{{% /alert %}}
104106

105-
* **User Name** - The user name (login name) of this GitHub user.
106-
* **Personal Access Token** - The access token of this GitHub user. To make it easier, you can also select all the scopes. The expiration date is set to No Expiration.
107+
* **Data Residency** - When toggled **off**, you only need to configure the [common settings](#common-config). When toggled **on**, OAuth‑based authentication is required.
108+
* **Dedicated Host URL** – This is the dedicated GitHub Enterprise Cloud host URL associated with the data residency configuration for your organization.
109+
* **OAuth App Configuration** – You must create an OAuth App in GitHub with the **Authorization Callback URL** set to the callback URL provided by the Private Mendix Platform.
110+
111+
* **Client ID** – The Client ID generated by the GitHub OAuth App.
112+
* **Client Secret** – The Client Secret generated by the GitHub OAuth App.
113+
114+
{{< figure src="/attachments/private-platform/pmp-vc3.png" alt="Version Control Settings for GitHub Enterprise Cloud" class="no-border" >}}
115+
116+
### Normal User Credentials
117+
118+
When Automatic Access Provisioning is disabled or not available, Private Mendix Platform users must manually enter their GitHub credentials at first login. The user must be invited to the organization as an organization member.
119+
120+
* **User Name** – The GitHub login name of this user.
121+
* **Personal Access Token** – The Personal Access Token of this GitHub user. The token must have sufficient permissions to access and push to the assigned repositories.
107122

108123
## Bitbucket
109124

110-
This section describes the configuration of a Bitbucket repository.
125+
This section describes the configuration of a Bitbucket repository. Private Mendix Platform supports self‑managed Bitbucket Enterprise Servers.
126+
127+
## Prerequisites
128+
129+
Before configuring Bitbucket for Private Mendix Platform, ensure that you fulfill the following prerequisites:
130+
131+
* You have access to a self‑managed Bitbucket Enterprise Server.
132+
* A Bitbucket project exists to host applications created by the Private Mendix Platform.
133+
* You can generate Personal Access Tokens (PATs) for Bitbucket users.
134+
* For Automatic Access Provisioning, Bitbucket system administrator credentials are available.
135+
136+
## Configuration
111137

112-
* **Host URL** - This is the host URL of your Bitbucket enterprise server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your Bitbucket enterprise server host name is mybitbucket.example.com, you should input `https://mybitbucket.example.com` here.
113-
* **Project key** - All the Mendix apps on private platform are created under a project. You need to create an project to host all the Mendix apps. Input the project key in this field. You can go to `https://mybitbucket.example.com/projects` to view the project key.
114-
* **Project Admin PAT** - Input the access token of a project admin user.
115-
* **Automatic Access Provisioning** - If you are running a self managed Bitbucket enterprise server, you can enable this feature to automatically create Bitbucket user and PAT for private platform users. During logging in to the platform, the user email is used as unique key to search in Bitbucket server. If this email name is not registered in Bitbucket, Private Mendix Platform creates a Bitbucket user with this email as the user name. A PAT is then generated for this user.
138+
* **Host URL** - This is the host URL of your Bitbucket enterprise server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your Bitbucket enterprise server host name is `mybitbucket.example.com`, you should input `https://mybitbucket.example.com` here.
139+
* **Project Key** - All the Mendix apps on the Private Mendix Platform are created under a Bitbucket project. You must create an project to host all the Mendix apps and input the project key in this field. You can view the project key at `https://mybitbucket.example.com/projects`.
140+
* **Project Admin PAT** - This is the Personal Access Token of a Bitbucket project administrator user.
116141

117-
Bitbucket enterprise server allows to use same email for multiple users. To make the Bitbucket user unique by email, the email name is used to be the Bitbucket user name when doing the automatic provisioning.
142+
### Automatic Access Provisioning
118143

119-
* **Admin Username** - Bitbucket system admin user name.
120-
* **Admin Password** - Bitbucket system admin user password.
144+
If you are running a self‑managed Bitbucket Enterprise Server, you can enable this feature to automatically create Bitbucket users and Personal Access Tokens for Private Mendix Platform users.
145+
146+
During login to the platform, the user email address is used as a unique key to search in the Bitbucket server. If the email address is not registered in Bitbucket, Private Mendix Platform creates a Bitbucket user using the email address as the username. A Personal Access Token is then generated for this user.
147+
148+
Bitbucket Enterprise Server allows the same email address to be associated with multiple users. To ensure uniqueness during automatic provisioning, the user email address is used as the Bitbucket username.
149+
150+
* **Admin Username** – The username of the Bitbucket system administrator.
151+
* **Admin Password** – The password of the Bitbucket system administrator.
121152

122153
### Normal User Credentials
123154

124-
When the Automatic Access Provisioning is disabled, Private Mendix Platform users need to manually input the Bitbucket user name and PAT at first login.
155+
When the Automatic Access Provisioning is disabled, Private Mendix Platform users must manually input the Bitbucket credentials at first login.
125156

126-
This user needs to be invited into the project with the **Create repository** permission. You can go to `https://mybitbucket.example.com/projects/<PROJECT KEY>/permissions` to add a user and grant permission.
157+
This user needs to be invited into the project with the **Create repository** permission. You can add users and grant permissions at `https://mybitbucket.example.com/projects/<PROJECT KEY>/permissions`.
127158

128-
* **User Name** - The user name (login name) of this Bitbucket user.
129-
* **Personal Access Token** - The Access token of this Bitbucket user. The permission should be at least `Project Admin`. The expiration date is set to **No Expiration**.
159+
* **User Name** - The Bitbucket login name of this user.
160+
* **Personal Access Token** - The Personal Access Token of this Bitbucket user. The permission level must be at least **Project Admin**, and the expiration date should be set to **No Expiration**.
161+
162+
{{< figure src="/attachments/private-platform/pmp-vc4.png" alt="Version Control Settings for Bitbucket" class="no-border" >}}
130163

131164
## AzureDevOps
132165

133-
This section describes the configuration of an AzureDevOps repository.
166+
This section describes the configuration of an Azure DevOps repository for use with the Private Mendix Platform.
167+
168+
### Prerequisites
169+
170+
Before configuring Azure DevOps for Private Mendix Platform, ensure that you fulfill the following prerequisites:
171+
172+
* You have access to an Azure DevOps organization.
173+
* An Azure DevOps project exists to host applications created by the Private Mendix Platform.
174+
* You can generate Personal Access Tokens (PATs) in Azure DevOps.
175+
* A Microsoft Entra ID (Azure AD) application can be registered.
134176

135177
### Microsoft Entra ID Configuration
136178

137-
To use AzureDevOps as the repository, first make sure to register an app in [Microsoft Entra ID](https://learn.microsoft.com/en-us/azure/healthcare-apis/register-application), and take note of the following information:
179+
To use AzureDevOps as the repository, you must first register an application in [Microsoft Entra ID](https://learn.microsoft.com/en-us/azure/healthcare-apis/register-application), and take note of the following information:
138180

139181
* Application ID (client ID)
140182
* Directory ID (tenant ID)
@@ -146,23 +188,32 @@ For the web callback URL, enter a URL in the following format: `YOUR_APP_ROOT/oa
146188

147189
### Azure DevOps Configuration
148190

149-
In Azure DevOps, you must create an organization and a PAT for the admin user. You must also create the users that will use the Azure DevOps with Private Mendix Platform, and assign them Basic access level.
191+
In Azure DevOps, perform the following tasks:
192+
193+
1. Create an organization.
194+
2. Generate a Personal Access Token (PAT) for the admin user.
195+
3. Create users who will work with Private Mendix Platform.
196+
4. Assign those users the Basic access level.
150197

151198
### Private Mendix Platform Configuration
152199

153-
* **Host URL** - This is the host URL of your Azure DevOps enterprise server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your Azure DevOps enterprise server host name is myazure.example.com, you should input `https://myazure.example.com` here.
154-
* **Org** - Input the name of the organization that you created in Azure DevOps.
155-
* **Project Admin PAT** - Input the admin user PAT that you created in Azure DevOps.
156-
* **Azure OAuth Config** - Click **New**, and then fill out the following information:
200+
* **Host URL** - This is the host URL of your Azure DevOps enterprise server. The format should be `https://<HOST>`. There is no slash in the end. For example, if your Azure DevOps enterprise server host name is `myazure.example.com`, you should input `https://myazure.example.com` here.
201+
* **Organization** – Enter the name of the Azure DevOps organization that you created.
202+
* **Organization Admin PAT** – Enter the Personal Access Token of the Azure DevOps organization admin user.
157203

158-
* **Name** - Enter a meaningful name
159-
* **Client ID** - Enter the Application ID that you obtained from Microsoft Entra ID
160-
* **Tenant ID** - Enter the Directory ID that you obtained from Microsoft Entra ID
161-
* **Client Secret** - Enter the Client Secret that you obtained from Microsoft Entra ID
162-
* **Resource** - `499b84ac-1321-427f-aa17-267ca6975798/.default`
163-
* **Single O auth account** - **No**
164-
* **Default config** - **Yes**
165-
* **Active** - **Yes**
204+
#### Azure OAuth Config
205+
206+
1. Click **New**.
207+
2. Fill out the following information:
208+
209+
* **Name** - Enter a meaningful name for the OAuth configuration.
210+
* **Client ID** - Enter the Application ID that you obtained from Microsoft Entra ID.
211+
* **Tenant ID** - Enter the Directory ID that you obtained from Microsoft Entra ID.
212+
* **Client Secret** - Enter the Client Secret that you obtained from Microsoft Entra ID.
213+
* **Resource** - Enter the following value: `499b84ac-1321-427f-aa17-267ca6975798/.default`.
214+
* **Single OAuth Account** - Set to **No**.
215+
* **Default config** - Set to **Yes**.
216+
* **Active** - Set to **Yes**.
166217

167218
#### Normal User Credentials
168219

@@ -173,3 +224,5 @@ Users must generate their own PAT to work with Azure DevOps by doing the followi
173224
3. Click **Register New Credentials** > **Azure DevOps**, then click **Get My Azure PAT**.
174225
4. On the Microsoft login screen, input you Azure user credentials to verify and authorize the app.
175226
5. Wait for the PAT and Azure user email to be displayed on the **Service Credentials** page in Private Mendix Platform.
227+
228+
{{< figure src="/attachments/private-platform/pmp-vc5.png" alt="Version Control Settings for Azure DevOps" class="no-border" >}}
384 KB
Loading
414 KB
Loading
436 KB
Loading
421 KB
Loading
315 KB
Loading

0 commit comments

Comments
 (0)