Skip to content
Permalink
Browse files

ENT-2102 - Pass through Testnet endpoint to scripts

  • Loading branch information...
Tommy Lillehagen
Tommy Lillehagen committed Jul 25, 2018
1 parent 3188c37 commit fc56092b48e2e01222c18e800f6877eae1e4c8aa
@@ -16,14 +16,13 @@ RPC_IP="$(echo "${8:-}" | sed 's#/.*$##')"
P2P_LOAD_BALANCER="${9:-}"
RPC_LOAD_BALANCER="${10:-}"
REGION="${11:-}"
TESTNET_URL="${12:-https://testnet.corda.network}"

# Constants

INSTALL_DIR="/opt/corda"
NODE_CONFIG_FILE="/opt/corda/node.conf"

TESTNET_URL="https://testnet.corda.network"

PLATFORM="AWS"
DISTRO="ENTERPRISE"

@@ -16,14 +16,13 @@ RPC_IP="$(echo "${8:-}" | sed 's#/.*$##')"
P2P_LOAD_BALANCER="${9:-}"
RPC_LOAD_BALANCER="${10:-}"
REGION="${11:-}"
TESTNET_URL="${12:-https://testnet.corda.network}"

# Constants

INSTALL_DIR="/opt/corda"
NODE_CONFIG_FILE="/opt/corda/node.conf"

TESTNET_URL="https://testnet.corda.network"

PLATFORM="AWS"
DISTRO="ENTERPRISE"

@@ -347,6 +347,7 @@ Resources:
CountryCode: !Ref CountryCode
Location: !Ref Location
OneTimeKey: !Ref OneTimeKey
TestnetEndpoint: !Ref TestnetEndpoint
PrivateSubnet1ID: !GetAtt VPCStack.Outputs.PrivateSubnet1AID
PrivateSubnet2ID: !GetAtt VPCStack.Outputs.PrivateSubnet2AID
PublicSubnet1ID: !GetAtt VPCStack.Outputs.PublicSubnet1ID
@@ -493,7 +493,8 @@ Resources:
"${RPCAddress}" \
"${P2PELB}" \
"${RPCELB}" \
"${Region}"
"${Region}" \
"${TestnetEndpoint}"
- P2PAddress: !GetAtt
- P2PLoadBalancer
- DNSName
@@ -508,6 +509,7 @@ Resources:
P2PELB: !Ref P2PLoadBalancer
RPCELB: !Ref RPCLoadBalancer
Region: !Ref 'AWS::Region'
TestnetEndpoint: !Ref TestnetEndpoint
run-service-corda:
commands:
start_corda :
@@ -663,7 +665,8 @@ Resources:
"${RPCAddress}" \
"${P2PELB}" \
"${RPCELB}" \
"${Region}"
"${Region}" \
"${TestnetEndpoint}"
- P2PAddress: !GetAtt
- P2PLoadBalancer
- DNSName
@@ -678,6 +681,7 @@ Resources:
P2PELB: !Ref P2PLoadBalancer
RPCELB: !Ref RPCLoadBalancer
Region: !Ref 'AWS::Region'
TestnetEndpoint: !Ref TestnetEndpoint
run-service-corda:
commands:
start_corda :
@@ -329,6 +329,7 @@ Resources:
CountryCode: !Ref CountryCode
Location: !Ref Location
OneTimeKey: !Ref OneTimeKey
TestnetEndpoint: !Ref TestnetEndpoint
PrivateSubnet1ID: !Ref PrivateSubnet1ID
PrivateSubnet2ID: !Ref PrivateSubnet2ID
PublicSubnet1ID: !Ref PublicSubnet1ID

0 comments on commit fc56092

Please sign in to comment.
You can’t perform that action at this time.