Added elk files plus other updates
Change-Id: Idb2350c22a1c72324f7599171b94ed12d3d84ce0
diff --git a/rapps/rp_test.sh b/rapps/rp_test.sh
index 20eca21..e3a7110 100644
--- a/rapps/rp_test.sh
+++ b/rapps/rp_test.sh
@@ -15,20 +15,20 @@
url="http://192.168.49.2:31560/auth/realms"
# echo $url
TOKEN=$(curl -s -X POST $url/provider/protocol/openid-connect/token -H \
- "Content-Type: application/x-www-form-urlencoded" -d client_secret=to6qrqxLj0mwHKS8e3E7s1zzDHsNg1Ua \
+ "Content-Type: application/x-www-form-urlencoded" -d client_secret=OwTCeahULA21G5TfEVMLG1iMloGiyH3i \
-d 'grant_type=client_credentials' -d client_id=provider-cli)
echo "TOKEN: $TOKEN"
ACCESS_TOKEN=$(echo $TOKEN | jq -r '.access_token')
#echo "ACCESS_TOKEN: $ACCESS_TOKEN"
REFRESH_TOKEN=$(echo $TOKEN | jq -r '.refresh_token')
#echo "REFRESH_TOKEN: $REFRESH_TOKEN"
- TOKEN2=$(curl -s -X POST $url/provider/protocol/openid-connect/token -H \
- "Content-Type: application/x-www-form-urlencoded" -d client_secret=to6qrqxLj0mwHKS8e3E7s1zzDHsNg1Ua \
- -d refresh_token=$REFRESH_TOKEN \
- -d 'grant_type=refresh_token' -d client_id=provider-cli)
+ # TOKEN2=$(curl -s -X POST $url/provider/protocol/openid-connect/token -H \
+ # "Content-Type: application/x-www-form-urlencoded" -d client_secret= \
+ # -d refresh_token=$REFRESH_TOKEN \
+ # -d 'grant_type=refresh_token' -d client_id=provider-cli)
#echo "TOKEN2 = $TOKEN2"
#ACCESS_TOKEN=""
- #echo $ACCESS_TOKEN
+ echo $ACCESS_TOKEN
}
function run_test