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

feat: permit default api context config to be used #4671

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Dec 12, 2024

What this PR changes/adds

Remove the useDefaultContext attribute from WebServiceSettings, because it's use was not clear and it didn't permit runtimes to start with default configuration.

Why it does that

Briefly state why the change was necessary.

Further notes

  • removed also name because it was used only for logging, and for that contextAlias can be used as well
  • uniformed the defaultPath value in the form of /api/<context_alias>
  • the current design of the definition and use of these configurations is not really lean and it could deserve some more love

Linked Issue(s)

Closes #4669

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added enhancement New feature or request refactoring Cleaning up code and dependencies labels Dec 12, 2024
@ndr-brt ndr-brt requested a review from wolf4ood December 12, 2024 16:24
@ndr-brt ndr-brt force-pushed the 4669-enable-use-default-config branch from 231a3ac to e97224e Compare December 12, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring Cleaning up code and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Api contexts without explicit config value throw exception on startup
1 participant