-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…s for Cloud 2.0 (#18843) * [DOC-9717] Update Movr Flask deployment tutorial for Cloud 2.0 * [DOC-9718] Update Spring JPA and JDBC app tutorials for Cloud 2.0 * [DOC-10647] Update Python Todo app * Propagate v23.1 link fixes to v22.1 pages to fix links
- Loading branch information
1 parent
3349ce5
commit fc03ca7
Showing
42 changed files
with
790 additions
and
766 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
src/current/_includes/cockroachcloud/connection-string-standard.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<a name="connection-string"></a>After the cluster is created, the **Connection info** window appears. Click the **Connection string** tab and copy the connection string to a secure location. You will use this connection string to connect to CockroachDB later in the tutorial. | ||
|
||
The connection string is pre-populated with your SQL username and password, the cluster name, and other details. Save the password in a secure place such a password manager. You can find the connection string at any time from the CockroachDB Cloud Console. You can reset your SQL password for this cluster from the cluster's **SQL Users** page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div class="filter-content" markdown="1" data-scope="mac linux"> | ||
Set a `DATABASE_URL` environment variable to your connection string. | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
export DATABASE_URL="{connection string}" | ||
~~~ | ||
|
||
</div> | ||
|
||
<div class="filter-content" markdown="1" data-scope="windows"> | ||
Set a `DATABASE_URL` environment variable to your connection string. | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
$env:DATABASE_URL = "{connection string}" | ||
~~~ | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{site.data.alerts.callout_info}} | ||
The connection information shown on this page uses [client certificate and key authentication]({% link {{ page.version.version }}/authentication.md %}#client-authentication) to connect to a secure, CockroachDB {{ site.data.products.core }} cluster. | ||
|
||
To connect to a CockroachDB {{ site.data.products.core }} cluster with client certificate and key authentication, you must first [generate server and client certificates]({% link {{ page.version.version }}/authentication.md %}#using-digital-certificates-with-cockroachdb). | ||
|
||
For instructions on starting a secure cluster, see [Start a Local Cluster (Secure)]({% link {{ page.version.version }}/secure-a-cluster.md %}). | ||
{{site.data.alerts.end}} |
19 changes: 19 additions & 0 deletions
19
src/current/_includes/v22.1/connect/jdbc-connection-url.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Set a `JDBC_DATABASE_URL` environment variable to your JDBC connection string. | ||
|
||
<div class="filter-content" markdown="1" data-scope="mac linux"> | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
export JDBC_DATABASE_URL="{connection string}" | ||
~~~ | ||
|
||
</div> | ||
|
||
<div class="filter-content" markdown="1" data-scope="windows"> | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
$env:JDBC_DATABASE_URL = "{connection string}" | ||
~~~ | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{site.data.alerts.callout_info}} | ||
The connection information shown on this page uses [client certificate and key authentication]({% link {{ page.version.version }}/authentication.md %}#client-authentication) to connect to a secure, CockroachDB {{ site.data.products.core }} cluster. | ||
|
||
To connect to a CockroachDB {{ site.data.products.core }} cluster with client certificate and key authentication, you must first [generate server and client certificates]({% link {{ page.version.version }}/authentication.md %}#using-digital-certificates-with-cockroachdb). | ||
|
||
For instructions on starting a secure cluster, see [Start a Local Cluster (Secure)]({% link {{ page.version.version }}/secure-a-cluster.md %}). | ||
{{site.data.alerts.end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CockroachDB is a [distributed SQL](https://www.cockroachlabs.com/blog/what-is-distributed-sql/) database built on a transactional and strongly-consistent key-value store. It **scales** horizontally; **survives** disk, machine, rack, and even datacenter failures with minimal latency disruption and no manual intervention; supports **strongly-consistent** ACID transactions; and provides a familiar **SQL** API for structuring, manipulating, and querying data. | ||
|
||
CockroachDB is inspired by Google's [Spanner](http://research.google.com/archive/spanner.html) and [F1](http://research.google.com/pubs/pub38125.html) technologies, and the [source code](https://github.com/cockroachdb/cockroach) is freely available. | ||
|
||
{{site.data.alerts.callout_success}} | ||
For a deeper dive into CockroachDB's capabilities and how it fits into the database landscape, take the free [**Intro to Distributed SQL and CockroachDB**](https://university.cockroachlabs.com/courses/course-v1:crl+intro-to-distributed-sql-and-cockroachdb+self-paced/about) course on Cockroach University. | ||
{{site.data.alerts.end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Set a `JDBC_DATABASE_URL` environment variable to your JDBC connection string. | ||
|
||
<div class="filter-content" markdown="1" data-scope="mac linux"> | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
export JDBC_DATABASE_URL="{connection string}" | ||
~~~ | ||
|
||
</div> | ||
|
||
<div class="filter-content" markdown="1" data-scope="windows"> | ||
|
||
{% include_cached copy-clipboard.html %} | ||
~~~ shell | ||
$env:JDBC_DATABASE_URL = "{connection string}" | ||
~~~ | ||
|
||
</div> |
Oops, something went wrong.