Merge branch 'swagger-auth-error' into 'main'

Fixed dev profile and fixed not working swagger in production - issue relates...

See merge request fforesight/tenant-user-management-service!61
This commit is contained in:
Timo Bejan 2024-01-04 10:02:10 +01:00
commit 980c59de78
2 changed files with 27 additions and 0 deletions

View File

@ -30,6 +30,20 @@ fforesight:
springdoc:
auth-server-url: http://localhost:8080
dev.tenant.storage:
mode: 'S3'
s3:
key: minioadmin
secret: minioadmin
bucket: redaction
endpoint: http://localhost:9000
dev.tenant.db:
port: 5432
host: localhost
database: master
schema: public
username: fforesight
password: fforesight
cors.enabled: true

View File

@ -113,6 +113,19 @@ fforesight:
user-exchange:
name: 'users-exchange'
springdoc:
swagger-ui:
path: ${fforesight.springdoc.base-path}/docs/swagger-ui
operations-sorter: alpha
tags-sorter: alpha
oauth:
client-id: swagger-ui-client
doc-expansion: none
config-url: ${fforesight.springdoc.base-path}/docs/swagger-config
api-docs:
path: ${fforesight.springdoc.base-path}/docs?tenantId=${fforesight.springdoc.default-tenant}
enabled: ${fforesight.springdoc.enabled}
pre-loading-enabled: true
packages-to-scan: [ 'com.knecon.fforesight.tenantusermanagement.controller.external' ]
storage: