Any API avaialbe for accessing com.ibm.team.repository.admin.activeServices?
Are there any API / OSLC calls available for accessing "ccm/admin#action=com.ibm.team.repository.admin.activeServices"
|
Accepted answer
I use Perl and LWP::UserAgent to good effect here.
Karthik Krishnan selected this answer as the correct answer
Comments
Karthik Krishnan
commented Jun 05 '18, 9:23 a.m.
Thank you, Kevin. The script doesn't work for me as it throws this
<noscript><div id="net-jazz-ajax-NoScriptMessage">Javascript is either disabled or not available in your Browser</div></noscript>
Kevin Ramer
commented Jun 05 '18, 11:08 a.m.
Did you update the values for $JazzUser, $JazzPass ? Beyond that how did you execute ? The 1 argument should be "valid" public url for the target Jazz application.
Karthik Krishnan
commented Jun 06 '18, 4:07 a.m.
I did update the user name, password and valid URI for sure :). The moment it hits the url, in my case https://clm-server/admin#action=com.ibm.team.repository.admin.activeServices
<noscript><div id="net-jazz-ajax-NoScriptMessage">Javascript is either disabled or not available in your Browser</div></noscript>
my $Browser = LWP::UserAgent->new( ssl_opts => { verify_hostname => 0 },);
Karthik Krishnan
commented Jun 06 '18, 5:00 a.m.
Interestingly enough it doesn't drop the cookie, meaning the file isn't created. The path is valid and has permissions to create.
Karthik Krishnan
commented Jul 10 '18, 8:30 a.m.
turned out that I need to pass the Referer in HEADER for te script to work. I created my own Python script with the url you have mentioned. Thanks for this.
|
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.