From 3803c6ef1e6787aea963e37e99b1281aa2c3eebb Mon Sep 17 00:00:00 2001 From: Shane Tomlinson Date: Wed, 20 Mar 2019 08:40:57 +0000 Subject: [PATCH] fix(test): Fix the openid-config/metrics flow tests on teamcity * Set a default value of `allowed_metrics_flow_cors_origins` to `null` * Change the default value of `pairing.server_base_uri` to `wss://dev.channelserver.nonprod.cloudops.mozgcp.net` which is used by all dev boxes. Production config will need to be updated to handle this change. fixes #7066 BREAKING CHANGE --- server/lib/configuration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/configuration.js b/server/lib/configuration.js index 8600639d1..0bdd8cc39 100644 --- a/server/lib/configuration.js +++ b/server/lib/configuration.js @@ -19,7 +19,7 @@ const conf = module.exports = convict({ format: Array }, allowed_metrics_flow_cors_origins: { - default: [], + default: [null], doc: 'Origins that are allowed to request the /metrics-flow endpoint', env: 'ALLOWED_METRICS_FLOW_ORIGINS', format: Array @@ -415,7 +415,7 @@ const conf = module.exports = convict({ format: Array, }, server_base_uri: { - default: 'wss://channelserver.services.mozilla.com', + default: 'wss://dev.channelserver.nonprod.cloudops.mozgcp.net', doc: 'The url of the Pairing channel server.', env: 'PAIRING_SERVER_BASE_URI' },