Environment: On premises only
Main Configuration File
Administrators must add a dedicated section in the
CATSmmConfig.json file.
| Parameter |
Description |
| id |
Identifier of the server. Must not contain blank
space, must be unique. |
| title |
Title of the Jira server. |
| typeUri |
The value must be:
http://www.3ds.com/vocabularies/syc/type/Jira |
| address |
Specifies the address of the Jira
server. <myJiraServer>:<myJiraServerPort>
|
| description |
Enter your description. |
| oauth2.enabled |
Key to enable or not the OAuth2 authentication for the
Jira Connector.
true: OAuth2 is used for
authentication
false: the basic authentication is
used
|
| authenticationModule |
Fixed value to provide the OAuth2 authentication
module.
The value must be:
com.dassault_systemes.system_cockpit.authentication.module.OAuth2Module
|
| oauth2.authorize_uri |
Fixed URI for Jira.
By default, the value to be set is
/rest/oauth2/1.0/authorize
You can customize this value.
|
| oauth2.token_uri |
Fixed URI to the token URI for Jira.
By default, the value to be set is
/rest/oauth2/1.0/token
You can customize this value.
|
| oauth2.client_id |
Client ID that comes from the Oauth2 configuration in
Jira. See below Configuring Incoming Links. |
| oauth2.client_secret |
Client secret that comes from the configuration of Oauth2
in Jira. See below Configuring Incoming Links. |
| oauth2.scope |
The connector requires at least the
Read scope permissions. See
below Configuring Incoming Links. |
| oauth2.redirect_uri |
The redirection as defined in the configuration page of
Jira. See below Configuring Incoming Links. |
Configuring Incoming Links
To configure OAuth2 in the Jira Data Center, the administrator must configure the
incoming links. For more information, see Administering Jira applications
Support: Configure an incoming link.
Example
Here is an example of a CATSmmConfig.json file declaring the
OAuth2 server:
{
"id": "/myJiraServer",
"title": "JIRA vdevau8cem",
"typeUri": "http://www.3ds.com/vocabularies/syc/type/Jira",
"address": "https:// myJiraServer:8443",
"description": "",
"parameters": {
"ellapseTimeCache": "120",
"oauth2.enabled" : true,
"authenticationModule" : "com.dassault_systemes.system_cockpit.authentication.module.OAuth2Module",
"oauth2.authorize_uri" : "/rest/oauth2/1.0/authorize",
"oauth2.token_uri" : "/rest/oauth2/1.0/token",
"oauth2.client_id" : "7cb918f73cb4023bfec3058a6d4e9c97",
"oauth2.client_secret" : "e7ad8d46bd9559dc881czd22e0379f62710dda9595fc36221f30c3705b044c1f",
"oauth2.scope" : "READ",
"oauth2.redirect_uri" : "https://vdevpril666dsy.dsone.3ds.com/3DSpace/syc/api/oauth2/v1/res/myJiraServer"
}
}