<commit_before>#!/bin/sh
# Add OpenShift PING implementation
set -e

SCRIPT_DIR=$(dirname $0)
ADDED_DIR=${SCRIPT_DIR}/added
SOURCES_DIR="/tmp/artifacts"
VERSION="1.1.4.Final-redhat-1"

DEST=${JBOSS_HOME}/modules/system/layers/openshift/org/openshift/ping/main
mkdir -p ${DEST}

cp -p ${ADDED_DIR}/modules/system/layers/openshift/org/openshift/ping/main/module.xml \
      ${SOURCES_DIR}/openshift-ping-common-$VERSION.jar \
      ${SOURCES_DIR}/openshift-ping-dns-$VERSION.jar \
      ${SOURCES_DIR}/openshift-ping-kube-$VERSION.jar \
      ${DEST}

sed -i "s/##VERSION##/$VERSION/g" ${DEST}/module.xml

DEST="$JBOSS_HOME/modules/system/layers/openshift/net/oauth/core/main/"
mkdir -p "$DEST"
cp -p ${SOURCES_DIR}/oauth-20100527.jar "$DEST"
<commit_msg>CLOUD-1876 upgrade ping to 1.1.5<commit_after>#!/bin/sh
# Add OpenShift PING implementation
set -e

SCRIPT_DIR=$(dirname $0)
ADDED_DIR=${SCRIPT_DIR}/added
SOURCES_DIR="/tmp/artifacts"
VERSION="1.1.5.Final-redhat-1"

DEST=${JBOSS_HOME}/modules/system/layers/openshift/org/openshift/ping/main
mkdir -p ${DEST}

cp -p ${ADDED_DIR}/modules/system/layers/openshift/org/openshift/ping/main/module.xml \
      ${SOURCES_DIR}/openshift-ping-common-$VERSION.jar \
      ${SOURCES_DIR}/openshift-ping-dns-$VERSION.jar \
      ${SOURCES_DIR}/openshift-ping-kube-$VERSION.jar \
      ${DEST}

sed -i "s/##VERSION##/$VERSION/g" ${DEST}/module.xml

DEST="$JBOSS_HOME/modules/system/layers/openshift/net/oauth/core/main/"
mkdir -p "$DEST"
cp -p ${SOURCES_DIR}/oauth-20100527.jar "$DEST"

{'fraction_non_alphanumeric': 0.1842622950819672, 'fraction_numerical': 0.021639344262295083, 'mean_word_length': 4.335664335664336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, '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': '5492714', 'n_tokens_mistral': 657, 'n_tokens_neox': 593, 'n_words': 74}