Mobrovac has submitted this change and it was merged.
Change subject: Change propagation: update config
......................................................................
Change propagation: update config
Change-Id: I90ba02713815d4c25e25816bf258141bbc8d6428
---
M puppet/modules/changeprop/manifests/init.pp
M puppet/modules/changeprop/templates/config.yaml.erb
2 files changed, 16 insertions(+), 1 deletion(-)
Approvals:
Mobrovac: Looks good to me, approved
jenkins-bot: Verified
diff --git a/puppet/modules/changeprop/manifests/init.pp
b/puppet/modules/changeprop/manifests/init.pp
index fe170bd..bcd22ee 100644
--- a/puppet/modules/changeprop/manifests/init.pp
+++ b/puppet/modules/changeprop/manifests/init.pp
@@ -18,6 +18,7 @@
service::node { 'changeprop':
port => $port,
+ module => 'hyperswitch',
log_level => $log_level,
git_remote => 'https://github.com/wikimedia/change-propagation.git',
config => template('changeprop/config.yaml.erb'),
diff --git a/puppet/modules/changeprop/templates/config.yaml.erb
b/puppet/modules/changeprop/templates/config.yaml.erb
index 488e9b2..43c4653 100644
--- a/puppet/modules/changeprop/templates/config.yaml.erb
+++ b/puppet/modules/changeprop/templates/config.yaml.erb
@@ -1,9 +1,23 @@
spec:
+ x-sub-request-filters:
+ - type: default
+ name: http
+ options:
+ allow:
+ - pattern: /^https?:\/\//
title: The Change Propagation root
paths:
- /{domain:a}/{api:sys}/queue:
+ /sys/links:
+ x-modules:
+ - path: sys/backlinks.js
+ options:
+ templates:
+ mw_api:
+ uri: 'http://localhost<%= scope['::port_fragment']
%>/w/api.php'
+ /sys/queue:
x-modules:
- path: sys/kafka.js
options:
uri: 127.0.0.1:2181
+ dc_name: datacenter1
templates: {}
--
To view, visit https://gerrit.wikimedia.org/r/286313
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I90ba02713815d4c25e25816bf258141bbc8d6428
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: Ppchelko <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits