Skip to content

Commit 55b1e4b

Browse files
committed
schema compliant proxy template package.json
1 parent 54e6f39 commit 55b1e4b

File tree

4 files changed

+15
-5363
lines changed

4 files changed

+15
-5363
lines changed

.yamllint.yml

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
extends: default
216
rules:
317
document-start: disable

references/proxy-template/generate-proxy.sh

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ TARGET_SERVER_NAME="ts-$TARGET_HOST-$TARGET_PORT"
6363

6464
# Copy proxy template and replace variables
6565
cp -r ./template-v1 ./"$PROXY"-"$VERSION"
66+
mv ./"$PROXY"-"$VERSION"/package.template.json ./"$PROXY"-"$VERSION"/package.json
6667
mv ./"$PROXY"-"$VERSION"/apiproxy/apigee-v1.xml ./"$PROXY"-"$VERSION"/apiproxy/"$PROXY"-"$VERSION".xml
6768
sed -i.bak "s|@ProxyName@|$PROXY|" ./"$PROXY"-"$VERSION"/apiproxy/"$PROXY"-"$VERSION".xml
6869
sed -i.bak "s|@Version@|$VERSION|" ./"$PROXY"-"$VERSION"/apiproxy/"$PROXY"-"$VERSION".xml

0 commit comments

Comments
 (0)