From 84fffed90e4b6e09a42f44b85b4b5d1bfa761d2a Mon Sep 17 00:00:00 2001 From: aniskand Date: Mon, 11 Jan 2021 15:46:30 -0700 Subject: [PATCH] Adding port designation back to URL --- .../app/authentication/authenticationService.js | 2 +- oib-site-lite-ui/app/manager/profileServices.js | 4 ++-- oib-site-lite-ui/app/responder/assetServices.js | 6 +++--- oib-site-lite-ui/app/setup/setupServices.js | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/oib-site-lite-ui/app/authentication/authenticationService.js b/oib-site-lite-ui/app/authentication/authenticationService.js index f6eb5784..164cd47f 100644 --- a/oib-site-lite-ui/app/authentication/authenticationService.js +++ b/oib-site-lite-ui/app/authentication/authenticationService.js @@ -5,7 +5,7 @@ var liteAuthenticationServiceModule = angular.module('liteAuthenticationServiceM liteAuthenticationServiceModule.factory('liteAuthenticationService', ['Base64', '$http', '$cookieStore', '$rootScope', '$timeout', function (Base64, $http, $cookieStore, $rootScope, $timeout) { - var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/liteManager/' + var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/liteManager/' var service = {}; diff --git a/oib-site-lite-ui/app/manager/profileServices.js b/oib-site-lite-ui/app/manager/profileServices.js index 37e6637c..37759c8f 100644 --- a/oib-site-lite-ui/app/manager/profileServices.js +++ b/oib-site-lite-ui/app/manager/profileServices.js @@ -10,7 +10,7 @@ var valueSetDirectoryUrl = baseCloudUrl + 'valuesets' + '?ref=development'; oibManagerServiceModule.factory('profileFactory', ['$http', 'base64', 'propertiesService', function($http, base64, propertiesService) { - var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/liteManager/' + var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/liteManager/' var profileFactory = {}; profileFactory.getProfiles = function () { @@ -199,7 +199,7 @@ uuidGenerator.factory("idGenerator", function () { oibManagerServiceModule.factory('cloudProfileFactory', ['$http', '$resource', 'idGenerator', '$filter', 'propertiesService', function ($http, $resource, idGenerator, $filter, propertiesService) { - var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/liteManager/' + var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/liteManager/' var cloudProfileFactory = {}; diff --git a/oib-site-lite-ui/app/responder/assetServices.js b/oib-site-lite-ui/app/responder/assetServices.js index 4704f2b5..effd08c0 100644 --- a/oib-site-lite-ui/app/responder/assetServices.js +++ b/oib-site-lite-ui/app/responder/assetServices.js @@ -4,11 +4,11 @@ var oibAssetServiceModule = angular.module('oibAssetServiceModule', ['ui.bootstr oibAssetServiceModule.factory('assetFactory', ['$http', function($http) { - var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/liteManager/' + var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/liteManager/' - var responderManagerBase = 'http://' + localStorage.getItem('hostName') + '/openInfobutton/assetManager/'; + var responderManagerBase = 'http://' + localStorage.getItem('hostName') + ':8080' + '/openInfobutton/assetManager/'; - var responderExpander = 'http://' + localStorage.getItem('hostName') + '/openInfobutton/'; + var responderExpander = 'http://' + localStorage.getItem('hostName') + ':8080' + '/openInfobutton/'; // var urlBase = 'http://service.oib.utah.edu:8080/infobutton-service-dev/manager/'; var assetFactory = {}; diff --git a/oib-site-lite-ui/app/setup/setupServices.js b/oib-site-lite-ui/app/setup/setupServices.js index cfd7516b..e8a883b9 100644 --- a/oib-site-lite-ui/app/setup/setupServices.js +++ b/oib-site-lite-ui/app/setup/setupServices.js @@ -23,7 +23,7 @@ oibSetupServices.service('loginModal', function ($uibModal, propertiesService) { oibSetupServices.service('umlsModal', function ($uibModal, propertiesService) { - var oibPropertiesUrl = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/propertiesManager/' + var oibPropertiesUrl = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/propertiesManager/' function assignUmlsUser (user) { @@ -48,7 +48,7 @@ oibSetupServices.service('propertiesService', function ($rootScope, $http) { var propertiesService = {}; - var oibPropertiesService = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/propertiesManager/' + var oibPropertiesService = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/propertiesManager/' propertiesService.getUmlsUserName = function() { @@ -173,7 +173,7 @@ oibSetupServices.service('loginService', function ($rootScope, $http, base64) { var loginService = {}; - var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + '/infobutton-service/liteManager/' + var oibManagerUrl = 'http://' + localStorage.getItem('hostName') + ':8080' + '/infobutton-service/liteManager/' loginService.getUsers = function(setupScope) {