Installing the Codebeamer Widget
The OSLC Connector for Codebeamer widget is used to facilitate the communication between Codebeamer and the OSLC Connector for Codebeamer plugin and integrate it in the Codebeamer UI.
The OSLC Connector for Codebeamer is provided as a docker image, available in the repo.mid.de repository as sfit-oslc-generic-plugin-codebeamer
Requirements
Codebeamer Felicity or later
Install the OSLC Connector for Codebeamer plugin
Enable the technical user for TRS
Configure users to have Codebeamer REST API access
Enable external scripts in Codebeamer and provide them
Set the extension.json
Enable the technical user for TRS
genOSLC requires a technical user with access to codeBeamer projects that needs to get synchronized using the TRS feed
Trackers must contain the “OSLC Links” field and be configured to use the “oslcLinks” shared field
Configure users to have Codebeamer REST API access
The OSLC Connector for Codebeamer sends requests to Codebeamer’s API in the user’s name. To do that, the user needs to have Rest / Remote API - Access
. Rest / Remote API Access can be set by editing the User Groups.
Enable external scripts in Codebeamer and provide them
In System Admin → Application Configuration add the following snippet:
"externalScripts" : {
"enabled" : true
}
Next, download https://<genOSLC base URL>/cb/assets/genoslc_cb_extension.js
. Copy the file to <codebeamer Installation dir>/repository/config/customization/js
, before starting codebeamer.
More documentation on External JavaScript Extentions supported by Codebeamer can be found here.
Set the extension.json
To tell Codebeamer to load OSLC Connector for Codebeamer plugin the externalWidgetExtensions needs to be configured. Navigate to System Admin → Application Configuration add the following snippet
"externalWidgetExtensions" : {
"uri" : "https://<genOSLC base URL>/cb/assets/extension.json"
}