<commit_before>#!/usr/bin/env bash

# Example :
# Token                         --> ./quickstart_sb_secured.sh -n sso -a https://api.engint.openshift.com -t aehZPpWNbaMb3nfXaxAKNkp_o8qCLcwGRmdbGM9SqPU -c http://secured-springboot-rest-sso.e8ca.engint.openshiftapps.com -s https://secure-sso-sso.e8ca.engint.openshiftapps.com
# User/password (local vagrant) --> ./quickstart_sb_secured.sh -n sso -a 172.28.128.4:8443 -u admin -p admin -c http://secured-springboot-rest-sso.172.28.128.4.xip.io -s https://secure-sso-sso.172.28.128.4.xip.io
# Minishift                     --> ./quickstart_sb_secured.sh -n sso -a 192.168.99.100:8443 -u admin -p admin -c http://secured-springboot-rest-sso.192.168.99.100.xip.io -s https://secure-sso-sso.192.168.99.100.xip.io
#
# ./httpie/token_req.sh https://secure-sso-sso.192.168.64.25.xip.io http://secured-springboot-rest-sso.192.168.64.25.xip.io


while getopts a:t:u:p:c:s: option
do
        case "${option}"
        in
                n) project=${OPTARG};;
                a) api=${OPTARG};;
                t) token=${OPTARG};;
                u) user=${OPTARG};;
                p) password=${OPTARG};;
                c) app=${OPTARG};;
                s) sso=${OPTARG};;
        esac
done

current=$PWD
echo "================================================================================"
echo "Openshift --> Api: $api, Token: $token, User: $user, Password: <PASSWORD>"
echo "App: $app"
echo "sso: $sso"
echo "================================================================================"
<commit_msg>Add missing param :n<commit_after>#!/usr/bin/env bash

# Example :
# OSO     : Token         --> ./quickstart_sb_secured.sh -n sso -a https://api.engint.openshift.com -t aehZPpWNbaMb3nfXaxAKNkp_o8qCLcwGRmdbGM9SqPU -c http://secured-springboot-rest-sso.e8ca.engint.openshiftapps.com -s https://secure-sso-sso.e8ca.engint.openshiftapps.com
# Vagrant : User/password --> ./quickstart_sb_secured.sh -n sso -a 172.28.128.4:8443 -u admin -p admin -c http://secured-springboot-rest-sso.172.28.128.4.xip.io -s https://secure-sso-sso.172.28.128.4.xip.io
# Minishift (1.0.0.Beta2) --> ./quickstart_sb_secured.sh -n sso -a 192.168.99.101:8443 -u admin -p admin -c http://secured-springboot-rest-sso.192.168.99.101.xip.io -s https://secure-sso-sso.192.168.99.101.xip.io
#
# ./httpie/token_req.sh https://secure-sso-sso.192.168.99.101.xip.io http://secured-springboot-rest-sso.192.168.99.101.xip.io


while getopts n:a:t:u:p:c:s: option
do
        case "${option}"
        in
                n) project=${OPTARG};;
                a) api=${OPTARG};;
                t) token=${OPTARG};;
                u) user=${OPTARG};;
                p) password=${OPTARG};;
                c) app=${OPTARG};;
                s) sso=${OPTARG};;
        esac
done

current=$PWD
echo "================================================================================"
echo "Openshift --> Api: $api, Token: $token, User: $user, Password: <PASSWORD>"
echo "App: $app"
echo "sso: $sso"
echo "================================================================================"

{'fraction_non_alphanumeric': 0.267377950210152, 'fraction_numerical': 0.06207565470417071, 'mean_word_length': 2.773170731707317, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 16, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '119255', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1117, 'n_words': 186}