[DOCS-11626] NYU: Import example dataset for Java-based sample apps Created: 16/Apr/18  Updated: 09/Oct/19  Resolved: 09/Oct/19

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Raghavendra Harish old Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: NYU
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 43 weeks, 2 days ago
Epic Link: NYU Sample Apps Project

 Description   

DOD:
1. Create example dataset with multiple records of the following schema.

{
  _id: ObjectId(),
  orderPlaced: datetime(),
  total: NumberDecimal("153.00"),
  subtotal: NumberDecimal("141.00"),
  shipping: NumberDecimal("5.00"),
  tax: NumberDecimal("7.00"),
  status: ["shipped", datetime()],
  shippingAddress: {
    number: 345,
    street: Alvin St.,
    city: Madison
    state: WI,
    country: USA
    postalCode: 53558
  },
  lineitems: [
    { sku: "MDBTS001",
      name: "Flannel T-shirt",
      quantity: 10,
      unit_price: NumberDecimal("9.00") },
    { sku: "MDBTS002",
      quantity: 5,
      unit_price: NumberDecimal("10.00")}] 
}

2. Create java sample app to import this dataset.
3. Write unit tests for all methods


Generated at Thu Feb 08 08:03:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.