Commit 60fdc206 by Rafael Monnerat

software/monitor: initiate parameters for bot type

1 parent 177407b7
......@@ -27,7 +27,7 @@ md5sum = 4ff61df3f3823274d36c19521dc5a536
[template-monitor-bot]
filename = instance-monitor-bot.cfg.jinja2
md5sum = d0c5b4f33a99f7645842e684912ca125
md5sum = b1ea718c10c9c9b56a86caa2d3320ed7
[json-test-template]
filename = json-test-template.json.in.jinja2
......
......@@ -24,6 +24,17 @@ monitor-url = ${monitor-publish-parameters:monitor-url}
monitor-user = ${monitor-publish-parameters:monitor-user}
monitor-password = ${monitor-publish-parameters:monitor-password}
[monitor-instance-parameter]
cors-domains = {{ slapparameter_dict.get('monitor-cors-domains', 'monitor.app.officejs.com') }}
{% if slapparameter_dict.get('monitor-username', '') -%}
username = {{ slapparameter_dict['monitor-username'] }}
{% endif -%}
{% if slapparameter_dict.get('monitor-password', '') -%}
password = {{ slapparameter_dict['monitor-password'] }}
{% endif -%}
interface-url = {{ slapparameter_dict.get('monitor-interface-url', 'https://monitor.app.officejs.com') }}
[monitor-directory]
service = ${buildout:directory}/etc/service
var = ${buildout:directory}/var
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!