Skip to content

Conversation

@dimas-b
Copy link
Contributor

@dimas-b dimas-b commented Dec 11, 2025

The main idea is to avoid exposing RDS (added in #2650) as a primary dependency of runtime-service since it is conceptually only a dependency on leaf modules (like runtime-server, admin and tests).

This is expected to simplify dependency management in downstream projects since runtime-service has a reduced set of transitive dependencies now.

Checklist

  • 🛡️ Don't disclose security issues! (contact [email protected])
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

The main idea is to avoid exposing RDS (added in apache#2650) as a primary dependency of
runtime-service since it is conceptually only a dependency on leaf modules (like
runtime-server, admin and tests).

This is expected to simplify dependency management in downstream projects since
runtime-service has a reduced set of transitive dependencies now.
@snazy
Copy link
Member

snazy commented Dec 11, 2025

Guess it needs some refactoring for JDBC?

@dimas-b dimas-b marked this pull request as draft December 11, 2025 13:49
@jbonofre
Copy link
Member

I agree with this. You updated OPA, but I guess that other modules should be updated (including the distributions).

@dimas-b
Copy link
Contributor Author

dimas-b commented Dec 12, 2025

Yes, sorry about the breakage, I thought it was that simple, but it's not 😅 I'll update the PR once I figure out the build issues.

dimas-b added a commit to dimas-b/polaris that referenced this pull request Dec 13, 2025
`@QuarkusIntegrationTest` uses the regular server build with only non-test dependencies. Therefore, those tests naturally belong into the `server` module.

This change is as a prerequisite for apache#3252 to allow the `polaris-runtime-service` module to avoid having Polaris extensions as runtime dependencies. Extensions will be runtime dependencies only in the `polaris-server` module.
dimas-b added a commit to dimas-b/polaris that referenced this pull request Dec 15, 2025
`@QuarkusIntegrationTest` uses the regular server build with only non-test dependencies. Therefore, those tests naturally belong into the `server` module.

This change is as a prerequisite for apache#3252 to allow the `polaris-runtime-service` module to avoid having Polaris extensions as runtime dependencies. Extensions will be runtime dependencies only in the `polaris-server` module.
dimas-b added a commit to dimas-b/polaris that referenced this pull request Dec 16, 2025
`@QuarkusIntegrationTest` uses the regular server build with only non-test dependencies. Therefore, those tests naturally belong into the `server` module.

This change is as a prerequisite for apache#3252 to allow the `polaris-runtime-service` module to avoid having Polaris extensions as runtime dependencies. Extensions will be runtime dependencies only in the `polaris-server` module.
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