|
| 1 | +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"). You may |
| 4 | +# not use this file except in compliance with the License. A copy of the |
| 5 | +# License is located at |
| 6 | +# |
| 7 | +# http://aws.amazon.com/apache2.0/ |
| 8 | +# |
| 9 | +# or in the "license" file accompanying this file. This file is distributed |
| 10 | +# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
| 11 | +# express or implied. See the License for the specific language governing |
| 12 | +# permissions and limitations under the License. |
| 13 | + |
| 14 | +"""Stores the values used by each of the integration tests for replacing the |
| 15 | +APIGatewayV2-specific test variables. |
| 16 | +""" |
| 17 | + |
| 18 | +REPLACEMENT_VALUES = { |
| 19 | + "API_NAME": "ack-test-api", |
| 20 | + "API_TITLE": "ack-test-api", |
| 21 | + "API_ID": "api_id", |
| 22 | + "INTEGRATION_NAME": "ack-test-integration", |
| 23 | + "INTEGRATION_URI": "https://httpbin.org/get", |
| 24 | + "AUTHORIZER_NAME": "ack-test-authorizer", |
| 25 | + "AUTHORIZER_TITLE": "ack-test-authorizer", |
| 26 | + "IDENTITY_SOURCE": "$request.header.Authorization", |
| 27 | + "AUTHORIZER_URI": "authorizer_uri", |
| 28 | + "ROUTE_NAME": "ack-test-route", |
| 29 | + "ROUTE_PATH": "httpbin", |
| 30 | + "ROUTE_KEY": "GET /httpbin", |
| 31 | + "INTEGRATION_ID": "integration_id", |
| 32 | + "AUTHORIZER_ID": "authorizer_id", |
| 33 | + "STAGE_NAME": "test", |
| 34 | + "STAGE_DESCRIPTION": "ack-test-stage" |
| 35 | +} |
0 commit comments