├── basic-java-truyum
├── docs
│ ├── .gitkeep
│ ├── truYum-use-case-specification.docx
│ └── truYum-web-interface-specification.docx
├── .gitignore
├── WebContent
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── cart.jsp
│ ├── cart-empty.jsp
│ ├── edit-menu-item.jsp
│ ├── WEB-INF
│ │ └── lib
│ │ │ ├── jstl-1.2.jar
│ │ │ └── mysql-connector-java-5.1.45.jar
│ ├── menu-item-list-admin.jsp
│ ├── edit-menu-item-status.jsp
│ ├── images
│ │ ├── truyum-logo-dark.png
│ │ └── truyum-logo-light.png
│ ├── menu-item-list-customer.jsp
│ ├── style
│ │ ├── style.css
│ │ ├── st2.css
│ │ └── st3.css
│ └── js
│ │ └── js1.js
└── src
│ ├── connection.properties
│ └── com
│ └── cognizant
│ └── truyum
│ ├── dao
│ ├── CartEmptyException.java
│ ├── MenuItemDao.java
│ ├── CartDao.java
│ ├── CartDaoCollectionImplTest.java
│ ├── ConnectionHandler.java
│ ├── CartDaoSqlImplTest.java
│ └── MenuItemDaoCollectionImplTest.java
│ ├── util
│ └── DateUtil.java
│ ├── model
│ └── Cart.java
│ └── servlet
│ ├── ShowMenuItemListCustomerServlet.java
│ ├── ShowMenuItemListAdminServlet.java
│ └── ShowEditMenuItemServlet.java
├── truyum-v2
├── ui-design
│ └── README.md
├── webapp
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.css
│ │ │ ├── food
│ │ │ │ ├── menu
│ │ │ │ │ ├── menu.component.css
│ │ │ │ │ ├── menu.component.html
│ │ │ │ │ ├── menu.component.spec.ts
│ │ │ │ │ └── menu.component.ts
│ │ │ │ ├── search
│ │ │ │ │ ├── search.component.css
│ │ │ │ │ ├── search.component.html
│ │ │ │ │ ├── search.component.spec.ts
│ │ │ │ │ └── search.component.ts
│ │ │ │ ├── item-edit
│ │ │ │ │ ├── item-edit.component.css
│ │ │ │ │ └── item-edit.component.spec.ts
│ │ │ │ ├── item-info
│ │ │ │ │ ├── item-info.component.css
│ │ │ │ │ ├── item-info.component.spec.ts
│ │ │ │ │ └── item-info.component.ts
│ │ │ │ └── food.service.spec.ts
│ │ │ ├── shopping
│ │ │ │ ├── cart
│ │ │ │ │ ├── cart.component.css
│ │ │ │ │ ├── cartitem.ts
│ │ │ │ │ ├── cart.component.spec.ts
│ │ │ │ │ ├── cart.component.html
│ │ │ │ │ └── cart.component.ts
│ │ │ │ ├── cart.service.spec.ts
│ │ │ │ └── cart.service.ts
│ │ │ ├── site
│ │ │ │ ├── login
│ │ │ │ │ ├── login.component.css
│ │ │ │ │ ├── login.component.spec.ts
│ │ │ │ │ └── login.component.ts
│ │ │ │ ├── signup
│ │ │ │ │ ├── signup.component.css
│ │ │ │ │ ├── User.ts
│ │ │ │ │ └── signup.component.spec.ts
│ │ │ │ ├── auth-service.service.spec.ts
│ │ │ │ ├── user-service.service.spec.ts
│ │ │ │ └── user-service.service.ts
│ │ │ ├── fooditem.ts
│ │ │ ├── services
│ │ │ │ ├── menu-item.service.spec.ts
│ │ │ │ └── menu-item.service.ts
│ │ │ ├── auth-guard-service.service.spec.ts
│ │ │ ├── app.component.ts
│ │ │ ├── app-routing.module.ts
│ │ │ ├── auth-guard-service.service.ts
│ │ │ └── app.component.spec.ts
│ │ ├── favicon.ico
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.spec.json
│ │ ├── tslint.json
│ │ ├── main.ts
│ │ ├── browserslist
│ │ ├── test.ts
│ │ ├── karma.conf.js
│ │ └── index.html
│ ├── e2e
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ ├── tsconfig.e2e.json
│ │ └── protractor.conf.js
│ ├── .editorconfig
│ ├── tsconfig.json
│ ├── .gitignore
│ ├── README.md
│ └── package.json
├── micro-services
│ ├── README.md
│ ├── menuitem-service
│ │ ├── .mvn
│ │ │ └── wrapper
│ │ │ │ ├── maven-wrapper.jar
│ │ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── cognizant
│ │ │ │ │ │ └── truyum
│ │ │ │ │ │ └── menuitemservice
│ │ │ │ │ │ ├── exception
│ │ │ │ │ │ ├── GlobalExceptionHandler.java
│ │ │ │ │ │ ├── UserAlreadyExistsException.java
│ │ │ │ │ │ └── CartEmptyException.java
│ │ │ │ │ │ ├── repository
│ │ │ │ │ │ ├── RoleRepository.java
│ │ │ │ │ │ ├── MenuItemRepository.java
│ │ │ │ │ │ └── UserRepository.java
│ │ │ │ │ │ ├── MenuitemServiceApplication.java
│ │ │ │ │ │ ├── WebConfig.java
│ │ │ │ │ │ └── model
│ │ │ │ │ │ └── Role.java
│ │ │ │ └── resources
│ │ │ │ │ └── application.properties
│ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── truyum
│ │ │ │ └── menuitemservice
│ │ │ │ └── MenuitemServiceApplicationTests.java
│ │ └── .gitignore
│ ├── zuul-gateway-truyum
│ │ ├── .mvn
│ │ │ └── wrapper
│ │ │ │ ├── maven-wrapper.jar
│ │ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ │ ├── test
│ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── cognizant
│ │ │ │ │ └── truyum
│ │ │ │ │ └── zuulgatewaytruyum
│ │ │ │ │ └── ZuulGatewayTruyumApplicationTests.java
│ │ │ └── main
│ │ │ │ ├── resources
│ │ │ │ └── application.properties
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── truyum
│ │ │ │ └── zuulgatewaytruyum
│ │ │ │ ├── ZuulGatewayTruyumApplication.java
│ │ │ │ └── SimpleFilter.java
│ │ └── .gitignore
│ ├── authentication-service
│ │ ├── .mvn
│ │ │ └── wrapper
│ │ │ │ ├── maven-wrapper.jar
│ │ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── cognizant
│ │ │ │ │ │ └── truyum
│ │ │ │ │ │ └── authenticationservice
│ │ │ │ │ │ ├── exception
│ │ │ │ │ │ ├── GlobalExceptionHandler.java
│ │ │ │ │ │ └── UserAlreadyExistsException.java
│ │ │ │ │ │ ├── repository
│ │ │ │ │ │ ├── RoleRepository.java
│ │ │ │ │ │ └── UserRepository.java
│ │ │ │ │ │ ├── AuthenticationServiceApplication.java
│ │ │ │ │ │ ├── WebConfig.java
│ │ │ │ │ │ └── model
│ │ │ │ │ │ └── Role.java
│ │ │ │ └── resources
│ │ │ │ │ └── application.properties
│ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── truyum
│ │ │ │ └── authenticationservice
│ │ │ │ └── AuthenticationServiceApplicationTests.java
│ │ └── .gitignore
│ └── eureka-discovery-server-truyum
│ │ ├── .mvn
│ │ └── wrapper
│ │ │ ├── maven-wrapper.jar
│ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ ├── main
│ │ │ ├── resources
│ │ │ │ └── application.properties
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── truyum
│ │ │ │ └── eurekadiscoveryservertruyum
│ │ │ │ └── EurekaDiscoveryServerTruyumApplication.java
│ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── cognizant
│ │ │ └── truyum
│ │ │ └── eurekadiscoveryservertruyum
│ │ │ └── EurekaDiscoveryServerTruyumApplicationTests.java
│ │ └── .gitignore
├── monolithic-services
│ ├── README.md
│ └── truyum
│ │ ├── .mvn
│ │ └── wrapper
│ │ │ ├── maven-wrapper.properties
│ │ │ └── maven-wrapper.jar
│ │ ├── src
│ │ ├── main
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── cognizant
│ │ │ │ │ └── truyum
│ │ │ │ │ ├── exception
│ │ │ │ │ ├── GlobalExceptionHandler.java
│ │ │ │ │ └── UserAlreadyExistsException.java
│ │ │ │ │ ├── service
│ │ │ │ │ └── CartEmptyException.java
│ │ │ │ │ ├── repository
│ │ │ │ │ ├── RoleRepository.java
│ │ │ │ │ ├── CartRepository.java
│ │ │ │ │ ├── MenuItemRepository.java
│ │ │ │ │ └── UserRepository.java
│ │ │ │ │ ├── TruyumApplication.java
│ │ │ │ │ ├── dao
│ │ │ │ │ ├── CartDao.java
│ │ │ │ │ └── MenuItemDao.java
│ │ │ │ │ ├── WebConfig.java
│ │ │ │ │ ├── model
│ │ │ │ │ ├── Role.java
│ │ │ │ │ └── Cart.java
│ │ │ │ │ └── controller
│ │ │ │ │ └── CartController.java
│ │ │ └── resources
│ │ │ │ └── application.properties
│ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── cognizant
│ │ │ └── truyum
│ │ │ └── TruyumApplicationTests.java
│ │ └── .gitignore
└── README.md
├── final-check-v2
├── ui-design
│ └── README.md
├── webapp
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.css
│ │ │ ├── food
│ │ │ │ ├── menu
│ │ │ │ │ ├── menu.component.css
│ │ │ │ │ ├── menu.component.html
│ │ │ │ │ ├── menu.component.spec.ts
│ │ │ │ │ └── menu.component.ts
│ │ │ │ ├── search
│ │ │ │ │ ├── search.component.css
│ │ │ │ │ ├── search.component.html
│ │ │ │ │ ├── search.component.spec.ts
│ │ │ │ │ └── search.component.ts
│ │ │ │ ├── item-edit
│ │ │ │ │ ├── item-edit.component.css
│ │ │ │ │ └── item-edit.component.spec.ts
│ │ │ │ ├── item-info
│ │ │ │ │ ├── item-info.component.css
│ │ │ │ │ ├── item-info.component.spec.ts
│ │ │ │ │ └── item-info.component.ts
│ │ │ │ └── movie.service.spec.ts
│ │ │ ├── site
│ │ │ │ ├── login
│ │ │ │ │ ├── login.component.css
│ │ │ │ │ ├── login.component.spec.ts
│ │ │ │ │ └── login.component.ts
│ │ │ │ ├── signup
│ │ │ │ │ ├── signup.component.css
│ │ │ │ │ ├── User.ts
│ │ │ │ │ └── signup.component.spec.ts
│ │ │ │ ├── auth-service.service.spec.ts
│ │ │ │ ├── user-service.service.spec.ts
│ │ │ │ └── user-service.service.ts
│ │ │ ├── Booking
│ │ │ │ ├── favorites
│ │ │ │ │ ├── favorites.component.css
│ │ │ │ │ ├── favorites.ts
│ │ │ │ │ ├── favorites.component.spec.ts
│ │ │ │ │ ├── favorites.component.html
│ │ │ │ │ └── favorites.component.ts
│ │ │ │ ├── favorites.service.spec.ts
│ │ │ │ └── favorites.service.ts
│ │ │ ├── movie.ts
│ │ │ ├── auth-guard-service.service.spec.ts
│ │ │ ├── app.component.ts
│ │ │ ├── auth-guard-service.service.ts
│ │ │ ├── app-routing.module.ts
│ │ │ ├── app.component.spec.ts
│ │ │ └── app.module.ts
│ │ ├── favicon.ico
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.spec.json
│ │ ├── tslint.json
│ │ ├── main.ts
│ │ ├── browserslist
│ │ ├── test.ts
│ │ ├── karma.conf.js
│ │ └── index.html
│ ├── e2e
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ ├── tsconfig.e2e.json
│ │ └── protractor.conf.js
│ ├── .editorconfig
│ ├── tsconfig.json
│ ├── .gitignore
│ ├── README.md
│ └── package.json
├── micro-services
│ ├── README.md
│ ├── movie-service
│ │ ├── .mvn
│ │ │ └── wrapper
│ │ │ │ ├── maven-wrapper.jar
│ │ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── cognizant
│ │ │ │ │ │ └── moviecruiser
│ │ │ │ │ │ └── movieservice
│ │ │ │ │ │ ├── exception
│ │ │ │ │ │ ├── GlobalExceptionHandler.java
│ │ │ │ │ │ ├── UserAlreadyExistsException.java
│ │ │ │ │ │ └── FavoritesEmptyException.java
│ │ │ │ │ │ ├── repository
│ │ │ │ │ │ ├── RoleRepository.java
│ │ │ │ │ │ ├── MovieItemRepository.java
│ │ │ │ │ │ └── UserRepository.java
│ │ │ │ │ │ ├── MovieServiceApplication.java
│ │ │ │ │ │ ├── WebConfig.java
│ │ │ │ │ │ └── model
│ │ │ │ │ │ ├── favoritesDTO.java
│ │ │ │ │ │ └── Role.java
│ │ │ │ └── resources
│ │ │ │ │ └── application.properties
│ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── moviecruiser
│ │ │ │ └── movieservice
│ │ │ │ └── MovieServiceApplicationTests.java
│ │ └── .gitignore
│ ├── zuul-gateway-moviecruiser
│ │ ├── .mvn
│ │ │ └── wrapper
│ │ │ │ ├── maven-wrapper.jar
│ │ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ │ ├── test
│ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── cognizant
│ │ │ │ │ └── moviecruiser
│ │ │ │ │ └── zuulgatewaymoviecruiser
│ │ │ │ │ └── ZuulGatewayMoviecruiserApplicationTests.java
│ │ │ └── main
│ │ │ │ ├── resources
│ │ │ │ └── application.properties
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── moviecruiser
│ │ │ │ └── zuulgatewaymoviecruiser
│ │ │ │ ├── ZuulGatewayMoviecruiserApplication.java
│ │ │ │ └── SimpleFilter.java
│ │ └── .gitignore
│ ├── authentication-service-moviecruiser
│ │ ├── .mvn
│ │ │ └── wrapper
│ │ │ │ ├── maven-wrapper.jar
│ │ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ └── com
│ │ │ │ │ │ └── cognizant
│ │ │ │ │ │ └── moviecruiser
│ │ │ │ │ │ └── authenticationservicemoviecruiser
│ │ │ │ │ │ ├── exception
│ │ │ │ │ │ ├── GlobalExceptionHandler.java
│ │ │ │ │ │ └── UserAlreadyExistsException.java
│ │ │ │ │ │ ├── repository
│ │ │ │ │ │ ├── RoleRepository.java
│ │ │ │ │ │ └── UserRepository.java
│ │ │ │ │ │ ├── WebConfig.java
│ │ │ │ │ │ ├── AuthenticationServiceMoviecruiserApplication.java
│ │ │ │ │ │ ├── controller
│ │ │ │ │ │ └── UserController.java
│ │ │ │ │ │ └── model
│ │ │ │ │ │ └── Role.java
│ │ │ │ └── resources
│ │ │ │ │ └── application.properties
│ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── moviecruiser
│ │ │ │ └── authenticationservicemoviecruiser
│ │ │ │ └── AuthenticationServiceMoviecruiserApplicationTests.java
│ │ └── .gitignore
│ └── eureka-discovery-server-moviecruiser
│ │ ├── .mvn
│ │ └── wrapper
│ │ │ ├── maven-wrapper.jar
│ │ │ └── maven-wrapper.properties
│ │ ├── src
│ │ ├── main
│ │ │ ├── resources
│ │ │ │ └── application.properties
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── cognizant
│ │ │ │ └── moviecruiser
│ │ │ │ └── eurekadiscoveryservermoviecruiser
│ │ │ │ └── EurekaDiscoveryServerMoviecruiserApplication.java
│ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── cognizant
│ │ │ └── moviecruiser
│ │ │ └── eurekadiscoveryservermoviecruiser
│ │ │ └── EurekaDiscoveryServerMoviecruiserApplicationTests.java
│ │ └── .gitignore
├── monolithic-services
│ ├── README.md
│ └── moviecruiser
│ │ ├── .mvn
│ │ └── wrapper
│ │ │ ├── maven-wrapper.properties
│ │ │ └── maven-wrapper.jar
│ │ ├── src
│ │ ├── main
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── cognizant
│ │ │ │ │ └── moviecruiser
│ │ │ │ │ ├── exception
│ │ │ │ │ ├── GlobalExceptionHandler.java
│ │ │ │ │ ├── UserAlreadyExistsException.java
│ │ │ │ │ └── FavoritesEmptyException.java
│ │ │ │ │ ├── repository
│ │ │ │ │ ├── RoleRepository.java
│ │ │ │ │ ├── MovieItemRepository.java
│ │ │ │ │ └── UserRepository.java
│ │ │ │ │ ├── MoviecruiserApplication.java
│ │ │ │ │ ├── dao
│ │ │ │ │ ├── FavoritesDao.java
│ │ │ │ │ └── MovieDao.java
│ │ │ │ │ ├── WebConfig.java
│ │ │ │ │ ├── favoritesDTO.java
│ │ │ │ │ ├── controller
│ │ │ │ │ └── UserController.java
│ │ │ │ │ └── model
│ │ │ │ │ ├── Role.java
│ │ │ │ │ └── favorites.java
│ │ │ └── resources
│ │ │ │ └── application.properties
│ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── cognizant
│ │ │ └── moviecruiser
│ │ │ └── MoviecruiserApplicationTests.java
│ │ └── .gitignore
└── README.md
├── UI-bootstrap-moviecruiser
└── README.md
├── UI-bootstrap-truyum
└── WebContent
│ └── README.md
├── basic-java-moviecruiser
├── .gitignore
├── WebContent
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── favorites.jsp
│ ├── edit-movie.html
│ ├── edit-movie.jsp
│ ├── favorites.html
│ ├── images
│ │ └── logo.png
│ ├── favorites-empty.html
│ ├── favorites-empty.jsp
│ ├── movie-list-admin.jsp
│ ├── edit-movie-status.html
│ ├── edit-movie-status.jsp
│ ├── movie-list-admin.html
│ ├── movie-list-customer.jsp
│ ├── WEB-INF
│ │ └── lib
│ │ │ ├── jstl-1.2.jar
│ │ │ └── mysql-connector-java-5.1.45.jar
│ ├── movie-list-customer.html
│ ├── favorites-notification.html
│ ├── movie-list-customer-notification.html
│ └── js
│ │ ├── script2.js
│ │ └── script.js
└── src
│ ├── connection.properties
│ └── com
│ └── cognizant
│ └── moviecruiser
│ ├── connection.properties
│ ├── dao
│ ├── FavoritesEmptyException.java
│ ├── MovieDao.java
│ ├── FavoritesDao.java
│ ├── FavoritesDaoCollectionImplTest.java
│ ├── ConnectionHandler.java
│ ├── MovieDaoCollectionImplTest.java
│ └── FavoritesDaoSqlImplTest.java
│ ├── util
│ └── DateUtil.java
│ ├── model
│ └── Favorites.java
│ └── servlet
│ ├── ShowEditMovieServlet.java
│ ├── ShowMovieListAdminServlet.java
│ └── ShowMovieListCustomerServlet.java
└── README.md
/basic-java-truyum/docs/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/ui-design/README.md:
--------------------------------------------------------------------------------
1 | README
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/ui-design/README.md:
--------------------------------------------------------------------------------
1 | README
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/README.md:
--------------------------------------------------------------------------------
1 | README
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/app.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/README.md:
--------------------------------------------------------------------------------
1 | README
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/app.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/README.md:
--------------------------------------------------------------------------------
1 | README
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/README.md:
--------------------------------------------------------------------------------
1 | README
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/food/menu/menu.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/food/menu/menu.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/food/search/search.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/shopping/cart/cart.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/site/login/login.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/site/signup/signup.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/food/search/search.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/site/login/login.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/site/signup/signup.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/food/item-edit/item-edit.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/food/item-info/item-info.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/food/item-edit/item-edit.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/food/item-info/item-info.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/Booking/favorites/favorites.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/truyum-v2/README.md:
--------------------------------------------------------------------------------
1 | Whole Full Stack project using Spring + Angular
2 |
--------------------------------------------------------------------------------
/final-check-v2/README.md:
--------------------------------------------------------------------------------
1 | Whole Full Stack project using Spring + Angular
2 |
--------------------------------------------------------------------------------
/UI-bootstrap-moviecruiser/README.md:
--------------------------------------------------------------------------------
1 | Project for completing the final check of FSE track.
2 |
--------------------------------------------------------------------------------
/UI-bootstrap-truyum/WebContent/README.md:
--------------------------------------------------------------------------------
1 | This is the Basic Java project with CSS and JS
2 |
--------------------------------------------------------------------------------
/basic-java-truyum/.gitignore:
--------------------------------------------------------------------------------
1 | /.settings
2 | /build
3 | .classpath
4 | .project
5 | /bin/
6 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/.gitignore:
--------------------------------------------------------------------------------
1 | /.settings
2 | /build
3 | .classpath
4 | .project
5 | /bin/
6 |
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/truyum-v2/webapp/src/favicon.ico
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/cart.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/cart.jsp
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/final-check-v2/webapp/src/favicon.ico
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/cart-empty.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/cart-empty.jsp
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true,
3 | baseUrl: 'http://localhost:4200/'
4 | };
5 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/favorites.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/favorites.jsp
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/edit-menu-item.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/edit-menu-item.jsp
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true,
3 | baseUrl: 'http://localhost:4200/'
4 |
5 | };
6 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/edit-movie.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/edit-movie.html
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/edit-movie.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/edit-movie.jsp
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/favorites.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/favorites.html
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/images/logo.png
--------------------------------------------------------------------------------
/basic-java-truyum/src/connection.properties:
--------------------------------------------------------------------------------
1 | driver=com.mysql.jdbc.Driver
2 | connection-url=jdbc:mysql://localhost:3306/truyum
3 | user=root
4 | password=password-1
5 |
6 |
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/WEB-INF/lib/jstl-1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/WEB-INF/lib/jstl-1.2.jar
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/menu-item-list-admin.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/menu-item-list-admin.jsp
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/favorites-empty.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/favorites-empty.html
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/favorites-empty.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/favorites-empty.jsp
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/movie-list-admin.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/movie-list-admin.jsp
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/edit-menu-item-status.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/edit-menu-item-status.jsp
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/edit-movie-status.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/edit-movie-status.html
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/edit-movie-status.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/edit-movie-status.jsp
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/movie-list-admin.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/movie-list-admin.html
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/movie-list-customer.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/movie-list-customer.jsp
--------------------------------------------------------------------------------
/basic-java-moviecruiser/src/connection.properties:
--------------------------------------------------------------------------------
1 | driver=com.mysql.jdbc.Driver
2 | connection-url=jdbc:mysql://localhost:3306/moviecruiser
3 | user=root
4 | password=password-1
5 |
6 |
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/images/truyum-logo-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/images/truyum-logo-dark.png
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/images/truyum-logo-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/images/truyum-logo-light.png
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/menu-item-list-customer.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/menu-item-list-customer.jsp
--------------------------------------------------------------------------------
/basic-java-truyum/docs/truYum-use-case-specification.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/docs/truYum-use-case-specification.docx
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/site/signup/User.ts:
--------------------------------------------------------------------------------
1 | export interface User
2 | {
3 |
4 |
5 | firstname:string,
6 | lastname:string,
7 | username:string,
8 | password:string
9 | }
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/WEB-INF/lib/jstl-1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/WEB-INF/lib/jstl-1.2.jar
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/movie-list-customer.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/movie-list-customer.html
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/site/signup/User.ts:
--------------------------------------------------------------------------------
1 | export interface User
2 | {
3 |
4 |
5 | firstname:string,
6 | lastname:string,
7 | username:string,
8 | password:string
9 | }
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/favorites-notification.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/favorites-notification.html
--------------------------------------------------------------------------------
/basic-java-truyum/docs/truYum-web-interface-specification.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/docs/truYum-web-interface-specification.docx
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
2 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/src/com/cognizant/moviecruiser/connection.properties:
--------------------------------------------------------------------------------
1 | driver=com.mysql.jdbc.Driver
2 | connection-url=jdbc:mysql://localhost:3306/schema
3 | user=root
4 | password=password123
5 |
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
2 |
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/truyum-v2/monolithic-services/truyum/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/movie.ts:
--------------------------------------------------------------------------------
1 | export interface movie
2 | {
3 |
4 | id:number,title:string,box_office:number,active:boolean,date_of_Launch: Date,genre:string,has_teaser:boolean,image:string;
5 |
6 | }
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/src/main/java/com/cognizant/truyum/exception/GlobalExceptionHandler.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.exception;
2 |
3 | public class GlobalExceptionHandler {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/fooditem.ts:
--------------------------------------------------------------------------------
1 | export interface fooditem
2 | {
3 |
4 | id:number,name:string,price:number,active:boolean,date_of_Launch: Date,category:string,free_delivery:boolean,image:string;
5 |
6 | }
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/movie-list-customer-notification.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/movie-list-customer-notification.html
--------------------------------------------------------------------------------
/basic-java-truyum/WebContent/WEB-INF/lib/mysql-connector-java-5.1.45.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-truyum/WebContent/WEB-INF/lib/mysql-connector-java-5.1.45.jar
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/truyum-v2/micro-services/menuitem-service/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/final-check-v2/micro-services/movie-service/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/truyum-v2/micro-services/zuul-gateway-truyum/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/truyum-v2/micro-services/zuul-gateway-truyum/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/basic-java-moviecruiser/WebContent/WEB-INF/lib/mysql-connector-java-5.1.45.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/basic-java-moviecruiser/WebContent/WEB-INF/lib/mysql-connector-java-5.1.45.jar
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/final-check-v2/monolithic-services/moviecruiser/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/truyum-v2/micro-services/authentication-service/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/truyum-v2/micro-services/authentication-service/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/src/main/java/com/cognizant/moviecruiser/exception/GlobalExceptionHandler.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.exception;
2 |
3 | public class GlobalExceptionHandler {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/shopping/cart/cartitem.ts:
--------------------------------------------------------------------------------
1 | import { fooditem } from "src/app/fooditem";
2 |
3 | export interface cart
4 | {
5 |
6 | menuItemList:fooditem[];
7 | // name:string,price:number;
8 | total:number;
9 | }
--------------------------------------------------------------------------------
/final-check-v2/micro-services/zuul-gateway-moviecruiser/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/final-check-v2/micro-services/zuul-gateway-moviecruiser/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/truyum-v2/micro-services/eureka-discovery-server-truyum/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/truyum-v2/micro-services/eureka-discovery-server-truyum/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/src/main/java/com/cognizant/truyum/menuitemservice/exception/GlobalExceptionHandler.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.menuitemservice.exception;
2 |
3 | public class GlobalExceptionHandler {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/Booking/favorites/favorites.ts:
--------------------------------------------------------------------------------
1 | import { movie } from "src/app/movie";
2 |
3 |
4 | export interface favorites
5 | {
6 |
7 | movieList:movie[];
8 | // name:string,price:number;
9 | total:number;
10 | }
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/src/main/java/com/cognizant/moviecruiser/movieservice/exception/GlobalExceptionHandler.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.movieservice.exception;
2 |
3 | public class GlobalExceptionHandler {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/src/main/java/com/cognizant/truyum/exception/UserAlreadyExistsException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.exception;
2 |
3 | public class UserAlreadyExistsException extends Exception {
4 |
5 |
6 |
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/src/main/java/com/cognizant/moviecruiser/exception/UserAlreadyExistsException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.exception;
2 |
3 | public class UserAlreadyExistsException extends Exception {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/app",
5 | "types": []
6 | },
7 | "exclude": [
8 | "test.ts",
9 | "**/*.spec.ts"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/authentication-service-moviecruiser/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/final-check-v2/micro-services/authentication-service-moviecruiser/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/final-check-v2/micro-services/eureka-discovery-server-moviecruiser/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rupesh99326/Java-Full-Stack-Projects/HEAD/final-check-v2/micro-services/eureka-discovery-server-moviecruiser/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/app",
5 | "types": []
6 | },
7 | "exclude": [
8 | "test.ts",
9 | "**/*.spec.ts"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/authentication-service/src/main/java/com/cognizant/truyum/authenticationservice/exception/GlobalExceptionHandler.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.authenticationservice.exception;
2 |
3 | public class GlobalExceptionHandler {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/food/menu/menu.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/src/main/java/com/cognizant/moviecruiser/movieservice/exception/UserAlreadyExistsException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.movieservice.exception;
2 |
3 | public class UserAlreadyExistsException extends Exception {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/basic-java-truyum/src/com/cognizant/truyum/dao/CartEmptyException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.dao;
2 |
3 | public class CartEmptyException extends Exception
4 | {
5 |
6 | public CartEmptyException()
7 | {
8 | super("Cart is Empty");
9 | }
10 |
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/food/menu/menu.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/eureka-discovery-server-moviecruiser/src/main/resources/application.properties:
--------------------------------------------------------------------------------
1 | server.port=2003
2 | eureka.client.register-with-eureka=false
3 | eureka.client.fetch-registry=false
4 | logging.level.com.netflix.eureka=OFF
5 | logging.level.com.netflix.discovery=OFF
--------------------------------------------------------------------------------
/truyum-v2/micro-services/eureka-discovery-server-truyum/src/main/resources/application.properties:
--------------------------------------------------------------------------------
1 | server.port=1003
2 | eureka.client.register-with-eureka=false
3 | eureka.client.fetch-registry=false
4 | logging.level.com.netflix.eureka=OFF
5 | logging.level.com.netflix.discovery=OFF
6 |
7 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/src/main/java/com/cognizant/truyum/menuitemservice/exception/UserAlreadyExistsException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.menuitemservice.exception;
2 |
3 | public class UserAlreadyExistsException extends Exception {
4 |
5 |
6 |
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo() {
5 | return browser.get('/');
6 | }
7 |
8 | getParagraphText() {
9 | return element(by.css('app-root h1')).getText();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/src/com/cognizant/moviecruiser/dao/FavoritesEmptyException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.dao;
2 |
3 | public class FavoritesEmptyException extends Exception {
4 |
5 | public FavoritesEmptyException() {
6 | super("Cart is Empty");
7 | }
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo() {
5 | return browser.get('/');
6 | }
7 |
8 | getParagraphText() {
9 | return element(by.css('app-root h1')).getText();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/zuul-gateway-truyum/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/authentication-service/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/authentication-service/src/main/java/com/cognizant/truyum/authenticationservice/exception/UserAlreadyExistsException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.authenticationservice.exception;
2 |
3 | public class UserAlreadyExistsException extends Exception {
4 |
5 |
6 |
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/e2e/tsconfig.e2e.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/app",
5 | "module": "commonjs",
6 | "target": "es5",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
--------------------------------------------------------------------------------
/final-check-v2/webapp/e2e/tsconfig.e2e.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/app",
5 | "module": "commonjs",
6 | "target": "es5",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
--------------------------------------------------------------------------------
/final-check-v2/micro-services/authentication-service-moviecruiser/src/main/java/com/cognizant/moviecruiser/authenticationservicemoviecruiser/exception/GlobalExceptionHandler.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.authenticationservicemoviecruiser.exception;
2 |
3 | public class GlobalExceptionHandler {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/zuul-gateway-moviecruiser/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/eureka-discovery-server-truyum/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/src/main/java/com/cognizant/truyum/service/CartEmptyException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.service;
2 |
3 | public class CartEmptyException extends Exception {
4 |
5 |
6 |
7 | public CartEmptyException()
8 | {
9 | super("Cart is Empty");
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/authentication-service-moviecruiser/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/eureka-discovery-server-moviecruiser/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
3 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/.editorconfig:
--------------------------------------------------------------------------------
1 | # Editor configuration, see http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | max_line_length = off
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/authentication-service-moviecruiser/src/main/java/com/cognizant/moviecruiser/authenticationservicemoviecruiser/exception/UserAlreadyExistsException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.authenticationservicemoviecruiser.exception;
2 |
3 | public class UserAlreadyExistsException extends Exception {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/.editorconfig:
--------------------------------------------------------------------------------
1 | # Editor configuration, see http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | max_line_length = off
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/src/main/java/com/cognizant/moviecruiser/exception/FavoritesEmptyException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.exception;
2 |
3 | public class FavoritesEmptyException extends Exception {
4 |
5 | public FavoritesEmptyException()
6 | {
7 | super("Favorites is Empty");
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/src/main/java/com/cognizant/truyum/menuitemservice/exception/CartEmptyException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.menuitemservice.exception;
2 |
3 | public class CartEmptyException extends Exception {
4 |
5 |
6 |
7 | public CartEmptyException()
8 | {
9 | super("Cart is Empty");
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/src/main/java/com/cognizant/truyum/repository/RoleRepository.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.repository;
2 |
3 | import org.springframework.data.jpa.repository.JpaRepository;
4 |
5 | import com.cognizant.truyum.model.Role;
6 |
7 | public interface RoleRepository extends JpaRepository{
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/src/main/java/com/cognizant/moviecruiser/movieservice/exception/FavoritesEmptyException.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.movieservice.exception;
2 |
3 | public class FavoritesEmptyException extends Exception {
4 |
5 | public FavoritesEmptyException()
6 | {
7 | super("Favorites is Empty");
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "test.ts",
12 | "polyfills.ts"
13 | ],
14 | "include": [
15 | "**/*.spec.ts",
16 | "**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "test.ts",
12 | "polyfills.ts"
13 | ],
14 | "include": [
15 | "**/*.spec.ts",
16 | "**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/src/main/java/com/cognizant/moviecruiser/repository/RoleRepository.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.repository;
2 |
3 | import org.springframework.data.jpa.repository.JpaRepository;
4 |
5 | import com.cognizant.moviecruiser.model.Role;
6 |
7 | public interface RoleRepository extends JpaRepository{
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/final-check-v2/monolithic-services/moviecruiser/src/test/java/com/cognizant/moviecruiser/MoviecruiserApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser;
2 |
3 | import org.junit.jupiter.api.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class MoviecruiserApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 |
3 | describe('workspace-project App', () => {
4 | let page: AppPage;
5 |
6 | beforeEach(() => {
7 | page = new AppPage();
8 | });
9 |
10 | it('should display welcome message', () => {
11 | page.navigateTo();
12 | expect(page.getParagraphText()).toEqual('Welcome to webapp!');
13 | });
14 | });
15 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 |
3 | describe('workspace-project App', () => {
4 | let page: AppPage;
5 |
6 | beforeEach(() => {
7 | page = new AppPage();
8 | });
9 |
10 | it('should display welcome message', () => {
11 | page.navigateTo();
12 | expect(page.getParagraphText()).toEqual('Welcome to webapp!');
13 | });
14 | });
15 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/src/main/java/com/cognizant/truyum/menuitemservice/repository/RoleRepository.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.menuitemservice.repository;
2 |
3 | import org.springframework.data.jpa.repository.JpaRepository;
4 |
5 | import com.cognizant.truyum.menuitemservice.model.Role;
6 |
7 | public interface RoleRepository extends JpaRepository{
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/src/main/java/com/cognizant/moviecruiser/movieservice/repository/RoleRepository.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.movieservice.repository;
2 |
3 | import org.springframework.data.jpa.repository.JpaRepository;
4 |
5 | import com.cognizant.moviecruiser.movieservice.model.Role;
6 |
7 | public interface RoleRepository extends JpaRepository{
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/menuitem-service/src/test/java/com/cognizant/truyum/menuitemservice/MenuitemServiceApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.menuitemservice;
2 |
3 | import org.junit.jupiter.api.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class MenuitemServiceApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/zuul-gateway-truyum/src/test/java/com/cognizant/truyum/zuulgatewaytruyum/ZuulGatewayTruyumApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.zuulgatewaytruyum;
2 |
3 | import org.junit.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class ZuulGatewayTruyumApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/final-check-v2/micro-services/movie-service/src/test/java/com/cognizant/moviecruiser/movieservice/MovieServiceApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.movieservice;
2 |
3 | import org.junit.jupiter.api.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class MovieServiceApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/food/food.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { FoodService } from './food.service';
4 |
5 | describe('FoodService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: FoodService = TestBed.get(FoodService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/shopping/cart.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { CartService } from './cart.service';
4 |
5 | describe('CartService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: CartService = TestBed.get(CartService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/authentication-service/src/main/java/com/cognizant/truyum/authenticationservice/repository/RoleRepository.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.authenticationservice.repository;
2 |
3 | import org.springframework.data.jpa.repository.JpaRepository;
4 |
5 | import com.cognizant.truyum.authenticationservice.model.Role;
6 |
7 | public interface RoleRepository extends JpaRepository{
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/food/movie.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { MovieService } from './movie.service';
4 |
5 | describe('FoodService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: MovieService = TestBed.get(MovieService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/authentication-service/src/test/java/com/cognizant/truyum/authenticationservice/AuthenticationServiceApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.authenticationservice;
2 |
3 | import org.junit.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class AuthenticationServiceApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/services/menu-item.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { MenuItemService } from './menu-item.service';
4 |
5 | describe('MenuItemService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: MenuItemService = TestBed.get(MenuItemService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/Booking/favorites.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { FavoritesService} from './favorites.service';
4 |
5 | describe('FavoritesService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: FavoritesService = TestBed.get(FavoritesService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/src/main/java/com/cognizant/truyum/TruyumApplication.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum;
2 |
3 | import org.springframework.boot.SpringApplication;
4 | import org.springframework.boot.autoconfigure.SpringBootApplication;
5 |
6 | @SpringBootApplication
7 | public class TruyumApplication {
8 |
9 | public static void main(String[] args) {
10 | SpringApplication.run(TruyumApplication.class, args);
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/browserslist:
--------------------------------------------------------------------------------
1 | # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 | #
5 | # For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
6 |
7 | > 0.5%
8 | last 2 versions
9 | Firefox ESR
10 | not dead
11 | not IE 9-11
--------------------------------------------------------------------------------
/final-check-v2/micro-services/zuul-gateway-moviecruiser/src/test/java/com/cognizant/moviecruiser/zuulgatewaymoviecruiser/ZuulGatewayMoviecruiserApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.zuulgatewaymoviecruiser;
2 |
3 | import org.junit.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class ZuulGatewayMoviecruiserApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/browserslist:
--------------------------------------------------------------------------------
1 | # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 | #
5 | # For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
6 |
7 | > 0.5%
8 | last 2 versions
9 | Firefox ESR
10 | not dead
11 | not IE 9-11
--------------------------------------------------------------------------------
/truyum-v2/monolithic-services/truyum/src/main/java/com/cognizant/truyum/dao/CartDao.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.dao;
2 |
3 | import com.cognizant.truyum.DTO.CartDTO;
4 |
5 |
6 |
7 |
8 | public interface CartDao {
9 |
10 |
11 | public void addCartItem(String userName,long menuItemId);
12 | public CartDTO getAllCartItems(String userName);
13 |
14 | public void removeCartItem(String userName,long menuItemId);
15 |
16 |
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/site/auth-service.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { AuthServiceService } from './auth-service.service';
4 |
5 | describe('AuthServiceService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: AuthServiceService = TestBed.get(AuthServiceService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/truyum-v2/webapp/src/app/site/user-service.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { UserServiceService } from './user-service.service';
4 |
5 | describe('UserServiceService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: UserServiceService = TestBed.get(UserServiceService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/site/auth-service.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { AuthServiceService } from './auth-service.service';
4 |
5 | describe('AuthServiceService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: AuthServiceService = TestBed.get(AuthServiceService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/final-check-v2/webapp/src/app/site/user-service.service.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed } from '@angular/core/testing';
2 |
3 | import { UserServiceService } from './user-service.service';
4 |
5 | describe('UserServiceService', () => {
6 | beforeEach(() => TestBed.configureTestingModule({}));
7 |
8 | it('should be created', () => {
9 | const service: UserServiceService = TestBed.get(UserServiceService);
10 | expect(service).toBeTruthy();
11 | });
12 | });
13 |
--------------------------------------------------------------------------------
/truyum-v2/micro-services/eureka-discovery-server-truyum/src/test/java/com/cognizant/truyum/eurekadiscoveryservertruyum/EurekaDiscoveryServerTruyumApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.eurekadiscoveryservertruyum;
2 |
3 | import org.junit.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class EurekaDiscoveryServerTruyumApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/basic-java-moviecruiser/src/com/cognizant/moviecruiser/dao/MovieDao.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.moviecruiser.dao;
2 |
3 | import java.util.List;
4 |
5 | import com.cognizant.moviecruiser.model.Movie;
6 |
7 | public interface MovieDao {
8 |
9 |
10 |
11 | public List getMovieListAdmin();
12 |
13 | public List getMovieListCustomer();
14 | public void modifyMovie( Movie movie);
15 | public Movie getMovie( long movieId);
16 |
17 |
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/basic-java-truyum/src/com/cognizant/truyum/dao/MenuItemDao.java:
--------------------------------------------------------------------------------
1 | package com.cognizant.truyum.dao;
2 |
3 | import java.util.List;
4 |
5 | import com.cognizant.truyum.model.MenuItem;
6 |
7 | public interface MenuItemDao {
8 |
9 |
10 | public List