You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
2.6 KiB
49 lines
2.6 KiB
---
|
|
threescale_cicd_openapi_file_format: YAML
|
|
threescale_cicd_delay: 10
|
|
threescale_cicd_retries: 50
|
|
threescale_cicd_throttling: 2
|
|
threescale_cicd_staging_environment_name: sandbox
|
|
threescale_cicd_production_environment_name: production
|
|
threescale_cicd_default_staging_suffix: -staging
|
|
threescale_cicd_default_production_suffix: ""
|
|
threescale_cicd_default_apicast_scheme: https
|
|
threescale_cicd_openapi_smoketest_default_scope: openid
|
|
threescale_cicd_default_oauth_scopes:
|
|
openid: Any OpenID Connect token
|
|
threescale_cicd_application_plans:
|
|
- system_name: ansible
|
|
default: false
|
|
state: hidden
|
|
name: Ansible Test Plan
|
|
|
|
# APIcast public base URLs
|
|
threescale_cicd_apicast_sandbox_endpoint: '{{ lookup(''template'', ''openapi/apicast_sandbox_endpoint.j2'') }}'
|
|
threescale_cicd_apicast_production_endpoint: '{{ lookup(''template'', ''openapi/apicast_production_endpoint.j2'') }}'
|
|
|
|
# SSO Issuer Endpoint
|
|
threescale_cicd_sso_issuer_endpoint: '{{ lookup(''template'', ''openapi/sso_issuer_endpoint.j2'') }}'
|
|
##
|
|
## Default Application (used for Smoke Tests)
|
|
##
|
|
threescale_cicd_default_application_name: 'Ansible smoke-tests default application'
|
|
threescale_cicd_default_application_description: 'This app is used to run smoke tests during the deployment phase. It will be automatically recreated if you delete it.'
|
|
|
|
# The application plan to pick for the default application (the one used for
|
|
# smoke tests)
|
|
threescale_cicd_default_application_plan: '{{ (threescale_cicd_application_plans|first).system_name }}'
|
|
|
|
# Compute the default application's appid. By default, we are using a combination
|
|
# of app, api and environment data, hashed toghether to produce a stable id.
|
|
threescale_cicd_default_application_appid: '{{ (threescale_cicd_default_application_name ~ threescale_cicd_api_system_name ~ threescale_cicd_access_token)|hash(''sha1'') }}'
|
|
threescale_cicd_default_application_appsecret: '{{ (''secret'' ~ threescale_cicd_default_application_name ~ threescale_cicd_api_system_name ~ threescale_cicd_access_token)|hash(''sha1'') }}'
|
|
|
|
# The OpenAPI Operation to use for the smoketest
|
|
threescale_cicd_openapi_smoketest_operation: '{{ threescale_cicd_openapi_file_content|json_query(''paths.*.get[? "x-threescale-smoketests-operation" ].operationId|[0]'')|default("")|regex_replace(''[^0-9a-zA-Z_]+'', ''_'') }}'
|
|
|
|
##
|
|
## OpenAPI Specification File parsing
|
|
##
|
|
threescale_cicd_api_base_system_name: '{{ lookup(''template'', ''openapi/generate_base_system_name.j2'') }}'
|
|
threescale_cicd_api_system_name: '{{ lookup(''template'', ''openapi/generate_final_system_name.j2'') }}'
|
|
threescale_cicd_private_base_url: '{{ lookup(''template'', ''openapi/private_base_url.j2'') }}'
|
|
|