Commit dc1199ad authored by Nicolas Paris's avatar Nicolas Paris
Browse files

Change api port

parent 91f98f34
......@@ -271,7 +271,7 @@ return Controller.extend("conceptmapper.mapperPage", {
addRelation : function(oEvt, sNumberMatching ) {
var URL_concept_relationship = "http://localhost/concept_relationship/";
var URL_concept_relationship = "http://localhost:5000/concept_relationship/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......
......@@ -332,7 +332,7 @@ return Controller.extend("conceptmapper.searchPage", {
goToMapperPage : function (oEvt) {
var URL_concept = "http://localhost/concept/";
var URL_concept = "http://localhost:5000/concept/";
var idx = []
......
......@@ -9,7 +9,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_concept = "http://localhost/concept/";
var URL_concept = "http://localhost:5000/concept/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......@@ -91,7 +91,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_concept = "http://localhost/concept/";
var URL_concept = "http://localhost:5000/concept/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
......
......@@ -8,7 +8,7 @@ sap.ui.define([], function() {
putConceptRelationshipAjax : function (concept_id_1, oData) {
sap.ui.core.BusyIndicator.show(0);
var URL_concept_relationship = "http://localhost/concept_relationship/";
var URL_concept_relationship = "http://localhost:5000/concept_relationship/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......@@ -43,7 +43,7 @@ sap.ui.define([], function() {
deleteConceptRelationshipAjax : function (concept_id_1, oData) {
sap.ui.core.BusyIndicator.show(0);
var URL_concept_relationship = "http://localhost/concept_relationship/";
var URL_concept_relationship = "http://localhost:5000/concept_relationship/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......
......@@ -9,7 +9,7 @@ sap.ui.define([], function() {
getConceptRelationshipsAjax : function (oData) {
sap.ui.core.BusyIndicator.show(0);
var URL_relationships = "http://localhost/relationships";
var URL_relationships = "http://localhost:5000/relationships";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......
......@@ -10,7 +10,7 @@ sap.ui.define([], function() {
debugger;
sap.ui.core.BusyIndicator.show(0);
var URL_concepts = "http://localhost/concepts";
var URL_concepts = "http://localhost:5000/concepts";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......@@ -284,7 +284,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_concepts = "http://localhost/concepts";
var URL_concepts = "http://localhost:5000/concepts";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
......
......@@ -13,7 +13,7 @@ sap.ui.define([
postLoginAjax : function (oData) {
var URL_login = "http://localhost/login";
var URL_login = "http://localhost:5000/login";
$.ajax({
type:"POST",
......
......@@ -7,7 +7,7 @@ sap.ui.define([], function() {
setAvailable : function (sVal) {
var URL_concepts = "http://localhost/projects";
var URL_concepts = "http://localhost:5000/projects";
// if (sap.ui.getCore().getModel('loginModel') !== undefined) {
// var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......
......@@ -6,7 +6,7 @@ sap.ui.define([], function() {
getUser : function (sUsername) {
sap.ui.core.BusyIndicator.show(0);
var URL_user = "http://localhost/user/"
var URL_user = "http://localhost:5000/user/"
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......@@ -52,7 +52,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_user = "http://localhost/user/";
var URL_user = "http://localhost:5000/user/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
......@@ -91,7 +91,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_user = "http://localhost/user/";
var URL_user = "http://localhost:5000/user/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
......@@ -134,7 +134,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_user = "http://localhost/user/";
var URL_user = "http://localhost:5000/user/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
......@@ -174,7 +174,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_project = "http://localhost/project/";
var URL_project = "http://localhost:5000/project/";
debugger;
......
......@@ -6,7 +6,7 @@ sap.ui.define([], function() {
getUsers: function () {
sap.ui.core.BusyIndicator.show(0);
var URL_users = "http://localhost/users"
var URL_users = "http://localhost:5000/users"
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......
......@@ -10,7 +10,7 @@ sap.ui.define([], function() {
sap.ui.core.BusyIndicator.show(0);
var URL_vote = "http://localhost/vote/";
var URL_vote = "http://localhost:5000/vote/";
if (sap.ui.getCore().getModel('loginModel') !== undefined) {
var token = sap.ui.getCore().getModel('loginModel').oData.access_token;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment