initial commit

This commit is contained in:
2020-07-29 16:01:00 +02:00
commit 21c2ec0f00
59 changed files with 1683 additions and 0 deletions

12
keycloak/tools/statistics.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
if [ -n "$KEYCLOAK_STATISTICS" ]; then
IFS=',' read -ra metrics <<< "$KEYCLOAK_STATISTICS"
for file in /opt/jboss/tools/cli/metrics/*.cli; do
name=${file##*/}
base=${name%.cli}
if [[ $KEYCLOAK_STATISTICS == *"$base"* ]] || [[ $KEYCLOAK_STATISTICS == *"all"* ]]; then
$JBOSS_HOME/bin/jboss-cli.sh --file="$file" >& /dev/null
fi
done
fi