Repository navigation
Expand file tree
/
Copy pathdefaults.sh
More file actions
48 lines (39 loc) · 1.59 KB
/
Copy pathdefaults.sh
File metadata and controls
48 lines (39 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Default values (DO NOT EDIT THESE BELOW)
# Prefixes
export PREFIX="apigee-sample-extproc"
export APIGEE_PREFIX="extproc"
# Load Balancer Config
export IP_NAME="${PREFIX}-lb-frontend-ip"
export CERT_NAME="${PREFIX}-lb-cert"
export URL_MAP_NAME="${PREFIX}-lb"
export TARGET_PROXY_NAME="${PREFIX}-lb-tgt-proxy"
export FORWARDING_RULE_NAME="${PREFIX}-lb-fwd-rule"
export SERVICE_NEG_NAME="${PREFIX}-neg-httpbin"
export SERVICE_BACKEND_SERVICE_NAME="${PREFIX}-lb-be-svc"
# Apigee Config
export APIGEE_ORG="${PROJECT_ID}"
export ENV_NAME="${APIGEE_PREFIX}-env"
export GROUP_NAME="${APIGEE_PREFIX}-group"
export PROXY_NAME="${APIGEE_PREFIX}-proxy"
export PRODUCT_NAME="${APIGEE_PREFIX}-product"
export DEVELOPER_NAME="${APIGEE_PREFIX}-http-user"
export DEVELOPER_APP_NAME="${APIGEE_PREFIX}-http-app"
export PROXY_BUNDLE_DIR="bundle/apiproxy"
# Service Extension Config
export SERVICE_EXTENSION_NAME="${PREFIX}-callout-extension"
export RUNTIME_NEG_NAME="${PREFIX}-neg-runtime"
export RUNTIME_BACKEND_SERVICE_NAME="${PREFIX}-be-svc-runtime"