My Ansible Playbook to install an OpenShift Lab
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.

58 lines
1.9 KiB

---
threescale_template: https://raw.githubusercontent.com/nmasse-itix/OpenShift-Lab/master/roles/3scale/files/amp.json
threescale_project: 3scale
threescale_tenant_name: 3scale
threescale_wildcard_domain: "{{ openshift_master_default_subdomain }}"
threescale_delay: 5
threescale_retries: 30
threescale_apicast_cors_lua: https://raw.githubusercontent.com/3scale/apicast/cors-example/examples/cors/apicast_cors.lua
threescale_apicast_cors_conf: https://raw.githubusercontent.com/3scale/apicast/cors-example/examples/cors/cors.conf
threescale_expected_deployment_configs:
- apicast-staging
- apicast-production
- backend-redis
- system-memcache
- system-mysql
- system-redis
- backend-listener
- backend-worker
- system-app
- system-resque
- system-sidekiq
- backend-cron
- system-sphinx
threescale_apis_to_create:
- service:
name: "Hello API"
system_name: hello-api
backend_version: 1 # 1 means "API Key"
proxy:
credentials_location: headers
api_test_path: /rest/Hello%20API%20Mock/0.8/v1/hello?David
backend: microcks
application_plans:
- name: Default
system_name: default
default: true
state: published
applications:
- name: Hello App
description: "This is my very first application"
- service:
name: "Hello API OAuth"
system_name: hello-api-oauth
backend_version: oauth
proxy:
credentials_location: headers
api_test_path: /rest/Hello%20API%20Mock/0.8/v1/hello?Gavin
backend: microcks
application_plans:
- name: Default
system_name: default
default: true
state: published
applications:
- name: Hello App with OAuth
description: "This is my very first application using OAuth"
redirect_url: https://www.getpostman.com/oauth2/callback