From 5455e3c9f16d858263d99b18b21441f70ac1a579 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 22 May 2024 09:27:15 +0200 Subject: [PATCH] remove urls --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3e91bca4..47cf6f96 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This properties must be configured to run the application | Key | Value | Default | Mandatory | Description | |----------------------------------------------------|----------------------------------------------------|------------------------| --------- |----------------------------------------------------------------| -| quarkus.oidc.auth-server-url | https://sso.dev.by.ozg-cloud.de/realms/sh-kiel-dev | none | yes | Url of the keycloak server with the realm | +| quarkus.oidc.auth-server-url | https://keycloakurl/realms/realmname | none | yes | Url of the keycloak server with the realm | | quarkus.mongodb.connection-string | mongodb://ozg-mongodb:27017 | none | yes | The connection string for the mongo db database | | quarkus.mongodb.database | usermanager | usermanager | no | Name of the mongo db database | | ozgcloud.keycloak.sync.period | 5m | 6h | no | Period between synchronizations | @@ -31,7 +31,7 @@ You can run your application in dev mode that enables live coding using: > **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/. > If you want to use remote Keycloak for local development, then use the profile remotekc. Be aware, -> that it deactivates synchronization - if you need it, then you have to create your own realm and +> that it deactivates synchronization - if you need it, then you have to create your own realm and > set it in properties, like this: > ```yaml > keycloak: @@ -42,11 +42,11 @@ You can run your application in dev mode that enables live coding using: > ``` ## Running the server with custom realm -In order to start user-manager-server connecting againts dev keycloak locally with custom realm -use below configuration in your IDE or CLI. +In order to start user-manager-server connecting againts dev keycloak locally with custom realm +use below configuration in your IDE or CLI. ``` -Dquarkus.profile=local,remotekc --Dquarkus.oidc.auth-server-url=https://sso.dev.by.ozg-cloud.de/realms/sebo-test +-Dquarkus.oidc.auth-server-url=https://keyclaokurl/realms/realmname -Dozgcloud.keycloak.api.realm=sebo-test -Dozgcloud.usersync.period="5s" ``` @@ -71,12 +71,12 @@ The application, packaged as an _über-jar_, is now runnable using `java -jar ta ## Creating a native executable -You can create a native executable using: +You can create a native executable using: ```shell script ./mvnw package -Pnative ``` -Or, if you don't have GraalVM installed, you can run the native executable build in a container using: +Or, if you don't have GraalVM installed, you can run the native executable build in a container using: ```shell script ./mvnw package -Pnative -Dquarkus.native.container-build=true ``` @@ -122,10 +122,10 @@ Usermanager als über-jar erstellen und lokal starten: ```bash ./mvnw clean package -Dquarkus.package.type=uber-jar -java -Dquarkus.oidc.auth-server-url=https://sso.dev.by.ozg-cloud.de/realms/by-kiel-dev \ +java -Dquarkus.oidc.auth-server-url=https://keycloakurl/realms/realmname \ -Dozgcloud.user-manager.url=http://localhost:8080 \ - -Dkeycloak.url=https://sso.dev.by.ozg-cloud.de \ - -jar ./target/user-manager-server-1.3.0-SNAPSHOT-runner.jar + -Dkeycloak.url=https://keycloakurl \ + -jar ./target/user-manager-server-1.3.0-runner.jar ``` Usermanager als native Anwendung erstellen und lokal starten: @@ -133,14 +133,14 @@ Usermanager als native Anwendung erstellen und lokal starten: ```bash ./mvnw clean package -Pnative -./target/user-manager-server-1.3.0-SNAPSHOT-runner \ - -Dquarkus.oidc.auth-server-url=https://sso.dev.by.ozg-cloud.de/realms/by-kiel-dev \ +./target/user-manager-server-1.3.0-runner \ + -Dquarkus.oidc.auth-server-url=https://keycloakurl/realms/realmname \ -Dquarkus.mongodb.connection-string=mongodb://localhost:27018 \ -Dozgcloud.user-manager.url=http://localhost:8080 \ - -Dkeycloak.url=https://sso.dev.by.ozg-cloud.de \ + -Dkeycloak.url=https://keycloakurl \ -Dozgcloud.keycloak.api.user=usermanagerapiuser \ - -Dozgcloud.keycloak.api.password=****** \ - -Dozgcloud.keycloak.api.realm=by-kiel-dev \ + -Dozgcloud.keycloak.api.password=**** \ + -Dozgcloud.keycloak.api.realm=realmname \ -Dozgcloud.keycloak.api.client=alfa \ -Dozgcloud.usersync.period="5m" \ -Xmx32m @@ -212,7 +212,7 @@ Dev: requests: cpu: "50m" memory: "100Mi" -``` +``` ### Weitere Urls -- GitLab