forked from docker/midPoint_container
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'shibboleth-integration' of https://github.internet2.edu…
…/TIER/midPoint_container into shibboleth-integration
- Loading branch information
Showing
12 changed files
with
121 additions
and
220 deletions.
There are no files selected for viewing
136 changes: 0 additions & 136 deletions
136
grouper-midpoint/mp-gr/configs-and-secrets/shibboleth/shibboleth2.xml
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
grouper-midpoint/mp-gr/configs-and-secrets/shibboleth/sp-cert.pem
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
grouper-midpoint/mp-gr/configs-and-secrets/shibboleth/sp-key.pem
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
grouper-midpoint/mp-gr/midpoint-server/container_files/usr-local-bin/sendtierbeacon.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| #!/bin/bash | ||
|
|
||
| LOGHOST="localhost" | ||
| LOGPORT="80" | ||
|
|
||
| if [ -s /opt/tier/env.bash ]; then | ||
| . /opt/tier/env.bash | ||
| fi | ||
|
|
||
| messagefile="/tmp/beaconmsg" | ||
|
|
||
| if [ -z "$TIER_BEACON_OPT_OUT" ]; then | ||
| cat > $messagefile <<EOF | ||
| { | ||
| "msgType" : "TIERBEACON", | ||
| "msgName" : "TIER", | ||
| "msgVersion" : "1.0", | ||
| "tbProduct" : "MIDPOINT", | ||
| "tbProductVersion" : "$MP_VERSION", | ||
| "tbTIERRelease" : "$TIER_RELEASE", | ||
| "tbMaintainer" : "$TIER_MAINTAINER" | ||
| } | ||
| EOF | ||
|
|
||
| curl -s -XPOST "${LOGHOST}:${LOGPORT}/" -H 'Content-Type: application/json' -T $messagefile 1>/dev/null 2>&1 | ||
| if [ $? -eq 0 ]; then | ||
| echo "tier_beacon;none;$ENV;$USERTOKEN;"`date`"; TIER beacon sent" | ||
| else | ||
| echo "tier_beacon;none;$ENV;$USERTOKEN;"`date`"; Failed to send TIER beacon" | ||
| fi | ||
|
|
||
| rm -f $messagefile 1>/dev/null 2>&1 | ||
|
|
||
| fi |
Oops, something went wrong.