Skip to content

Commit

Permalink
Add config for devconf
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Jul 25, 2024
1 parent 077b713 commit 46a2e1e
Showing 1 changed file with 132 additions and 0 deletions.
132 changes: 132 additions & 0 deletions server/src/main/resources/application-devconf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
---
server:
port: 8080
error:
path: "/error"
include-message: always
forward-headers-strategy: native
servlet:
session:
cookie:
secure: false

spring:
main:
banner-mode: "off"
session:
jdbc:
cleanup-cron: "-"
initialize-schema: always
store-type: jdbc
timeout: 8h
mvc:
log-request-details: false
security:
oauth2:
client:
registration:
oidcng:
client-id: invite.dev.openconext.local
client-secret: secretsecret
redirect-uri: "https://{baseHost}{basePort}{basePath}/login/oauth2/code/{registrationId}"
authorization-grant-type: "authorization_code"
scope: openid
provider:
oidcng:
authorization-uri: "https://connect.dev.openconext.local/oidc/authorize"
token-uri: "https://connect.dev.openconext.local/oidc/token"
user-info-uri: "https://connect.dev.openconext.local/oidc/userinfo"
jwk-set-uri: "https://connect.dev.openconext.local/oidc/certs"
user-name-attribute: sub
user-info-authentication-method: client_secret_basic
jpa:
properties:
hibernate:
naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
dialect: org.hibernate.dialect.MySQLDialect
open-in-view: false
show-sql: false
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mariadb/invite
username: inviterw
password: secret
flyway:
locations: classpath:db/{vendor}/migration
fail-on-missing-locations: true
mail:
host: localhost
port: 1025

oidcng:
discovery-url: "https://connect.dev.openconext.local/oidc/.well-known/openid-configuration"
introspect-url: "https://connect.dev.openconext.local/oidc/introspect"
resource-server-id: inviters.dev.openconext.local
resource-server-secret: secretsecret
base-url: https://invite.dev.openconext.local

super-admin:
users:
- "urn:collab:person:example.com:admin"

institution-admin:
entitlement: "urn:mace:surfnet.nl:surfnet.nl:sab:role:SURFconextverantwoordelijke"
organization-guid-prefix: "urn:mace:surfnet.nl:surfnet.nl:sab:organizationGUID:"

gui:
disclaimer:
background-color: red
content: DEV

config:
client-url: "https://invite.dev.openconext.local"
welcome-url: "https://welcome.dev.openconext.local"
server-url: "https://invite.dev.openconext.local"
server-welcome-url: "http://localhost:8888"
eduid-entity-id: "https://login.dev.openconext.local"
role-search-required: False

Check warning on line 87 in server/src/main/resources/application-devconf.yml

View workflow job for this annotation

GitHub Actions / Test documentation and generate openapi html documentation

87:25 [truthy] truthy value should be one of [false, true]
past-date-allowed: True

Check warning on line 88 in server/src/main/resources/application-devconf.yml

View workflow job for this annotation

GitHub Actions / Test documentation and generate openapi html documentation

88:22 [truthy] truthy value should be one of [false, true]
eduid-idp-schac-home-organization: "dev.eduid.nl"

# We don't encode in-memory passwords, so we need to prefix them with {noop}
external-api-configuration:
remote-users:
-
username: voot
password: "{noop}secret"
scopes:
- voot
-
username: teams
password: "secret"
scopes:
- teams
-
username: aa
password: "{noop}secret"
scopes:
- attribute_aggregation
-
username: lifecycle
password: "secret"
scopes:
- lifecycle
-
username: profile
password: "{noop}secret"
scopes:
- profile

voot:
group_urn_domain: urn:mace:surf.nl:test.surfaccess.nl

manage:
# enabled: True

Check warning on line 124 in server/src/main/resources/application-devconf.yml

View workflow job for this annotation

GitHub Actions / Test documentation and generate openapi html documentation

124:1 [comments-indentation] comment not indented like content
enabled: False

Check warning on line 125 in server/src/main/resources/application-devconf.yml

View workflow job for this annotation

GitHub Actions / Test documentation and generate openapi html documentation

125:12 [truthy] truthy value should be one of [false, true]
url: "https://manage.dev.openconext.local"
user: invite
password: secret
local: False

Check warning on line 129 in server/src/main/resources/application-devconf.yml

View workflow job for this annotation

GitHub Actions / Test documentation and generate openapi html documentation

129:10 [truthy] truthy value should be one of [false, true]
# If you want to run the mock Manage against a git ignored file with sensitive data, e.g. manage/provisioning.local.json file
# local: True

Check failure on line 132 in server/src/main/resources/application-devconf.yml

View workflow job for this annotation

GitHub Actions / Test documentation and generate openapi html documentation

132:1 [empty-lines] too many blank lines (1 > 0)

0 comments on commit 46a2e1e

Please sign in to comment.