-
Notifications
You must be signed in to change notification settings - Fork 127
fix: Clean up the k8s example pom, and the extras application properties #416
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,6 @@ | ||
| # Application HTTP Port | ||
| quarkus.http.port=8081 | ||
|
|
||
| # Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations | ||
| quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore | ||
|
|
||
| # Configure PostgreSQL database (connection details will be provided by Testcontainers) | ||
| quarkus.datasource."a2a-java".db-kind=postgresql | ||
|
Comment on lines
4
to
5
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These properties are no longer needed and can be removed to simplify the configuration. Removing unused properties helps in maintaining a cleaner and more efficient configuration. # Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have removed them, and you are telling me to remove them :-) |
||
| quarkus.datasource."a2a-java".jdbc.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/a2adb} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,6 @@ | ||
| # Application HTTP Port | ||
| quarkus.http.port=8082 | ||
|
|
||
| # Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations | ||
| quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore | ||
|
|
||
| # Configure PostgreSQL database (connection details will be provided by Testcontainers) | ||
| quarkus.datasource."a2a-java".db-kind=postgresql | ||
|
Comment on lines
4
to
5
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These properties are no longer needed and can be removed to simplify the configuration. Removing unused properties helps in maintaining a cleaner and more efficient configuration. # Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They are actually being removed! |
||
| quarkus.datasource."a2a-java".jdbc.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/a2adb} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,3 @@ | ||
| # Select our ReplicatedQueueManager as the active implementation | ||
| quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore | ||
|
|
||
| # Configure in-memory H2 database for testing | ||
| quarkus.datasource."a2a-java".db-kind=h2 | ||
|
Comment on lines
1
to
2
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This property is no longer needed and can be removed to simplify the configuration. Removing unused properties helps in maintaining a cleaner and more efficient configuration. # Select our ReplicatedQueueManager as the active implementation
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I am removing them |
||
| quarkus.datasource."a2a-java".jdbc.url=jdbc:h2:mem:test | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These dependencies are no longer needed and can be removed to reduce the size of the application and improve build times. Removing unused dependencies helps in maintaining a cleaner and more efficient project structure.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are needed, and Jackson is removed