Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Update database section of ref guide #5082

Merged

Conversation

onobc
Copy link
Contributor

@onobc onobc commented Sep 8, 2022

This handles the Dataflow ref guide updates - Skipper to follow.

Point1

I have created a common database adoc and included in both places that were previously talking about the details of which database/driver is supported etc..

Point2

This will not be the final suggested mechanism for users to extend the classpath as @corneil has another way that is less intrusive and will be addressed by spring-cloud-dataflow#5083.

Point3

I have attached generated PDF for your viewing pleasure while reviewing in case you do not have the IDEA asciidoc plugin etc.. These will NOT be checked in.

See #5079

|===

==== H2
When no other database is configured and the *H2* driver has been added to the server classpath then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noob question, Is there a case where we do not include the H2 driver? If they don't specify a datasource dataflow defaults to H2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So....

The H2 config was split into its own config and made optional in #4802 as it was lighting up CVE scans.

We quickly realized the missing dep. broke running locally w/ java -jar as well as many examples that do the same in the docs. Because of this I made the dependency non-optional here.

As of now the dependency is still provided. We need to decide what we are going to do in this area (provide it or not). This doc is written as if it will be removed. Lets leave it like that for now and we will re-address the docs when we make a decision on H2.

Sound good @cppwfs ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge this and we can follow on w/ whatever we need to.

@onobc onobc merged commit ea2b87f into spring-attic:main Sep 10, 2022
@onobc onobc deleted the cbono-update-ref-docs-database-section-5079 branch September 10, 2022 01:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants