You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/private-platform/configuration/pmp-version-control.md
+93-40Lines changed: 93 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,9 @@ Before configuring GitLab for Private Mendix Platform, ensure that you fulfill t
38
38
39
39
### Configuration
40
40
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.
42
42
***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**.
44
44
***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.
45
45
***Admin PAT** - This is the PAT of the GitLab administrator, which is the root user access token with all scopes selected.
46
46
@@ -63,10 +63,12 @@ Private Mendix Platform supports only the following predefined GitLab push rules
63
63
64
64
Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
65
65
66
-
* Check whether the commit author is a GitLab user.
66
+
* Check whether the commit author is a GitLab user
67
67
68
68
Commits are restricted to existing GitLab users.
69
69
70
+
{{< figure src="/attachments/private-platform/pmp-vc1.png" alt="Version Control Settings for Gitlab" class="no-border" >}}
71
+
70
72
## GitHub
71
73
72
74
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
81
83
* For GitHub Enterprise Server with Automatic Access Provisioning enabled, a GitHub administrator‑level PAT is available.
82
84
* For GitHub Enterprise Cloud with Data Residency enabled, an OAuth App can be created in the GitHub organisation.
83
85
84
-
### Common Configuration
86
+
### Common Configuration {#common-config}
85
87
86
88
The following configuration applies to all GitHub server types, unless stated otherwise.
87
89
88
90
***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**.
90
92
91
93
### GitHub Enterprise Server
92
94
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.
96
98
97
-
### Normal User Credentials
99
+
{{< figure src="/attachments/private-platform/pmp-vc2.png" alt="Version Control Settings for GitHub Enterprise Server" class="no-border" >}}
98
100
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
100
102
101
103
{{% 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.
103
105
{{% /alert %}}
104
106
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.
107
122
108
123
## Bitbucket
109
124
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
111
137
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.
116
141
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
118
143
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.
121
152
122
153
### Normal User Credentials
123
154
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.
125
156
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`.
127
158
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" >}}
130
163
131
164
## AzureDevOps
132
165
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.
134
176
135
177
### Microsoft Entra ID Configuration
136
178
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:
138
180
139
181
* Application ID (client ID)
140
182
* Directory ID (tenant ID)
@@ -146,23 +188,32 @@ For the web callback URL, enter a URL in the following format: `YOUR_APP_ROOT/oa
146
188
147
189
### Azure DevOps Configuration
148
190
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.
150
197
151
198
### Private Mendix Platform Configuration
152
199
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.
157
203
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
0 commit comments