Skip to content

Commit e4bd1a1

Browse files
authored
Merge pull request #32602 from boczkowska/updateOdo
Multiple odo fixes.
2 parents 19dd59c + 15de8f3 commit e4bd1a1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cli_reference/developer_cli_odo/creating_and_deploying_applications_with_odo/creating-a-java-application-with-a-database.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ This example describes how to deploy a Java application by using devfile and con
1616

1717
include::modules/developer-cli-odo-creating-a-project.adoc[leveloffset=+1]
1818

19-
include::modules/developer-cli-odo-creating-a-database-with-odo.adoc[leveloffset=+1]
20-
2119
include::modules/developer-cli-odo-creating-a-java-microservice-jpa-application.adoc[leveloffset=+1]
2220

21+
include::modules/developer-cli-odo-creating-a-database-with-odo.adoc[leveloffset=+1]
22+
2323
include::modules/developer-cli-odo-connecting-a-java-application-to-mysql-database.adoc[leveloffset=+1]

cli_reference/developer_cli_odo/creating_and_deploying_applications_with_odo/sample-applications.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ toc::[]
1111
[source,terminal]
1212
----
1313
NAME PROJECT TAGS
14-
dotnet openshift 2.0,latest
14+
dotnet openshift 3.1,latest
1515
httpd openshift 2.4,latest
1616
java openshift 8,latest
1717
nginx openshift 1.10,1.12,1.8,latest

modules/developer-cli-odo-connecting-a-java-application-to-mysql-database.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ After the link has been created and pushed, a secret that contains the database
4343
+
4444
[source,sh]
4545
----
46-
$ odo exec -- bash -c 'export | grep DATABASE'
46+
$ odo exec -- bash -c 'env | grep DATABASE'
4747
declare -x DATABASE_CLUSTERIP="10.106.182.173"
4848
declare -x DATABASE_DB_NAME="sampledb"
4949
declare -x DATABASE_DB_PASSWORD="samplepwd"

modules/developer-cli-odo-creating-a-java-microservice-jpa-application.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ With `odo`, you can create and manage a sample Java MicroServices JPA applicatio
88
+
99
[source,terminal]
1010
----
11-
$ git clone https://github.com/redhat-developer/application-stack-samples
11+
$ git clone -b jpa-sample https://github.com/redhat-developer/application-stack-samples.git
1212
----
1313

1414
. Navigate to the application directory:

modules/developer-cli-odo-deploying-a-java-application-using-a-devfile.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ mkdir <directory-name>
2020
+
2121
[source,terminal]
2222
----
23-
$ odo create java-spring-boot myspring --starter
23+
$ odo create java-springboot myspring --starter
2424
----
2525
+
2626
The previous command produces the following output:

0 commit comments

Comments
 (0)