-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(jans-keycloak-integration): add keycloak scheduler service #8343
Comments
* changed the application into a single run application suitable for cron Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
* fix(jans-linux-setup): improper scim configuration for jans kc #8210 * updated the keycloak configuration file to reflect the configuration for the storage-spi Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * chore(jans-keycloak-integration): bump kc version to 24.0.0 #8315 Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): add kc scheduler service #8343 * changed the application into a single run application suitable for cron Signed-off-by: Rolain Djeumen <uprightech@gmail.com> --------- Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
As per discussions on rocket chat with the team , it was decided that the scheduler will be run at regular intervals as a cron job. |
* adjusting log messaging Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
…#8442) * fix(jans-linux-setup): improper scim configuration for jans kc #8210 * updated the keycloak configuration file to reflect the configuration for the storage-spi Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * chore(jans-keycloak-integration): bump kc version to 24.0.0 #8315 Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): add kc scheduler service #8343 * changed the application into a single run application suitable for cron Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): add kc scheduler service #8343 * adjusting log messaging Signed-off-by: Rolain Djeumen <uprightech@gmail.com> --------- Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
* removed logging configuration to allow them to be overriden on the command line * changed the logging level of some statements to make explicit what the application is doing * changed application version logging Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
…#8454) * fix(jans-linux-setup): improper scim configuration for jans kc #8210 * updated the keycloak configuration file to reflect the configuration for the storage-spi Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * chore(jans-keycloak-integration): bump kc version to 24.0.0 #8315 Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): add kc scheduler service #8343 * changed the application into a single run application suitable for cron Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): add kc scheduler service #8343 * adjusting log messaging Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): keycloak scheduler service #8343 * removed logging configuration to allow them to be overriden on the command line * changed the logging level of some statements to make explicit what the application is doing * changed application version logging Signed-off-by: Rolain Djeumen <uprightech@gmail.com> --------- Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
The keycloak scheduler application has for now the reponsibility of syncing keycloak saml clients using data from janssen.
This issue documents how to deploy it as a service , alongside the required dependencies.
Replace references to
<jans_version>
with the current build version of janssen.Additional files mentionned in the issue can be found here
Create directory structure.
Create the diretory
/opt/kc-scheduler
which should contain the following sub directories:/opt/kc-scheduler/bin
/opt/kc-scheduler/conf
/opt/kc-scheduler/lib
/opt/kc-scheduler/logs
Transfer files on the system
https://jenkins.jans.io/maven/io/jans/kc-jans-scheduler/<jans_version>/kc-jans-scheduler-<jans_version>-deps.zip
into/opt/kc-scheduler/lib
https://jenkins.jans.io/maven/io/jans/kc-jans-scheduler/<jans_version>/kc-jans-scheduler-<jans_version>.jar
and copy it into/opt/kc-scheduler/lib
3
and copy the filesconfig.properties.sample
andlogback.xml.sample
into the/opt/kc-scheduler/conf/
directory. Make sure to remove the.sample
extension.start.sh
uploaded with this issue to/op/kc-scheduler/bin
. Make sure it's executablekc-scheduler.service
uploaded with this issue to/etc/systemd/system
. That's the service fileConfiguration file setup
Make sure the following values in
config.properties.sample
(renamed toconfig.properties
) has the following values setapp.logging.level.root
toDEBUG
app.config-api.url
to the jans-config-api endpoint. E.g.https://example.com/jans-config-api
app.config-api.auth.url
to thejans-auth
token endpoint urlapp.config-api.auth.client.id
andapp.config-api.auth.client.secret
are the client id and secrets of thekc_scheduler_api
client.app.config-api.auth.client.scopes
is empty for nowapp.config-api.auth.method
is set tobasic
app.keycloak-admin.url
is set to the keycloak url . e.g.https://example.com/kc
app.keycloak-admin.realm
is set tomaster
app.keycloak-admin.username
is set toadmin
app.keycloak-admin.password
is set to the keycloak admin passwordapp.keycloak-admin.client.id
is set toadmin-cli
The text was updated successfully, but these errors were encountered: