Skip to content

Commit e1af0ed

Browse files
committed
Modify apigee client
Signed-off-by: Connor Avery <[email protected]>
1 parent a95ac8c commit e1af0ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/scripts/deploy_api.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ fi
4343

4444
# Determine the proxy instance based on the provided $STACK_NAME
4545
apigee_api=pfp-proxygen
46+
apigee_client=prescriptions-for-patients
4647
instance="pfp-proxygen${instance_suffix}"
4748

4849
echo "Proxy instance: ${instance}"
4950
echo "Apigee api: ${apigee_api}"
51+
echo "Apigee client: ${apigee_client}"
5052

5153
echo
5254

@@ -100,6 +102,7 @@ if [[ "${ENABLE_MUTUAL_TLS}" == "true" ]]; then
100102
echo "Store the secret used for mutual TLS to AWS using Proxygen proxy lambda"
101103
if [[ "${DRY_RUN}" == "false" ]]; then
102104
jq -n --arg apiName "${apigee_api}" \
105+
--arg apiClient "${apigee_client}" \
103106
--arg environment "${APIGEE_ENVIRONMENT}" \
104107
--arg secretName "${MTLS_KEY}" \
105108
--arg secretKey "${client_private_key}" \
@@ -126,6 +129,7 @@ if [[ "${DRY_RUN}" == "false" ]]; then
126129

127130
jq -n --argfile spec "${SPEC_PATH}" \
128131
--arg apiName "${apigee_api}" \
132+
--arg apiClient "${apigee_client}" \
129133
--arg environment "${APIGEE_ENVIRONMENT}" \
130134
--arg instance "${instance}" \
131135
--arg kid "${PROXYGEN_KID}" \
@@ -150,6 +154,7 @@ fi
150154
# if [[ "${DRY_RUN}" == "false" ]]; then
151155
# jq -n --argfile spec "${SPEC_PATH}" \
152156
# --arg apiName "${apigee_api}" \
157+
# --arg apiClient "${apigee_client}" \
153158
# --arg environment "prod" \
154159
# --arg instance "${instance}" \
155160
# --arg kid "${PROXYGEN_KID}" \
@@ -175,6 +180,7 @@ if [[ "${APIGEE_ENVIRONMENT}" == "internal-dev" && "${IS_PULL_REQUEST}" == "fals
175180
if [[ "${DRY_RUN}" == "false" ]]; then
176181
jq -n --argfile spec "${SPEC_PATH}" \
177182
--arg apiName "${apigee_api}" \
183+
--arg apiClient "${apigee_client}" \
178184
--arg environment "uat" \
179185
--arg instance "${instance}" \
180186
--arg kid "${PROXYGEN_KID}" \

0 commit comments

Comments
 (0)