From 6c9377cd16d9895ecd9bb3bdba5045efdc4589fc Mon Sep 17 00:00:00 2001 From: Gowrisankar J g <59323@hexaware.com> Date: Thu, 30 Sep 2021 12:50:49 +0530 Subject: [PATCH] cart updated --- .../app/components/cart/cart.component.html | 6 +- .../src/app/components/cart/cart.component.ts | 76 ++--- .../app/components/home/home.component.html | 10 +- .../src/app/components/home/home.component.ts | 47 ++- .../page-nav-bar/page-nav-bar.component.html | 2 +- .../userprofile/userprofile.component.css | 6 + .../userprofile/userprofile.component.html | 165 +++++----- Angular-UrbanBazaar/src/app/models/cart.ts | 2 +- .../controller/CartController.java | 2 + .../com/example/urbanbazaar/model/User.java | 2 + .../repository/CartRepository.java | 3 +- .../repository/UserRepository.java | 1 - UB_CartServiceProxy/.gitignore | 33 -- .../.mvn/wrapper/MavenWrapperDownloader.java | 117 ------- .../.mvn/wrapper/maven-wrapper.jar | Bin 50710 -> 0 bytes .../.mvn/wrapper/maven-wrapper.properties | 2 - UB_CartServiceProxy/bin/.gitignore | 33 -- .../.mvn/wrapper/MavenWrapperDownloader.class | Bin 5438 -> 0 bytes .../bin/.mvn/wrapper/maven-wrapper.jar | Bin 50710 -> 0 bytes .../bin/.mvn/wrapper/maven-wrapper.properties | 2 - UB_CartServiceProxy/bin/mvnw | 310 ------------------ UB_CartServiceProxy/bin/mvnw.cmd | 182 ---------- UB_CartServiceProxy/bin/pom.xml | 56 ---- .../urbanbazaar/ServletInitializer.class | Bin 1448 -> 0 bytes .../UbCartServiceProxyApplication.class | Bin 1228 -> 0 bytes .../controller/CartController.class | Bin 2934 -> 0 bytes .../com/example/urbanbazaar/model/Cart.class | Bin 3325 -> 0 bytes .../repository/CartRepository.class | Bin 1310 -> 0 bytes .../src/main/resources/application.properties | 11 - .../UbCartServiceProxyApplicationTests.class | Bin 1115 -> 0 bytes UB_CartServiceProxy/mvnw | 310 ------------------ UB_CartServiceProxy/mvnw.cmd | 182 ---------- UB_CartServiceProxy/pom.xml | 56 ---- .../urbanbazaar/ServletInitializer.java | 13 - .../UbCartServiceProxyApplication.java | 13 - .../controller/CartController.java | 56 ---- .../com/example/urbanbazaar/model/Cart.java | 58 ---- .../repository/CartRepository.java | 17 - .../src/main/resources/application.properties | 11 - .../UbCartServiceProxyApplicationTests.java | 13 - .../controller/OrderController.java | 3 +- .../src/main/resources/application.properties | 2 +- .../UbProductServiceProxyApplication.java | 36 +- .../controller/ProductController.java | 4 +- .../example/urbanbazaar/model/Product.java | 2 +- .../repository/ProductRepository.java | 6 +- .../src/main/resources/application.properties | 2 +- .../src/main/resources/data/product_data.json | 9 + .../src/main/resources/product_data.json | 10 + 49 files changed, 231 insertions(+), 1640 deletions(-) delete mode 100644 UB_CartServiceProxy/.gitignore delete mode 100644 UB_CartServiceProxy/.mvn/wrapper/MavenWrapperDownloader.java delete mode 100644 UB_CartServiceProxy/.mvn/wrapper/maven-wrapper.jar delete mode 100644 UB_CartServiceProxy/.mvn/wrapper/maven-wrapper.properties delete mode 100644 UB_CartServiceProxy/bin/.gitignore delete mode 100644 UB_CartServiceProxy/bin/.mvn/wrapper/MavenWrapperDownloader.class delete mode 100644 UB_CartServiceProxy/bin/.mvn/wrapper/maven-wrapper.jar delete mode 100644 UB_CartServiceProxy/bin/.mvn/wrapper/maven-wrapper.properties delete mode 100644 UB_CartServiceProxy/bin/mvnw delete mode 100644 UB_CartServiceProxy/bin/mvnw.cmd delete mode 100644 UB_CartServiceProxy/bin/pom.xml delete mode 100644 UB_CartServiceProxy/bin/src/main/java/com/example/urbanbazaar/ServletInitializer.class delete mode 100644 UB_CartServiceProxy/bin/src/main/java/com/example/urbanbazaar/UbCartServiceProxyApplication.class delete mode 100644 UB_CartServiceProxy/bin/src/main/java/com/example/urbanbazaar/controller/CartController.class delete mode 100644 UB_CartServiceProxy/bin/src/main/java/com/example/urbanbazaar/model/Cart.class delete mode 100644 UB_CartServiceProxy/bin/src/main/java/com/example/urbanbazaar/repository/CartRepository.class delete mode 100644 UB_CartServiceProxy/bin/src/main/resources/application.properties delete mode 100644 UB_CartServiceProxy/bin/src/test/java/com/example/urbanbazaar/UbCartServiceProxyApplicationTests.class delete mode 100644 UB_CartServiceProxy/mvnw delete mode 100644 UB_CartServiceProxy/mvnw.cmd delete mode 100644 UB_CartServiceProxy/pom.xml delete mode 100644 UB_CartServiceProxy/src/main/java/com/example/urbanbazaar/ServletInitializer.java delete mode 100644 UB_CartServiceProxy/src/main/java/com/example/urbanbazaar/UbCartServiceProxyApplication.java delete mode 100644 UB_CartServiceProxy/src/main/java/com/example/urbanbazaar/controller/CartController.java delete mode 100644 UB_CartServiceProxy/src/main/java/com/example/urbanbazaar/model/Cart.java delete mode 100644 UB_CartServiceProxy/src/main/java/com/example/urbanbazaar/repository/CartRepository.java delete mode 100644 UB_CartServiceProxy/src/main/resources/application.properties delete mode 100644 UB_CartServiceProxy/src/test/java/com/example/urbanbazaar/UbCartServiceProxyApplicationTests.java create mode 100644 UB_ProductServiceProxy/src/main/resources/data/product_data.json create mode 100644 UB_ProductServiceProxy/src/main/resources/product_data.json diff --git a/Angular-UrbanBazaar/src/app/components/cart/cart.component.html b/Angular-UrbanBazaar/src/app/components/cart/cart.component.html index a93fe44..2eadaef 100644 --- a/Angular-UrbanBazaar/src/app/components/cart/cart.component.html +++ b/Angular-UrbanBazaar/src/app/components/cart/cart.component.html @@ -8,7 +8,7 @@