You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create Cassandra db schema on session initialization (#5922)
Create Schema (if not present) on Session Initialization
Once a session is established with cassandra db, the added code parses
the template file containing queries for creating schema and create
queries out of it. Post which it executes those queries to create the
required types and tables.
## Which problem is this PR solving?
Resolves#5797
## Description of the changes
- The PR includes the following changes:
- 1. Embedding template files into binary
- 2. Creation of database schema in initialization steps once session to
database is established.
## How was this change tested?
- Schema rendering is being tested with unit test.
- bash scripts/cassandra-integration-test.sh -s 4 v004 v2
## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
- for `jaeger`: `make lint test`
- for `jaeger-ui`: `yarn lint` and `yarn test`
---------
Signed-off-by: Alok Kumar Singh <[email protected]>
Signed-off-by: Alok Kumar Singh <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
0 commit comments