1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/getting-started-web-console-load-data-output.adoc
2023-10-30 10:13:25 -04:00

40 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * getting-started/openshift-web-console.adoc
:_mod-docs-content-type: PROCEDURE
[id="getting-started-web-console-load-data-output_{context}"]
= Loading data and displaying the national parks map
You deployed the `parksmap` and `nationalparks` applications and then deployed the `mongodb-nationalparks` database. However, no data has been loaded _into_ the database.
Before loading the data, add the proper labels to the `mongodb-nationalparks` and `nationalparks` deployment.
.Prerequisites
* You are logged in to the {product-title} web console.
* You are in the *Developer* perspective.
* You have a deployed image.
.Procedure
. From the *Topology* view, navigate to `nationalparks` deployment and click *Resources* and retrieve your route information.
. Copy and paste the URL into your web browser and add the following at the end of the URL:
+
[source,text]
----
/ws/data/load
----
+
.Example output
+
[source,text]
----
Items inserted in database: 2893
----
. From the *Topology* view, navigate to `parksmap` deployment and click *Resources* and retrieve your route information.
. Copy and paste the URL into your web browser to view your national parks across the world map.
.National parks across the world
image::getting-started-map-national-parks.png[]