oka: not tested yet - Introduced `Invitation` entity, table schema, and repository. - Added `InvitationController` with APIs for creating, resolving, and accepting invitations. - Implemented `InvitationService` to handle invitation workflows, including token generation and validation. - Created unit tests for controller, service, and repository layers. - Added support for patient-subject relationships with `PatientSubject` entity and repository. - Updated `PatientAccessChecker` to handle subject-based access control. - Extended Keycloak provisioning service for invitation role management. - Updated database migrations to include invitations and patient-subject tables. - Enhanced security configuration to permit invitation resolution API. - Updated build scripts and dependencies for testing support.
40 lines
1.8 KiB
Plaintext
40 lines
1.8 KiB
Plaintext
plugins {
|
|
kotlin("jvm")
|
|
kotlin("plugin.spring")
|
|
kotlin("plugin.jpa")
|
|
id("org.springframework.boot")
|
|
id("io.spring.dependency-management")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":common"))
|
|
implementation(project(":modules:identity"))
|
|
implementation(project(":modules:clinical"))
|
|
implementation(project(":modules:messaging"))
|
|
implementation(project(":modules:notifications"))
|
|
implementation(project(":modules:audit"))
|
|
implementation(project(":modules:integrations"))
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-amqp")
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-redis")
|
|
implementation("org.flywaydb:flyway-core")
|
|
implementation("org.flywaydb:flyway-database-postgresql")
|
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0")
|
|
implementation("io.micrometer:micrometer-registry-prometheus")
|
|
implementation("io.micrometer:micrometer-tracing-bridge-otel")
|
|
implementation("io.opentelemetry:opentelemetry-exporter-otlp:1.46.0")
|
|
implementation("software.amazon.awssdk:s3:2.29.52")
|
|
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
testImplementation("com.h2database:h2")
|
|
}
|