RTC+Git connector setup
2 answers
Hi
Here are the links on the Integration using Apache:
https://jazz.net/library/article/1479
https://jazz.net/library/article/1485
We have introduced the Integration using Nodejs in 6.0, which is simpler to setup, you can have a look at this at our infocenter
Comments
Ralph Schoon
commented Jul 14 '16, 10:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Shubjit, several posts indicate that users have problems with getting the NodJS version to work:
Shubjit Naik
commented Jul 14 '16, 10:29 a.m.
Hi Ralph
Thanks for pointing out those links, I recently updating my notifications with git tags.
The integration does not work with the default settings if we try the Basic authentication in config.json. We have modify the web.xml files in JTS/RTC and change the authentication mode from FORM to BASIC and it works well. We got it working for one of our customers: https://jazz.net/forum/questions/222828/rtc-git-integration-git-http-push-fails-with-error-code-22 I will add my comments on the other posts as well. |
Hi Shubjit,
Step 2 in the infocenter suggests downloading a Rational Team Concert Node.js server version 6.0 or later from the download page.
What installation exactly do I need to download from this page?
Comments 1
Shubjit Naik
commented Jul 14 '16, 10:44 a.m.
Hi Yael
You can download Nodejs from this Link
Here are some additional articles that would help setup Nodejs server and the Integration. https://jazz.net/wiki/bin/view/Main/RTCGitNodeJSServer https://jazz.net/wiki/bin/view/Main/RTCGitIntegrationSetupUsingNode
Yael K
commented Sep 19 '16, 5:03 a.m.
Hi Shubjit,
I used the links you sent me to setup this integration, using LDAP as an authProfile.
However, I have an unsolved issue -
Assuming my git repository is named "git-repo", the repository data on the git server is located under directory titled "123", which is "git-repo"'s ID number (we are using bitBucket by Atlassian, and this is a standard configuration). When I try cloning using the git repository name [git clone http://git-srv:8888/git/git-repo.git] I get the error:
fatal: http://git-srv:8888/git/git-repo.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
however, when I run the same command using the repository's ID, the clone is successful. I'm using git v1.8.4, RTC 6.0.2, nodejs 0.10.9.
Do you have any suggestions?
Thanks,
Yael
Shubjit Naik
commented Sep 19 '16, 6:23 a.m.
Hi Yael
The git-repo variable per the article seems to be the full path to the parent folder which is holding the git repositories. So in this case to clone, looks like, you would need to mention the folder name in the URL.
Since 123 in your example is the directory name, it seems to work only with that.
Yael K
commented Sep 19 '16, 9:18 a.m.
Hi Shubjit,
Thanks for the quick reply!
Using the repository ID number to clone the repository isn't a good solution,
because as you clone the repository "123", the local root folder created in the client side is also named "123"..
This is the standard BitBucket server architecture, so there must be a better solution!
Atlassian documentation about the ID representation in the server:
https://confluence.atlassian.com/stashkb/identifying-a-repository-on-the-stash-server-292651201.html
Do you have any suggestion?
Thanks,
Yael
|
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.