Skip to content
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

Make sure that projects with no launch profile can still run #478

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

karolz-ms
Copy link
Member

@karolz-ms karolz-ms commented Oct 24, 2023

This is a fix for Service application gets dashboard url injected if there's no launch settings. I am not super sure if this is the best fix--please chime in if you can think of something else.

I tested this by deleting all launch settings from eShopLite frontend service. Because there is no launch profile, we do not generate a service binding annotation, and as a result, the frontend does not get a clickable "endpoint" in the dashboard. But one can look at the logs and learn the URL for the frontend there. If you navigate to that URL, the application works fine.

Fixes #225

@karolz-ms karolz-ms merged commit 0e75ecb into main Oct 24, 2023
4 checks passed
@karolz-ms karolz-ms deleted the dev/karolz/no-launch-profile branch October 24, 2023 21:55
@davidfowl
Copy link
Member

davidfowl commented Oct 24, 2023

Will this break apps until the dcp update?

@karolz-ms
Copy link
Member Author

It should not. The change only affects services without launch profile, and those did not work anyway.

@davidfowl
Copy link
Member

Well they sorta did, 😄. You can work around the issue in the app itself. Or you can set custom service bindings.

@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Service application gets dashboard url injected if there's no launch settings
2 participants