Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: RESTBase: Specify the topic for transclusions.
......................................................................


RESTBase: Specify the topic for transclusions.

We've decided to process all the transclusion-driven
rerenders in a separate topic, so emit events
derived from a transclusion to a new topic.

Bug: T145804
Change-Id: I0c3d72828fb166ba1aee25cfafd4c94068a63886
---
M modules/restbase/templates/config.labs.yaml.erb
M modules/restbase/templates/config.yaml.erb
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Mobrovac: Looks good to me, but someone else must approve
  Giuseppe Lavagetto: Verified; Looks good to me, approved



diff --git a/modules/restbase/templates/config.labs.yaml.erb 
b/modules/restbase/templates/config.labs.yaml.erb
index f6d27fb..0037bb9 100644
--- a/modules/restbase/templates/config.labs.yaml.erb
+++ b/modules/restbase/templates/config.labs.yaml.erb
@@ -43,6 +43,7 @@
         events:
           uri: <%= @eventlogging_service_uri %>
           topic: resource_change
+          transcludes_topic: change-prop.transcludes.resource-change
         related:
           cache_control: s-maxage=86400, max-age=86400
         # Cache headers for purged end points.
diff --git a/modules/restbase/templates/config.yaml.erb 
b/modules/restbase/templates/config.yaml.erb
index 30ae58f..8cd9690 100644
--- a/modules/restbase/templates/config.yaml.erb
+++ b/modules/restbase/templates/config.yaml.erb
@@ -66,6 +66,7 @@
         events:
           uri: <%= @eventlogging_service_uri %>
           topic: resource_change
+          transcludes_topic: change-prop.transcludes.resource-change
         related:
           cache_control: s-maxage=86400, max-age=3600
         # Cache headers for purged end points.

-- 
To view, visit https://gerrit.wikimedia.org/r/311594
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c3d72828fb166ba1aee25cfafd4c94068a63886
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to