NYU-DevOps-Charlie-CSCI-GA-3033-013 / products

Product Team for CSCI-GA.3033-013
http://nyu-lab-bluemix-charlie-products.mybluemix.net/
1 stars 1 forks source link

Default database with sample product data #35

Open ephraimrosenfeld opened 7 years ago

ephraimrosenfeld commented 7 years ago

As a user

I need some default sample product data

So that when my server application starts for the first time, sample product data is loaded into the database

Assumptions:

  1. Sample data is only loaded into during the first time the server is online. Subsequent restarts of the server will grab data from the database.
  2. Sample data will be taken from the sampleSchema_products.csv file

Acceptance Criteria:

  1. When the server starts for the first time, it loads data from the sampleSchema_products.csv file. REST API calls should reflect the data from this file
  2. Subsequent restarts of the server should not make use of this sample data-set, and should rather rely on the persisted data in the Reddis database.