-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from crshanks/crshanks-toplevel-deploy-script
Crshanks toplevel deploy script
- Loading branch information
Showing
11 changed files
with
95 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/bin/bash | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
cd $SCRIPT_DIR | ||
|
||
# Create a property set | ||
./props.sh -c | ||
|
||
# Sharedflows | ||
echo "Deploying sharedflows..." | ||
echo "Deploying nr-instrumentation-obfuscation-sharedflow..." | ||
cd $SCRIPT_DIR/sharedflows/src/gateway/nr-instrumentation-obfuscate-sharedflow | ||
./deploy.sh | ||
echo "Deploying nr-instrumentation-sharedflow..." | ||
cd $SCRIPT_DIR/sharedflows/src/gateway/nr-instrumentation-sharedflow | ||
./deploy.sh | ||
echo "Deploying nr-log-api-sharedflow..." | ||
cd $SCRIPT_DIR/sharedflows/src/gateway/nr-log-api-sharedflow | ||
./deploy.sh | ||
echo "Deploying nr-logging-api-sharedflow..." | ||
cd $SCRIPT_DIR/sharedflows/src/gateway/nr-logging-sharedflow | ||
./deploy.sh | ||
echo "Deploying nr-metric-sharedflow..." | ||
cd $SCRIPT_DIR/sharedflows/src/gateway/nr-metric-api-sharedflow | ||
./deploy.sh | ||
echo "Deploying nr-trace-api-sharedflow..." | ||
cd $SCRIPT_DIR/sharedflows/src/gateway/nr-trace-api-sharedflow | ||
./deploy.sh | ||
echo "Completed deploying sharedflows" | ||
|
||
# Examples | ||
echo "Deploying examples..." | ||
echo "Deploying newrelic-logging example proxy..." | ||
cd $SCRIPT_DIR/examples/newrelic-logging | ||
./deploy.sh | ||
echo "Deploying newrelic-metric example proxy..." | ||
cd $SCRIPT_DIR/examples/newrelic-metric | ||
./deploy.sh | ||
echo "Deploying newrelic-trace example proxy..." | ||
cd $SCRIPT_DIR/examples/newrelic-trace | ||
./deploy.sh | ||
echo "Deploying newrelic-trace-and-logging example proxy..." | ||
cd $SCRIPT_DIR/examples/newrelic-trace-and-logging | ||
./deploy.sh | ||
echo "Deploying newrelic-trace-and-metric example proxy..." | ||
cd $SCRIPT_DIR/examples/newrelic-trace-and-metric-and-log | ||
./deploy.sh | ||
echo "Deploying newrelic-trace-and-metric-and-log-obfuscate example proxy..." | ||
cd $SCRIPT_DIR/examples/newrelic-trace-and-metric-and-log-obfuscate | ||
./deploy.sh | ||
echo "Completed deploying examples" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "test", | ||
"policies": [], | ||
"proxies": [ | ||
{ | ||
"name": "default.xml", | ||
"tokens": [ | ||
{ | ||
"xpath": "/ProxyEndpoint/HTTPProxyConnection/BasePath", | ||
"value": "/newrelic/mimecast-risk-assessment" | ||
} | ||
] | ||
} | ||
], | ||
"targets": [ | ||
{ | ||
"name": "backend.xml", | ||
"tokens": [ | ||
{ | ||
"xpath": "/TargetEndpoint/HTTPTargetConnection/URL", | ||
"value": "http://ec2-3-236-183-93.compute-1.amazonaws.com:8082/riskAssessmentService" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
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
File renamed without changes.
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