Skip to content

The tenant-service for getting a config file to APIs.

License

Notifications You must be signed in to change notification settings

speech4j/tenant-service

Repository files navigation

Tenant-service

The tenant-service for getting a config file to APIs.

Project Status

Build Status Quality Gate Status Coverage Technical Debt Reliability Rating Lines of Code

Requirements

  • Java 11
  • Docker

Building Instructions

(If running from windows - replace / to \ )

  • ./gradlew clean build -- build the project and run the tests.

Testing Instructions

(If running from windows - replace / to \ )

  • ./gradlew clean test -- build and run the tests.

Running DB Instructions

  • create and run db container locally
docker run --name postgres-docker \
                -e POSTGRES_PASSWORD=postgres \
                -e POSTGRES_USERNAME=postgres \
                -e POSTGRES_DB=tenant_db \
                -p 5432:5432 -d postgres

Running DB Migration

(Metadata is a default schema type. To generate a default one - execute command without an additional argument)

  • ./gradlew diffChangeLog -PschemaType=tenant -- generate a migration script for tenant schema
  • ./gradlew diffChangeLog -- generate a migration script for metadata schema

About

The tenant-service for getting a config file to APIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published