-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Update API Gateway Configuration #531
Conversation
williamputraintan
commented
Sep 3, 2024
- Group the APIGW microservice config as one props across microservice.
- Integrate orcaui's cognito to microservice APIGW
- Update some CORS config on APIGW
integration: apiIntegration, | ||
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.GET), | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a POST
route as well on /api/v1/ingest
which manually ingests data from an SQS queue. It isn't being used right now, but could you also please add it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated - ccf38b2
Apparently, APIGW JWT Authorizer works best where we define each method instead of Ref: https://stackoverflow.com/questions/60830115/api-gateway-http-api-cors |
const httpApi = srmApi.httpApi; | ||
|
||
const apiIntegration = new HttpLambdaIntegration('ApiIntegration', apiFn); | ||
|
||
new HttpRoute(this, 'HttpRoute', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@victorskl @reisingerf On the SRM and WFM only the GET
method currently used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read only GET
for now.