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

[DOCS] Remove inline callouts in JDBC docs for Asciidoctor migration #41266

Merged
merged 1 commit into from
Apr 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions docs/reference/sql/endpoints/jdbc.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,21 @@ Once registered, the driver understands the following syntax as an URL:

["source","text",subs="attributes"]
----
jdbc:es://<1>[[http|https]://]*<2>[host[:port]]*<3>/[prefix]*<4>[?[option=value]&<5>]*
jdbc:es://[[http|https]://]*[host[:port]]*/[prefix]*<[?[option=value]&]*
----
`jdbc:es://`:: Prefix. Mandatory.

<1> `jdbc:es://` prefix. Mandatory.
<2> type of HTTP connection to make - `http` (default) or `https`. Optional.
<3> host (`localhost` by default) and port (`9200` by default). Optional.
<4> prefix (empty by default). Typically used when hosting {es} under a certain path. Optional.
<5> Properties for the JDBC driver. Empty by default. Optional.
`[[http|https]://]`:: Type of HTTP connection to make. Possible values are
`http` (default) or `https`. Optional.

`[host[:port]]`:: Host (`localhost` by default) and port (`9200` by default).
Optional.

`[prefix]`:: Prefix (empty by default). Typically used when hosting {es} under
a certain path. Optional.

`[option=value]`:: Properties for the JDBC driver. Empty by default.
Optional.

The driver recognized the following properties:

Expand Down