Gehel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/327159 )

Change subject: Revert "kartotherian: fix mwapi and restbase template variable 
names"
......................................................................

Revert "kartotherian: fix mwapi and restbase template variable names"

It seems that having the correct variables brakes geojson for unknown reason.
Let's revert this and investigate calmly.

This reverts commit 3bd1692abd1b2777be613cdd19d21b44ea40e628.
---
M scap/templates/config.yaml.j2
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/maps/kartotherian/deploy 
refs/changes/59/327159/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 3b5013f..f235ed0 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -46,7 +46,7 @@
           host: "{{request.params.domain}}"
           user-agent: "{{user-agent}}"
         method: post
-        uri: <%= mwapi_uri %>
+        uri: <%= mwapi %>
       port: <%= port %>
       proxy: <%= proxy %>
       restbase_req:
@@ -54,7 +54,7 @@
         headers: "{{request.headers}}"
         method: "{{request.method}}"
         query: "{{ default(request.query, {}) }}"
-        uri: "<%= restbase_uri %>/{{domain}}/v1/{+path}"
+        uri: "<%= restbase %>/{{domain}}/v1/{+path}"
       sources: <%= conf_sources %>
       variables:
         cassandra-pswd: <%= cassandra_password %>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie453e5816a9aa9add87eea9c357304b364ea8baf
Gerrit-PatchSet: 1
Gerrit-Project: maps/kartotherian/deploy
Gerrit-Branch: master
Gerrit-Owner: Gehel <[email protected]>

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

Reply via email to