Skip to content

A service to provide user management functionality for TIS Self-Service.

License

Notifications You must be signed in to change notification settings

Health-Education-England/tis-trainee-user-management

Repository files navigation

TIS Trainee User Management

About

This service provides user management and support functionality for TIS Self-Service.

Developing

Running

gradlew bootRun

Pre-Requisites

  • A Cognito instance to connect to.

Environmental Variables

Name Description Default
AWS_REGION The AWS region to use.
AWS_XRAY_DAEMON_ADDRESS The AWS XRay daemon host.
COGNITO_DSP_CONSULTANT_GROUP The name of the Cognito user group for DSP consultants.
COGNITO_USER_POOL_ID The ID of the Cognito user pool to manage.
CONTACT_DETAILS_UPDATED_QUEUE The ARN of a queue to received contact detail events.
ENVIRONMENT The environment to log events against. local
PROFILE_HOST The host of TIS-Profile service. localhost
PROFILE_PORT The port number of TIS-Profile service. 8082
REDIS_HOST Redis server host localhost
REDIS_PASSWORD Login password of the redis server. password
REDIS_PORT Redis server port. 6379
REDIS_SSL Whether to enable SSL support. false
REDIS_USERNAME Login username of the redis server default
REQUEST_QUEUE_URL The URL of sync request queue.
SENTRY_DSN A Sentry error monitoring Data Source Name.
USER_ACCOUNT_UPDATE_EVENT_TOPIC The topic ARN to publish user account update events to.

Usage Examples

Get User Account Details
GET /user-management/api/user-account/details/{username}

Testing

The Gradle test task can be used to run automated tests and produce coverage reports.

gradlew test

The Gradle check lifecycle task can be used to run automated tests and also verify formatting conforms to the code style guidelines.

gradlew check

Building

gradlew bootBuildImage

Versioning

This project uses Semantic Versioning.

License

This project is license under The MIT License (MIT).

About

A service to provide user management functionality for TIS Self-Service.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages