cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to use Codebeamer server as an OSLC server please?

RR_12247123
3-Newcomer

How to use Codebeamer server as an OSLC server please?

Hello everyone,

 

I want to use the Codebeamer server (2.2.0.1) as an OSLC server, and I have trouble to do so.

 

First I followed this Server Guide and added a new section to the Application Config:

"apiThrottling" : {
"urlPatterns" : "/api/oslc/**",
"bandwidthConfigs" : {
"capacity" : 100,
"timeUnit" : "SECOND"
}
},

 

I saved it, and it said "saved and re-applied" or something like that. Seems like it shall be ready.

Then I try from my browser (which I login to codebeamer already) the following url:

https://my_codebeamer:8080/cb/api/oslc/catalog/projects

Also tried this

https://my_codebeamer:8080/api/oslc/catalog/projects

Both shows connection timed out.

 

Do I need to setup port 8080 for oslc, or is it the default (fixed) port? Did I miss anything here please?

 

Thank you very much in advance.

 

ACCEPTED SOLUTION

Accepted Solutions

Hello  RR_12247123

 

Thank you for posting the topic!

Except apiThrottling parameter, there are other two settings need to be check: contentSecurityPolicy or CB_CORS_ALLOWED_ORIGINS, and mail

Please refer to the following article:

https://www.ptc.com/en/support/article/CS400634

 

In addition, please use Postman to access "GET https://my_codebeamer:8080/api/oslc/catalog"  with Basic Auth.

 

Best regards,

Ivy

View solution in original post

2 REPLIES 2

Hello  RR_12247123

 

Thank you for posting the topic!

Except apiThrottling parameter, there are other two settings need to be check: contentSecurityPolicy or CB_CORS_ALLOWED_ORIGINS, and mail

Please refer to the following article:

https://www.ptc.com/en/support/article/CS400634

 

In addition, please use Postman to access "GET https://my_codebeamer:8080/api/oslc/catalog"  with Basic Auth.

 

Best regards,

Ivy

It turns out I don't need the port number here. After adding the contentSecurityPolicy, I can use curl to access /api/oslc/catalog/projects. 

 

Also you are right, I need to use curl, the browser doesn't work for the OSLC api GET.

Announcements



Top Tags