/
SDC Context Builder

SDC Context Builder

What is SDC Context Builder?

POMBA Architecture#SDCContextBuilder

Configuration

Configuration of the SDC Context Builder is done via config/application.properties (TODO: to be updated when SDC Context Builder can be installed by OOM)

SDC Connection
#Application properties sdcConnect.username=<username for connecting to SDC> sdcConnect.password=<password for connecting to SDC> sdcConnect.consumerID=<consumer ID for connecting to SDC> sdcConnect.sdcAddress=<IP address and port for connecting to SDC>
Provide basic authorization
# HTTP Basic Authorization credentials for Rest Service API http.userId=<username for basic authorization> http.password=<password for basic authorization>

Interfaces/API

URI example

SDC Context Builder URI example
http://localhost:8080/sdccontextbuilder/service/context?serviceInstanceId=x&modelVersionId=0ab6f9f3-e169-4485-8216-f8c4fbc2e098&modelInvariantId=z

JSON response example

SDC Context Builder JSON response example



Error Code

Error Code

Description

Resolution

Error Code

Description

Resolution

400

missing AppId from the header

Provide AppId in the header and re-send the request

401

missing basic auth from the header

Provide basic authorization in the header and re-send the request