From dbd41a2ed72805362153a1cd06a0ff6030b0a798 Mon Sep 17 00:00:00 2001 From: "Bryant, Charles" Date: Thu, 21 Feb 2019 09:31:45 -0800 Subject: [PATCH] set prod env --- app/AppSettings.js | 23 ++++++++++------------- appcenter-post-clone.sh | 2 +- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/AppSettings.js b/app/AppSettings.js index 87ebbd242..7dbe4fc7a 100644 --- a/app/AppSettings.js +++ b/app/AppSettings.js @@ -5,19 +5,14 @@ module.exports = { GOOGLE_ANALYTICS_ID: 'GOOGLE_ANALYTICS_ID_PH', /* ENDPOINTS */ - /* QA */ - AUTH_SERVICE_API_URL: 'https://3hepzvdimd.execute-api.us-west-2.amazonaws.com/dev/v1/access-profile', - ACADEMIC_TERM_API_URL: 'https://m9zc9vs4f1.execute-api.us-west-2.amazonaws.com/dev/v1/term/current', - ACADEMIC_TERM_FINALS_API_URL: 'https://m9zc9vs4f1.execute-api.us-west-2.amazonaws.com/dev/v1/term/current/finals', - ACADEMIC_HISTORY_API_URL: 'https://api-qa.ucsd.edu:8243/student/my/academic_history/v1/class_list', - TOPICS_API_URL: 'https://bvgjvzaakl.execute-api.us-west-2.amazonaws.com/dev/topics', - MYMESSAGES_API_URL: 'https://api-qa.ucsd.edu:8243/mp-mymessages/1.0.0', - MP_REGISTRATION_API_URL: 'https://api-qa.ucsd.edu:8243/mp-registration/1.0.0', - MESSAGES_TOPICS_URL: 'https://s3-us-west-1.amazonaws.com/ucsd-mobile-dev/mock-apis/messaging/topics.json', - PARKING_API_URL: 'https://4pefyt8qv7.execute-api.us-west-2.amazonaws.com/dev/parking/v1.0/status', - SURF_API_URL: 'https://0yi5xwy0v7.execute-api.us-west-2.amazonaws.com/dev/v1/surf', - - /* PROD */ + AUTH_SERVICE_API_URL: 'https://c12cf2xke8.execute-api.us-west-2.amazonaws.com/prod/v1.1/access-profile', + ACADEMIC_TERM_API_URL: 'https://btgre7sss6.execute-api.us-west-2.amazonaws.com/prod/v1/term/current', + ACADEMIC_TERM_FINALS_API_URL: 'https://btgre7sss6.execute-api.us-west-2.amazonaws.com/prod/v1/term/current/finals', + ACADEMIC_HISTORY_API_URL: 'https://api.ucsd.edu:8243/student/my/academic_history/v1/class_list', + TOPICS_API_URL: 'https://h6rc133pbh.execute-api.us-west-2.amazonaws.com/prod/topics', + MYMESSAGES_API_URL: 'https://api.ucsd.edu:8243/mp-mymessages/1.0.0', + MP_REGISTRATION_API_URL: 'https://api.ucsd.edu:8243/mp-registration/1.0.0', + MESSAGES_TOPICS_URL: 'https://s3-us-west-2.amazonaws.com/ucsd-its-wts/now_ucsandiego/v1/topics.json', // SHUTTLE SHUTTLE_STOPS_API_URL: 'https://ies4wyrlx9.execute-api.us-west-2.amazonaws.com/prod/v2/stops/', SHUTTLE_VEHICLES_API_URL: 'https://hjr84cay81.execute-api.us-west-2.amazonaws.com/prod?route=', @@ -29,10 +24,12 @@ module.exports = { EVENTS_API_URL: 'https://2jjml3hf27.execute-api.us-west-2.amazonaws.com/prod/events/student', SPECIAL_EVENT_API_URL: 'https://2jjml3hf27.execute-api.us-west-2.amazonaws.com/prod/events/special', WEATHER_API_URL: 'https://w3wyps9yje.execute-api.us-west-2.amazonaws.com/prod/forecast?', + SURF_API_URL: 'https://kusyfng6mg.execute-api.us-west-2.amazonaws.com/prod/v1/surf', DINING_API_URL: 'https://pg83tslbyi.execute-api.us-west-2.amazonaws.com/prod/v3/dining', MAP_SEARCH_API_URL: 'https://xgu9qa7gx4.execute-api.us-west-2.amazonaws.com/prod/v2/map/search?region=0&query=', 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', /* RESOURCES */ WEATHER_ICON_BASE_URL: 'https://s3-us-west-2.amazonaws.com/ucsd-its-wts/images/v1/weather-icons/', diff --git a/appcenter-post-clone.sh b/appcenter-post-clone.sh index d603f1f13..d0f85cf10 100644 --- a/appcenter-post-clone.sh +++ b/appcenter-post-clone.sh @@ -8,4 +8,4 @@ curl "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.pkg" > "$HO sudo installer -store -pkg "$HOME/Downloads/node-installer.pkg" -target "/" # Insert environment variables -npm run campus-qa-ci +npm run campus-prod-ci