...
Note that there’s a confusing configuration dependency here:
MettleCI Workbench requires a GitLab Application ID in order to provide a Callback URL BUT a Callback URL is required by GitLab in order to provide you with an Application ID!
So, we address this by entering a provisional Callback URL and returning later to edit it with the actual Callback URL provided by the MettleCI Workbench.
Got to From the menu icon on the top banner and select Admin → Applications → New application
Name your application logically so GitLab administrators understand its function. Something like MettleCI Workbench {EngineName} might be a good example.
For your Redirect URI start by enter a provisional URL following the example given below (substituting your DataStage Engine URI to appropriate values)
http://your-engine.your-org.com:PORT/api/auth/delegated/2
e.g
http://demo115-engn.dm-demo-datastage.datamigrators.io:8080/api/auth/delegated/2
Ensure the following checkboxes are selected:
Trusted
Confidential
Expire access tokens
Scopes
API
openid
...
For example…
...
Click Save application and you’ll be presented with information about your registered application such as the Application ID, Secret, Callback URL, etc.
...
Note |
---|
You should keep this window open, to support you during the next configuration step, as…
|
...
From the Profile icon in the top-right of the MettleCI Workbench window select the menu item Issue Management.
On the resulting page click the [+] icon, in the top-right, to add a new issue management system.
Select GitLab as your Issue Management Type, then Next.
On the next page enter
A Name that will help you uniquely identify your GitLab instance,
The URL of your GitLab instance
The Application ID and Secret values you were presented by GitLab in the previous configuration step
Once complete, click Next. You’ll be presented with your list of registered Issue Management Systems including your newly-defined GitLab instance
...
Select Manage Projects from the Profile icon in the top-right of the Workbench window.
Select the pencil icon alongside the DataStage project with which you wish to use GitLab issue lookup
At the bottom of the project configuration page select your newly - defined GitLab Issue management Service then click Update Project.
Test your GitLab Issue Lookup is working by Workbench
...