Closed ramyaragupathy closed 2 years ago
Components
Both of these are done from the infrastructure side. I am currently setting up the container to connect to the database with the right credentials (See comments in #140)
Testing the connection:
The new API service has been deployed to docker containers on AWS ECS and has been made temporarily accessible on galaxy-api-lb.hotosm.org
To be production worthy, the following needs to happen
I am hoping to get some support from an AWS Solutions Architect regarding the AWS Cloudfront redirection issue that would let us have galaxy.hotosm.org/api/...
but until that happens, let's work with galaxy-api.hotosm.org
@d-rita Please help test the endpoints and post results of your test here if possible. Thanks.
With the galaxy-ui:
https://galaxy-api.hotosm.org
and was able to make a request to the https://galaxy-api.hotosm.org/mapathon/summary
endpoint. I got back the data.With the API docs:
https://galaxy-api.hotosm.org/docs
, I was able to retrieve OSM ids from the osm-users/ids
endpoint. /login
endpoint, I get an error: The requested redirect uri is malformed or doesn't match client redirect URI.
I do need some help with this part before I can go further. cc: @eternaltyro @eternaltyro, these are the steps I took:
The callback URL domain should match the actual domain from which OAuth requests are made. I fixed this in the current Docker setup.
From discussion here https://github.com/hotosm/galaxy-api/issues/153#issuecomment-1054069415
@eternaltyro is working on resolving the issue
cc @itskshitiz321 @JorgeMartinezG