aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/static/app
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-07-28 14:03:50 +0200
committerasteroide <thomas.duval@orange.com>2017-07-28 14:03:50 +0200
commitba7154c8198e443908002a5ce46959e445f966ee (patch)
treed5fb37e73c420a9d5496c4205d506a1e73063422 /moonv4/moon_gui/static/app
parentf19e124c0ce0ead5b0a793492e0c1bd6378b3d83 (diff)
Put GUI in container.
Change-Id: Ib0b126e463461b20ced52e5b3dd7cc37045e1716
Diffstat (limited to 'moonv4/moon_gui/static/app')
-rw-r--r--moonv4/moon_gui/static/app/moon.constants.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/moonv4/moon_gui/static/app/moon.constants.js b/moonv4/moon_gui/static/app/moon.constants.js
index ffe60f94..872dfd5a 100644
--- a/moonv4/moon_gui/static/app/moon.constants.js
+++ b/moonv4/moon_gui/static/app/moon.constants.js
@@ -59,21 +59,21 @@
}
})
.constant('REST_URI', {
- PDP : 'http://192.168.102.118:38001/pdp/',
- MODELS : 'http://192.168.102.118:38001/models/',
- METARULES: 'http://192.168.102.118:38001/meta_rules/',
- RULES: 'http://192.168.102.118:38001/rules/',
- POLICIES: 'http://192.168.102.118:38001/policies/',
+ PDP : 'http://interface:8081/pdp/',
+ MODELS : 'http://interface:8081/models/',
+ METARULES: 'http://interface:8081/meta_rules/',
+ RULES: 'http://interface:8081/rules/',
+ POLICIES: 'http://interface:8081/policies/',
METADATA: {
- subject : 'http://192.168.102.118:38001/subject_categories/',
- object : 'http://192.168.102.118:38001/object_categories/',
- action : 'http://192.168.102.118:38001/action_categories/'
+ subject : 'http://interface:8081/subject_categories/',
+ object : 'http://interface:8081/object_categories/',
+ action : 'http://interface:8081/action_categories/'
},
PERIMETERS :{
- subject : 'http://192.168.102.118:38001/subjects/',
- object : 'http://192.168.102.118:38001/objects/',
- action : 'http://192.168.102.118:38001/actions/'
+ subject : 'http://interface:8081/subjects/',
+ object : 'http://interface:8081/objects/',
+ action : 'http://interface:8081/actions/'
},
- KEYSTONE : 'http://192.168.102.118:5000/v3/'
+ KEYSTONE : 'http://keystone:5000/v3/'
});
})();