Skip to content

Commit

Permalink
Added test alb
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed Feb 27, 2024
1 parent 06cbae9 commit 7e18208
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions cdk/amplify-test-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@ export class AmplifyTestStack extends cdk.Stack {
{ source: '/jbrowse/worms/jbrowse2/', target: 'https://main.d2jjb0xowet5mr.amplifyapp.com/', status: amplify.RedirectStatus.REWRITE },
{ source: '/jbrowse/worms/jbrowse2/<*>', target: 'https://main.d2jjb0xowet5mr.amplifyapp.com/<*>', status: amplify.RedirectStatus.REWRITE },

{ source: '/agr_simplemine.cgi', target: 'https://caltech-curation.textpressolab.com/pub/cgi-bin/forms/agr_simplemine.cgi', status: amplify.RedirectStatus.REWRITE },

{ source: '/alliancemine', target: 'https://production-alliancemine.alliancegenome.org/alliancemine/', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine/', target: 'https://production-alliancemine.alliancegenome.org/alliancemine/', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine/<*>', target: 'https://production-alliancemine.alliancegenome.org/alliancemine/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes', target: 'https://production-alliancemine.alliancegenome.org:444/bluegenes/alliancemine', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes/', target: 'https://production-alliancemine.alliancegenome.org:444/bluegenes/alliancemine', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes/<*>', target: 'https://production-alliancemine.alliancegenome.org:444/bluegenes/<*>', status: amplify.RedirectStatus.REWRITE },

{ source: '/jbrowse/<*>', target: 'https://test-alb.alliancegenome.org/jbrowse/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/apollo/<*>', target: 'https://test-alb.alliancegenome.org/apollo/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/agr_simplemine.cgi', target: 'https://caltech-curation.textpressolab.com/pub/cgi-bin/forms/agr_simplemine.cgi', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine/cdn/<*>', target: 'https://test-alb.alliancegenome.org/alliancemine/cdn/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine/', target: 'https://test-alb.alliancegenome.org/alliancemine/', status: amplify.RedirectStatus.REWRITE },
{ source: '/alliancemine/<*>', target: 'https://test-alb.alliancegenome.org/alliancemine/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes', target: 'https://test-alb.alliancegenome.org/bluegenes/alliancemine', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes/', target: 'https://test-alb.alliancegenome.org/bluegenes/alliancemine', status: amplify.RedirectStatus.REWRITE },
{ source: '/bluegenes/<*>', target: 'https://test-alb.alliancegenome.org/bluegenes/<*>', status: amplify.RedirectStatus.REWRITE },
{ source: '/swagger-ui', target: 'https://test-alb.alliancegenome.org/swagger-ui', status: amplify.RedirectStatus.REWRITE },
{ source: '/swagger-ui/', target: 'https://test-alb.alliancegenome.org/swagger-ui/', status: amplify.RedirectStatus.REWRITE },
{ source: '/swagger-ui/<*>', target: 'https://test-alb.alliancegenome.org/swagger-ui/<*>', status: amplify.RedirectStatus.REWRITE },
Expand Down
2 changes: 1 addition & 1 deletion cdk/cdk-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ new AmplifyALBStack(app, 'stage-alb-stack', {
new AmplifyALBStack(app, 'test-alb-stack', {
stackName: 'test-alb-stack',
dnsName: 'test',
targetInstanceId: 'i-0b3c6166858f87457',
targetInstanceId: 'i-003fafec7d050fd97',
env: {
region: process.env.CDK_DEFAULT_REGION,
account: process.env.CDK_DEFAULT_ACCOUNT,
Expand Down

0 comments on commit 7e18208

Please sign in to comment.