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

[WIP] Quarkus: separate service module from server artifact #628

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

adutra
Copy link
Contributor

@adutra adutra commented Jan 8, 2025

⚠️ Not ready for review yet!

Requires #469 and #604.

This PR splits polaris-quarkus-service in two modules:

  • polaris-quarkus-service contains all the Quarkus-specific components needed for the server, and soon, for the admin tool as well.
  • polaris-quarkus-server builds the final artifact (the runnable server). It contains the server's application.properties and the Dockerfile.jvm to build the docker image.

This PR is mainly motivated by the fact that there cannot be more than one application.properties file in the classpath. Keeping it in polaris-quarkus-service would make it impossible for the future admin tool to have its own configuration file while depending on polaris-quarkus-service.

The common parts of the configuration were moved to META-INF/microprofile-config.properties in polaris-quarkus-service.

This PR also fixes the server binary distribution by adapting it to Quarkus.

@adutra adutra force-pushed the quarkus-split-service branch from 9406e2b to 7b28be1 Compare January 9, 2025 15:00
@adutra adutra force-pushed the quarkus-split-service branch from 7b28be1 to 9477208 Compare January 9, 2025 15:18
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.

1 participant