Commit 93329a02 by Owo Sugiana

Bug fixed web service saat ISO8583 offline

1 parent b67f0bc0
0.3.1 2020-08-19
----------------
- Bug fixed web service saat ISO8583 offline
- README.rst memuat diagram antar daemon
0.3 2020-08-09 0.3 2020-08-09
-------------- --------------
- Di forwarder.py Parser.run() usai job.process() bisa mengirim dokumen ISO8583 - Di forwarder.py Parser.run() usai job.process() bisa mengirim dokumen ISO8583
......
...@@ -42,7 +42,7 @@ formatter = generic ...@@ -42,7 +42,7 @@ formatter = generic
format = %(asctime)s %(levelname)s %(message)s format = %(asctime)s %(levelname)s %(message)s
[web] [web]
port = 7000 port = 7001
threads = 12 threads = 12
[web_linkaja] [web_linkaja]
......
...@@ -41,6 +41,18 @@ formatter = generic ...@@ -41,6 +41,18 @@ formatter = generic
[formatter_generic] [formatter_generic]
format = %(asctime)s %(levelname)s %(message)s format = %(asctime)s %(levelname)s %(message)s
[web]
port = 7000
threads = 12
[web_teller]
route_path = /rpc
host = kota_bogor
module = iso8583_web.scripts.view.jsonrpc
allowed_ip =
127.0.0.1
10.8.20.1
[host_agratek] [host_agratek]
ip = 127.0.0.1 ip = 127.0.0.1
port = 10001 port = 10001
......
...@@ -117,9 +117,9 @@ class View: ...@@ -117,9 +117,9 @@ class View:
continue continue
found_conn = conn found_conn = conn
if not found_conn: if not found_conn:
raise Exception(self.not_found_error(name)) raise self.not_found_error(name)
if not found_conn.running: if not found_conn.running:
raise Exception(self.not_running_error(name)) raise self.not_running_error(name)
return found_conn return found_conn
def get_web_conf(self): def get_web_conf(self):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!