Skip to content

epam/edp-ddm-user-settings-service-persistence

Repository files navigation

user-settings-service-persistence

This service interacts with the database of system users account settings (email, phone etc.).

Related components:

  • user-settings-service-api - service, which interacts with web clients via HTTP, usually starts before this application
  • Kafka for message exchanging with user-settings-service-api
  • PostgreSQL database for data persistence

Local development:

Prerequisites:
  • Kafka is configured and running
  • Database settings is configured and running
Settings database setup:
  1. Create database settings
  2. Run initial-db-setup script from the citus repository
Configuration:
  1. Check src/main/resources/application-local.yaml and replace if needed:
    • data-platform.datasource... properties with actual values from local DB
    • data-platform.kafka.boostrap and audit.kafka.bootstrap with url of local Kafka
Steps:
  1. (Optional) Package application into jar file with mvn clean package
  2. Add --spring.profiles.active=local to application run arguments
  3. Run application with your favourite IDE or via java -jar ... with jar file, created above
Additional information

All properties, related to other third-party services, not mentioned above (dso, keycloak, ceph) are mocked in application-local.yaml (like keycloak.realm=realm), to check such integrations, mock values must be replaced with real ones.

License

user-settings-service-persistence is Open Source software released under the Apache 2.0 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages