2.6.2. Loading data into the database
After you have deployed the mongodb-nationalparks database application, load the national park location information into the database.
Prerequisites
-
You have deployed the
nationalparksback-end application. -
You have deployed the
mongodb-nationalparksdatabase application.
Procedure
-
Navigate to Workloads
Topology. -
Click the
nationalparksdeployment 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:
/ws/data/loadFor example:
https://nationalparks-user-getting-started.apps.cluster.example.com/ws/data/loadExample output
Items inserted in database: 2893