fix tests

This commit is contained in:
jimmoffet
2022-09-30 10:59:48 -04:00
parent 1161e2c6cb
commit 48af6f7c23
8 changed files with 20 additions and 80 deletions

View File

@@ -1,7 +1,6 @@
---
applications:
- name: notify-api-alt
- name: notifications-api-((env))
buildpack: https://github.com/cloudfoundry/python-buildpack.git#v1.7.58
instances: 1
memory: 1G
@@ -9,29 +8,29 @@ applications:
health-check-type: process
health-check-invocation-timeout: 1
routes:
- route: notify-api-alt.app.cloud.gov
- route: notifications-api.app.cloud.gov
- route: notifications-api-((env)).apps.internal
services:
- api-alt-psql
- api-alt-redis
- notifications-api-rds-((env))
- notifications-api-redis-((env))
- notifications-api-csv-upload-bucket-((env))
- notifications-api-contact-list-bucket-((env))
env:
BP_PIP_VERSION: latest
NOTIFY_APP_NAME: api
NOTIFY_LOG_PATH: /home/vcap/logs/app.log
FLASK_APP: application.py
FLASK_ENV: production
DEPLOY_ENV: ((env))
NOTIFY_ENVIRONMENT: live
API_HOST_NAME: https://notify-api-alt.app.cloud.gov
ADMIN_BASE_URL: https://notify-admin-alt.app.cloud.gov
NOTIFICATION_QUEUE_PREFIX: notify_alt_
REDIS_ENABLED: true
API_HOST_NAME: https://notifications-api.app.cloud.gov
ADMIN_BASE_URL: https://notifications-admin.app.cloud.gov
STATSD_HOST: localhost
INTERNAL_CLIENT_API_KEYS: '{"notify-admin":["((ADMIN_CLIENT_SECRET))"]}'
# Credentials variables
INTERNAL_CLIENT_API_KEYS: '{"notify-admin":["((ADMIN_CLIENT_SECRET))"]}'
ADMIN_CLIENT_SECRET: ((ADMIN_CLIENT_SECRET))
DANGEROUS_SALT: ((DANGEROUS_SALT))
SECRET_KEY: ((SECRET_KEY))