From a7881f40ccaa623d757e762d1215d5e9bc9d1a7a Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 26 Dec 2020 20:13:19 +0530 Subject: add AR integration --- backend/tests/product/chair.json | 6 ++++-- backend/tests/product/dumb_sofa.json | 4 ---- backend/tests/product/recliner.json | 8 ++++++++ backend/tests/product/single_chair.json | 10 ++++++++++ backend/tests/product/smart_sofa.json | 6 ------ backend/tests/requests.txt | 2 ++ 6 files changed, 24 insertions(+), 12 deletions(-) delete mode 100644 backend/tests/product/dumb_sofa.json create mode 100644 backend/tests/product/recliner.json create mode 100644 backend/tests/product/single_chair.json delete mode 100644 backend/tests/product/smart_sofa.json (limited to 'backend/tests') diff --git a/backend/tests/product/chair.json b/backend/tests/product/chair.json index bb13c8b..0564d01 100644 --- a/backend/tests/product/chair.json +++ b/backend/tests/product/chair.json @@ -1,6 +1,8 @@ { - "name": "Urban Ladder Teak Chair", + "name": "Teak Chair", "kind": "Chair", "price": 3500, - "description": "Sleek, modern chair for offices and workplaces" + "description": "High quality teak chair ideal for casual use.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1607083617515204/7Jl72KgiRl-/2lfpoCUD7hi/WoodChair_01(1).gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1607083617515204/7Jl72KgiRl-/40_ivv2I3M2/WoodChair_01(1).usdz" } diff --git a/backend/tests/product/dumb_sofa.json b/backend/tests/product/dumb_sofa.json deleted file mode 100644 index 2b09a58..0000000 --- a/backend/tests/product/dumb_sofa.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Home Town Leather Sofa", - "price": 5400 -} diff --git a/backend/tests/product/recliner.json b/backend/tests/product/recliner.json new file mode 100644 index 0000000..f390351 --- /dev/null +++ b/backend/tests/product/recliner.json @@ -0,0 +1,8 @@ +{ + "name": "Leather Recliner", + "kind": "Sofa", + "price": 12500, + "description": "Fully mechanical recliner, with leg rest and 120 degree recline angle.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1605210857124678/eBafYyUfz60/5UrSr1r5w8r/model.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1605210857124678/eBafYyUfz60/1WxZLhYggZm/model.usdz" +} diff --git a/backend/tests/product/single_chair.json b/backend/tests/product/single_chair.json new file mode 100644 index 0000000..5990985 --- /dev/null +++ b/backend/tests/product/single_chair.json @@ -0,0 +1,10 @@ +{ + "name": "Single Cushioned Chair", + "kind": "Chair", + "price": 8200, + "description": "Casual single chair with cushioned bottom and back. Contains strudy steel frame and rubber bottom legs.", + "src": "https://poly.googleusercontent.com/downloads/c/fp/1606863385683627/4-etwKK4ifB/c29G_sc6wH8/KEYSHOT9PRO_UV6D_single%20chair-DIM.gltf", + "ios_src": "https://poly.googleusercontent.com/downloads/c/fp/1606863385683627/4-etwKK4ifB/7QDBFnQJcRu/KEYSHOT9PRO_UV6D_single%20chair-DIM.usdz" +} + + diff --git a/backend/tests/product/smart_sofa.json b/backend/tests/product/smart_sofa.json deleted file mode 100644 index 5d7f7d4..0000000 --- a/backend/tests/product/smart_sofa.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "Home Town Leather Sofa", - "kind": "Sofa", - "description": "Comfortable, authentic leather, wooden frame sofa, for living rooms", - "price": 5400 -} diff --git a/backend/tests/requests.txt b/backend/tests/requests.txt index 7e2ca5c..0ce1cb9 100644 --- a/backend/tests/requests.txt +++ b/backend/tests/requests.txt @@ -19,3 +19,5 @@ http POST :7878/cart/remove Cookie: product_id:=1 http POST :7878/rating/add Cookie: product_id:=1 stars:=3 comment_text=Very good functional chair http :7878/product/reviews/1 + +http :7878/transaction/list Cookie: -- cgit v1.2.3