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

refactor: Group configuration-related API routes below /configurations #2067

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

zusorio
Copy link
Member

@zusorio zusorio commented Dec 9, 2024

  • Move the web-based configuration code outside the settings folder
  • Change the configuration API paths from /settings/configuration to /configuration
  • Move the server-side config code inside the new top-level configuration folder into a new folder called app

@zusorio zusorio requested a review from MoritzWeber0 as a code owner December 9, 2024 13:48
Copy link

github-actions bot commented Dec 9, 2024

API Changelog 4.14.1.dev36+g2e61d263

GET /api/v1/configurations/global

  • endpoint added

PUT /api/v1/configurations/global

  • endpoint added

GET /api/v1/configurations/global/schema

  • endpoint added

GET /api/v1/configurations/unified

  • endpoint added

GET /api/v1/settings/configurations/global

  • ⚠️ api path removed without deprecation

PUT /api/v1/settings/configurations/global

  • ⚠️ api path removed without deprecation

GET /api/v1/settings/configurations/global/schema

  • ⚠️ api path removed without deprecation

GET /api/v1/settings/configurations/unified

  • ⚠️ api path removed without deprecation

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.46%. Comparing base (f251d4c) to head (be00606).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2067      +/-   ##
==========================================
- Coverage   85.47%   85.46%   -0.01%     
==========================================
  Files         224      224              
  Lines        7399     7397       -2     
  Branches      513      513              
==========================================
- Hits         6324     6322       -2     
  Misses        911      911              
  Partials      164      164              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Dec 9, 2024

A Storybook preview is available for commit 2e61d26.
➡️ View Storybook
➡️ View Chromatic build

- Move the web-based configuration code outside the settings folder
- Change the configuration API paths from /settings/configuration to /configuration
- Move the server-side config code inside the new top-level configuration folder into a new folder
called app
Copy link

sonarcloud bot commented Dec 9, 2024

Copy link

github-actions bot commented Dec 9, 2024

This report was generated by comparing 2e61d26 with f251d4c.
If you would like to check difference, please check here.

success

ArtifactName: reg

✨✨ That's perfect, there is no visual difference! ✨✨

item count
pass 422
change 0
new 0
delete 0

@MoritzWeber0 MoritzWeber0 changed the title chore: Refactor configuration paths refactor: Group configuration-related API routes below /configurations Dec 9, 2024
@MoritzWeber0 MoritzWeber0 merged commit eb01c8d into main Dec 9, 2024
32 checks passed
@MoritzWeber0 MoritzWeber0 deleted the move-config branch December 9, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants