From ba7154c8198e443908002a5ce46959e445f966ee Mon Sep 17 00:00:00 2001 From: asteroide Date: Fri, 28 Jul 2017 14:03:50 +0200 Subject: Put GUI in container. Change-Id: Ib0b126e463461b20ced52e5b3dd7cc37045e1716 --- moonv4/moon_gui/static/app/moon.constants.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'moonv4/moon_gui/static') 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/' }); })(); -- cgit 1.2.3-korg