Mobrovac has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/377518 )

Change subject: [Config] Enable processing of the updateBetaFeaturesUserCounts 
job.
......................................................................


[Config] Enable processing of the updateBetaFeaturesUserCounts job.

The updateBetaFeaturesUserCounts job is perfect for the first test of
the new pipeline, so creacte a rule that will execute this job.

Bug: T175210
Change-Id: I67fff9685d2c3e742806ee28e7733c50c755343f
---
M scap/templates/config.yaml.j2
1 file changed, 9 insertions(+), 2 deletions(-)

Approvals:
  Mobrovac: Verified; Looks good to me, approved



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 886edf7..057746e 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -32,8 +32,15 @@
               fetch.message.max.bytes: <%= kafka_max_bytes %>
             concurrency: <%= concurrency %>
             startup_delay: 60000
-            # no rules for first deployment
-            templates: {}
+            templates:
+              updateBetaFeaturesUserCounts:
+                topic: 'mediawiki.job.updateBetaFeaturesUserCounts'
+                exec:
+                  method: post
+                  uri: '<%= jobrunner_uri %>'
+                  headers:
+                    content-type: 'application/json'
+                  body: '{{globals.message}}'
 
 
 # Number of worker processes to spawn.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I67fff9685d2c3e742806ee28e7733c50c755343f
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/services/change-propagation/jobqueue-deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: GWicke <gwi...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>

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

Reply via email to