Skip to content

Commit

Permalink
Adding port designation back to URL
Browse files Browse the repository at this point in the history
  • Loading branch information
aniskand authored and aniskand committed Jan 11, 2021
1 parent a72bc0d commit 84fffed
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};

Expand Down
4 changes: 2 additions & 2 deletions oib-site-lite-ui/app/manager/profileServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -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 = {};

Expand Down
6 changes: 3 additions & 3 deletions oib-site-lite-ui/app/responder/assetServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};

Expand Down
6 changes: 3 additions & 3 deletions oib-site-lite-ui/app/setup/setupServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand All @@ -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() {

Expand Down Expand Up @@ -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) {

Expand Down

0 comments on commit 84fffed

Please sign in to comment.