mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
41 lines
995 B
Plaintext
41 lines
995 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * tutorials/dev-app-web-console.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="getting-started-web-console-load-data-output_{context}"]
|
|
= Loading data into the database
|
|
|
|
After you have deployed the `mongodb-nationalparks` database, you can load the national park location information into the database.
|
|
|
|
.Prerequisites
|
|
|
|
* You have deployed the `nationalparks` back-end application.
|
|
* You have deployed the `mongodb-nationalparks` database application.
|
|
|
|
.Procedure
|
|
|
|
. Navigate to *Workloads* -> *Topology*.
|
|
. Click the `nationalparks` deployment and select the *Resources* tab.
|
|
. Copy the *Location* URL from your route.
|
|
. Paste the URL into your web browser and add the following at the end of the URL:
|
|
+
|
|
[source,text]
|
|
----
|
|
/ws/data/load
|
|
----
|
|
+
|
|
For example:
|
|
+
|
|
[source,text]
|
|
----
|
|
https://nationalparks-user-getting-started.apps.cluster.example.com/ws/data/load
|
|
----
|
|
+
|
|
.Example output
|
|
+
|
|
[source,text]
|
|
----
|
|
Items inserted in database: 2893
|
|
----
|