It's all about the answers!

Ask a question

View commit details in EWM - integration with Gitlab


Nicola Quinn (16223) | asked Sep 16, 5:57 p.m.
edited Sep 16, 5:59 p.m.

Recently I attended an IBM training course and the lab was configured to integrate well with Git. 

We  set up an environment with the basic configurations however we cannot find how to customize our install to match the training lab. In particular - 
How to configure how the links are opened from EWM defect.?  
IBM Lab opened in EWM, ours, by default opens Gitlab externally.

Commits are displayed successfully in a defect, links tab.  Hover over a link, a preview is displayed.
First difference -
IBM Lab - link is to an EWM resource  / 
Ours -- link is to external Gitlab
Second difference - 
IBM Lab - Link opens EWM resource with an action to display the 'commit details' and include the file diffs.
(com.ibm.team.git.web.ui.action.show_git_commit_details&repoUUID=nnn&commitId=nnn
Ours - opens external Gitlab.

Sample links from IBM lab
  1. Link in preview
    https://ibmjazz:9443/ccm/resource/virtual/com.ibm.team.git/repoUUID/_aaaaa/commitId/bbbbb
  2. Link to open commit
    https://ibmjazz:9443/ccm/web/projects/Project%20System%20Development#action=com.ibm.team.git.web.ui.action.show_git_commit_details&repoUUID=_aaaaaaaw&commitId=bbbbbbb

We would like to configure EWM to open links in EWM with the commit details and displaying file differences.  (see pics from IBM lab). Commit preview   Commit details with file difs



2 answers



permanent link
Andy Lapping (262) | answered Sep 20, 2:52 a.m.
edited Sep 20, 2:54 a.m.

Hi Nicola. I setup that image a few years ago now but I dont recall doing anything special other than what was documented in the help - and I documented that in the labs (lab 3 set everything up i think ? ). If it isnt working for you I'd suggest opening a support case with IBM to find out why. Shame IBM took all YouTube videos down - but I've started several new series here if you're interested: https://www.youtube.com/@SodiusWillert


Cheers !
Andy


Comments
Nicola Quinn commented Sep 24, 4:40 p.m.

Thanks Andy,

Shame indeed since Rhapsody hadn't changed that much!  Thanks for the new video site.
I will keep looking.  
The environment I saw the functionality in was a simple one with a local Git install.
If I ever find it, I will post the solution!!

Regards,
Nicola


permanent link
Andy Lapping (262) | answered Sep 19, 5:24 a.m.

Comments
Nicola Quinn commented Sep 19, 2:26 p.m.

Thanks for the response,   I should have mentioned the lab is 7.0.2.

Could you be more specific?  Yes, I read all the docs before posting the question.  I also have viewed all the configs I could find in the course lab where it works but cannot find anything that seems to configure the link or how it launches.
Viewed the Git hooks and configs in addition to the EWM project Git configs.

By the way, I enjoyed all those Rhapsody videos you did many years ago!

Regards,

Nicola


Nicola Quinn commented Oct 01, 5:20 p.m.

A possible answer.  Still looking for the supporting documentation but it seems that when Node.js is hosting the repos, the links open in RTC.  

This would explain why the lab I used behaved this way.  The Hosting section of the Git configurations.
My next question is, could a Gitlab server hosting repos be configured to open the links in RTC?

Nicola

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.