Skip to content

Comments

7980 enhance data source definition#7983

Closed
poikilotherm wants to merge 6 commits intoIQSS:developfrom
poikilotherm:7980-enhance-dsd
Closed

7980 enhance data source definition#7983
poikilotherm wants to merge 6 commits intoIQSS:developfrom
poikilotherm:7980-enhance-dsd

Conversation

@poikilotherm
Copy link
Contributor

@poikilotherm poikilotherm commented Jun 30, 2021

What this PR does / why we need it:
Create real defaults for the database connection, enable configuring advanced settings, add docs and fix 5.3 release notes.

Which issue(s) this PR closes:

Closes #7980

Special notes for your reviewer:
The release docs of 5.3 do not need to be changed. The statements on how to upgrade etc are working just fine.
Only in a few occasions people might have hit the regression.

Suggestions on how to test this:

  1. Remove the properties from domain.xml. Should still work (if you had used the defaults in there)
  2. Try setting the JDBC logging to enabled via system property: asadmin create-system-properties "dataverse.db.log-jdbc-calls=true"

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Nope.

Is there a release notes update needed for this change?:
🔋 included.

Additional documentation:
None.

…IG. IQSS#7980

Previously, with Dataverse software 5.3, the option to configure
the database connection has been moved into the codebase. Admins
can set details via MicroProfile Config.

With updating to Payara 5.2021.4, we can provide default values
for the connection details. Before, this had been tried with adding
them to META-INF/microprofile-config.properties. However, this is
not possible due to the timing of resource creation in the application
server vs. reading the properties file.

IQSS#7980
@coveralls
Copy link

coveralls commented Jun 30, 2021

Coverage Status

Coverage remained the same at 19.315% when pulling 73093be on poikilotherm:7980-enhance-dsd into 5fab3f1 on IQSS:develop.

As requested by @pdurbin, the long list was quite overwhelming.
It's now damped down to 12 options in 3 subsubsections of the docs.
@poikilotherm
Copy link
Contributor Author

poikilotherm commented Jun 30, 2021

Looks like this will stay in "draft" for another while, until payara/Payara#5322 is resolved, landed in a new release AND we update to that or a later release. 🙈

(Positive: I learned a lot more about Arquillian today 😆 ) Tagging @kcondon here for the lulz.

@poikilotherm poikilotherm mentioned this pull request Aug 11, 2022
@poikilotherm
Copy link
Contributor Author

Closed in favor of all new #8915

@poikilotherm poikilotherm deleted the 7980-enhance-dsd branch August 11, 2022 21:49
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.

DB connection: defaults and more options

2 participants