unity-sds / unity-cs

Unity Common Services
Apache License 2.0
0 stars 1 forks source link

Production API Gateway deployed (CS API Gateway) #312

Open galenatjpl opened 5 months ago

galenatjpl commented 5 months ago

In the Unity-Prod account:

galenatjpl commented 5 months ago
Screenshot 2024-01-19 at 1 47 05 PM

@ramesh-maddegoda the path of the API GW resource in Unity-Prod seems to be /sbg/dev/{proxy+}. I think this is fine, since the account it's pointing to is unity-SBG-Dev.

I also checked that the integration endpoint is this, which seems to be the correct one on SBG: https://xv8x10yw84.execute-api.us-west-2.amazonaws.com/dev/{proxy}

So I do believe that this issue is basically complete, since the shared services API exists, and points to the venue API Gateway. However, I think to fully be considered complete, I think we need a test procedure to prove this. Can you provide a procedure that shows some REST resource on the venue account being accessed through this shared services API gateway? For example: 1) Access URL A 2) log in as user XYZ on Cognito credentials page 3) verify resource B reponds...

mike-gangl commented 5 months ago

FYI, i was able to access U-DS catalog through the production API gateway.

galenatjpl commented 5 months ago

Awesome @mike-gangl , thanks for confirming that. I believe this issue can be considered closed, and your case you mentioned can serve as the test case that proved it works (in lieu of the example procedure I mentioned in the description). @ramesh-maddegoda do you also concur? If so, we can check this issue off.

ramesh-maddegoda commented 5 months ago

Awesome @mike-gangl , thanks for confirming that. I believe this issue can be considered closed, and your case you mentioned can serve as the test case that proved it works (in lieu of the example procedure I mentioned in the description). @ramesh-maddegoda do you also concur? If so, we can check this issue off.

Yes @galenatjpl , we can consider this as closed. Also, I updated the terraform code in https://github.com/unity-sds/unity-cs-infra/tree/main/terraform-shared-services-api-gateway_module to deploy the lambda authorizers (used by shared services) as a part of this.

galenatjpl commented 5 months ago

Thanks @ramesh-maddegoda , I checked this work item off, in the parent ticket.