Browse Source

see #31: fix undefined variable in public url

pull/42/head
Nicolas Massé 7 years ago
parent
commit
38b7cdb4ac
  1. 2
      tests/test-cases/04-one-gateway.yml

2
tests/test-cases/04-one-gateway.yml

@ -10,7 +10,7 @@
threescale_cicd_openapi_smoketest_operation: GET_beer threescale_cicd_openapi_smoketest_operation: GET_beer
# Both Public Base URL are the same # Both Public Base URL are the same
threescale_cicd_apicast_sandbox_endpoint: '{{ threescale_cicd_apicast_production_endpoint }}' threescale_cicd_apicast_sandbox_endpoint: '{{ threescale_cicd_apicast_production_endpoint }}'
threescale_cicd_apicast_production_endpoint: '{{ threescale_cicd_default_apicast_scheme }}://{{ (threescale_cicd_api_base_system_name ~ "-" ~ threescale_cicd_api_version_major)|regex_replace(''[^a-zA-Z0-9-]+'', ''-'')|lower }}{{ threescale_cicd_default_production_suffix }}.{{ apicast_production_domain }}' threescale_cicd_apicast_production_endpoint: '{{ threescale_cicd_default_apicast_scheme }}://{{ (threescale_cicd_api_base_system_name ~ "-" ~ threescale_cicd_api_version_major)|regex_replace(''[^a-zA-Z0-9-]+'', ''-'')|lower }}{{ threescale_cicd_default_production_suffix }}.{{ apicast_production_domain|default(threescale_cicd_wildcard_domain) }}'
tasks: tasks:
- name: Generate a random system_name for this test run - name: Generate a random system_name for this test run
import_tasks: "common/random-system-name.yml" import_tasks: "common/random-system-name.yml"

Loading…
Cancel
Save