Skip to content

fix(health)!: migrate endpoint to api#52

Merged
tngraf merged 1 commit into
sw360:masterfrom
GMishx:fix/health/endpoint
Jun 2, 2026
Merged

fix(health)!: migrate endpoint to api#52
tngraf merged 1 commit into
sw360:masterfrom
GMishx:fix/health/endpoint

Conversation

@GMishx
Copy link
Copy Markdown
Member

@GMishx GMishx commented Jun 2, 2026

The backend has migrated the health endpoint to match with other endpoints under /api. So the URL is no longer /resource/health but /resource/api/health.

Marked it as a breaking change as this is a breaking change in backend starting version 19.1.0.

See: eclipse-sw360/sw360@8020133

BREAKING: This will work on v19+
@tngraf tngraf merged commit ecf10dc into sw360:master Jun 2, 2026
5 checks passed
@gernot-h
Copy link
Copy Markdown
Collaborator

gernot-h commented Jun 3, 2026

It's probably not a critical endpoint for most users, however, we definitely need to add a ChangeLog entry for it. Also, I wonder if we can't fallback to the old URL so that the code will work on v18 as well as on v19+?

@gernot-h
Copy link
Copy Markdown
Collaborator

gernot-h commented Jun 3, 2026

I can add this fallback code, just let me know if you agree with it, @tngraf and @GMishx!

@GMishx GMishx deleted the fix/health/endpoint branch June 3, 2026 10:06
@GMishx
Copy link
Copy Markdown
Member Author

GMishx commented Jun 3, 2026

I don't see any issue with the fallback @gernot-h . SW360 exposes version information at /resource/api/version endpoint.

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.

3 participants