Topic
1 reply Latest Post - ‏2014-01-29T06:49:11Z by Cynthiawang
A1CM_Pawel_Kopalko
A1CM_Pawel_Kopalko
1 Post
ACCEPTED ANSWER

Pinned topic Synergy and OSLC

‏2013-11-20T14:36:01Z |

Hi,

I'm having some problems with the OSLC for Synergy. Recently I've found that Synergy provides it's own OSLC implementation and wanted to give it a try, but it seems the implementation is either not finished or server configuration is not complete to support it.

The problem is as follows:

In a REST client I issue a GET with the following URI:

http://address:port/oslc/scm/database/encoded_path_to_db/baseline

 

<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF>
 <oslc:Error>
<rdf:type rdf:resource="http://open-services.net/ns/core#Error" />
<oslc:statusCode>
400
</oslc:statusCode>
<oslc:message>
Invalid username or password. The username or password is invalid. Verify that server address, username, and password are correct. If the engine host is an Windows machine, then also check if ccm_ess is running.
</oslc:message>
 </oslc:Error>

</rdf:RDF>

Thing is that when I enter:

http://address:port/oslc/scm

I'm given the list of serviceProfider links: i the shape of:

  1. <dcterms:title>Synergy OSLC SCM Service Provider Catalog</dcterms:title>
  2.   <dcterms:publisher>
  3.     <oslc:Publisher>
  4.       <rdf:type rdf:resource="http://open-services.net/ns/core#Publisher" />
  5.       <dcterms:title>Synergy Services team</dcterms:title>
  6.       <oslc:label>synergy-team</oslc:label>
  7.       <dcterms:identifier>com.telelogic.cm.objectapi.oslc.SynergyScmCatalogHandler</dcterms:identifier>
  8.     </oslc:Publisher>
  9.   </dcterms:publisher>
  10.   <oslc:serviceProvider rdf:resource="http:/IP:port/oslc/scm/database/db1" />
  11.   <oslc:serviceProvider rdf:resource="http:/IP:port/oslc/scm/database/db2" />
  12.   <oslc:serviceProvider rdf:resource="http:/IP:port/oslc/scm/database/db3" />
  13.   <oslc:oauthAuthorization>
  14.     <oslc:OAuthConfiguration>
  15.       <rdf:type rdf:resource="http://open-services.net/ns/core#OAuthConfiguration" />
  16.       <oslc:oauthRequestTokenURI rdf:resource="http://fixmelater" />
  17.       <oslc:oauthAuthorization rdf:resource="http://fixmelater" />
  18.       <oslc:oauthAccessTokenURI rdf:resource="http://fixmelater" />
  19.     </oslc:OAuthConfiguration>
  20.   </oslc:oauthAuthorization>
  21. </oslc:ServiceProviderCatalog>
  22. </rdf:RDF>

Am I doing something wrong or simply there more that I have to setup, that is not described elswhere, it seems that the specification was abandoned before it reached it's maturity, thus no examples. If someone could help me with this please tak a moment and share.

BR,

Pawel.

Updated on 2013-11-20T14:42:36Z at 2013-11-20T14:42:36Z by A1CM_Pawel_Kopalko