Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 1.25 KB

File metadata and controls

43 lines (30 loc) · 1.25 KB

Data integration

Data integration service (DIS) serves for the simplification of transfer of customer’s data into PB. DIS exposes the RESTful endpoint /api/asset/sento-to-ledger (media type: application/json, http method: POST) that is capable of receiving asset’s data and propagate them to the distributed ledger of PB. This endpoint accepts an array of assets and after validation send those to a specific tenant kafka topic.

API (backend)

Java Spring framework is used as a server side solution.

Build

Build tool is maven so application can be built with mvn clean install.

Configuration

General configuration is defined in src/main/resources/application.properties.

application.properties

# SPRING
spring.main.allow-bean-definition-overriding=true
spring.devtools.add-properties=false
springdoc.api-docs.path=/api-docs

# LOGGING
logging.level.org.apache.http=info

# HTTP
server.port=8080
server.servlet.context-path=/api
server.http2.enabled=true
server.maxHttpHeaderSize=102400

# SECURITY
keycloak.auth-server-url= **KEYCLOAK URL**

# KAFKA
kafka.bootstrapAddress= **kakfa host**
ledger.gateway=kafka
airs.gateway=kafka