Autocreate transaction values if missing from JSON payload
This commit is contained in:
28
README.md
28
README.md
@@ -29,7 +29,7 @@ bindings {
|
||||
The test module contains all the integration tests for the module.
|
||||
|
||||
|
||||
### Docker
|
||||
## Docker
|
||||
|
||||
There are two projects available for building the executor and the ledger as docker images.
|
||||
|
||||
@@ -38,3 +38,29 @@ There are two projects available for building the executor and the ledger as doc
|
||||
|
||||
For more information how to run and configure them see their corresponding READMEs.
|
||||
|
||||
|
||||
## Docker Compose
|
||||
|
||||
The project also comes with a *docker-compose.yml* file for running the docker images.
|
||||
|
||||
To run the images first you need to buid them and publish them to your local docker registry.
|
||||
|
||||
You can do that by running:
|
||||
|
||||
1) ``./gradlew dbt-executor:distDocker``
|
||||
2) ``./gradlew dbt-ledger:distDocker``
|
||||
|
||||
After you have generated the Docker images you can run them both by running ``docker-compose up`` in the root folder.
|
||||
|
||||
The ledger will be available at http://localhost:5050/ledger and the executor
|
||||
will be available at http://localhost:5051/executor
|
||||
|
||||
|
||||
## How to make a distributed transaction (in a ratpack application)
|
||||
|
||||
Once you have the executor and the ledger configured and running, you can start making transactions to the database
|
||||
the executor is connected to.
|
||||
|
||||
By default the executor will set up an in-memory database without any tables, so the first transaction you want to make
|
||||
is to create the table you want.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user