Ema has submitted this change and it was merged.

Change subject: MobileApps: Change RESTBase URI
......................................................................


MobileApps: Change RESTBase URI

The Mobile Content Service has changed the way they include the RESTBase
URI to a more flexible scheme that allows them to use both RESTBase's
internal URI, as well as the generic https://{domain}/api/rest_v1
external URI. This patch conforms to the new standard.

Note: to be deployed in conjunction with
I6d703b627fc22a0bfe7c27b32efa54ef0e10b5cf .

Change-Id: I4523d97598ef10d2075bd5ec9f60ba8bf5acfef4
Depends-On: I6d703b627fc22a0bfe7c27b32efa54ef0e10b5cf
Bug: T125252
---
M modules/mobileapps/manifests/init.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/mobileapps/manifests/init.pp 
b/modules/mobileapps/manifests/init.pp
index 1bf95db..f651702 100644
--- a/modules/mobileapps/manifests/init.pp
+++ b/modules/mobileapps/manifests/init.pp
@@ -14,7 +14,7 @@
 #   The host/IP where to reach RESTBase
 #
 class mobileapps(
-    $restbase_uri = 'http://restbase.svc.eqiad.wmnet:7231',
+    $restbase_uri = 'http://restbase.svc.eqiad.wmnet:7231/%DOMAIN%/v1',
 ) {
     service::node { 'mobileapps':
         port            => 8888,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4523d97598ef10d2075bd5ec9f60ba8bf5acfef4
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: BearND <bsitzm...@wikimedia.org>
Gerrit-Reviewer: Ema <e...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Mholloway <mhollo...@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