File tree Expand file tree Collapse file tree 9 files changed +9
-20
lines changed Expand file tree Collapse file tree 9 files changed +9
-20
lines changed Original file line number Diff line number Diff line change 5858 env :
5959 HUSKY : " 0"
6060 VITE_RUN_ENVIRONMENT : dev
61- - name : Publish to Cloudflare
62- uses : cloudflare/pages-action@v1
63- with :
64- apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
65- accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
66- projectName : management-ui-dev
67- directory : dist_ui/
68- gitHubToken : ${{ secrets.GITHUB_TOKEN }}
69- branch : main
7061
7162 test-dev :
7263 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const environmentConfig: EnvironmentConfigType = {
7777 ServiceConfiguration : {
7878 core : {
7979 friendlyName : 'Core Management Service (NonProd)' ,
80- baseEndpoint : 'https://infra- core-api .aws.qa.acmuiuc.org' ,
80+ baseEndpoint : 'https://core.aws.qa.acmuiuc.org' ,
8181 authCheckRoute : '/api/v1/protected' ,
8282 loginScope : 'api://39c28870-94e4-47ee-b4fb-affe0bf96c9f/ACM.Events.Login' ,
8383 apiId : 'api://39c28870-94e4-47ee-b4fb-affe0bf96c9f' ,
Original file line number Diff line number Diff line change @@ -63,15 +63,13 @@ async function becomeUser(page) {
6363
6464export async function getUpcomingEvents ( ) {
6565 const data = await fetch (
66- "https://infra- core-api .aws.qa.acmuiuc.org/api/v1/events?upcomingOnly=true" ,
66+ "https://core.aws.qa.acmuiuc.org/api/v1/events?upcomingOnly=true" ,
6767 ) ;
6868 return ( await data . json ( ) ) as Record < string , string > [ ] ;
6969}
7070
7171export async function getAllEvents ( ) {
72- const data = await fetch (
73- "https://infra-core-api.aws.qa.acmuiuc.org/api/v1/events" ,
74- ) ;
72+ const data = await fetch ( "https://core.aws.qa.acmuiuc.org/api/v1/events" ) ;
7573 return ( await data . json ( ) ) as Record < string , string > [ ] ;
7674}
7775
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { EventsGetResponse } from "../../src/api/routes/events.js";
33import { createJwt } from "./utils.js" ;
44import { describe } from "node:test" ;
55
6- const baseEndpoint = `https://infra- core-api .aws.qa.acmuiuc.org` ;
6+ const baseEndpoint = `https://core.aws.qa.acmuiuc.org` ;
77test ( "getting events" , async ( ) => {
88 const response = await fetch ( `${ baseEndpoint } /api/v1/events` ) ;
99 expect ( response . status ) . toBe ( 200 ) ;
Original file line number Diff line number Diff line change 11import { expect , test } from "vitest" ;
22import { InternalServerError } from "../../src/common/errors/index.js" ;
33
4- const baseEndpoint = `https://infra- core-api .aws.qa.acmuiuc.org` ;
4+ const baseEndpoint = `https://core.aws.qa.acmuiuc.org` ;
55
66test ( "healthz" , async ( ) => {
77 const response = await fetch ( `${ baseEndpoint } /api/v1/healthz` ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { describe } from "node:test";
33import { OrganizationList } from "../../src/common/orgs.js" ;
44import ical from "node-ical" ;
55
6- const baseEndpoint = `https://infra- core-api .aws.qa.acmuiuc.org` ;
6+ const baseEndpoint = `https://core.aws.qa.acmuiuc.org` ;
77
88test ( "getting all events" , async ( ) => {
99 const response = await fetch ( `${ baseEndpoint } /api/v1/ical` ) ;
Original file line number Diff line number Diff line change 11import { expect , test , describe } from "vitest" ;
22
3- const baseEndpoint = `https://infra- core-api .aws.qa.acmuiuc.org` ;
3+ const baseEndpoint = `https://core.aws.qa.acmuiuc.org` ;
44
55describe ( "Mobile pass issuance" , async ( ) => {
66 test (
Original file line number Diff line number Diff line change 11import { expect , test } from "vitest" ;
22import { InternalServerError } from "../../src/common/errors/index.js" ;
33
4- const baseEndpoint = `https://infra- core-api .aws.qa.acmuiuc.org` ;
4+ const baseEndpoint = `https://core.aws.qa.acmuiuc.org` ;
55
66test ( "getting organizations" , async ( ) => {
77 const response = await fetch ( `${ baseEndpoint } /api/v1/organizations` ) ;
Original file line number Diff line number Diff line change 11import { expect , test , describe } from "vitest" ;
22import { createJwt } from "./utils" ;
33
4- const baseEndpoint = `https://infra- core-api .aws.qa.acmuiuc.org` ;
4+ const baseEndpoint = `https://core.aws.qa.acmuiuc.org` ;
55
66describe ( "Stripe live API authentication" , async ( ) => {
77 const token = await createJwt ( ) ;
You can’t perform that action at this time.
0 commit comments