-
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
Figure out a way to incorporate other apps (CORS issues etc.) #6
Comments
also get Airflow working inside Navbar |
dependencies are 24.1.5... so this cannot be done before that |
Start with Airflow (#22 ) |
@galenatjpl The reason we have had CORS issues in the past is because the services we were loading into the UI were being served from URLs that weren't part of the same domain, i.e. not routed through the venue's CloudFront instance. Assuming that the service areas will be using a venue's cloudfront instance to provide user's access to their respective UIs (dockstore, stac browser, airflow, etc.), won't CORS issue be a moot point? |
@anilnatha , Both @ramesh-maddegoda and @mike-gangl were working on a httpd server that has a ALB and cert. I think @mike-gangl was thinking that airflow is a "www" thing, and not an "api" thing, and therefore would go through httpd. In other words, So the other apps (and the Navbar UI) should have URLs starting with https://www.dev.mdps.mcp.nasa.gov:4443/ ... So I think the answer hopefully is that you don't have this CORS issue anymore (once this all gets setup properly), but we would have to test. |
There may still be some CORS issues to resolve, e.g. submitting a job to the API (WPS) from the dashboard, but i think those belonging to the same domain will help alleviate these issues. As for hosting another application, its essentially an iframe pointing at www... content, so that should be pretty standard. |
needs u-cs work on httpd resolved |
May need to handle the APIs because they'll have a different domain (api.blah vs. www.blah) when loading the Jobs Dashboard (for example) |
@anilnatha I think we can test Jupyter in the navbar now... it should have a URL that can avoid the CORS stuff |
also need to handle passing of Cognito tokens into the iframe |
Cognito into iframe = cookies. Working on it |
Each health-endpoint URL should have the MCP URL |
Help each respective service team set up their apps to be included "under" the navbar (CORS etc.)
The text was updated successfully, but these errors were encountered: