summaryrefslogtreecommitdiffstats
path: root/src/test/resources/application.properties
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-05-13 20:09:42 +0200
committerGeorg Pfuetzenreuter2022-05-13 20:09:42 +0200
commit2ff99d29bc8873afa9c7cd9da57a7a7cf2072ea5 (patch)
tree4c460f1c5db9e1df06acefde5347a154b32010e8 /src/test/resources/application.properties
parentbf6f91520f9a0ebb2a1ba2182a2ddc3043325c37 (diff)
downloadpubsh-web-2ff99d29bc8873afa9c7cd9da57a7a7cf2072ea5.tar.gz
pubsh-web-2ff99d29bc8873afa9c7cd9da57a7a7cf2072ea5.tar.bz2
pubsh-web-2ff99d29bc8873afa9c7cd9da57a7a7cf2072ea5.zip
Init unit tests
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/test/resources/application.properties')
-rw-r--r--src/test/resources/application.properties11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties
new file mode 100644
index 0000000..8161d6c
--- /dev/null
+++ b/src/test/resources/application.properties
@@ -0,0 +1,11 @@
+spring.datasource.driver-class-name=org.h2.Driver
+spring.datasource.jdbc-url=jdbc:h2:mem:pubshweb;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false
+spring.jpa.show-sql=true
+spring.jpa.generate-ddl=true
+# This is a bogus endpoint, the results are mocked, but the Keycloak library does not know that:
+keycloak.auth-server-url=http://127.0.0.9:98765/
+keycloak.realm=local-devel
+keycloak.resource=portal-app
+keycloak.public-client=true
+### VERY BAD, TO-DO: mock Docker results:
+lysergic.docker.endpoint=tcp://sweetsuse:2375 \ No newline at end of file