REPOSITORY HAS BEEN MOVED TO: https://gitlab.ics.muni.cz/perun-proxy-aai/java/spreg_oidc_metadata_sync
Command-line tool for synchronization of data stored about the clients in Perun to MitreID. Serves as one-shot synchronization. To run it periodically, we advise to create a cron job.
This repository uses Conventional Commits. Any change that significantly changes behavior in a backward-incompatible way or requires a configuration change must be marked as BREAKING CHANGE.
- script
First, package the application. If you have already downloaded the compiled JAR file, skip to the next step.
./mvnw clean package -Dfinal.name=oidc-sync-v1
- final.name: name of the built jar
Run the JAR with options to specify config file location and name (name defaults to application.yml)
java -jar PATH/TO/RUNNABLE/JAR/FILE.jar --spring.config.location=/PATH/TO/DIR/WITH/CONFIG/
--spring.config.name=FILE_NAME_WITHOUT_EXTENSION --mode=to_perun --interactive=true
- MODE: specifies the destination to which the sync will be performed
- to_perun
- to_oidc
- INTERACTIVE: if set to TRUE, each action has to be confirmed by the user
- true
- false