gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: local deployment


From: gnunet
Subject: [taler-deployment] branch master updated: local deployment
Date: Fri, 11 Sep 2020 15:47:04 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new c4aaf9e  local deployment
c4aaf9e is described below

commit c4aaf9e6c8d260d814f15298b6a9583626cc67cf
Author: MS <ms@taler.net>
AuthorDate: Fri Sep 11 15:47:00 2020 +0200

    local deployment
---
 bin/taler_urls.py | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/bin/taler_urls.py b/bin/taler_urls.py
new file mode 100644
index 0000000..557aadf
--- /dev/null
+++ b/bin/taler_urls.py
@@ -0,0 +1,36 @@
+taler_urls = dict(
+    online = dict(
+        donations = "https://donations.{}.taler.net/";
+        blog = "https://blog.{}.taler.net/";
+        bank = "https://bank.{}.taler.net/";
+        backoffice = "https://backoffice.{}.taler.net/";
+        exchange = "https://exchange.{}.taler.net/";
+        merchant_backend = "http://backend.{}.taler.net/";
+        landing = "https://{}.taler.net/";
+        survey = "http://survey.{}.taler.net/";
+        auditor = "http://auditor.{}.taler.net/";
+        sync = "http://sync.{}.taler.net/";
+    )
+
+    offline = dict(
+        donations = "http://localhost:5880/";
+        blog = "http://localhost:5881/";
+        bank = "http://localhost:5882/";
+        backoffice = "http://localhost:5883/";
+        exchange = "http://localhost:5884/";
+        merchant_backend = "http://localhost:5885/";
+        landing = "http://localhost:5886/";
+        survey = "http://localhost:5887/";
+        auditor = "http://localhost:5888/";
+        sync = "http://localhost:5889/";
+    )
+)
+
+def get_urls(envname):
+    if envname == "local":
+        return taler_urls["offline"]
+    return dict((k, v.format(envname))
+        for k, v in taler_urls["online"].items()
+    )
+
+

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]