Running locally

Run the binary (using the help flag to see the available optional arguments):

$GOPATH/bin/smartlogic-concept-transformer [--help]

Options:

--app-system-code="smartlogic-concept-transformer" System Code of the application ($APP_SYSTEM_CODE)
--app-name="smartlogic-concept-transformer" Application name ($APP_NAME)
--port="8080" Port to listen on ($APP_PORT)
--kafka-address="" Kafka Address
--kafka-topic="smartlogic-concept" Kafka Topic for Smartlogic concepts
--kafka-group="smartlogic-concept-transformer" Kafka Group for this service
--writer-endpoint="http://localhost:8080/" Routing for the RW App

Build and deployment

Utility endpoints

See the api/api.yml for the swagger definitions of the endpoints

POST /transform

This endpoint is for testing and help ongoing support. This endpoint only transforms the JSON-LD payload and returns the UPP source representation but doesn’t send it on down the pipeline to the concept-rw-s3