-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#22 Add container support for Integration tests WIP
- Loading branch information
1 parent
72d5ab7
commit 121bf59
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
test-resources: | ||
containers: | ||
mariadb: | ||
image-name: mariadb:10.6 | ||
network: faf | ||
network-aliases: faf-db | ||
ory-hydra: | ||
image-name: oryd/hydra:v1.11.7 | ||
network: faf | ||
network-aliases: faf-ory-hydra | ||
command: serve all -c /hydra.yaml --dangerous-force-http | ||
hostnames: | ||
- hydra.host | ||
exposed-ports: | ||
- hydra.port: 4445 | ||
ro-fs-bind: | ||
- classpath:/hydra.yaml: /hydra.yaml | ||
|
||
r2dbc: | ||
datasources: | ||
default: | ||
db-type: mariadb | ||
dialect: MYSQL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Customize this to your need | ||
dsn: mysql://hydra:banana@tcp(faf-db:3306)/hydra | ||
secrets: | ||
system: | ||
- bananapineapplepizza | ||
urls: | ||
self: | ||
issuer: http://faf-ory-hydra:4444 | ||
public: http://localhost:4444 | ||
login: http://localhost:8080/oauth2/login | ||
consent: http://localhost:8080/oauth2/consent | ||
|
||
# Static configuration | ||
strategies: | ||
access_token: jwt | ||
|
||
oauth2: | ||
client_credentials: | ||
default_grant_allowed_scope: true |