Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11626

NYU: Import example dataset for Java-based sample apps

    • Type: Icon: Task Task
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            rh2551@nyu.edu Raghavendra Harish old
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 4 weeks, 5 days ago