summaryrefslogtreecommitdiffstats
path: root/test-scheduler/ui/src/Global.vue
diff options
context:
space:
mode:
Diffstat (limited to 'test-scheduler/ui/src/Global.vue')
-rw-r--r--test-scheduler/ui/src/Global.vue13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-scheduler/ui/src/Global.vue b/test-scheduler/ui/src/Global.vue
new file mode 100644
index 00000000..f9dfed72
--- /dev/null
+++ b/test-scheduler/ui/src/Global.vue
@@ -0,0 +1,13 @@
+<script>
+const SERVER_ADDR = '/parser/'
+const WF_GRAPH_ADDR = '/wf-graph/'
+const WF_SERVER_ADDR = '/wf-server/'
+const GRAFANA_PORT = 3000
+const GRAFANA_ADDR = 'http://' + window.location.hostname + ':' + GRAFANA_PORT + '/?orgId=1'
+export default {
+ SERVER_ADDR,
+ WF_GRAPH_ADDR,
+ WF_SERVER_ADDR,
+ GRAFANA_ADDR
+}
+</script>