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

Move database configuration into application #7418

Closed
poikilotherm opened this issue Nov 17, 2020 · 0 comments · Fixed by #7422 or #7459
Closed

Move database configuration into application #7418

poikilotherm opened this issue Nov 17, 2020 · 0 comments · Fixed by #7422 or #7459
Assignees
Labels
Feature: Admin Guide Feature: Installation Guide Feature: Installer Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Milestone

Comments

@poikilotherm
Copy link
Contributor

Currently, the database connection is handled on the application server level.

As outlined in #6819 and #7048, this isn't necessary due to Java EE 7 @DataSourceDefinition.
Using MicroProfile Config API #7000, it is a piece of cake to configure.

Let's go for this. Requires #6819 and #7417 to be merged first.

@poikilotherm poikilotherm added Type: Feature a feature request Feature: Installer Feature: Installation Guide Feature: Admin Guide User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh labels Nov 17, 2020
@poikilotherm poikilotherm added this to the 5.3 milestone Nov 17, 2020
@poikilotherm poikilotherm self-assigned this Nov 17, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Nov 18, 2020
The JNDI names have been changed to be conform with Java EE 7.
See https://github.com/javaee-samples/javaee7-samples/tree/master/jpa/datasourcedefinition-applicationxml-pu
and others for working examples. (Staying with the old name was not successfull.)
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Nov 18, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Nov 18, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Nov 18, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Nov 18, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Nov 18, 2020
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Nov 24, 2020
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Nov 25, 2020
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Nov 25, 2020
src/main/resources/META-INF/microprofile-config.properties is important
for developers to know about but sysadmins following the installation
guide need not concern themselves with it.

Other tweaks in this commit are cosmetic. I de-emphasized the
environment variables by putting them in the bottom.
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Dec 1, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 2, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 2, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 2, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 2, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 2, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 2, 2020
…ONFIG. IQSS#7418

Due to payara/Payara#5024 this is currently not possible. Needs to be addressed
in a later enhancement when Payara provides a solution.
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Dec 3, 2020
- Show a simple properties example that's easily verifiable by inspecting
server.log (JDBC call debugging).
- Remove MPCONFIG examples that don't work yet (depends on work in
Payara).
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Dec 3, 2020
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Dec 3, 2020
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Dec 3, 2020
pdurbin added a commit to poikilotherm/dataverse that referenced this issue Dec 3, 2020
pdurbin added a commit that referenced this issue Dec 4, 2020
kcondon added a commit that referenced this issue Dec 7, 2020
db_password_alias changed to dataverse.db.password #7418 #7422
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 8, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Dec 8, 2020
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Jun 11, 2021
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Jun 11, 2021
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Aug 23, 2021
poikilotherm added a commit to poikilotherm/dataverse that referenced this issue Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Admin Guide Feature: Installation Guide Feature: Installer Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Projects
None yet
1 participant