Support DB Optional Properties in Service Binding pkg
See original GitHub issueDescription
When connecting DB with JDBC, the user is allowed to append optional properties to customize the connection,
e.g.:jdbc:postgresql://localhost:5432/postgres?sslfactory=abc.def&prepareThreshold=1000
, but this is currently not supported by Quarkus Service Binding Extension.
This is to propose that Service Binding Extension reads an options
file, if it is present, under the directories in SERVICE_BINDING_ROOT. The file content is “key=val” pair and concatenate with ‘&’. e.g. sslfactory=class.path&prepareThreshold=1000
.
Implementation ideas
Each database converter can format the optional properies accordingly. Postgresql as an example: https://gist.github.com/myeung18/9a9a7dca09fca9050afd99a8cbfe81bf
Issue Analytics
- State:
- Created 2 years ago
- Comments:25 (22 by maintainers)
Top Results From Across the Web
Configuring Package Bind Processing - Host Integration Server
This optional attribute accepts a string value. The default value is an empty string. The string is comprised of a comma-separated SQL Server ......
Read more >Using JavaFX Properties and Binding
In this tutorial you learn how to use properties and binding in JavaFX 2 ... This release introduces property support into JavaFX, support...
Read more >App Manifest Attribute Reference | Cloud Foundry Docs
This section explains how to describe optional app attributes in manifests. ... for HTTP/2 in Cloud Foundry, see Configuring HTTP/2 Support.
Read more >Core Features - Spring
This section dives into the details of Spring Boot. Here you can learn about the key features that you may want to use...
Read more >Configuring Your Application - Quarkus
This property is optional - an empty Optional is injected if the configuration does not provide a value for greeting.name . Now, modify...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It means that it doesn’t make sense for the operator to provide values for these, because each consumer (that is each client that consumes that service - a DB for example) has different needs and therefore needs to set different settings to match it’s own unique access characteristics.
In case we have this question is because I included those certificate related options in the example, we don’t actually have plan nor any use case to do any key management over SBO. Maybe someone else can answer the question.