Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Sep 4, 2024
1 parent dd9f73b commit 5b4dc45
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions single-page-app/envoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static_resources:
uri: http://myhub:7000/authenticate
timeout: 3s
default_expires_in: 600s
authorization_endpoint: http://localhost:7000/authorize
authorization_endpoint: http://localhost:11902/authorize
redirect_uri: "%REQ(x-forwarded-proto)%://%REQ(:authority)%/authorize"
forward_bearer_token: true
pass_through_matcher:
Expand Down Expand Up @@ -111,7 +111,7 @@ static_resources:
uri: http://myhub:7000/authenticate
timeout: 3s
default_expires_in: 600s
authorization_endpoint: http://localhost:7000/authorize
authorization_endpoint: http://localhost:11902/authorize
redirect_uri: "%REQ(x-forwarded-proto)%://%REQ(:authority)%/authorize"
forward_bearer_token: true
pass_through_matcher:
Expand Down
30 changes: 15 additions & 15 deletions single-page-app/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ cat << 'EOF'
"public_repos": 3}
EOF
)
EXPECTED_USER="$(
yq -c \
--arg port "$PORT_MYHUB" \
"$EXPECTED_USER_JQ" \
< myhub/data.yml)"
# EXPECTED_USER="$(
# yq -c \
# --arg port "$PORT_MYHUB" \
# "$EXPECTED_USER_JQ" \
# < myhub/data.yml)"

EXPECTED_REPOS_JQ=$(
cat << 'EOF'
Expand All @@ -60,11 +60,11 @@ cat << 'EOF'
"full_name": "envoydemo/\(.)"})
EOF
)
EXPECTED_REPOS="$(
yq -c \
--arg port "$PORT_MYHUB" \
"$EXPECTED_REPOS_JQ" \
< myhub/data.yml)"
# EXPECTED_REPOS="$(
# yq -c \
# --arg port "$PORT_MYHUB" \
# "$EXPECTED_REPOS_JQ" \
# < myhub/data.yml)"

EXPECTED_FOLLOWERS_JQ=$(
cat << 'EOF'
Expand Down Expand Up @@ -96,11 +96,11 @@ cat << 'EOF'
"login": .})
EOF
)
EXPECTED_FOLLOWING="$(
yq -c \
--arg port "$PORT_MYHUB" \
"$EXPECTED_FOLLOWING_JQ" \
< myhub/data.yml)"
# EXPECTED_FOLLOWING="$(
# yq -c \
# --arg port "$PORT_MYHUB" \
# "$EXPECTED_FOLLOWING_JQ" \
# < myhub/data.yml)"


test_auth () {
Expand Down
Empty file added single-page-app/xds/lds.yml
Empty file.

0 comments on commit 5b4dc45

Please sign in to comment.