The ledger writer service accepts and validates incoming transactions before writing them to the ledger.
Implemented in Java with Spring Boot.
| Endpoint | Type | Auth? | Description |
|---|---|---|---|
/ready |
GET | Readiness probe endpoint. | |
/transactions |
POST | 🔒 | Submits a transaction to be appended to the ledger. |
/version |
GET | Returns the contents of $VERSION |
-
VERSION- a version string for the service
-
PORT- the port for the webserver
-
JVM_OPTS- settings for the JVM. Used to obey container memory limits
-
LOG_LEVEL- the service-wide log level (default: INFO)
-
ConfigMap
environment-config:LOCAL_ROUTING_NUM- the routing number for our bank
PUB_KEY_PATH- the path to the JWT signer's public key, mounted as a secret
-
ConfigMap
service-api-configBALANCES_API_ADDR- the address and port of the
balancereaderservice
- the address and port of the
-
ConfigMap
ledger-db-config:SPRING_DATASOURCE_URL- URL of the
ledger-dbservice
- URL of the
SPRING_DATASOURCE_USERNAME- username for the
ledger-dbdatabase
- username for the
SPRING_DATASOURCE_PASSWORD- password for the
ledger-dbdatabase
- password for the