Mobrovac has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/286313

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/13/286313/1

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: newchange
Gerrit-Change-Id: I90ba02713815d4c25e25816bf258141bbc8d6428
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to