Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
InterHop
Omop
susana-front
Commits
dc1199ad
Commit
dc1199ad
authored
May 08, 2021
by
Nicolas Paris
Browse files
Change api port
parent
91f98f34
Changes
11
Hide whitespace changes
Inline
Side-by-side
WebContent/conceptmapper/mapperPage.controller.js
View file @
dc1199ad
...
...
@@ -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
;
...
...
WebContent/conceptmapper/searchPage.controller.js
View file @
dc1199ad
...
...
@@ -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
=
[]
...
...
WebContent/conceptmapper/utils/conceptAjax.js
View file @
dc1199ad
...
...
@@ -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
)
{
...
...
WebContent/conceptmapper/utils/conceptRelationshipAjax.js
View file @
dc1199ad
...
...
@@ -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
;
...
...
WebContent/conceptmapper/utils/conceptRelationshipsAjax.js
View file @
dc1199ad
...
...
@@ -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
;
...
...
WebContent/conceptmapper/utils/conceptsAjax.js
View file @
dc1199ad
...
...
@@ -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
)
{
...
...
WebContent/conceptmapper/utils/loginAjax.js
View file @
dc1199ad
...
...
@@ -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
"
,
...
...
WebContent/conceptmapper/utils/projectsAjax.js
View file @
dc1199ad
...
...
@@ -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;
...
...
WebContent/conceptmapper/utils/userAjax.js
View file @
dc1199ad
...
...
@@ -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
;
...
...
WebContent/conceptmapper/utils/usersAjax.js
View file @
dc1199ad
...
...
@@ -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
;
...
...
WebContent/conceptmapper/utils/voteAjax.js
View file @
dc1199ad
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment