Author Topic: Getting started with OSLC  (Read 17481 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 504
  • Karma: +5/-0
    • View Profile
Getting started with OSLC
« on: April 16, 2020, 12:40:45 am »
Hi,

I've started looking at the OSLC API in ProCloud. I've configured my database manager without an 'Access Code'. I'm trying a few simple GET's, ie http://localhost:804/sparx_repo/oslc/am/resource/{5BC46CBA-F5F2-4a81-AA1C-328947DD0CEA} or http://localhost:804/sparx_repo//oslc/am/qc/?oslc.where=dcterms:type="Actor"

I'm using Postman to test and in all cases I get :-

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:oslc="http://open-services.net/ns/core#">
    <oslc:Error>
        <oslc:statusCode>401</oslc:statusCode>
        <oslc:message>Missing User Authentication Identifier</oslc:message>
    </oslc:Error>
</rdf:RDF>

Any ideas what I need to add to the GET's to pull back some results?

Regards,

Jon.

OpenIT Solutions

  • EA User
  • **
  • Posts: 504
  • Karma: +5/-0
    • View Profile
Re: Getting started with OSLC
« Reply #1 on: April 21, 2020, 05:40:20 pm »
Hi,

FYI sparx support answered this one for me. I needed to get the useridentifer via POST and then add to subsequent GET requests, see https://www.sparxsystems.com/enterprise_architect_user_guide/15.1/model_repository/oslc_user_cred.html