Add ability to declare urls on every plugin and add extra urls for telemetry.
Since liberty we can specified extra root urls.
diff --git a/horizon/files/horizon_settings/_local_settings.py b/horizon/files/horizon_settings/_local_settings.py
index 034c5a0..75cf860 100644
--- a/horizon/files/horizon_settings/_local_settings.py
+++ b/horizon/files/horizon_settings/_local_settings.py
@@ -20,6 +20,8 @@
{%- endif %}
{%- endif %}
+AUTHENTICATION_URLS = ['openstack_auth.urls']
+
LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
SECRET_KEY = '{{ app.secret_key }}'
@@ -176,6 +178,14 @@
{%- endif %}
+{%- if plugin.app == "horizon_telemetry" %}
+AUTHENTICATION_URLS += ['horizon_telemetry.graphite_urls']
+{%- endif %}
+
+{%- if plugin.urls is defined %}
+AUTHENTICATION_URLS += {{ plugin.urls|python }}
+{%- endif %}
+
{%- endfor %}
{%- if app.logging is defined %}