Skip to content

Commit

Permalink
Merge a59016e into 6549469
Browse files Browse the repository at this point in the history
  • Loading branch information
mdholloway committed Sep 18, 2019
2 parents 6549469 + a59016e commit 0de3ca7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
6 changes: 4 additions & 2 deletions config.frontend.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ default_project: &default_project
# 10 days Varnish caching, one day client-side
cache-control: s-maxage=864000, max-age=86400
mobileapps:
host: https://appservice.wmflabs.org
host: https://mobileapps.wmflabs.org
wikifeeds:
host: https://wikifeeds.wmflabs.org
summary:
protocol: https
implementation: mcs
host: https://appservice.wmflabs.org
host: https://mobileapps.wmflabs.org
citoid:
host: https://citoid-beta.wmflabs.org
recommendation:
Expand Down
6 changes: 4 additions & 2 deletions config.fullstack.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ default_project: &default_project
# 10 days Varnish caching, one day client-side
cache-control: s-maxage=864000, max-age=86400
mobileapps:
host: https://appservice.wmflabs.org
host: https://mobileapps.wmflabs.org
wikifeeds:
host: https://wikifeeds.wmflabs.org
summary:
protocol: https
implementation: mcs
host: https://appservice.wmflabs.org
host: https://mobileapps.wmflabs.org
citoid:
host: https://citoid-beta.wmflabs.org
recommendation:
Expand Down
2 changes: 1 addition & 1 deletion projects/v1/wikimedia.wmf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ paths:
/feed:
x-modules:
- path: v1/availability.yaml
options: '{{options.mobileapps}}'
options: '{{options.wikifeeds}}'
6 changes: 3 additions & 3 deletions projects/v1/wikipedia.wmf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ paths:
/feed:
x-modules:
- path: v1/feed.js
options: '{{merge({"feed_cache_control": "s-maxage=300, max-age=60"}, options.mobileapps)}}'
options: '{{merge({"feed_cache_control": "s-maxage=300, max-age=60"}, options.wikifeeds)}}'
- path: v1/announcements.yaml
options: '{{merge({"announcement_cache_control": "s-maxage=86400, max-age=86400"}, options.mobileapps)}}'
options: '{{merge({"announcement_cache_control": "s-maxage=86400, max-age=86400"}, options.wikifeeds)}}'
- path: v1/onthisday.js
options: '{{merge({"feed_cache_control": "s-maxage=300, max-age=60"}, options.mobileapps)}}'
options: '{{merge({"feed_cache_control": "s-maxage=300, max-age=60"}, options.wikifeeds)}}'
/transform:
x-modules:
- path: v1/transform.yaml
Expand Down
2 changes: 1 addition & 1 deletion test/features/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Server = require('../utils/server.js');
const preq = require('preq');

function assertMCSRequest(content, date, expected) {
const serviceURI = 'https://appservice.wmflabs.org';
const serviceURI = 'https://wikifeeds.wmflabs.org';
let path = `/en.wikipedia.org/v1/${content}`;
if (date) {
path += `/${date}`;
Expand Down

0 comments on commit 0de3ca7

Please sign in to comment.