Skip to content

Commit

Permalink
update replacement script and app urls for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
g9singh committed Jul 15, 2019
1 parent 7cb3c58 commit 5ee9e05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/AppSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ module.exports = {
FEEDBACK_URL: 'https://eforms.ucsd.edu/view.php?id=175631',
QUICKLINKS_API_URL: 'https://s3-us-west-2.amazonaws.com/ucsd-its-wts/now_ucsandiego/v1/quick_links/ucsd-quicklinks-v3.json',
PARKING_API_URL: 'https://b2waxbcovi.execute-api.us-west-2.amazonaws.com/prod/parking/v1.1/status',
OCCUSPACE_API_URL: 'https://api-qa.ucsd.edu:8243/occuspace/v1.0',
QA_MOBILE_API_URL: 'https://api-qa.ucsd.edu:8243/token',
OCCUSPACE_API_URL: 'https://api.ucsd.edu:8243/occuspace/v1.0',
MOBILE_API_AUTH_URL: 'https://api.ucsd.edu:8243/token',
MY_STUDENT_CONTACT_API_URL: 'https://api.ucsd.edu:8243/student/my/student_contact_info/v1',
MY_STUDENT_PROFILE_API_URL: 'https://api.ucsd.edu:8243/student/my/v1',

Expand Down
2 changes: 1 addition & 1 deletion app/services/mobileAuthService.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const AppSettings = require('../AppSettings')

const mobileAuthService = {
retrieveAccessToken(base64Secret) {
return fetch(AppSettings.QA_MOBILE_API_URL, {
return fetch(AppSettings.MOBILE_API_AUTH_URL, {
method: 'POST',
headers: {
'Authorization': 'Basic ' + base64Secret ,
Expand Down
2 changes: 2 additions & 0 deletions scripts/replace-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ if (REPLACEMENT_ENV === 'prod' || REPLACEMENT_ENV === 'qa') {
{ prodVal: myEnv.SI_SESSIONS_API_URL_PROD, qaVal: myEnv.SI_SESSIONS_API_URL_QA },
{ prodVal: myEnv.MY_STUDENT_CONTACT_API_URL_PROD, qaVal: myEnv.MY_STUDENT_CONTACT_API_URL_QA },
{ prodVal: myEnv.MY_STUDENT_PROFILE_API_URL_PROD, qaVal: myEnv.MY_STUDENT_PROFILE_API_URL_QA },
{ prodVal: myEnv.MOBILE_API_AUTH_URL_PROD, qaVal: myEnv.MOBILE_API_AUTH_URL_QA },
{ prodVal: myEnv.OCCUSPACE_API_URL_PROD, qaVal: myEnv.OCCUSPACE_API_URL_QA },
])

// ssoService.js
Expand Down

0 comments on commit 5ee9e05

Please sign in to comment.