From 73421636299fad3971a90ddfc37686eb201eaca8 Mon Sep 17 00:00:00 2001
From: Ruud Senden <8635138+rsenden@users.noreply.github.com>
Date: Thu, 26 Feb 2026 09:48:14 +0100
Subject: [PATCH] feat: Add IWA-Java
---
Dockerfile | 31 +
Dockerfile.win | 30 +
EXPLOITS.md | 108 +
IWA_API.subset.postman_collection.json | 3340 ++++
LICENSE | 674 +
README.md | 104 +
appspec.yml | 37 +
build_spec.yaml | 77 +
buildspec.yml | 50 +
cloudbuild.yaml | 98 +
.../config-fortify-dast-scancentral.yml | 54 +
.../.circleci/config-fortify-sast-fod.yml | 67 +
.../config-fortify-sast-scancentral.yml | 72 +
.../.teamcity/fortify-sast-fod-settings.kts | 75 +
.../fortify_sast_scancentral-settings.kts | 80 +
.../.travisci/fortify-sast-fod.sh | 84 +
.../.travisci/fortify_sast_scancentral.sh | 92 +
devops-integrations/aws/fortify-sast-fod.bash | 81 +
.../aws/fortify_dast_scancentral.bash | 86 +
.../aws/fortify_sast_scancentral.bash | 91 +
...ure-pipelines-fortify-dast-scancentral.yml | 69 +
.../azure-pipelines-fortify-sast-fod.yml | 39 +
...ure-pipelines-fortify-sast-scancentral.yml | 65 +
.../bitbucket/bitbucket-pipelines.yml | 36 +
.../cloudbuild_fortify_dast_scancentral.yaml | 64 +
.../gcp/cloudbuild_fortify_sast_fod.yaml | 47 +
.../cloudbuild_fortify_sast_scancentral.yaml | 56 +
devops-integrations/gitlab/debricked-sca.yml | 17 +
.../gitlab/fortify-dast-api-scancentral.yml | 40 +
.../gitlab/fortify-dast-fod.yml | 39 +
.../gitlab/fortify-dast-scancentral.yml | 33 +
.../gitlab/fortify-dast-web-scancentral.yml | 40 +
.../gitlab/fortify-fod-gate.yml | 25 +
.../gitlab/fortify-sast-fod.yml | 37 +
.../gitlab/fortify-sast-scancentral.yml | 39 +
devops-integrations/gitlab/fortify-sca.yml | 51 +
.../gitlab/fortify-ssc-gate.yml | 23 +
devops-integrations/oci/fortify-sast-fod.bash | 84 +
.../oci/fortify_sast_scancentral.bash | 87 +
etc/IWA_API.postman_collection.json | 13254 ++++++++++++++++
etc/iwa_dev_cft.yaml | 85 +
etc/iwa_prod_cft.yaml | 105 +
pom.xml | 625 +
.../com/microfocus/example/Application.java | 35 +
.../example/ServletInitializer.java | 32 +
.../api/controllers/ApiMessageController.java | 189 +
.../api/controllers/ApiOrderController.java | 192 +
.../api/controllers/ApiProductController.java | 220 +
.../api/controllers/ApiReviewController.java | 174 +
.../api/controllers/ApiRoleController.java | 161 +
.../api/controllers/ApiSiteController.java | 291 +
.../api/controllers/ApiUserController.java | 190 +
.../microfocus/example/api/utils/ApiUtil.java | 47 +
.../example/config/CorsConfiguration.java | 35 +
.../CustomMessageSourceConfiguration.java | 50 +
.../example/config/FaviconConfiguration.java | 65 +
.../example/config/LocaleConfiguration.java | 34 +
.../config/OpenApi30Configuration.java | 70 +
.../example/config/StorageProperties.java | 23 +
.../config/WebConfigConfiguration.java | 43 +
.../config/WebSecurityConfiguration.java | 246 +
.../handlers/ApiAccessDeniedHandler.java | 69 +
.../handlers/AuthenticationEntryPointJwt.java | 72 +
.../handlers/AuthenticationTokenFilter.java | 83 +
.../BasicAuthenticationEntryPointCustom.java | 77 +
.../CustomAuthenticationSuccessHandler.java | 157 +
.../handlers/GlobalExceptionHandler.java | 111 +
.../handlers/GlobalRestExceptionHandler.java | 355 +
.../HttpMethodOverrideHeaderFilter.java | 48 +
.../handlers/LoggingAccessDeniedHandler.java | 62 +
.../UrlAuthenticationSuccessHandler.java | 145 +
.../microfocus/example/entity/Authority.java | 83 +
.../example/entity/AuthorityType.java | 34 +
.../example/entity/CustomUserDetails.java | 94 +
.../microfocus/example/entity/Message.java | 142 +
.../com/microfocus/example/entity/Order.java | 187 +
.../microfocus/example/entity/Product.java | 227 +
.../example/entity/RefreshToken.java | 94 +
.../com/microfocus/example/entity/Review.java | 154 +
.../com/microfocus/example/entity/User.java | 298 +
.../example/entity/Verification.java | 90 +
.../exception/ApiBadCredentialsException.java | 39 +
.../exception/ApiRefreshTokenException.java | 33 +
.../example/exception/BackupException.java | 33 +
.../exception/CustomRestServiceException.java | 35 +
.../exception/EmailAddressTakenException.java | 39 +
.../exception/InvalidPasswordException.java | 33 +
.../exception/MessageNotFoundException.java | 39 +
.../exception/NotAuthorisedException.java | 32 +
.../exception/OrderNotFoundException.java | 39 +
.../exception/ProductNotFoundException.java | 39 +
.../exception/ReviewNotFoundException.java | 39 +
.../exception/RoleNotFoundException.java | 39 +
.../exception/ServerErrorException.java | 39 +
.../example/exception/StorageException.java | 12 +
.../StorageFileNotFoundException.java | 11 +
.../exception/UserLockedOutException.java | 33 +
.../exception/UserNotFoundException.java | 39 +
.../exception/UsernameTakenException.java | 39 +
.../example/payload/request/LoginRequest.java | 46 +
.../payload/request/MessageRequest.java | 112 +
.../example/payload/request/OrderRequest.java | 162 +
.../payload/request/ProductRequest.java | 211 +
.../payload/request/RefreshTokenRequest.java | 35 +
.../payload/request/RegisterUserRequest.java | 129 +
.../payload/request/ReviewRequest.java | 113 +
.../payload/request/SubscribeUserRequest.java | 87 +
.../example/payload/request/UserRequest.java | 228 +
.../payload/response/ApiStatusResponse.java | 112 +
.../example/payload/response/JwtResponse.java | 104 +
.../payload/response/MessageResponse.java | 79 +
.../payload/response/OrderResponse.java | 113 +
.../payload/response/ProductResponse.java | 123 +
.../response/RefreshTokenResponse.java | 58 +
.../response/RegisterUserResponse.java | 91 +
.../payload/response/ReviewResponse.java | 85 +
.../response/SubscribeUserResponse.java | 63 +
.../payload/response/UserResponse.java | 122 +
.../example/repository/MessageRepository.java | 28 +
.../repository/MessageRepositoryBasic.java | 34 +
.../repository/MessageRepositoryCustom.java | 49 +
.../repository/MessageRepositoryImpl.java | 100 +
.../example/repository/OrderRepository.java | 28 +
.../repository/OrderRepositoryBasic.java | 35 +
.../repository/OrderRepositoryCustom.java | 56 +
.../repository/OrderRepositoryImpl.java | 140 +
.../example/repository/ProductRepository.java | 183 +
.../repository/RefreshTokenRepository.java | 28 +
.../RefreshTokenRepositoryBasic.java | 34 +
.../RefreshTokenRepositoryCustom.java | 34 +
.../RefreshTokenRepositoryImpl.java | 58 +
.../example/repository/ReviewRepository.java | 28 +
.../repository/ReviewRepositoryBasic.java | 34 +
.../repository/ReviewRepositoryCustom.java | 50 +
.../repository/ReviewRepositoryImpl.java | 155 +
.../example/repository/RoleRepository.java | 32 +
.../repository/RoleRepositoryBasic.java | 34 +
.../repository/RoleRepositoryCustom.java | 36 +
.../repository/RoleRepositoryImpl.java | 70 +
.../example/repository/UserRepository.java | 28 +
.../repository/UserRepositoryBasic.java | 35 +
.../repository/UserRepositoryCustom.java | 45 +
.../repository/UserRepositoryImpl.java | 204 +
.../repository/VerificationRepository.java | 24 +
.../VerificationRepositoryBasic.java | 28 +
.../VerificationRepositoryCustom.java | 33 +
.../repository/mapper/ProductMapper.java | 28 +
.../service/CustomUserDetailsService.java | 67 +
.../service/FileSystemStorageService.java | 193 +
.../example/service/ProductService.java | 369 +
.../example/service/RefreshTokenService.java | 84 +
.../example/service/StorageService.java | 29 +
.../example/service/UserService.java | 469 +
.../microfocus/example/utils/AdminUtils.java | 131 +
.../example/utils/EncryptedPasswordUtils.java | 75 +
.../microfocus/example/utils/JwtUtils.java | 131 +
.../microfocus/example/utils/UserUtils.java | 141 +
.../microfocus/example/utils/WebUtils.java | 68 +
.../controllers/AbstractBaseController.java | 49 +
.../web/controllers/CartController.java | 146 +
.../controllers/CustomErrorController.java | 57 +
.../web/controllers/DefaultController.java | 155 +
.../web/controllers/ProductController.java | 181 +
.../web/controllers/UserController.java | 698 +
.../admin/AdminDefaultController.java | 120 +
.../admin/AdminMessageController.java | 90 +
.../admin/AdminOrderController.java | 161 +
.../admin/AdminProductController.java | 186 +
.../admin/AdminReviewController.java | 161 +
.../admin/AdminUserController.java | 229 +
.../example/web/form/MessageForm.java | 124 +
.../example/web/form/OrderForm.java | 151 +
.../example/web/form/PasswordForm.java | 87 +
.../example/web/form/ProductForm.java | 203 +
.../example/web/form/RegisterUserForm.java | 224 +
.../example/web/form/UploadForm.java | 86 +
.../microfocus/example/web/form/UserForm.java | 218 +
.../web/form/admin/AdminNewProductForm.java | 205 +
.../web/form/admin/AdminNewUserForm.java | 220 +
.../web/form/admin/AdminOrderForm.java | 148 +
.../web/form/admin/AdminPasswordForm.java | 101 +
.../web/form/admin/AdminProductForm.java | 205 +
.../web/form/admin/AdminReviewForm.java | 130 +
.../example/web/form/admin/AdminUserForm.java | 188 +
.../example/web/form/admin/BackupForm.java | 77 +
.../PasswordConstraintValidator.java | 136 +
.../example/web/validation/ValidPassword.java | 46 +
src/main/resources/application-dev.yml | 78 +
src/main/resources/application-test.yml | 74 +
src/main/resources/application.yml | 97 +
src/main/resources/data.sql | 130 +
src/main/resources/invalid-password-list.txt | 5 +
src/main/resources/messages.properties | 52 +
src/main/resources/schema.sql | 135 +
src/main/resources/site-message.txt | 1 +
src/main/resources/static/README.md | 16 +
src/main/resources/static/css/app.css | 1839 +++
.../static/css/icomoon/fonts/icomoon.eot | Bin 0 -> 307332 bytes
.../static/css/icomoon/fonts/icomoon.svg | 1530 ++
.../static/css/icomoon/fonts/icomoon.ttf | Bin 0 -> 307168 bytes
.../static/css/icomoon/fonts/icomoon.woff | Bin 0 -> 307244 bytes
.../resources/static/css/icomoon/style.css | 4919 ++++++
.../resources/static/css/owl.carousel.min.css | 6 +
.../static/css/owl.theme.default.min.css | 15 +
.../static/css/star-rating-theme.min.css | 0
.../resources/static/css/star-rating.min.css | 10 +
src/main/resources/static/debug.txt | 1 +
.../static/img/awaiting-image-sm.png | Bin 0 -> 8385 bytes
.../resources/static/img/awaiting-image.png | Bin 0 -> 9553 bytes
src/main/resources/static/img/bg_1.jpg | Bin 0 -> 26416 bytes
src/main/resources/static/img/bg_2.jpg | Bin 0 -> 103447 bytes
.../resources/static/img/favicons/favicon.ico | Bin 0 -> 1150 bytes
.../resources/static/img/favicons/favicon.png | Bin 0 -> 536 bytes
.../static/img/favicons/favicon_whitebg.png | Bin 0 -> 535 bytes
src/main/resources/static/img/hero_1.jpg | Bin 0 -> 124721 bytes
src/main/resources/static/img/home_hero_1.jpg | Bin 0 -> 151520 bytes
.../resources/static/img/home_hero_1a.jpg | Bin 0 -> 140440 bytes
src/main/resources/static/img/login_logo.png | Bin 0 -> 7327 bytes
.../static/img/login_logo_whitebg.png | Bin 0 -> 5617 bytes
src/main/resources/static/img/logo.png | Bin 0 -> 4155 bytes
src/main/resources/static/img/mf_logo.png | Bin 0 -> 122 bytes
.../static/img/mf_logomark_black_lrg.png | Bin 0 -> 518 bytes
.../static/img/mf_logomark_black_small.png | Bin 0 -> 208 bytes
.../static/img/mf_logomark_blue_med.png | Bin 0 -> 485 bytes
.../static/img/mf_logomark_white_lrg.png | Bin 0 -> 527 bytes
.../static/img/mf_logomark_white_small.png | Bin 0 -> 211 bytes
src/main/resources/static/img/person_1.jpg | Bin 0 -> 76764 bytes
src/main/resources/static/img/person_2.jpg | Bin 0 -> 28652 bytes
src/main/resources/static/img/person_3.jpg | Bin 0 -> 61697 bytes
src/main/resources/static/img/person_4.jpg | Bin 0 -> 86756 bytes
src/main/resources/static/img/person_5.jpg | Bin 0 -> 86756 bytes
.../static/img/pexels-background-1.jpg | Bin 0 -> 908900 bytes
.../resources/static/img/pexels-photo-1.jpg | Bin 0 -> 31111 bytes
.../resources/static/img/pexels-photo-2.jpg | Bin 0 -> 14215 bytes
.../resources/static/img/pexels-photo-3.jpg | Bin 0 -> 10681 bytes
.../resources/static/img/pexels-photo-4.jpg | Bin 0 -> 15113 bytes
.../static/img/pexels-photo-hero.jpg | Bin 0 -> 549270 bytes
.../static/img/pexels-photo-large-1.jpg | Bin 0 -> 68704 bytes
.../static/img/pexels-photo-large-2.jpg | Bin 0 -> 172755 bytes
.../static/img/pexels-photo-large-3.jpg | Bin 0 -> 170225 bytes
.../static/img/products/generic-product-1.jpg | Bin 0 -> 16404 bytes
.../img/products/generic-product-10.jpg | Bin 0 -> 9216 bytes
.../img/products/generic-product-11.jpg | Bin 0 -> 11188 bytes
.../img/products/generic-product-12.jpg | Bin 0 -> 10194 bytes
.../static/img/products/generic-product-2.jpg | Bin 0 -> 25134 bytes
.../static/img/products/generic-product-3.jpg | Bin 0 -> 17981 bytes
.../static/img/products/generic-product-4.jpg | Bin 0 -> 29841 bytes
.../static/img/products/generic-product-5.jpg | Bin 0 -> 17235 bytes
.../static/img/products/generic-product-6.jpg | Bin 0 -> 8545 bytes
.../static/img/products/generic-product-7.jpg | Bin 0 -> 22579 bytes
.../static/img/products/generic-product-8.jpg | Bin 0 -> 15446 bytes
.../static/img/products/generic-product-9.jpg | Bin 0 -> 14011 bytes
src/main/resources/static/img/sale.png | Bin 0 -> 5726 bytes
src/main/resources/static/index.old | 62 +
src/main/resources/static/js/app.js | 160 +
.../resources/static/js/components/Cart.js | 219 +
.../resources/static/js/components/CartAdd.js | 75 +
.../static/js/components/CartCount.js | 32 +
.../static/js/components/CartSummary.js | 82 +
.../static/js/components/CheckUsername.js | 36 +
.../static/js/components/NewProducts.js | 41 +
.../static/js/components/OrderSummary.js | 47 +
.../static/js/components/ProductReviews.js | 40 +
.../js/components/SubscribeNewsletter.js | 70 +
.../js/components/UnreadMessageCount.js | 31 +
src/main/resources/static/js/lib/Chart.min.js | 10 +
.../resources/static/js/lib/moment.min.js | 2 +
.../static/js/lib/owl.carousel.min.js | 7 +
.../resources/static/js/lib/popper.min.js | 5 +
.../resources/templates/admin/backdoor.html | 39 +
.../resources/templates/admin/backup.html | 86 +
.../resources/templates/admin/dashboard.html | 246 +
.../templates/admin/diagnostics.html | 40 +
.../templates/admin/messages/index.html | 103 +
.../templates/admin/messages/view.html | 79 +
.../templates/admin/orders/delete.html | 91 +
.../templates/admin/orders/edit.html | 123 +
.../templates/admin/orders/index.html | 87 +
.../templates/admin/orders/view.html | 109 +
.../templates/admin/products/add.html | 178 +
.../templates/admin/products/delete.html | 87 +
.../templates/admin/products/edit.html | 179 +
.../templates/admin/products/index.html | 99 +
.../templates/admin/products/view.html | 143 +
.../templates/admin/reviews/index.html | 87 +
.../templates/admin/reviews/view.html | 95 +
.../resources/templates/admin/users/add.html | 137 +
.../admin/users/change-password.html | 102 +
.../templates/admin/users/delete.html | 98 +
.../resources/templates/admin/users/edit.html | 409 +
.../templates/admin/users/index.html | 77 +
.../resources/templates/admin/users/view.html | 122 +
src/main/resources/templates/advice.html | 66 +
.../resources/templates/cart/checkout.html | 293 +
.../resources/templates/cart/confirm.html | 45 +
src/main/resources/templates/cart/index.html | 131 +
src/main/resources/templates/error.html | 28 +
.../templates/error/403-access-denied.html | 28 +
.../templates/error/404-not-found.html | 30 +
.../templates/error/500-internal-error.html | 34 +
.../resources/templates/error/default.html | 34 +
.../templates/error/not-implemented.html | 30 +
.../templates/fragments/admin-menu.html | 36 +
.../templates/fragments/country-selector.html | 253 +
.../resources/templates/fragments/footer.html | 121 +
.../resources/templates/fragments/header.html | 157 +
.../resources/templates/fragments/layout.html | 31 +
.../templates/fragments/secondary-bg.html | 30 +
.../templates/fragments/user-menu.html | 39 +
src/main/resources/templates/index.html | 165 +
src/main/resources/templates/login.html | 84 +
.../resources/templates/prescriptions.html | 66 +
.../templates/products/firstaid.html | 149 +
.../resources/templates/products/index.html | 159 +
.../templates/products/not-found.html | 30 +
.../resources/templates/products/view.html | 163 +
src/main/resources/templates/services.html | 66 +
.../templates/user/change-password.html | 93 +
.../templates/user/command-shell.html | 68 +
.../templates/user/download-file.html | 63 +
.../templates/user/edit-profile.html | 398 +
src/main/resources/templates/user/home.html | 82 +
src/main/resources/templates/user/log.html | 71 +
.../user/messages/access-denied.html | 28 +
.../templates/user/messages/index.html | 110 +
.../templates/user/messages/not-found.html | 28 +
.../templates/user/messages/view.html | 71 +
.../resources/templates/user/not-found.html | 28 +
.../templates/user/orders/access-denied.html | 28 +
.../templates/user/orders/index.html | 112 +
.../templates/user/orders/not-found.html | 28 +
.../resources/templates/user/orders/view.html | 128 +
.../resources/templates/user/profile.html | 101 +
.../resources/templates/user/register.html | 152 +
src/main/resources/templates/user/ssrf.html | 65 +
.../resources/templates/user/upload-file.html | 85 +
.../templates/user/upload-xml-file.html | 110 +
src/main/resources/templates/verify.html | 65 +
.../resources/templates/vulnerabilities.html | 97 +
.../example/BaseIntegrationTest.java | 12 +
.../microfocus/example/BaseSeleniumTest.java | 30 +
.../com/microfocus/example/DataSeeder.java | 167 +
.../com/microfocus/example/misc/BaseTest.java | 38 +
.../com/microfocus/example/misc/MoreTest.java | 36 +
.../com/microfocus/example/misc/SomeTest.java | 56 +
.../repository/MessageRepositoryTest.java | 84 +
.../repository/OrderRepositoryTest.java | 43 +
.../repository/ProductRepositoryTest.java | 97 +
.../RefreshTokenRepositoryTest.java | 82 +
.../repository/ReviewRepositoryTest.java | 49 +
.../repository/UserRepositoryTest.java | 109 +
.../example/service/ProductServiceTest.java | 62 +
.../example/service/UserServiceTest.java | 78 +
.../example/web/DefaultControllerTest.java | 32 +
.../ChangePasswordControllerTest.java | 50 +
.../PasswordConstraintValidatorTest.java | 48 +
...t_add_to_cart.cpython-310-pytest-7.1.2.pyc | Bin 0 -> 3194 bytes
.../test_example.cpython-310-pytest-7.1.2.pyc | Bin 0 -> 669 bytes
...test_selenium.cpython-310-pytest-7.1.2.pyc | Bin 0 -> 1651 bytes
src/test/python/test_add_to_cart.py | 74 +
src/test/resources/data.sql | 28 +
src/test/resources/schema.sql | 126 +
target/classes/META-INF/build-info.properties | 7 +
target/classes/application-dev.yml | 78 +
target/classes/application-test.yml | 74 +
target/classes/application.yml | 97 +
.../com/microfocus/example/Application.class | Bin 0 -> 931 bytes
.../example/ServletInitializer.class | Bin 0 -> 929 bytes
.../controllers/ApiMessageController.class | Bin 0 -> 12401 bytes
.../api/controllers/ApiOrderController.class | Bin 0 -> 12175 bytes
.../controllers/ApiProductController.class | Bin 0 -> 14364 bytes
.../api/controllers/ApiReviewController.class | Bin 0 -> 12782 bytes
.../api/controllers/ApiRoleController.class | Bin 0 -> 9557 bytes
.../ApiSiteController$SiteStatus.class | Bin 0 -> 1356 bytes
.../api/controllers/ApiSiteController.class | Bin 0 -> 17444 bytes
.../api/controllers/ApiUserController.class | Bin 0 -> 11802 bytes
.../example/api/utils/ApiUtil.class | Bin 0 -> 1999 bytes
.../example/config/CorsConfiguration.class | Bin 0 -> 1357 bytes
.../CustomMessageSourceConfiguration.class | Bin 0 -> 1438 bytes
.../example/config/FaviconConfiguration.class | Bin 0 -> 2459 bytes
.../example/config/LocaleConfiguration.class | Bin 0 -> 1706 bytes
.../config/OpenApi30Configuration.class | Bin 0 -> 1430 bytes
.../example/config/StorageProperties.class | Bin 0 -> 1221 bytes
.../config/WebConfigConfiguration.class | Bin 0 -> 1044 bytes
...onfiguration$ApiConfigurationAdapter.class | Bin 0 -> 5500 bytes
...nfiguration$UserConfigurationAdapter.class | Bin 0 -> 10105 bytes
.../config/WebSecurityConfiguration.class | Bin 0 -> 4653 bytes
.../handlers/ApiAccessDeniedHandler.class | Bin 0 -> 3952 bytes
.../AuthenticationEntryPointJwt.class | Bin 0 -> 3973 bytes
.../handlers/AuthenticationTokenFilter.class | Bin 0 -> 4235 bytes
.../BasicAuthenticationEntryPointCustom.class | Bin 0 -> 4438 bytes
.../CustomAuthenticationSuccessHandler.class | Bin 0 -> 7445 bytes
.../handlers/GlobalExceptionHandler.class | Bin 0 -> 6204 bytes
.../handlers/GlobalRestExceptionHandler.class | Bin 0 -> 23186 bytes
...eaderFilter$HttpMethodRequestWrapper.class | Bin 0 -> 970 bytes
.../HttpMethodOverrideHeaderFilter.class | Bin 0 -> 2166 bytes
.../handlers/LoggingAccessDeniedHandler.class | Bin 0 -> 2440 bytes
.../UrlAuthenticationSuccessHandler.class | Bin 0 -> 6286 bytes
.../microfocus/example/entity/Authority.class | Bin 0 -> 2151 bytes
.../example/entity/AuthorityType.class | Bin 0 -> 1490 bytes
.../example/entity/CustomUserDetails.class | Bin 0 -> 3411 bytes
.../microfocus/example/entity/Message.class | Bin 0 -> 4193 bytes
.../com/microfocus/example/entity/Order.class | Bin 0 -> 5210 bytes
.../microfocus/example/entity/Product.class | Bin 0 -> 6150 bytes
.../example/entity/RefreshToken.class | Bin 0 -> 2667 bytes
.../microfocus/example/entity/Review.class | Bin 0 -> 4781 bytes
.../com/microfocus/example/entity/User.class | Bin 0 -> 9618 bytes
.../example/entity/Verification.class | Bin 0 -> 2286 bytes
.../ApiBadCredentialsException.class | Bin 0 -> 904 bytes
.../exception/ApiRefreshTokenException.class | Bin 0 -> 925 bytes
.../example/exception/BackupException.class | Bin 0 -> 504 bytes
.../CustomRestServiceException.class | Bin 0 -> 736 bytes
.../EmailAddressTakenException.class | Bin 0 -> 915 bytes
.../exception/InvalidPasswordException.class | Bin 0 -> 531 bytes
.../exception/MessageNotFoundException.class | Bin 0 -> 886 bytes
.../exception/NotAuthorisedException.class | Bin 0 -> 708 bytes
.../exception/OrderNotFoundException.class | Bin 0 -> 876 bytes
.../exception/ProductNotFoundException.class | Bin 0 -> 886 bytes
.../exception/ReviewNotFoundException.class | Bin 0 -> 880 bytes
.../exception/RoleNotFoundException.class | Bin 0 -> 871 bytes
.../exception/ServerErrorException.class | Bin 0 -> 693 bytes
.../example/exception/StorageException.class | Bin 0 -> 632 bytes
.../StorageFileNotFoundException.class | Bin 0 -> 691 bytes
.../exception/UserLockedOutException.class | Bin 0 -> 525 bytes
.../exception/UserNotFoundException.class | Bin 0 -> 871 bytes
.../exception/UsernameTakenException.class | Bin 0 -> 901 bytes
.../payload/request/LoginRequest.class | Bin 0 -> 990 bytes
.../payload/request/MessageRequest.class | Bin 0 -> 2998 bytes
.../payload/request/OrderRequest.class | Bin 0 -> 3872 bytes
.../payload/request/ProductRequest.class | Bin 0 -> 5406 bytes
.../payload/request/RefreshTokenRequest.class | Bin 0 -> 792 bytes
.../payload/request/RegisterUserRequest.class | Bin 0 -> 3362 bytes
.../payload/request/ReviewRequest.class | Bin 0 -> 2872 bytes
.../request/SubscribeUserRequest.class | Bin 0 -> 1785 bytes
.../example/payload/request/UserRequest.class | Bin 0 -> 5889 bytes
...ApiStatusResponse$ApiResponseBuilder.class | Bin 0 -> 2646 bytes
.../payload/response/ApiStatusResponse.class | Bin 0 -> 2852 bytes
.../payload/response/JwtResponse.class | Bin 0 -> 2709 bytes
.../payload/response/MessageResponse.class | Bin 0 -> 2133 bytes
.../payload/response/OrderResponse.class | Bin 0 -> 3163 bytes
.../payload/response/ProductResponse.class | Bin 0 -> 2680 bytes
.../response/RefreshTokenResponse.class | Bin 0 -> 1257 bytes
.../response/RegisterUserResponse.class | Bin 0 -> 1694 bytes
.../payload/response/ReviewResponse.class | Bin 0 -> 2805 bytes
.../response/SubscribeUserResponse.class | Bin 0 -> 1125 bytes
.../payload/response/UserResponse.class | Bin 0 -> 2500 bytes
.../repository/MessageRepository.class | Bin 0 -> 278 bytes
.../repository/MessageRepositoryBasic.class | Bin 0 -> 373 bytes
.../repository/MessageRepositoryCustom.class | Bin 0 -> 658 bytes
.../repository/MessageRepositoryImpl.class | Bin 0 -> 3400 bytes
.../example/repository/OrderRepository.class | Bin 0 -> 270 bytes
.../repository/OrderRepositoryBasic.class | Bin 0 -> 367 bytes
.../repository/OrderRepositoryCustom.class | Bin 0 -> 1040 bytes
.../repository/OrderRepositoryImpl.class | Bin 0 -> 4769 bytes
.../repository/ProductRepository.class | Bin 0 -> 8089 bytes
.../repository/RefreshTokenRepository.class | Bin 0 -> 298 bytes
.../RefreshTokenRepositoryBasic.class | Bin 0 -> 388 bytes
.../RefreshTokenRepositoryCustom.class | Bin 0 -> 367 bytes
.../RefreshTokenRepositoryImpl.class | Bin 0 -> 1778 bytes
.../example/repository/ReviewRepository.class | Bin 0 -> 274 bytes
.../repository/ReviewRepositoryBasic.class | Bin 0 -> 370 bytes
.../repository/ReviewRepositoryCustom.class | Bin 0 -> 1237 bytes
.../repository/ReviewRepositoryImpl.class | Bin 0 -> 5298 bytes
.../example/repository/RoleRepository.class | Bin 0 -> 266 bytes
.../repository/RoleRepositoryBasic.class | Bin 0 -> 458 bytes
.../repository/RoleRepositoryCustom.class | Bin 0 -> 366 bytes
.../repository/RoleRepositoryImpl.class | Bin 0 -> 2410 bytes
.../example/repository/UserRepository.class | Bin 0 -> 266 bytes
.../repository/UserRepositoryBasic.class | Bin 0 -> 450 bytes
.../repository/UserRepositoryCustom.class | Bin 0 -> 1110 bytes
.../repository/UserRepositoryImpl$1.class | Bin 0 -> 4634 bytes
.../repository/UserRepositoryImpl.class | Bin 0 -> 5794 bytes
.../repository/VerificationRepository.class | Bin 0 -> 298 bytes
.../VerificationRepositoryBasic.class | Bin 0 -> 390 bytes
.../VerificationRepositoryCustom.class | Bin 0 -> 462 bytes
.../repository/mapper/ProductMapper.class | Bin 0 -> 2172 bytes
.../service/CustomUserDetailsService.class | Bin 0 -> 2444 bytes
.../service/FileSystemStorageService.class | Bin 0 -> 8909 bytes
.../example/service/ProductService.class | Bin 0 -> 15766 bytes
.../example/service/RefreshTokenService.class | Bin 0 -> 3462 bytes
.../example/service/StorageService.class | Bin 0 -> 946 bytes
.../example/service/UserService.class | Bin 0 -> 17813 bytes
.../microfocus/example/utils/AdminUtils.class | Bin 0 -> 2279 bytes
.../utils/EncryptedPasswordUtils.class | Bin 0 -> 2035 bytes
.../microfocus/example/utils/JwtUtils.class | Bin 0 -> 6384 bytes
.../microfocus/example/utils/UserUtils.class | Bin 0 -> 5437 bytes
.../microfocus/example/utils/WebUtils.class | Bin 0 -> 2316 bytes
.../controllers/AbstractBaseController.class | Bin 0 -> 1847 bytes
.../web/controllers/CartController.class | Bin 0 -> 6726 bytes
.../controllers/CustomErrorController.class | Bin 0 -> 1668 bytes
.../web/controllers/DefaultController.class | Bin 0 -> 6568 bytes
.../web/controllers/ProductController.class | Bin 0 -> 9334 bytes
.../web/controllers/UserController.class | Bin 0 -> 30250 bytes
.../admin/AdminDefaultController.class | Bin 0 -> 5786 bytes
.../admin/AdminMessageController.class | Bin 0 -> 3908 bytes
.../admin/AdminOrderController.class | Bin 0 -> 7544 bytes
.../admin/AdminProductController.class | Bin 0 -> 9002 bytes
.../admin/AdminReviewController.class | Bin 0 -> 7594 bytes
.../admin/AdminUserController.class | Bin 0 -> 10484 bytes
.../example/web/form/MessageForm.class | Bin 0 -> 3039 bytes
.../example/web/form/OrderForm.class | Bin 0 -> 3644 bytes
.../example/web/form/PasswordForm.class | Bin 0 -> 2123 bytes
.../example/web/form/ProductForm.class | Bin 0 -> 5254 bytes
.../example/web/form/RegisterUserForm.class | Bin 0 -> 5732 bytes
.../example/web/form/UploadForm.class | Bin 0 -> 1727 bytes
.../example/web/form/UserForm.class | Bin 0 -> 5705 bytes
.../web/form/admin/AdminNewProductForm.class | Bin 0 -> 5290 bytes
.../web/form/admin/AdminNewUserForm.class | Bin 0 -> 5728 bytes
.../web/form/admin/AdminOrderForm.class | Bin 0 -> 3666 bytes
.../web/form/admin/AdminPasswordForm.class | Bin 0 -> 2479 bytes
.../web/form/admin/AdminProductForm.class | Bin 0 -> 5281 bytes
.../web/form/admin/AdminReviewForm.class | Bin 0 -> 3547 bytes
.../web/form/admin/AdminUserForm.class | Bin 0 -> 4823 bytes
.../example/web/form/admin/BackupForm.class | Bin 0 -> 1596 bytes
.../PasswordConstraintValidator.class | Bin 0 -> 5403 bytes
.../web/validation/ValidPassword.class | Bin 0 -> 890 bytes
target/classes/data.sql | 130 +
target/classes/invalid-password-list.txt | 5 +
target/classes/messages.properties | 52 +
target/classes/schema.sql | 135 +
target/classes/site-message.txt | 1 +
target/classes/static/README.md | 16 +
target/classes/static/css/app.css | 1839 +++
.../static/css/icomoon/fonts/icomoon.eot | Bin 0 -> 307332 bytes
.../static/css/icomoon/fonts/icomoon.svg | 1530 ++
.../static/css/icomoon/fonts/icomoon.ttf | Bin 0 -> 307168 bytes
.../static/css/icomoon/fonts/icomoon.woff | Bin 0 -> 307244 bytes
target/classes/static/css/icomoon/style.css | 4919 ++++++
.../classes/static/css/owl.carousel.min.css | 6 +
.../static/css/owl.theme.default.min.css | 15 +
.../static/css/star-rating-theme.min.css | 0
target/classes/static/css/star-rating.min.css | 10 +
target/classes/static/debug.txt | 1 +
.../classes/static/img/awaiting-image-sm.png | Bin 0 -> 8385 bytes
target/classes/static/img/awaiting-image.png | Bin 0 -> 9553 bytes
target/classes/static/img/bg_1.jpg | Bin 0 -> 26416 bytes
target/classes/static/img/bg_2.jpg | Bin 0 -> 103447 bytes
.../classes/static/img/favicons/favicon.ico | Bin 0 -> 1150 bytes
.../classes/static/img/favicons/favicon.png | Bin 0 -> 536 bytes
.../static/img/favicons/favicon_whitebg.png | Bin 0 -> 535 bytes
target/classes/static/img/hero_1.jpg | Bin 0 -> 124721 bytes
target/classes/static/img/home_hero_1.jpg | Bin 0 -> 151520 bytes
target/classes/static/img/home_hero_1a.jpg | Bin 0 -> 140440 bytes
target/classes/static/img/login_logo.png | Bin 0 -> 7327 bytes
.../classes/static/img/login_logo_whitebg.png | Bin 0 -> 5617 bytes
target/classes/static/img/logo.png | Bin 0 -> 4155 bytes
target/classes/static/img/mf_logo.png | Bin 0 -> 122 bytes
.../static/img/mf_logomark_black_lrg.png | Bin 0 -> 518 bytes
.../static/img/mf_logomark_black_small.png | Bin 0 -> 208 bytes
.../static/img/mf_logomark_blue_med.png | Bin 0 -> 485 bytes
.../static/img/mf_logomark_white_lrg.png | Bin 0 -> 527 bytes
.../static/img/mf_logomark_white_small.png | Bin 0 -> 211 bytes
target/classes/static/img/person_1.jpg | Bin 0 -> 76764 bytes
target/classes/static/img/person_2.jpg | Bin 0 -> 28652 bytes
target/classes/static/img/person_3.jpg | Bin 0 -> 61697 bytes
target/classes/static/img/person_4.jpg | Bin 0 -> 86756 bytes
target/classes/static/img/person_5.jpg | Bin 0 -> 86756 bytes
.../static/img/pexels-background-1.jpg | Bin 0 -> 908900 bytes
target/classes/static/img/pexels-photo-1.jpg | Bin 0 -> 31111 bytes
target/classes/static/img/pexels-photo-2.jpg | Bin 0 -> 14215 bytes
target/classes/static/img/pexels-photo-3.jpg | Bin 0 -> 10681 bytes
target/classes/static/img/pexels-photo-4.jpg | Bin 0 -> 15113 bytes
.../classes/static/img/pexels-photo-hero.jpg | Bin 0 -> 549270 bytes
.../static/img/pexels-photo-large-1.jpg | Bin 0 -> 68704 bytes
.../static/img/pexels-photo-large-2.jpg | Bin 0 -> 172755 bytes
.../static/img/pexels-photo-large-3.jpg | Bin 0 -> 170225 bytes
.../static/img/products/generic-product-1.jpg | Bin 0 -> 16404 bytes
.../img/products/generic-product-10.jpg | Bin 0 -> 9216 bytes
.../img/products/generic-product-11.jpg | Bin 0 -> 11188 bytes
.../img/products/generic-product-12.jpg | Bin 0 -> 10194 bytes
.../static/img/products/generic-product-2.jpg | Bin 0 -> 25134 bytes
.../static/img/products/generic-product-3.jpg | Bin 0 -> 17981 bytes
.../static/img/products/generic-product-4.jpg | Bin 0 -> 29841 bytes
.../static/img/products/generic-product-5.jpg | Bin 0 -> 17235 bytes
.../static/img/products/generic-product-6.jpg | Bin 0 -> 8545 bytes
.../static/img/products/generic-product-7.jpg | Bin 0 -> 22579 bytes
.../static/img/products/generic-product-8.jpg | Bin 0 -> 15446 bytes
.../static/img/products/generic-product-9.jpg | Bin 0 -> 14011 bytes
target/classes/static/img/sale.png | Bin 0 -> 5726 bytes
target/classes/static/index.old | 62 +
target/classes/static/js/app.js | 160 +
target/classes/static/js/components/Cart.js | 219 +
.../classes/static/js/components/CartAdd.js | 75 +
.../classes/static/js/components/CartCount.js | 32 +
.../static/js/components/CartSummary.js | 82 +
.../static/js/components/CheckUsername.js | 36 +
.../static/js/components/NewProducts.js | 41 +
.../static/js/components/OrderSummary.js | 47 +
.../static/js/components/ProductReviews.js | 40 +
.../js/components/SubscribeNewsletter.js | 70 +
.../js/components/UnreadMessageCount.js | 31 +
target/classes/static/js/lib/Chart.min.js | 10 +
target/classes/static/js/lib/moment.min.js | 2 +
.../classes/static/js/lib/owl.carousel.min.js | 7 +
target/classes/static/js/lib/popper.min.js | 5 +
target/classes/templates/admin/backdoor.html | 39 +
target/classes/templates/admin/backup.html | 86 +
target/classes/templates/admin/dashboard.html | 246 +
.../classes/templates/admin/diagnostics.html | 40 +
.../templates/admin/messages/index.html | 103 +
.../templates/admin/messages/view.html | 79 +
.../templates/admin/orders/delete.html | 91 +
.../classes/templates/admin/orders/edit.html | 123 +
.../classes/templates/admin/orders/index.html | 87 +
.../classes/templates/admin/orders/view.html | 109 +
.../classes/templates/admin/products/add.html | 178 +
.../templates/admin/products/delete.html | 87 +
.../templates/admin/products/edit.html | 179 +
.../templates/admin/products/index.html | 99 +
.../templates/admin/products/view.html | 143 +
.../templates/admin/reviews/index.html | 87 +
.../classes/templates/admin/reviews/view.html | 95 +
target/classes/templates/admin/users/add.html | 137 +
.../admin/users/change-password.html | 102 +
.../classes/templates/admin/users/delete.html | 98 +
.../classes/templates/admin/users/edit.html | 409 +
.../classes/templates/admin/users/index.html | 77 +
.../classes/templates/admin/users/view.html | 122 +
target/classes/templates/advice.html | 66 +
target/classes/templates/cart/checkout.html | 293 +
target/classes/templates/cart/confirm.html | 45 +
target/classes/templates/cart/index.html | 131 +
target/classes/templates/error.html | 28 +
.../templates/error/403-access-denied.html | 28 +
.../templates/error/404-not-found.html | 30 +
.../templates/error/500-internal-error.html | 34 +
target/classes/templates/error/default.html | 34 +
.../templates/error/not-implemented.html | 30 +
.../templates/fragments/admin-menu.html | 36 +
.../templates/fragments/country-selector.html | 253 +
.../classes/templates/fragments/footer.html | 121 +
.../classes/templates/fragments/header.html | 157 +
.../classes/templates/fragments/layout.html | 31 +
.../templates/fragments/secondary-bg.html | 30 +
.../templates/fragments/user-menu.html | 39 +
target/classes/templates/index.html | 165 +
target/classes/templates/login.html | 84 +
target/classes/templates/prescriptions.html | 66 +
.../classes/templates/products/firstaid.html | 149 +
target/classes/templates/products/index.html | 159 +
.../classes/templates/products/not-found.html | 30 +
target/classes/templates/products/view.html | 163 +
target/classes/templates/services.html | 66 +
.../templates/user/change-password.html | 93 +
.../classes/templates/user/command-shell.html | 68 +
.../classes/templates/user/download-file.html | 63 +
.../classes/templates/user/edit-profile.html | 398 +
target/classes/templates/user/home.html | 82 +
target/classes/templates/user/log.html | 71 +
.../user/messages/access-denied.html | 28 +
.../templates/user/messages/index.html | 110 +
.../templates/user/messages/not-found.html | 28 +
.../classes/templates/user/messages/view.html | 71 +
target/classes/templates/user/not-found.html | 28 +
.../templates/user/orders/access-denied.html | 28 +
.../classes/templates/user/orders/index.html | 112 +
.../templates/user/orders/not-found.html | 28 +
.../classes/templates/user/orders/view.html | 128 +
target/classes/templates/user/profile.html | 101 +
target/classes/templates/user/register.html | 152 +
target/classes/templates/user/ssrf.html | 65 +
.../classes/templates/user/upload-file.html | 85 +
.../templates/user/upload-xml-file.html | 110 +
target/classes/templates/verify.html | 65 +
target/classes/templates/vulnerabilities.html | 97 +
.../example/BaseIntegrationTest.class | Bin 0 -> 599 bytes
.../microfocus/example/BaseSeleniumTest.class | Bin 0 -> 1299 bytes
.../com/microfocus/example/DataSeeder.class | Bin 0 -> 6782 bytes
.../microfocus/example/misc/BaseTest.class | Bin 0 -> 368 bytes
.../microfocus/example/misc/MoreTest.class | Bin 0 -> 475 bytes
.../microfocus/example/misc/SomeTest.class | Bin 0 -> 916 bytes
.../repository/MessageRepositoryTest.class | Bin 0 -> 4640 bytes
.../repository/OrderRepositoryTest.class | Bin 0 -> 2731 bytes
.../repository/ProductRepositoryTest.class | Bin 0 -> 4897 bytes
.../RefreshTokenRepositoryTest.class | Bin 0 -> 4261 bytes
.../repository/ReviewRepositoryTest.class | Bin 0 -> 3036 bytes
.../repository/UserRepositoryTest.class | Bin 0 -> 4705 bytes
.../example/service/ProductServiceTest.class | Bin 0 -> 4021 bytes
.../example/service/UserServiceTest.class | Bin 0 -> 4539 bytes
.../example/web/DefaultControllerTest.class | Bin 0 -> 2650 bytes
.../ChangePasswordControllerTest.class | Bin 0 -> 766 bytes
.../PasswordConstraintValidatorTest.class | Bin 0 -> 2083 bytes
target/test-classes/data.sql | 28 +
target/test-classes/schema.sql | 126 +
684 files changed, 71171 insertions(+)
create mode 100644 Dockerfile
create mode 100644 Dockerfile.win
create mode 100644 EXPLOITS.md
create mode 100644 IWA_API.subset.postman_collection.json
create mode 100644 LICENSE
create mode 100644 README.md
create mode 100644 appspec.yml
create mode 100644 build_spec.yaml
create mode 100644 buildspec.yml
create mode 100644 cloudbuild.yaml
create mode 100644 devops-integrations/.circleci/config-fortify-dast-scancentral.yml
create mode 100644 devops-integrations/.circleci/config-fortify-sast-fod.yml
create mode 100644 devops-integrations/.circleci/config-fortify-sast-scancentral.yml
create mode 100644 devops-integrations/.teamcity/fortify-sast-fod-settings.kts
create mode 100644 devops-integrations/.teamcity/fortify_sast_scancentral-settings.kts
create mode 100644 devops-integrations/.travisci/fortify-sast-fod.sh
create mode 100644 devops-integrations/.travisci/fortify_sast_scancentral.sh
create mode 100644 devops-integrations/aws/fortify-sast-fod.bash
create mode 100644 devops-integrations/aws/fortify_dast_scancentral.bash
create mode 100644 devops-integrations/aws/fortify_sast_scancentral.bash
create mode 100644 devops-integrations/azure/azure-pipelines-fortify-dast-scancentral.yml
create mode 100644 devops-integrations/azure/azure-pipelines-fortify-sast-fod.yml
create mode 100644 devops-integrations/azure/azure-pipelines-fortify-sast-scancentral.yml
create mode 100644 devops-integrations/bitbucket/bitbucket-pipelines.yml
create mode 100644 devops-integrations/gcp/cloudbuild_fortify_dast_scancentral.yaml
create mode 100644 devops-integrations/gcp/cloudbuild_fortify_sast_fod.yaml
create mode 100644 devops-integrations/gcp/cloudbuild_fortify_sast_scancentral.yaml
create mode 100644 devops-integrations/gitlab/debricked-sca.yml
create mode 100644 devops-integrations/gitlab/fortify-dast-api-scancentral.yml
create mode 100644 devops-integrations/gitlab/fortify-dast-fod.yml
create mode 100644 devops-integrations/gitlab/fortify-dast-scancentral.yml
create mode 100644 devops-integrations/gitlab/fortify-dast-web-scancentral.yml
create mode 100644 devops-integrations/gitlab/fortify-fod-gate.yml
create mode 100644 devops-integrations/gitlab/fortify-sast-fod.yml
create mode 100644 devops-integrations/gitlab/fortify-sast-scancentral.yml
create mode 100644 devops-integrations/gitlab/fortify-sca.yml
create mode 100644 devops-integrations/gitlab/fortify-ssc-gate.yml
create mode 100644 devops-integrations/oci/fortify-sast-fod.bash
create mode 100644 devops-integrations/oci/fortify_sast_scancentral.bash
create mode 100644 etc/IWA_API.postman_collection.json
create mode 100644 etc/iwa_dev_cft.yaml
create mode 100644 etc/iwa_prod_cft.yaml
create mode 100644 pom.xml
create mode 100644 src/main/java/com/microfocus/example/Application.java
create mode 100644 src/main/java/com/microfocus/example/ServletInitializer.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiMessageController.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiOrderController.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiProductController.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiReviewController.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiRoleController.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiSiteController.java
create mode 100644 src/main/java/com/microfocus/example/api/controllers/ApiUserController.java
create mode 100644 src/main/java/com/microfocus/example/api/utils/ApiUtil.java
create mode 100644 src/main/java/com/microfocus/example/config/CorsConfiguration.java
create mode 100644 src/main/java/com/microfocus/example/config/CustomMessageSourceConfiguration.java
create mode 100644 src/main/java/com/microfocus/example/config/FaviconConfiguration.java
create mode 100644 src/main/java/com/microfocus/example/config/LocaleConfiguration.java
create mode 100644 src/main/java/com/microfocus/example/config/OpenApi30Configuration.java
create mode 100644 src/main/java/com/microfocus/example/config/StorageProperties.java
create mode 100644 src/main/java/com/microfocus/example/config/WebConfigConfiguration.java
create mode 100644 src/main/java/com/microfocus/example/config/WebSecurityConfiguration.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/ApiAccessDeniedHandler.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/AuthenticationEntryPointJwt.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/AuthenticationTokenFilter.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/BasicAuthenticationEntryPointCustom.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/CustomAuthenticationSuccessHandler.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/GlobalExceptionHandler.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/GlobalRestExceptionHandler.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/HttpMethodOverrideHeaderFilter.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/LoggingAccessDeniedHandler.java
create mode 100644 src/main/java/com/microfocus/example/config/handlers/UrlAuthenticationSuccessHandler.java
create mode 100644 src/main/java/com/microfocus/example/entity/Authority.java
create mode 100644 src/main/java/com/microfocus/example/entity/AuthorityType.java
create mode 100644 src/main/java/com/microfocus/example/entity/CustomUserDetails.java
create mode 100644 src/main/java/com/microfocus/example/entity/Message.java
create mode 100644 src/main/java/com/microfocus/example/entity/Order.java
create mode 100644 src/main/java/com/microfocus/example/entity/Product.java
create mode 100644 src/main/java/com/microfocus/example/entity/RefreshToken.java
create mode 100644 src/main/java/com/microfocus/example/entity/Review.java
create mode 100644 src/main/java/com/microfocus/example/entity/User.java
create mode 100644 src/main/java/com/microfocus/example/entity/Verification.java
create mode 100644 src/main/java/com/microfocus/example/exception/ApiBadCredentialsException.java
create mode 100644 src/main/java/com/microfocus/example/exception/ApiRefreshTokenException.java
create mode 100644 src/main/java/com/microfocus/example/exception/BackupException.java
create mode 100644 src/main/java/com/microfocus/example/exception/CustomRestServiceException.java
create mode 100644 src/main/java/com/microfocus/example/exception/EmailAddressTakenException.java
create mode 100644 src/main/java/com/microfocus/example/exception/InvalidPasswordException.java
create mode 100644 src/main/java/com/microfocus/example/exception/MessageNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/NotAuthorisedException.java
create mode 100644 src/main/java/com/microfocus/example/exception/OrderNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/ProductNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/ReviewNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/RoleNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/ServerErrorException.java
create mode 100644 src/main/java/com/microfocus/example/exception/StorageException.java
create mode 100644 src/main/java/com/microfocus/example/exception/StorageFileNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/UserLockedOutException.java
create mode 100644 src/main/java/com/microfocus/example/exception/UserNotFoundException.java
create mode 100644 src/main/java/com/microfocus/example/exception/UsernameTakenException.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/LoginRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/MessageRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/OrderRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/ProductRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/RefreshTokenRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/RegisterUserRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/ReviewRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/SubscribeUserRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/request/UserRequest.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/ApiStatusResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/JwtResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/MessageResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/OrderResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/ProductResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/RefreshTokenResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/RegisterUserResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/ReviewResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/SubscribeUserResponse.java
create mode 100644 src/main/java/com/microfocus/example/payload/response/UserResponse.java
create mode 100644 src/main/java/com/microfocus/example/repository/MessageRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/MessageRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/MessageRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/MessageRepositoryImpl.java
create mode 100644 src/main/java/com/microfocus/example/repository/OrderRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/OrderRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/OrderRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/OrderRepositoryImpl.java
create mode 100644 src/main/java/com/microfocus/example/repository/ProductRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/RefreshTokenRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/RefreshTokenRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/RefreshTokenRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/RefreshTokenRepositoryImpl.java
create mode 100644 src/main/java/com/microfocus/example/repository/ReviewRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/ReviewRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/ReviewRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/ReviewRepositoryImpl.java
create mode 100644 src/main/java/com/microfocus/example/repository/RoleRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/RoleRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/RoleRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/RoleRepositoryImpl.java
create mode 100644 src/main/java/com/microfocus/example/repository/UserRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/UserRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/UserRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/UserRepositoryImpl.java
create mode 100644 src/main/java/com/microfocus/example/repository/VerificationRepository.java
create mode 100644 src/main/java/com/microfocus/example/repository/VerificationRepositoryBasic.java
create mode 100644 src/main/java/com/microfocus/example/repository/VerificationRepositoryCustom.java
create mode 100644 src/main/java/com/microfocus/example/repository/mapper/ProductMapper.java
create mode 100644 src/main/java/com/microfocus/example/service/CustomUserDetailsService.java
create mode 100644 src/main/java/com/microfocus/example/service/FileSystemStorageService.java
create mode 100644 src/main/java/com/microfocus/example/service/ProductService.java
create mode 100644 src/main/java/com/microfocus/example/service/RefreshTokenService.java
create mode 100644 src/main/java/com/microfocus/example/service/StorageService.java
create mode 100644 src/main/java/com/microfocus/example/service/UserService.java
create mode 100644 src/main/java/com/microfocus/example/utils/AdminUtils.java
create mode 100644 src/main/java/com/microfocus/example/utils/EncryptedPasswordUtils.java
create mode 100644 src/main/java/com/microfocus/example/utils/JwtUtils.java
create mode 100644 src/main/java/com/microfocus/example/utils/UserUtils.java
create mode 100644 src/main/java/com/microfocus/example/utils/WebUtils.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/AbstractBaseController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/CartController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/CustomErrorController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/DefaultController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/ProductController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/UserController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/admin/AdminDefaultController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/admin/AdminMessageController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/admin/AdminOrderController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/admin/AdminProductController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/admin/AdminReviewController.java
create mode 100644 src/main/java/com/microfocus/example/web/controllers/admin/AdminUserController.java
create mode 100644 src/main/java/com/microfocus/example/web/form/MessageForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/OrderForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/PasswordForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/ProductForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/RegisterUserForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/UploadForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/UserForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminNewProductForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminNewUserForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminOrderForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminPasswordForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminProductForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminReviewForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/AdminUserForm.java
create mode 100644 src/main/java/com/microfocus/example/web/form/admin/BackupForm.java
create mode 100644 src/main/java/com/microfocus/example/web/validation/PasswordConstraintValidator.java
create mode 100644 src/main/java/com/microfocus/example/web/validation/ValidPassword.java
create mode 100644 src/main/resources/application-dev.yml
create mode 100644 src/main/resources/application-test.yml
create mode 100644 src/main/resources/application.yml
create mode 100644 src/main/resources/data.sql
create mode 100644 src/main/resources/invalid-password-list.txt
create mode 100644 src/main/resources/messages.properties
create mode 100644 src/main/resources/schema.sql
create mode 100644 src/main/resources/site-message.txt
create mode 100644 src/main/resources/static/README.md
create mode 100644 src/main/resources/static/css/app.css
create mode 100644 src/main/resources/static/css/icomoon/fonts/icomoon.eot
create mode 100644 src/main/resources/static/css/icomoon/fonts/icomoon.svg
create mode 100644 src/main/resources/static/css/icomoon/fonts/icomoon.ttf
create mode 100644 src/main/resources/static/css/icomoon/fonts/icomoon.woff
create mode 100644 src/main/resources/static/css/icomoon/style.css
create mode 100644 src/main/resources/static/css/owl.carousel.min.css
create mode 100644 src/main/resources/static/css/owl.theme.default.min.css
create mode 100644 src/main/resources/static/css/star-rating-theme.min.css
create mode 100644 src/main/resources/static/css/star-rating.min.css
create mode 100644 src/main/resources/static/debug.txt
create mode 100644 src/main/resources/static/img/awaiting-image-sm.png
create mode 100644 src/main/resources/static/img/awaiting-image.png
create mode 100644 src/main/resources/static/img/bg_1.jpg
create mode 100644 src/main/resources/static/img/bg_2.jpg
create mode 100644 src/main/resources/static/img/favicons/favicon.ico
create mode 100644 src/main/resources/static/img/favicons/favicon.png
create mode 100644 src/main/resources/static/img/favicons/favicon_whitebg.png
create mode 100644 src/main/resources/static/img/hero_1.jpg
create mode 100644 src/main/resources/static/img/home_hero_1.jpg
create mode 100644 src/main/resources/static/img/home_hero_1a.jpg
create mode 100644 src/main/resources/static/img/login_logo.png
create mode 100644 src/main/resources/static/img/login_logo_whitebg.png
create mode 100644 src/main/resources/static/img/logo.png
create mode 100644 src/main/resources/static/img/mf_logo.png
create mode 100644 src/main/resources/static/img/mf_logomark_black_lrg.png
create mode 100644 src/main/resources/static/img/mf_logomark_black_small.png
create mode 100644 src/main/resources/static/img/mf_logomark_blue_med.png
create mode 100644 src/main/resources/static/img/mf_logomark_white_lrg.png
create mode 100644 src/main/resources/static/img/mf_logomark_white_small.png
create mode 100644 src/main/resources/static/img/person_1.jpg
create mode 100644 src/main/resources/static/img/person_2.jpg
create mode 100644 src/main/resources/static/img/person_3.jpg
create mode 100644 src/main/resources/static/img/person_4.jpg
create mode 100644 src/main/resources/static/img/person_5.jpg
create mode 100644 src/main/resources/static/img/pexels-background-1.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-1.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-2.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-3.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-4.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-hero.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-large-1.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-large-2.jpg
create mode 100644 src/main/resources/static/img/pexels-photo-large-3.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-1.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-10.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-11.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-12.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-2.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-3.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-4.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-5.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-6.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-7.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-8.jpg
create mode 100644 src/main/resources/static/img/products/generic-product-9.jpg
create mode 100644 src/main/resources/static/img/sale.png
create mode 100644 src/main/resources/static/index.old
create mode 100644 src/main/resources/static/js/app.js
create mode 100644 src/main/resources/static/js/components/Cart.js
create mode 100644 src/main/resources/static/js/components/CartAdd.js
create mode 100644 src/main/resources/static/js/components/CartCount.js
create mode 100644 src/main/resources/static/js/components/CartSummary.js
create mode 100644 src/main/resources/static/js/components/CheckUsername.js
create mode 100644 src/main/resources/static/js/components/NewProducts.js
create mode 100644 src/main/resources/static/js/components/OrderSummary.js
create mode 100644 src/main/resources/static/js/components/ProductReviews.js
create mode 100644 src/main/resources/static/js/components/SubscribeNewsletter.js
create mode 100644 src/main/resources/static/js/components/UnreadMessageCount.js
create mode 100644 src/main/resources/static/js/lib/Chart.min.js
create mode 100644 src/main/resources/static/js/lib/moment.min.js
create mode 100644 src/main/resources/static/js/lib/owl.carousel.min.js
create mode 100644 src/main/resources/static/js/lib/popper.min.js
create mode 100644 src/main/resources/templates/admin/backdoor.html
create mode 100644 src/main/resources/templates/admin/backup.html
create mode 100644 src/main/resources/templates/admin/dashboard.html
create mode 100644 src/main/resources/templates/admin/diagnostics.html
create mode 100644 src/main/resources/templates/admin/messages/index.html
create mode 100644 src/main/resources/templates/admin/messages/view.html
create mode 100644 src/main/resources/templates/admin/orders/delete.html
create mode 100644 src/main/resources/templates/admin/orders/edit.html
create mode 100644 src/main/resources/templates/admin/orders/index.html
create mode 100644 src/main/resources/templates/admin/orders/view.html
create mode 100644 src/main/resources/templates/admin/products/add.html
create mode 100644 src/main/resources/templates/admin/products/delete.html
create mode 100644 src/main/resources/templates/admin/products/edit.html
create mode 100644 src/main/resources/templates/admin/products/index.html
create mode 100644 src/main/resources/templates/admin/products/view.html
create mode 100644 src/main/resources/templates/admin/reviews/index.html
create mode 100644 src/main/resources/templates/admin/reviews/view.html
create mode 100644 src/main/resources/templates/admin/users/add.html
create mode 100644 src/main/resources/templates/admin/users/change-password.html
create mode 100644 src/main/resources/templates/admin/users/delete.html
create mode 100644 src/main/resources/templates/admin/users/edit.html
create mode 100644 src/main/resources/templates/admin/users/index.html
create mode 100644 src/main/resources/templates/admin/users/view.html
create mode 100644 src/main/resources/templates/advice.html
create mode 100644 src/main/resources/templates/cart/checkout.html
create mode 100644 src/main/resources/templates/cart/confirm.html
create mode 100644 src/main/resources/templates/cart/index.html
create mode 100644 src/main/resources/templates/error.html
create mode 100644 src/main/resources/templates/error/403-access-denied.html
create mode 100644 src/main/resources/templates/error/404-not-found.html
create mode 100644 src/main/resources/templates/error/500-internal-error.html
create mode 100644 src/main/resources/templates/error/default.html
create mode 100644 src/main/resources/templates/error/not-implemented.html
create mode 100644 src/main/resources/templates/fragments/admin-menu.html
create mode 100644 src/main/resources/templates/fragments/country-selector.html
create mode 100644 src/main/resources/templates/fragments/footer.html
create mode 100644 src/main/resources/templates/fragments/header.html
create mode 100644 src/main/resources/templates/fragments/layout.html
create mode 100644 src/main/resources/templates/fragments/secondary-bg.html
create mode 100644 src/main/resources/templates/fragments/user-menu.html
create mode 100644 src/main/resources/templates/index.html
create mode 100644 src/main/resources/templates/login.html
create mode 100644 src/main/resources/templates/prescriptions.html
create mode 100644 src/main/resources/templates/products/firstaid.html
create mode 100644 src/main/resources/templates/products/index.html
create mode 100644 src/main/resources/templates/products/not-found.html
create mode 100644 src/main/resources/templates/products/view.html
create mode 100644 src/main/resources/templates/services.html
create mode 100644 src/main/resources/templates/user/change-password.html
create mode 100644 src/main/resources/templates/user/command-shell.html
create mode 100644 src/main/resources/templates/user/download-file.html
create mode 100644 src/main/resources/templates/user/edit-profile.html
create mode 100644 src/main/resources/templates/user/home.html
create mode 100644 src/main/resources/templates/user/log.html
create mode 100644 src/main/resources/templates/user/messages/access-denied.html
create mode 100644 src/main/resources/templates/user/messages/index.html
create mode 100644 src/main/resources/templates/user/messages/not-found.html
create mode 100644 src/main/resources/templates/user/messages/view.html
create mode 100644 src/main/resources/templates/user/not-found.html
create mode 100644 src/main/resources/templates/user/orders/access-denied.html
create mode 100644 src/main/resources/templates/user/orders/index.html
create mode 100644 src/main/resources/templates/user/orders/not-found.html
create mode 100644 src/main/resources/templates/user/orders/view.html
create mode 100644 src/main/resources/templates/user/profile.html
create mode 100644 src/main/resources/templates/user/register.html
create mode 100644 src/main/resources/templates/user/ssrf.html
create mode 100644 src/main/resources/templates/user/upload-file.html
create mode 100644 src/main/resources/templates/user/upload-xml-file.html
create mode 100644 src/main/resources/templates/verify.html
create mode 100644 src/main/resources/templates/vulnerabilities.html
create mode 100644 src/test/java/com/microfocus/example/BaseIntegrationTest.java
create mode 100644 src/test/java/com/microfocus/example/BaseSeleniumTest.java
create mode 100644 src/test/java/com/microfocus/example/DataSeeder.java
create mode 100644 src/test/java/com/microfocus/example/misc/BaseTest.java
create mode 100644 src/test/java/com/microfocus/example/misc/MoreTest.java
create mode 100644 src/test/java/com/microfocus/example/misc/SomeTest.java
create mode 100644 src/test/java/com/microfocus/example/repository/MessageRepositoryTest.java
create mode 100644 src/test/java/com/microfocus/example/repository/OrderRepositoryTest.java
create mode 100644 src/test/java/com/microfocus/example/repository/ProductRepositoryTest.java
create mode 100644 src/test/java/com/microfocus/example/repository/RefreshTokenRepositoryTest.java
create mode 100644 src/test/java/com/microfocus/example/repository/ReviewRepositoryTest.java
create mode 100644 src/test/java/com/microfocus/example/repository/UserRepositoryTest.java
create mode 100644 src/test/java/com/microfocus/example/service/ProductServiceTest.java
create mode 100644 src/test/java/com/microfocus/example/service/UserServiceTest.java
create mode 100644 src/test/java/com/microfocus/example/web/DefaultControllerTest.java
create mode 100644 src/test/java/com/microfocus/example/web/validation/ChangePasswordControllerTest.java
create mode 100644 src/test/java/com/microfocus/example/web/validation/PasswordConstraintValidatorTest.java
create mode 100644 src/test/python/__pycache__/test_add_to_cart.cpython-310-pytest-7.1.2.pyc
create mode 100644 src/test/python/__pycache__/test_example.cpython-310-pytest-7.1.2.pyc
create mode 100644 src/test/python/__pycache__/test_selenium.cpython-310-pytest-7.1.2.pyc
create mode 100644 src/test/python/test_add_to_cart.py
create mode 100644 src/test/resources/data.sql
create mode 100644 src/test/resources/schema.sql
create mode 100644 target/classes/META-INF/build-info.properties
create mode 100644 target/classes/application-dev.yml
create mode 100644 target/classes/application-test.yml
create mode 100644 target/classes/application.yml
create mode 100644 target/classes/com/microfocus/example/Application.class
create mode 100644 target/classes/com/microfocus/example/ServletInitializer.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiMessageController.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiOrderController.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiProductController.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiReviewController.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiRoleController.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiSiteController$SiteStatus.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiSiteController.class
create mode 100644 target/classes/com/microfocus/example/api/controllers/ApiUserController.class
create mode 100644 target/classes/com/microfocus/example/api/utils/ApiUtil.class
create mode 100644 target/classes/com/microfocus/example/config/CorsConfiguration.class
create mode 100644 target/classes/com/microfocus/example/config/CustomMessageSourceConfiguration.class
create mode 100644 target/classes/com/microfocus/example/config/FaviconConfiguration.class
create mode 100644 target/classes/com/microfocus/example/config/LocaleConfiguration.class
create mode 100644 target/classes/com/microfocus/example/config/OpenApi30Configuration.class
create mode 100644 target/classes/com/microfocus/example/config/StorageProperties.class
create mode 100644 target/classes/com/microfocus/example/config/WebConfigConfiguration.class
create mode 100644 target/classes/com/microfocus/example/config/WebSecurityConfiguration$ApiConfigurationAdapter.class
create mode 100644 target/classes/com/microfocus/example/config/WebSecurityConfiguration$UserConfigurationAdapter.class
create mode 100644 target/classes/com/microfocus/example/config/WebSecurityConfiguration.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/ApiAccessDeniedHandler.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/AuthenticationEntryPointJwt.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/AuthenticationTokenFilter.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/BasicAuthenticationEntryPointCustom.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/CustomAuthenticationSuccessHandler.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/GlobalExceptionHandler.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/GlobalRestExceptionHandler.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/HttpMethodOverrideHeaderFilter$HttpMethodRequestWrapper.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/HttpMethodOverrideHeaderFilter.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/LoggingAccessDeniedHandler.class
create mode 100644 target/classes/com/microfocus/example/config/handlers/UrlAuthenticationSuccessHandler.class
create mode 100644 target/classes/com/microfocus/example/entity/Authority.class
create mode 100644 target/classes/com/microfocus/example/entity/AuthorityType.class
create mode 100644 target/classes/com/microfocus/example/entity/CustomUserDetails.class
create mode 100644 target/classes/com/microfocus/example/entity/Message.class
create mode 100644 target/classes/com/microfocus/example/entity/Order.class
create mode 100644 target/classes/com/microfocus/example/entity/Product.class
create mode 100644 target/classes/com/microfocus/example/entity/RefreshToken.class
create mode 100644 target/classes/com/microfocus/example/entity/Review.class
create mode 100644 target/classes/com/microfocus/example/entity/User.class
create mode 100644 target/classes/com/microfocus/example/entity/Verification.class
create mode 100644 target/classes/com/microfocus/example/exception/ApiBadCredentialsException.class
create mode 100644 target/classes/com/microfocus/example/exception/ApiRefreshTokenException.class
create mode 100644 target/classes/com/microfocus/example/exception/BackupException.class
create mode 100644 target/classes/com/microfocus/example/exception/CustomRestServiceException.class
create mode 100644 target/classes/com/microfocus/example/exception/EmailAddressTakenException.class
create mode 100644 target/classes/com/microfocus/example/exception/InvalidPasswordException.class
create mode 100644 target/classes/com/microfocus/example/exception/MessageNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/NotAuthorisedException.class
create mode 100644 target/classes/com/microfocus/example/exception/OrderNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/ProductNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/ReviewNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/RoleNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/ServerErrorException.class
create mode 100644 target/classes/com/microfocus/example/exception/StorageException.class
create mode 100644 target/classes/com/microfocus/example/exception/StorageFileNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/UserLockedOutException.class
create mode 100644 target/classes/com/microfocus/example/exception/UserNotFoundException.class
create mode 100644 target/classes/com/microfocus/example/exception/UsernameTakenException.class
create mode 100644 target/classes/com/microfocus/example/payload/request/LoginRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/MessageRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/OrderRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/ProductRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/RefreshTokenRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/RegisterUserRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/ReviewRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/SubscribeUserRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/request/UserRequest.class
create mode 100644 target/classes/com/microfocus/example/payload/response/ApiStatusResponse$ApiResponseBuilder.class
create mode 100644 target/classes/com/microfocus/example/payload/response/ApiStatusResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/JwtResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/MessageResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/OrderResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/ProductResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/RefreshTokenResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/RegisterUserResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/ReviewResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/SubscribeUserResponse.class
create mode 100644 target/classes/com/microfocus/example/payload/response/UserResponse.class
create mode 100644 target/classes/com/microfocus/example/repository/MessageRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/MessageRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/MessageRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/MessageRepositoryImpl.class
create mode 100644 target/classes/com/microfocus/example/repository/OrderRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/OrderRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/OrderRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/OrderRepositoryImpl.class
create mode 100644 target/classes/com/microfocus/example/repository/ProductRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/RefreshTokenRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/RefreshTokenRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/RefreshTokenRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/RefreshTokenRepositoryImpl.class
create mode 100644 target/classes/com/microfocus/example/repository/ReviewRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/ReviewRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/ReviewRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/ReviewRepositoryImpl.class
create mode 100644 target/classes/com/microfocus/example/repository/RoleRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/RoleRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/RoleRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/RoleRepositoryImpl.class
create mode 100644 target/classes/com/microfocus/example/repository/UserRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/UserRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/UserRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/UserRepositoryImpl$1.class
create mode 100644 target/classes/com/microfocus/example/repository/UserRepositoryImpl.class
create mode 100644 target/classes/com/microfocus/example/repository/VerificationRepository.class
create mode 100644 target/classes/com/microfocus/example/repository/VerificationRepositoryBasic.class
create mode 100644 target/classes/com/microfocus/example/repository/VerificationRepositoryCustom.class
create mode 100644 target/classes/com/microfocus/example/repository/mapper/ProductMapper.class
create mode 100644 target/classes/com/microfocus/example/service/CustomUserDetailsService.class
create mode 100644 target/classes/com/microfocus/example/service/FileSystemStorageService.class
create mode 100644 target/classes/com/microfocus/example/service/ProductService.class
create mode 100644 target/classes/com/microfocus/example/service/RefreshTokenService.class
create mode 100644 target/classes/com/microfocus/example/service/StorageService.class
create mode 100644 target/classes/com/microfocus/example/service/UserService.class
create mode 100644 target/classes/com/microfocus/example/utils/AdminUtils.class
create mode 100644 target/classes/com/microfocus/example/utils/EncryptedPasswordUtils.class
create mode 100644 target/classes/com/microfocus/example/utils/JwtUtils.class
create mode 100644 target/classes/com/microfocus/example/utils/UserUtils.class
create mode 100644 target/classes/com/microfocus/example/utils/WebUtils.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/AbstractBaseController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/CartController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/CustomErrorController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/DefaultController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/ProductController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/UserController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/admin/AdminDefaultController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/admin/AdminMessageController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/admin/AdminOrderController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/admin/AdminProductController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/admin/AdminReviewController.class
create mode 100644 target/classes/com/microfocus/example/web/controllers/admin/AdminUserController.class
create mode 100644 target/classes/com/microfocus/example/web/form/MessageForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/OrderForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/PasswordForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/ProductForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/RegisterUserForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/UploadForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/UserForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminNewProductForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminNewUserForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminOrderForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminPasswordForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminProductForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminReviewForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/AdminUserForm.class
create mode 100644 target/classes/com/microfocus/example/web/form/admin/BackupForm.class
create mode 100644 target/classes/com/microfocus/example/web/validation/PasswordConstraintValidator.class
create mode 100644 target/classes/com/microfocus/example/web/validation/ValidPassword.class
create mode 100644 target/classes/data.sql
create mode 100644 target/classes/invalid-password-list.txt
create mode 100644 target/classes/messages.properties
create mode 100644 target/classes/schema.sql
create mode 100644 target/classes/site-message.txt
create mode 100644 target/classes/static/README.md
create mode 100644 target/classes/static/css/app.css
create mode 100644 target/classes/static/css/icomoon/fonts/icomoon.eot
create mode 100644 target/classes/static/css/icomoon/fonts/icomoon.svg
create mode 100644 target/classes/static/css/icomoon/fonts/icomoon.ttf
create mode 100644 target/classes/static/css/icomoon/fonts/icomoon.woff
create mode 100644 target/classes/static/css/icomoon/style.css
create mode 100644 target/classes/static/css/owl.carousel.min.css
create mode 100644 target/classes/static/css/owl.theme.default.min.css
create mode 100644 target/classes/static/css/star-rating-theme.min.css
create mode 100644 target/classes/static/css/star-rating.min.css
create mode 100644 target/classes/static/debug.txt
create mode 100644 target/classes/static/img/awaiting-image-sm.png
create mode 100644 target/classes/static/img/awaiting-image.png
create mode 100644 target/classes/static/img/bg_1.jpg
create mode 100644 target/classes/static/img/bg_2.jpg
create mode 100644 target/classes/static/img/favicons/favicon.ico
create mode 100644 target/classes/static/img/favicons/favicon.png
create mode 100644 target/classes/static/img/favicons/favicon_whitebg.png
create mode 100644 target/classes/static/img/hero_1.jpg
create mode 100644 target/classes/static/img/home_hero_1.jpg
create mode 100644 target/classes/static/img/home_hero_1a.jpg
create mode 100644 target/classes/static/img/login_logo.png
create mode 100644 target/classes/static/img/login_logo_whitebg.png
create mode 100644 target/classes/static/img/logo.png
create mode 100644 target/classes/static/img/mf_logo.png
create mode 100644 target/classes/static/img/mf_logomark_black_lrg.png
create mode 100644 target/classes/static/img/mf_logomark_black_small.png
create mode 100644 target/classes/static/img/mf_logomark_blue_med.png
create mode 100644 target/classes/static/img/mf_logomark_white_lrg.png
create mode 100644 target/classes/static/img/mf_logomark_white_small.png
create mode 100644 target/classes/static/img/person_1.jpg
create mode 100644 target/classes/static/img/person_2.jpg
create mode 100644 target/classes/static/img/person_3.jpg
create mode 100644 target/classes/static/img/person_4.jpg
create mode 100644 target/classes/static/img/person_5.jpg
create mode 100644 target/classes/static/img/pexels-background-1.jpg
create mode 100644 target/classes/static/img/pexels-photo-1.jpg
create mode 100644 target/classes/static/img/pexels-photo-2.jpg
create mode 100644 target/classes/static/img/pexels-photo-3.jpg
create mode 100644 target/classes/static/img/pexels-photo-4.jpg
create mode 100644 target/classes/static/img/pexels-photo-hero.jpg
create mode 100644 target/classes/static/img/pexels-photo-large-1.jpg
create mode 100644 target/classes/static/img/pexels-photo-large-2.jpg
create mode 100644 target/classes/static/img/pexels-photo-large-3.jpg
create mode 100644 target/classes/static/img/products/generic-product-1.jpg
create mode 100644 target/classes/static/img/products/generic-product-10.jpg
create mode 100644 target/classes/static/img/products/generic-product-11.jpg
create mode 100644 target/classes/static/img/products/generic-product-12.jpg
create mode 100644 target/classes/static/img/products/generic-product-2.jpg
create mode 100644 target/classes/static/img/products/generic-product-3.jpg
create mode 100644 target/classes/static/img/products/generic-product-4.jpg
create mode 100644 target/classes/static/img/products/generic-product-5.jpg
create mode 100644 target/classes/static/img/products/generic-product-6.jpg
create mode 100644 target/classes/static/img/products/generic-product-7.jpg
create mode 100644 target/classes/static/img/products/generic-product-8.jpg
create mode 100644 target/classes/static/img/products/generic-product-9.jpg
create mode 100644 target/classes/static/img/sale.png
create mode 100644 target/classes/static/index.old
create mode 100644 target/classes/static/js/app.js
create mode 100644 target/classes/static/js/components/Cart.js
create mode 100644 target/classes/static/js/components/CartAdd.js
create mode 100644 target/classes/static/js/components/CartCount.js
create mode 100644 target/classes/static/js/components/CartSummary.js
create mode 100644 target/classes/static/js/components/CheckUsername.js
create mode 100644 target/classes/static/js/components/NewProducts.js
create mode 100644 target/classes/static/js/components/OrderSummary.js
create mode 100644 target/classes/static/js/components/ProductReviews.js
create mode 100644 target/classes/static/js/components/SubscribeNewsletter.js
create mode 100644 target/classes/static/js/components/UnreadMessageCount.js
create mode 100644 target/classes/static/js/lib/Chart.min.js
create mode 100644 target/classes/static/js/lib/moment.min.js
create mode 100644 target/classes/static/js/lib/owl.carousel.min.js
create mode 100644 target/classes/static/js/lib/popper.min.js
create mode 100644 target/classes/templates/admin/backdoor.html
create mode 100644 target/classes/templates/admin/backup.html
create mode 100644 target/classes/templates/admin/dashboard.html
create mode 100644 target/classes/templates/admin/diagnostics.html
create mode 100644 target/classes/templates/admin/messages/index.html
create mode 100644 target/classes/templates/admin/messages/view.html
create mode 100644 target/classes/templates/admin/orders/delete.html
create mode 100644 target/classes/templates/admin/orders/edit.html
create mode 100644 target/classes/templates/admin/orders/index.html
create mode 100644 target/classes/templates/admin/orders/view.html
create mode 100644 target/classes/templates/admin/products/add.html
create mode 100644 target/classes/templates/admin/products/delete.html
create mode 100644 target/classes/templates/admin/products/edit.html
create mode 100644 target/classes/templates/admin/products/index.html
create mode 100644 target/classes/templates/admin/products/view.html
create mode 100644 target/classes/templates/admin/reviews/index.html
create mode 100644 target/classes/templates/admin/reviews/view.html
create mode 100644 target/classes/templates/admin/users/add.html
create mode 100644 target/classes/templates/admin/users/change-password.html
create mode 100644 target/classes/templates/admin/users/delete.html
create mode 100644 target/classes/templates/admin/users/edit.html
create mode 100644 target/classes/templates/admin/users/index.html
create mode 100644 target/classes/templates/admin/users/view.html
create mode 100644 target/classes/templates/advice.html
create mode 100644 target/classes/templates/cart/checkout.html
create mode 100644 target/classes/templates/cart/confirm.html
create mode 100644 target/classes/templates/cart/index.html
create mode 100644 target/classes/templates/error.html
create mode 100644 target/classes/templates/error/403-access-denied.html
create mode 100644 target/classes/templates/error/404-not-found.html
create mode 100644 target/classes/templates/error/500-internal-error.html
create mode 100644 target/classes/templates/error/default.html
create mode 100644 target/classes/templates/error/not-implemented.html
create mode 100644 target/classes/templates/fragments/admin-menu.html
create mode 100644 target/classes/templates/fragments/country-selector.html
create mode 100644 target/classes/templates/fragments/footer.html
create mode 100644 target/classes/templates/fragments/header.html
create mode 100644 target/classes/templates/fragments/layout.html
create mode 100644 target/classes/templates/fragments/secondary-bg.html
create mode 100644 target/classes/templates/fragments/user-menu.html
create mode 100644 target/classes/templates/index.html
create mode 100644 target/classes/templates/login.html
create mode 100644 target/classes/templates/prescriptions.html
create mode 100644 target/classes/templates/products/firstaid.html
create mode 100644 target/classes/templates/products/index.html
create mode 100644 target/classes/templates/products/not-found.html
create mode 100644 target/classes/templates/products/view.html
create mode 100644 target/classes/templates/services.html
create mode 100644 target/classes/templates/user/change-password.html
create mode 100644 target/classes/templates/user/command-shell.html
create mode 100644 target/classes/templates/user/download-file.html
create mode 100644 target/classes/templates/user/edit-profile.html
create mode 100644 target/classes/templates/user/home.html
create mode 100644 target/classes/templates/user/log.html
create mode 100644 target/classes/templates/user/messages/access-denied.html
create mode 100644 target/classes/templates/user/messages/index.html
create mode 100644 target/classes/templates/user/messages/not-found.html
create mode 100644 target/classes/templates/user/messages/view.html
create mode 100644 target/classes/templates/user/not-found.html
create mode 100644 target/classes/templates/user/orders/access-denied.html
create mode 100644 target/classes/templates/user/orders/index.html
create mode 100644 target/classes/templates/user/orders/not-found.html
create mode 100644 target/classes/templates/user/orders/view.html
create mode 100644 target/classes/templates/user/profile.html
create mode 100644 target/classes/templates/user/register.html
create mode 100644 target/classes/templates/user/ssrf.html
create mode 100644 target/classes/templates/user/upload-file.html
create mode 100644 target/classes/templates/user/upload-xml-file.html
create mode 100644 target/classes/templates/verify.html
create mode 100644 target/classes/templates/vulnerabilities.html
create mode 100644 target/test-classes/com/microfocus/example/BaseIntegrationTest.class
create mode 100644 target/test-classes/com/microfocus/example/BaseSeleniumTest.class
create mode 100644 target/test-classes/com/microfocus/example/DataSeeder.class
create mode 100644 target/test-classes/com/microfocus/example/misc/BaseTest.class
create mode 100644 target/test-classes/com/microfocus/example/misc/MoreTest.class
create mode 100644 target/test-classes/com/microfocus/example/misc/SomeTest.class
create mode 100644 target/test-classes/com/microfocus/example/repository/MessageRepositoryTest.class
create mode 100644 target/test-classes/com/microfocus/example/repository/OrderRepositoryTest.class
create mode 100644 target/test-classes/com/microfocus/example/repository/ProductRepositoryTest.class
create mode 100644 target/test-classes/com/microfocus/example/repository/RefreshTokenRepositoryTest.class
create mode 100644 target/test-classes/com/microfocus/example/repository/ReviewRepositoryTest.class
create mode 100644 target/test-classes/com/microfocus/example/repository/UserRepositoryTest.class
create mode 100644 target/test-classes/com/microfocus/example/service/ProductServiceTest.class
create mode 100644 target/test-classes/com/microfocus/example/service/UserServiceTest.class
create mode 100644 target/test-classes/com/microfocus/example/web/DefaultControllerTest.class
create mode 100644 target/test-classes/com/microfocus/example/web/validation/ChangePasswordControllerTest.class
create mode 100644 target/test-classes/com/microfocus/example/web/validation/PasswordConstraintValidatorTest.class
create mode 100644 target/test-classes/data.sql
create mode 100644 target/test-classes/schema.sql
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..179a245
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,31 @@
+FROM openjdk:8-jdk-slim
+
+LABEL maintainer="kevin.lee@microfocus.com"
+
+# Add a volume pointing to /tmp
+VOLUME /tmp
+
+# Make port 8080 available to the world outside this container
+EXPOSE 8080
+
+# Location of WebInspect RuntTime Agent - comment out if not required
+#ARG WI_AGENT_DIR=/installs/Fortify_WebInspect_Runtime_Agent_Java_21.3.1/
+
+# The application's jar file
+ARG JAR_FILE=target/iwa.jar
+
+# Copy Fortify WebInspect Runtime Agent directory to the container - comment out if not required
+#COPY ${WI_AGENT_DIR} /wirtagent
+
+# Copy the application's jar to the container
+COPY ${JAR_FILE} app.jar
+
+# JAVA_OPTS to be passed in
+ENV JAVA_OPTS="-Xmx512m -Xss256k"
+
+# Run the jar file
+# Uncomment if not using WebInspect Agent
+ENTRYPOINT ["java","-jar","/app.jar"]
+# Comment out if not using WebInspect Agent
+#ENTRYPOINT ["java","-javaagent:/wirtagent/lib/FortifyAgent.jar","-jar","/app.jar"]
+
diff --git a/Dockerfile.win b/Dockerfile.win
new file mode 100644
index 0000000..46ff8c7
--- /dev/null
+++ b/Dockerfile.win
@@ -0,0 +1,30 @@
+FROM openjdk:8-nanoserver-1809
+
+LABEL maintainer="kevin.lee@microfocus.com"
+
+# Add a volume pointing to C:\Data
+VOLUME C:\\data
+
+# Make port 8080 available to the world outside this container
+EXPOSE 8080
+
+# Location of WebInspect RuntTime Agent - comment out if not required
+#ARG WI_AGENT_DIR=/installs/Fortify_WebInspect_Runtime_Agent_Java_21.3.1/
+
+# The application's jar file
+ARG JAR_FILE=target/iwa.jar
+
+# Copy Fortify WebInspect Runtime Agent directory to the container - comment out if not required
+#COPY ${WI_AGENT_DIR} /wirtagent
+
+# Copy the application's jar to the container
+COPY ${JAR_FILE} app.jar
+
+# JAVA_OPTS to be passed in
+ENV JAVA_OPTS="-Xmx512m -Xss256k"
+
+# Run the jar file
+# Uncomment if not using WebInspect Agent
+ENTRYPOINT ["cmd","/c","java -jar C:\\app.jar"]
+# Comment out if using WebInspect Agent
+#ENTRYPOINT ["cmd","/c","java -javaagent:C:\\wirtagent\\lib\\FortifyAgent.jar -jar C:\\app.jar"]
diff --git a/EXPLOITS.md b/EXPLOITS.md
new file mode 100644
index 0000000..740d0f8
--- /dev/null
+++ b/EXPLOITS.md
@@ -0,0 +1,108 @@
+# fortifydemoapps
+
+## A01:2021-Broken Access Control
+### /user/files/download/unverified - file parameter (below steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter `12345` as the OTP
+ 4. Click `Download Files` menu from the user home page.
+ 5. Enter `c:\\windows\\system.ini` and `Submit`.
+ 6. Browser will prompt to keep or discard the `system.ini` file which is being downloaded
+ 7. Let us try another method to re-run the same exploit.
+ 8. Open new browser tab
+ 9. Enter `http://localhost:8080//user/files/download/unverified?file=../../../../../../windows/system.ini`
+ 10. Browser will prompt to keep or discard the `system.ini` file which is being downloaded
+ 11. Any `*secret and sensitive files*` can be downloaded using this exploit.
+
+## A03:2021 Injection - SQL Injection
+### /Products - search textbox ( below Steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter `12345` as the OTP
+ 3. Hover on the username on the right top of the screen next to Search glass icon.
+ 4. Note that the drop-down menu contains Home, API Explorer and Logout
+ 5. Click on the SHOP menu
+ 6. List of available products will be displayed
+ 5. In the search textbox, enter **'; INSERT INTO user_authorities (authority_id, user_id) VALUES ('05970e74-c82b-4e21-b100-f8184d6e3454', '32e7db01-86bc-4687-9ecb-d79b265ac14f') -- **
+ 6. Click search icon
+ 7. A message such as `Searching for: '; INSERT INTO user_authorities (authority_id, user_id) VALUES ('05970e74-c82b-4e21-b100-f8184d6e3454', '32e7db01-86bc-4687-9ecb-d79b265ac14f') --` will be shown.
+ 6. Log Out from existing session
+ 7. Login again with above user credentials
+ 8. repeat steps 3.
+ 9. Now, the username dropdown on the right top of the screen will show: `Site Administration` and `Database Console` apart from the three menu items shown earlier
+ 10. user1 has become an admin and can do anything - including adding products, canceling orders, removing users etc.
+
+## A03:2021 Injection - Cross site scripting (Reflected)
+### /products/xss - search textbox ( below Steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Go to SHOP -> Health & Well being -> First Aid menu
+ 3. In the search textbox, enter ****
+ 4. Click search
+ 5. Script in the search-term gets executed and exposes the vulnerability
+
+## A04:2021-Insecure Design
+### /user/log - val parameter (below steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Click on SHOP
+ 3. In the search textbox, enter *test'*
+ 4. Click search
+ 5. An error page with full stacktrace is shown. Stacktrace shows the entire SQL command used exposing sensitive information like column and table names.
+
+## A05:2021 Security Misconfiguration - XML External Entity (XXE)
+### /user/files/upload-xml - File Content textarea (below Steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter 12345 as the OTP
+ 4. Click `Upload XML Files` menu from the user home page.
+ 5. Upload any xml file by clicking on `Choose File` and `Submit`.
+ 4. Once you file uploaded successfully, you will be able to see the `file` and its `content`.
+ 5. Replace the content with ` ]>John&example;`
+ 6. click on the `Save` link below the content box. This should reflect the executed xml with last name as "Doe"
+ 7. Let's try another payload.
+ 8. Follow Steps 3-5 using different xml file.
+ 9. Replace content with **]>&myExternalEntity;**
+ 10. Now the server hosts file will be shown as the content of updated xml file.
+
+## A06:2021-Vulnerable and Outdated Components (Composition only)
+### /user/command-shell - Command text field (below Steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter 12345 as the OTP
+ 4. Click `Command Shell` menu from the user home page.
+ 5. Enter `cmd /c echo "calc.exe" > C:\\a06-vul-java.bat & C:\\a06-vul-java.bat` in the `Windows Command To Execute` text box.
+ 6. **`a06-vul-java.bat` file will exist, ran successfully and Calc application is opened.**
+
+## A08:2021 – Software and Data Integrity Failures
+### /cart/order - CVE-2020-36518 jackson-databind before 2.13.0 allows a Java StackOverflow exception and denial of service via a large depth of nested objects.
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter `12345` as the OTP
+ 4. Click `SHOP`
+ 5. Click on a product with a *Sale* tag
+ 6. Click on `ADD TO CART` button
+ 7. Click on `BUY NOW` button in the popup
+ 8. Click on `PROCEED TO CHECKOUT` button
+ 9. In the `Order Notes` field enter the following text
+ *[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ]*
+ 10. Click on `PLACE ORDER` button
+ 11. Order placement will fail with *java.lang.StackOverflowError* error
+
+## A09:2021-Security Logging and Monitoring Failures (log forging/static)
+### /products - keywords parameter (below steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter `12345` as the OTP
+ 4. Click `Log Entry` menu from the user home page.
+ 5. Enter `17` as the first line
+ 6. Enter `2022-08-09 02:46:04.136 INFO 2654 --- [nio-8080-exec-3] c.m.e.w.c.UserController : Order payment reversed successfully for user1` as the second line.
+ 7. Click `Submit`.
+ 8. In the web application console (cmd window), `Order payment reversed successfully for user1` would have got logged in a separate line as a valid log entry.
+
+## A10:2021 Server-Side Request Forgery
+### /user/ssrf - url parameter (below steps to validate this vulnerability)
+ 1. Go to Home Page
+ 2. Login as `user1@localhost.com`, password as `password`
+ 3. Enter `12345` as the OTP
+ 4. Click `Load URL` menu from the user home page.
+ 5. Enter `file:///windows/system.ini` and `Submit`.
+ 6. Contents of `C:\windows\system.ini` will be displayed in the `URL Content` area.
diff --git a/IWA_API.subset.postman_collection.json b/IWA_API.subset.postman_collection.json
new file mode 100644
index 0000000..42c9ccf
--- /dev/null
+++ b/IWA_API.subset.postman_collection.json
@@ -0,0 +1,3340 @@
+{
+ "info": {
+ "_postman_id": "c7236a64-d315-4f3b-b726-49a47dcc149a",
+ "name": "Insecure Web App (IWA) API",
+ "description": "This is the REST API for Insecure Web App (IWA) Pharmacy Direct. You can select a development or production server to test the API. Most operations require authentication via a user specific JWT token. To retrieve a JWT token for a user you can use the '/authentication/sign-in' operation below and then copy the value of the 'accessToken' field. This value can then be entered when you click on the 'Authorize' button or lock icons.",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
+ "_exporter_id": "9630190"
+ },
+ "item": [
+ {
+ "name": "api/v3",
+ "item": [
+ {
+ "name": "reviews",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find review by Id",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find a review by UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"96ab576c-c0ba-aa28-9bbc-2dc6e1f8c9ef\",\n \"product\": {\n \"id\": \"urn:uuid:0547300f-940e-0db3-df53-a92215b455ba\",\n \"code\": \"consectetur consequat officia quis\",\n \"name\": \"cupidatat\",\n \"summary\": \"magna\",\n \"description\": \"veniam anim amet\",\n \"image\": \"minim amet nisi\",\n \"price\": -25610873.854361802,\n \"onSale\": false,\n \"salePrice\": 39954746.859428346,\n \"inStock\": false,\n \"timeToStock\": -81956499,\n \"rating\": -24039134,\n \"available\": true\n },\n \"user\": {\n \"id\": \"1994beb5-b4ba-261c-df92-83fb7fe5a1e4\",\n \"username\": \"nulla anim ut\",\n \"firstName\": \"veniam velit deserunt aliquip\",\n \"lastName\": \"est veniam reprehenderit sint\",\n \"email\": \"est velit nostrud sint\",\n \"phone\": \"qui reprehenderit aute irure\",\n \"address\": \"dolor minim\",\n \"city\": \"minim\",\n \"state\": \"ullamco\",\n \"zip\": \"occaecat laboris\",\n \"country\": \"sit magna quis\",\n \"enabled\": true\n },\n \"reviewDate\": \"1971-01-13T01:17:05.090Z\",\n \"comment\": \"occaecat labore velit\",\n \"rating\": -63362603\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Review Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update an review",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update an existing review"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"96ab576c-c0ba-aa28-9bbc-2dc6e1f8c9ef\",\n \"product\": {\n \"id\": \"urn:uuid:0547300f-940e-0db3-df53-a92215b455ba\",\n \"code\": \"consectetur consequat officia quis\",\n \"name\": \"cupidatat\",\n \"summary\": \"magna\",\n \"description\": \"veniam anim amet\",\n \"image\": \"minim amet nisi\",\n \"price\": -25610873.854361802,\n \"onSale\": false,\n \"salePrice\": 39954746.859428346,\n \"inStock\": false,\n \"timeToStock\": -81956499,\n \"rating\": -24039134,\n \"available\": true\n },\n \"user\": {\n \"id\": \"1994beb5-b4ba-261c-df92-83fb7fe5a1e4\",\n \"username\": \"nulla anim ut\",\n \"firstName\": \"veniam velit deserunt aliquip\",\n \"lastName\": \"est veniam reprehenderit sint\",\n \"email\": \"est velit nostrud sint\",\n \"phone\": \"qui reprehenderit aute irure\",\n \"address\": \"dolor minim\",\n \"city\": \"minim\",\n \"state\": \"ullamco\",\n \"zip\": \"occaecat laboris\",\n \"country\": \"sit magna quis\",\n \"enabled\": true\n },\n \"reviewDate\": \"1971-01-13T01:17:05.090Z\",\n \"comment\": \"occaecat labore velit\",\n \"rating\": -63362603\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Review Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a review",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete an review"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Review Not Found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Find reviews by product and keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "UUID of the product to find reviews for."
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for reviews to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Product and keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"id\": \"372c0b93-c1d9-7776-18f9-5159d049516e\",\n \"code\": \"qui id\",\n \"name\": \"ex enim voluptate\",\n \"summary\": \"Duis ullamco quis aute\",\n \"description\": \"id in in\",\n \"image\": \"ullamco laboris in\",\n \"price\": -27913647.199027598,\n \"onSale\": true,\n \"salePrice\": 7322939.265867442,\n \"inStock\": false,\n \"timeToStock\": -83974172,\n \"rating\": 19487882,\n \"available\": true\n },\n {\n \"id\": \"6f7601d2-c7af-244f-2dd3-4175a1243416\",\n \"code\": \"irure consequat do eu\",\n \"name\": \"dolor\",\n \"summary\": \"Lorem esse\",\n \"description\": \"anim dolore in\",\n \"image\": \"officia enim occaecat reprehenderit cupidatat\",\n \"price\": 84333309.66977769,\n \"onSale\": true,\n \"salePrice\": -66026868.59564058,\n \"inStock\": true,\n \"timeToStock\": 75635255,\n \"rating\": 42086492,\n \"available\": true\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new review",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new review"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"96ab576c-c0ba-aa28-9bbc-2dc6e1f8c9ef\",\n \"product\": {\n \"id\": \"urn:uuid:0547300f-940e-0db3-df53-a92215b455ba\",\n \"code\": \"consectetur consequat officia quis\",\n \"name\": \"cupidatat\",\n \"summary\": \"magna\",\n \"description\": \"veniam anim amet\",\n \"image\": \"minim amet nisi\",\n \"price\": -25610873.854361802,\n \"onSale\": false,\n \"salePrice\": 39954746.859428346,\n \"inStock\": false,\n \"timeToStock\": -81956499,\n \"rating\": -24039134,\n \"available\": true\n },\n \"user\": {\n \"id\": \"1994beb5-b4ba-261c-df92-83fb7fe5a1e4\",\n \"username\": \"nulla anim ut\",\n \"firstName\": \"veniam velit deserunt aliquip\",\n \"lastName\": \"est veniam reprehenderit sint\",\n \"email\": \"est velit nostrud sint\",\n \"phone\": \"qui reprehenderit aute irure\",\n \"address\": \"dolor minim\",\n \"city\": \"minim\",\n \"state\": \"ullamco\",\n \"zip\": \"occaecat laboris\",\n \"country\": \"sit magna quis\",\n \"enabled\": true\n },\n \"reviewDate\": \"1971-01-13T01:17:05.090Z\",\n \"comment\": \"occaecat labore velit\",\n \"rating\": -63362603\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Review Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "site",
+ "item": [
+ {
+ "name": "Check if username is taken",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Check if a user with the specified username already exists in the site"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"paria\",\n \"firstName\": \"voluptate ut Ut est\",\n \"lastName\": \"cupidatat inc\",\n \"phone\": \"77494218\",\n \"username\": \"nzu00\",\n \"id\": \"459e4949-9495-0287-2a5b-8275f7fa2056\",\n \"address\": \"Duis cillum\",\n \"city\": \"exercitation culpa est\",\n \"state\": \"officia commodo est magna Lorem\",\n \"zip\": \"ut\",\n \"country\": \"sint in\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:69dab483-422a-ef21-a008-64fe6e9eabea\",\n \"name\": \"ROLE_API\"\n },\n {\n \"id\": \"urn:uuid:05e4dcc3-6ce8-593f-2169-8a2009642443\",\n \"name\": \"ROLE_API\"\n }\n ],\n \"enabled\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Check if email exists",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Check if a user with the specified email address already exists in the site"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Register a new user",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Register a new user with the site"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"username\": \"nostrud mollit officia non\",\n \"password\": \"commodo voluptate Duis nostrud\",\n \"firstName\": \"do laboris ullamco\",\n \"lastName\": \"ullamco in ea\",\n \"email\": \"elit tem\",\n \"phone\": \"culpa proid\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Subscribe a new user",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Subscribe a new user to the newsletter"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Sign in",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Sign in to the system"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Get the site status",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/status",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "status"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Get the site message of the day"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/status",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "status"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"health\": \"anim aute eu pariatu\",\n \"motd\": \"voluptate magna\"\n },\n {\n \"health\": \"occaecat Ut c\",\n \"motd\": \"culpa ut aliqua aliquip nostrud\"\n }\n]"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/status",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "status"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "https",
+ "type": "any",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "iwa.onfortify.com",
+ "type": "any",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ },
+ {
+ "key": "baseUrl",
+ "value": "{{protocol}}://{{environment}}",
+ "type": "string"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..f288702
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..09f1866
--- /dev/null
+++ b/README.md
@@ -0,0 +1,104 @@
+# IWA (Insecure Web App) Java Edition
+
+## Overview
+
+_IWA (Insecure Web App) Java Edition_ is an example Java/Spring Web Application for use in **DevSecOps** scenarios and demonstrations.
+It includes some examples of bad and insecure code - which can be found using static and dynamic application
+security testing tools such as those provided by [Micro Focus Fortify](https://www.microfocus.com/en-us/cyberres/application-security).
+
+The application is intended to provide the functionality of a typical "online pharmacy", including purchasing Products (medication)
+and requesting Services (prescriptions, health checks etc). It has a modern-ish HTML front end (with some JavaScript) and a Swagger based API.
+
+*Please note: the application should not be used in a production environment!*
+
+## Forking the Repository
+
+In order to execute example scenarios for yourself it is recommended that you "fork" a copy of this repository into
+your own GitHub account. The process of "forking" is described in detail in the [GitHub documentation](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) - you can start the process by clicking on the "Fork" button at the top right.
+
+## Building the Application
+
+To build the application, execute the following from the command line:
+
+```
+mvn clean package
+```
+
+This will create a JAR file (called `iwa.jar`) in the `target` directory.
+
+To build a WAR file for deployment to an application server such as [Apache Tomcat](http://tomcat.apache.org/)
+execute the following:
+
+```
+mvn -Pwar clean package
+```
+
+This will create a WAR file (called `iwa.war`) in the `target` directory.
+
+## Running the Application
+
+### Development (IDE/command line)
+
+To run (and test) locally in development mode, execute the following from the command line:
+
+```
+mvn spring-boot:run
+```
+
+### Release (Docker Image)
+
+The JAR file can be built into a [Docker](https://www.docker.com/) image using the provided `Dockerfile` and the
+following commands:
+
+```
+mvn -Pjar clean package
+docker build -t iwa -f Dockerfile .
+```
+
+or on Windows:
+
+```
+mvn -Pjar clean package
+docker build -t iwa -f Dockerfile.win .
+```
+
+This image can then be executed using the following commands:
+
+```
+docker run -d -p 8888:8080 iwa
+```
+
+## Using the Application
+
+To use the application navigate to the URL: [http://localhost:8888](http://localhost:8888). You can carry out a number of
+actions unauthenticated, but if you want to login you can do so as one of the following users:
+
+- **user1@localhost.com/password**
+- **user2@localhost.com/password**
+
+There is also an administrative user:
+
+- **admin@localhost.com/password**
+
+Upon login, you will be subsequently asked for a Multi-Factor Authentication (MFA) code. This functionality
+is not yet enabled and you can enter anything here, e.g. `12345`.
+
+### REST APIs
+To run (and test) locally in development mode, Go to Home Page -> My Account -> API Explorer OR
+use the following URL: [http://localhost:8888/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config](http://localhost:8888/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config)
+
+### API Authentication
+every API endpoint is behind authenitcation and thus require to authenticate with JWT Token before pro
+Go To "Site" Operations and expand on :
+```
+/api/v3/site/sign-in
+```
+Click "Try it Out" button, provide administrative username and password mentioned above and hit "Execute" button.
+
+Copy the "accessToken" value from response and paste into Swagger Authorization (padlock) icon.
+
+Now, go ahead and try the API methods.
+
+## Licensing
+
+This application is made available under the [GNU General Public License V3](LICENSE)
diff --git a/appspec.yml b/appspec.yml
new file mode 100644
index 0000000..90eb1b6
--- /dev/null
+++ b/appspec.yml
@@ -0,0 +1,37 @@
+version: 0.0
+os: linux
+files:
+- source: target/iwa.war
+ destination: /home/ec2-user/javaapp
+- source: /scripts/requirements.txt
+ destination: /home/ec2-user/scripts
+hooks:
+ AfterInstall:
+ - location: scripts/install_python3
+ timeout: 300
+ runas: root
+ - location: scripts/codestar_remote_access
+ timeout: 300
+ runas: root
+ - location: scripts/install_java
+ timeout: 300
+ runas: root
+ - location: scripts/install_tomcat
+ timeout: 300
+ runas: root
+ - location: scripts/install_httpd
+ timeout: 300
+ runas: root
+ ApplicationStart:
+ - location: scripts/start_server
+ timeout: 300
+ runas: root
+ ValidateService:
+ - location: devops-integrations/aws/fortify_dast_scancentral.bash
+ timeout: 500
+ runas: root
+ ApplicationStop:
+ - location: scripts/stop_server
+ timeout: 300
+ runas: root
+
diff --git a/build_spec.yaml b/build_spec.yaml
new file mode 100644
index 0000000..d784fe8
--- /dev/null
+++ b/build_spec.yaml
@@ -0,0 +1,77 @@
+version: 0.1
+component: build
+timeoutInSeconds: 6000
+runAs: root
+shell: bash
+env:
+ # these are local variables to the build config
+ variables:
+ "JAVA_HOME" : "/usr/lib64/graalvm/graalvm-java17"
+ # the value of a vaultVariable is the secret-id (in OCI ID format) stored in the OCI Vault service
+ # you can then access the value of that secret in your build_spec.yaml commands
+ vaultVariables:
+ # Use below variables for FORTIFY ON DEMAND integration
+ FCLI_DEFAULT_FOD_TENANT: ocid1.vaultsecret.oc1.XXXXXXX # TENANT ID
+ FCLI_DEFAULT_FOD_USER: ocid1.vaultsecret.oc1.XXXXXXX # FOD USER KEY
+ FCLI_DEFAULT_FOD_PASSWORD: ocid1.vaultsecret.oc1.XXXXXXX # FOD PAT
+ FCLI_DEFAULT_FOD_URL: ocid.vaultsecret.oc1.XXXXXXX # FOD URL
+ FOD_RELEASE_ID: ocid1.vaultsecret.oc1.XXXXXXX # FOD APPLICATION BASED RELEASE ID
+ # Use below variables for FORTIFY SCANCENTRAL integration
+ FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN: ocid1.vaultsecret.oc1.XXXXXXX # SCANCENTRAL CLIENT AUTH TOKEN FOR HANDSHAKE
+ FCLI_DEFAULT_SSC_USER: ocid1.vaultsecret.oc1.XXXXXXX # SSC USERNAME
+ FCLI_DEFAULT_SSC_PASSWORD: ocid1.vaultsecret.XXXXXXX # SSC PASSWORD
+ FCLI_DEFAULT_SSC_CI_TOKEN: ocid1.vaultsecret.XXXXXXX # SSC CI TOKEN
+ FCLI_DEFAULT_SSC_URL: ocid1.vaultsecret.oc1.XXXXXXX # SSC URL
+ SSC_APP_VERSION_ID: ocid1.vaultsecret.oc1.XXXXXXX # SSC APPLICATION VERSION ID
+
+steps:
+ - type: Command
+ timeoutInSeconds: 600
+ name: "Install Prereqs"
+ command: |
+ java -version
+ yum -y install graalvm-17-native-image
+ export PATH=$JAVA_HOME/bin:$PATH
+
+ #yum install -y java-11-openjdk-devel
+ #alternatives --display java
+ #alternatives --set java /usr/lib/jvm/java-11-openjdk-11.0.18.0.10-1.el7_9.x86_64/bin/java
+ java -version
+ # install Maven
+ #yum install maven
+
+ mvn --version
+
+ onFailure:
+ - type: Command
+ timeoutInSeconds: 40
+ command: |
+ echo "Handling Prereqs Failure"
+ echo "Successfully handled"
+ timeoutInSeconds: 400
+ runAs: root
+
+ - type: Command
+ timeoutInSeconds: 600
+ name: "Fortify SAST"
+ command: |
+
+ ###############################################################
+ # INTEGRATE FORTIFY SAST #
+ # #
+ # For FORTIFY ON DEMAND uncomment the next line #
+ # bash devops-integrations/oci/fortify-sast-fod.bash
+ # #
+ # For FORTIFY SCANCENTRAL uncomment the next line #
+ bash devops-integrations/oci/fortify_sast_scancentral.bash
+ # #
+ # #
+ ###############################################################
+
+ onFailure:
+ - type: Command
+ command: |
+ echo "Handling Failure"
+ echo "Failure successfully handled"
+ timeoutInSeconds: 40
+ runAs: root
\ No newline at end of file
diff --git a/buildspec.yml b/buildspec.yml
new file mode 100644
index 0000000..44353c3
--- /dev/null
+++ b/buildspec.yml
@@ -0,0 +1,50 @@
+version: 0.2
+env:
+ parameter-store:
+ ###############################################################
+ # INTEGRATE FORTIFY ON DEMAND #
+ # FOD_RELEASE_ID_LOCAL: "/fod/releaseid"
+ # FCLI_DEFAULT_FOD_TENANT_LOCAL: "/fod/tenant"
+ # FCLI_DEFAULT_FOD_URL_LOCAL: "/fod/url"
+ # FCLI_DEFAULT_FOD_CLIENT_ID_LOCAL: "/fod/client_id"
+ # FCLI_DEFAULT_FOD_CLIENT_SECRET_LOCAL: "/fod/client_secret"
+ ###############################################################
+ # INTEGRATE FORTIFY SCANCENTRAL #
+ FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN: "/fortify/client_auth_token"
+ FCLI_DEFAULT_SSC_USER: "/fortify/ssc_user"
+ FCLI_DEFAULT_SSC_PASSWORD: "/fortify/ssc_password"
+ FCLI_DEFAULT_SSC_CI_TOKEN: "/fortify/ci_token"
+ FCLI_DEFAULT_SSC_URL: "/fortify/ssc_url"
+ SSC_APP_VERSION_ID: "/fortify/ssc_app_versionid"
+ SSC_IP_LOCAL: "/fortify/ssc_ip"
+phases:
+ install:
+ runtime-versions:
+ java: corretto17
+ commands:
+ # Upgrade AWS CLI to the latest version
+ #- pip install --upgrade awscli
+ pre_build:
+ commands:
+ - mvn clean
+ build:
+ commands:
+ - mvn -Pwar clean package
+ post_build:
+ commands:
+ ###############################################################
+ # INTEGRATE FORTIFY SAST #
+ # #
+ # For FORTIFY ON DEMAND uncomment the next line #
+ #- bash devops-integrations/aws/fortify-sast-fod.bash
+ #- bash devops-integrations/aws/fortify_sast_local_java_template.bash
+ # #
+ # For FORTIFY SCANCENTRAL uncomment the next line #
+ - bash devops-integrations/aws/fortify_sast_scancentral.bash
+ # #
+ # #
+ ###############################################################
+artifacts:
+ files:
+ - 'devops-integrations/aws/*'
+ - 'target/iwa.war'
diff --git a/cloudbuild.yaml b/cloudbuild.yaml
new file mode 100644
index 0000000..5c5425e
--- /dev/null
+++ b/cloudbuild.yaml
@@ -0,0 +1,98 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Google Cloud Build pipeline
+# Please refer to \devops-integrations\gcp\cloudbuild_fortify_sast_fod.yaml to integrate this build with Fortify On Demand
+# The following Google Cloud Build Secrets must be defined before using this job
+# - $$FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+# - $$FCLI_DEFAULT_SSC_USER
+# - $$FCLI_DEFAULT_SSC_PASSWORD
+# - $$FCLI_DEFAULT_SSC_CI_TOKEN
+# - $$FCLI_DEFAULT_SSC_URL
+# - $$SSC_APP_VERSION_ID
+
+steps:
+- name: maven:3.9.7
+ entrypoint: 'mvn'
+ args: ['-q', 'clean', 'package', '-DskipTests']
+
+- name: 'gcr.io/cloud-builders/docker'
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/iwa_java:latest', '-t', 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA', '-t', 'gcr.io/$PROJECT_ID/iwa_java:$BUILD_ID', '.']
+ id: 'build-image-IWAJava'
+
+- name: 'fortifydocker/fortify-ci-tools:5.4.1-jdk-17'
+ entrypoint: bash
+ args:
+ - -c
+ - |
+ echo Setting connection with Fortify Platform
+ fcli ssc session login
+ fcli sc-sast session login
+
+ scancentral package -bt mvn -o package.zip
+ fcli sc-sast scan start --publish-to=$$SSC_APP_VERSION_ID --sensor-version=$$SC_SAST_SENSOR_VERSION --package-file=package.zip --store=Id
+
+ fcli sc-sast scan wait-for ::Id:: --interval=30s
+ fcli ssc issue count --appversion=$$SSC_APP_VERSION_ID
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-sast session logout
+ fcli ssc session logout
+ secretEnv: ['FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN', 'FCLI_DEFAULT_SSC_USER', 'FCLI_DEFAULT_SSC_PASSWORD', 'FCLI_DEFAULT_SSC_CI_TOKEN', 'FCLI_DEFAULT_SSC_URL']
+ env:
+ - 'FORTIFY_IP=${_PUBLIC_IP}'
+ - 'SSC_APP_VERSION_ID=${_SSC_APP_VERSION_ID}'
+ - 'SC_SAST_SENSOR_VERSION=24.2'
+ id: 'fortify-static-scan'
+ waitFor: ['build-image-IWAJava']
+
+- name: 'gcr.io/cloud-builders/docker'
+ args: ['push', 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA']
+ id: 'push-image-to-container-registry'
+
+- name: 'gcr.io/cloud-builders/gcloud'
+ args:
+ - 'run'
+ - 'deploy'
+ - 'iwajava'
+ - '--image'
+ - 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA'
+ - '--region'
+ - 'us-central1'
+ - '--platform'
+ - 'managed'
+ - '--allow-unauthenticated'
+ id: 'deploy-to-cloud-run'
+
+- name: 'fortifydocker/fortify-ci-tools:5.4.1-jdk-17'
+ entrypoint: "bash"
+ args:
+ - "-c"
+ - |
+ echo Setting connection with Fortify Platform
+ fcli ssc session login
+ fcli sc-dast session login
+
+ fcli sc-dast scan start --name=$$SC_DAST_SCAN_NAME --settings=$$SC_DAST_CICD_IDENTIFIER
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-dast session logout
+ fcli ssc session logout
+ secretEnv: ['FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN', 'FCLI_DEFAULT_SSC_USER', 'FCLI_DEFAULT_SSC_PASSWORD', 'FCLI_DEFAULT_SSC_CI_TOKEN', 'FCLI_DEFAULT_SSC_URL']
+ env:
+ - 'FORTIFY_IP=${_PUBLIC_IP}'
+ - 'SC_DAST_CICD_IDENTIFIER=${_SC_DAST_CICD_IDENTIFIER}'
+ - 'SC_DAST_SCAN_NAME=IWA_DAST_GCP'
+availableSecrets:
+ secretManager:
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_sc_sast_client_auth_token/versions/latest
+ env: 'FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_user/versions/latest
+ env: 'FCLI_DEFAULT_SSC_USER'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_password/versions/latest
+ env: 'FCLI_DEFAULT_SSC_PASSWORD'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_ci_token/versions/latest
+ env: 'FCLI_DEFAULT_SSC_CI_TOKEN'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_url/versions/latest
+ env: 'FCLI_DEFAULT_SSC_URL'
+images:
+- 'gcr.io/$PROJECT_ID/iwa_java:latest'
+- 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA'
+- 'gcr.io/$PROJECT_ID/iwa_java:$BUILD_ID'
\ No newline at end of file
diff --git a/devops-integrations/.circleci/config-fortify-dast-scancentral.yml b/devops-integrations/.circleci/config-fortify-dast-scancentral.yml
new file mode 100644
index 0000000..afffdb2
--- /dev/null
+++ b/devops-integrations/.circleci/config-fortify-dast-scancentral.yml
@@ -0,0 +1,54 @@
+# Integrate Fortify ScanCentral Dynamic AppSec Testing (DAST) into your Circle CI pipeline
+# Renaming this file to config.yml for leveraging the file directly otherwise copy dast job content
+# The following environment variables must be defined in CircleCI organization context before using this job
+# - $FCLI_DEFAULT_SSC_USER
+# - $FCLI_DEFAULT_SSC_PASSWORD
+# - $FCLI_DEFAULT_SSC_CI_TOKEN
+# - $FCLI_DEFAULT_SSC_URL
+# - $SC_DAST_CICD_IDENTIFIER
+version: '2.1'
+jobs:
+ deploy:
+ docker:
+ - image: 'tuffacton/jfrog-cli:latest'
+ steps:
+ - checkout
+ - run:
+ command: |
+ echo Deploying artifacts
+ jf config add --url=$ARTIFACTORY_URL --user=$ARTIFACTORY_USER --password=$ARTIFACTORY_API_KEY --interactive=false
+ jf rt u "(*).jar" example-repo-local/circleci/ --recursive=false
+
+ dast:
+ environment:
+ SC_DAST_SCAN_NAME: "Circle_CI_Scan"
+ SC_DAST_CICD_IDENTIFIER: "<>"
+ working_directory: ~/circleci-iwajava-scancentral
+ docker:
+ - image: fortifydocker/fortify-ci-tools:5.4.1-jdk-17
+
+ steps:
+ - checkout
+
+ - run:
+ command: |
+ echo Setting connection with Fortify Platform
+ #Use --insecure switch when SSL certificates are self-generated
+ fcli ssc session login
+ fcli sc-dast session login
+
+ fcli sc-dast scan start --name=$SC_DAST_SCAN_NAME --settings=$SC_DAST_CICD_IDENTIFIER
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-dast session logout
+ fcli ssc session logout
+
+# Orchestrate job run sequence
+workflows:
+ CI_and_CD:
+ jobs:
+ - deploy:
+ - dast:
+ context: ScanCentral
+ requires:
+ - deploy
\ No newline at end of file
diff --git a/devops-integrations/.circleci/config-fortify-sast-fod.yml b/devops-integrations/.circleci/config-fortify-sast-fod.yml
new file mode 100644
index 0000000..75371fa
--- /dev/null
+++ b/devops-integrations/.circleci/config-fortify-sast-fod.yml
@@ -0,0 +1,67 @@
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your Circle CI pipeline
+# Renaming this file to config.yml for leveraging the file directly otherwise copy scan job content
+# The following environment variables must be defined in CircleCI context before using this job
+# - $FCLI_DEFAULT_FOD_TENANT
+# - $FCLI_DEFAULT_FOD_CLIENT_ID
+# - $FCLI_DEFAULT_FOD_CLIENT_SECRET
+# - $FCLI_DEFAULT_FOD_URL
+version: '2.1'
+jobs:
+ build:
+ working_directory: ~/circleci-iwajava
+ docker:
+ - image: maven:3.8.7-openjdk-18
+
+ steps:
+ - checkout
+
+ - restore_cache:
+ key: circleci-iwajava-{{ checksum "pom.xml" }}
+
+ - run: mvn package
+
+ - save_cache:
+ paths:
+ - ~/.m2
+ key: circleci-iwajava-{{ checksum "pom.xml" }}
+
+ - store_test_results:
+ path: target/surefire-reports
+
+ - store_artifacts:
+ path: target/iwa.jar
+
+ scan:
+ environment:
+ FOD_NOTES: "Triggered by CircleCI Pipeline"
+ FOD_RELEASE_ID:
+ working_directory: ~/circleci-iwajava
+ docker:
+ - image: fortifydocker/fortify-ci-tools:5.4.1-jdk-17
+
+ steps:
+ - checkout
+
+ - run:
+ command: |
+ echo Setting connection with Fortify Platform
+ #Use --insecure switch if the SSL certificate is self generated.
+ fcli fod session login
+
+ scancentral package -bt mvn -oss -o package.zip
+ fcli fod sast start --release=$FOD_RELEASE_ID --file=package.zip --remediation=NonRemediationScanOnly --notes=$FOD_NOTES --store=Id
+
+ fcli fod sast wait-for ::Id:: --interval=30s
+ fcli fod issue list --release=$FOD_RELEASE_ID
+
+ fcli fod session logout
+
+# Orchestrate job run sequence
+workflows:
+ build_and_scan:
+ jobs:
+ - build
+ - scan:
+ context: FOD
+ requires:
+ - build
\ No newline at end of file
diff --git a/devops-integrations/.circleci/config-fortify-sast-scancentral.yml b/devops-integrations/.circleci/config-fortify-sast-scancentral.yml
new file mode 100644
index 0000000..2b6e794
--- /dev/null
+++ b/devops-integrations/.circleci/config-fortify-sast-scancentral.yml
@@ -0,0 +1,72 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Circle CI pipeline
+# Rename this file to config.yml for leveraging the file directly otherwise copy sast job content
+# The following environment variables must be defined in CircleCI organization context before using this job
+# - $FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+# - $FCLI_DEFAULT_SSC_USER
+# - $FCLI_DEFAULT_SSC_PASSWORD
+# - $FCLI_DEFAULT_SSC_CI_TOKEN
+# - $FCLI_DEFAULT_SSC_URL
+# - $SSC_APP_VERSION_ID
+version: '2.1'
+jobs:
+ build:
+ working_directory: ~/circleci-iwajava-scancentral
+ docker:
+ - image: maven:3.8.7-openjdk-18
+
+ steps:
+ - checkout
+
+ - restore_cache:
+ key: circleci-iwajava-sc-{{ checksum "pom.xml" }}
+
+ - run: mvn package
+
+ - save_cache:
+ paths:
+ - ~/.m2
+ key: circleci-iwajava-sc-{{ checksum "pom.xml" }}
+
+ - store_test_results:
+ path: target/surefire-reports
+
+ - store_artifacts:
+ path: target/iwa.jar
+
+ sast:
+ environment:
+ SSC_APP_VERSION_ID: "<<$$$$>>"
+ SC_SAST_SENSOR_VERSION: "24.2"
+ working_directory: ~/circleci-iwajava-scancentral
+ docker:
+ - image: fortifydocker/fortify-ci-tools:5.4.1-jdk-17
+
+ steps:
+ - checkout
+
+ - run:
+ command: |
+ echo Setting connection with Fortify Platform
+ #Use --insecure switch if the SSL certificate is self generated.
+ fcli ssc session login
+ fcli sc-sast session login
+
+ scancentral package -bt mvn -o package.zip
+ fcli sc-sast scan start --publish-to=$SSC_APP_VERSION_ID --sensor-version=$SC_SAST_SENSOR_VERSION --package-file=package.zip --store=Id
+
+ fcli sc-sast scan wait-for ::Id:: --interval=30s
+ fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-sast session logout
+ fcli ssc session logout
+
+# Orchestrate job run sequence
+workflows:
+ build_and_scan:
+ jobs:
+ - build
+ - sast:
+ context: ScanCentral
+ requires:
+ - build
\ No newline at end of file
diff --git a/devops-integrations/.teamcity/fortify-sast-fod-settings.kts b/devops-integrations/.teamcity/fortify-sast-fod-settings.kts
new file mode 100644
index 0000000..a5a9d8b
--- /dev/null
+++ b/devops-integrations/.teamcity/fortify-sast-fod-settings.kts
@@ -0,0 +1,75 @@
+import jetbrains.buildServer.configs.kotlin.*
+import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
+import jetbrains.buildServer.configs.kotlin.buildSteps.dockerCommand
+import jetbrains.buildServer.configs.kotlin.buildSteps.maven
+import jetbrains.buildServer.configs.kotlin.buildSteps.script
+import jetbrains.buildServer.configs.kotlin.triggers.vcs
+
+/*
+The settings script is an entry point for defining a single
+TeamCity project. TeamCity looks for the 'settings.kts' file in a
+project directory and runs it if it's found, so the script name
+shouldn't be changed and its package should be the same as the
+project's external id.
+
+Integrate Fortify on Demand Static AppSec Testing (SAST) into your TeamCity build pipeline
+ Rename this file to "settings.kts" before use
+ The following environment variables must be defined in Project/Agent settings before using this job
+ - env.FOD_RELEASE_ID
+ - env.FOD_USER
+ - env.FOD_PAT
+ - env.FOD_TENANT
+*/
+
+version = "2022.10"
+
+project {
+
+ buildType(Build)
+}
+
+object Build : BuildType({
+ name = "Build"
+
+ vcs {
+ root(DslContext.settingsRoot)
+ }
+
+ steps {
+ maven {
+ goals = "clean package"
+ runnerArgs = "-Dmaven.test.failure.ignore=true"
+ }
+ dockerCommand {
+ commandType = build {
+ source = file {
+ path = "Dockerfile"
+ }
+ }
+ }
+ script {
+ name = "Fortify Scan"
+ scriptContent = """
+ export FOD_API_URL=https://api.ams.fortify.com
+ export FOD_URL=https://ams.fortify.com
+ export FOD_UPLOADER_OPTS='-ep 2 -pp 0 -I 1 -apf'
+ export FOD_NOTES='Triggered by TeamCity Build Pipeline'
+
+ scancentral package -bt mvn -oss -o package.zip
+
+ FoDUpload -z package.zip -aurl ${'$'}FOD_API_URL -purl ${'$'}FOD_URL -rid %env.FOD_RELEASE_ID% -tc %env.FOD_TENANT% -uc %env.FOD_USER% %env.FOD_PAT% ${'$'}FOD_UPLOADER_OPTS -n "${'$'}FOD_NOTES"
+ """.trimIndent()
+ dockerImage = "fortifydocker/fortify-ci-tools:latest-jdk-11"
+ }
+ }
+
+ triggers {
+ vcs {
+ }
+ }
+
+ features {
+ perfmon {
+ }
+ }
+})
diff --git a/devops-integrations/.teamcity/fortify_sast_scancentral-settings.kts b/devops-integrations/.teamcity/fortify_sast_scancentral-settings.kts
new file mode 100644
index 0000000..f8e4727
--- /dev/null
+++ b/devops-integrations/.teamcity/fortify_sast_scancentral-settings.kts
@@ -0,0 +1,80 @@
+package _Self.buildTypes
+
+import jetbrains.buildServer.configs.kotlin.*
+import jetbrains.buildServer.configs.kotlin.buildSteps.dockerCommand
+import jetbrains.buildServer.configs.kotlin.buildSteps.maven
+import jetbrains.buildServer.configs.kotlin.buildSteps.script
+import jetbrains.buildServer.configs.kotlin.triggers.vcs
+
+/*
+The settings script is an entry point for defining a single
+TeamCity project. TeamCity looks for the 'settings.kts' file in a
+project directory and runs it if it's found, so the script name
+shouldn't be changed and its package should be the same as the
+project's external id.
+
+Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your TeamCity build pipeline.
+ Rename this file to "settings.kts" before use
+ The following environment variables must be defined in Project/Agent settings before using this job
+ - env._FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+ - env._FCLI_DEFAULT_SSC_CI_TOKEN
+ - env._FCLI_DEFAULT_SSC_URL
+ - env._FCLI_DEFAULT_SSC_USER
+ - env._FCLI_DEFAULT_SSC_PASSWORD
+ - env.SSC_AV_ID
+*/
+
+object DevBuild : BuildType({
+ name = "dev_build"
+
+ vcs {
+ root(HttpsGitlabComMforgIwaJavaTravisGit)
+ }
+
+ steps {
+ maven {
+ name = "build"
+ goals = "clean package"
+ }
+ dockerCommand {
+ commandType = build {
+ source = file {
+ path = "Dockerfile"
+ }
+ }
+ }
+ script {
+ name = "Fortify Scan"
+ scriptContent = """
+ export FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN=%env._FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN% # SCANCENTRAL CLIENT AUTH TOKEN
+ export FCLI_DEFAULT_SSC_USER=%env._FCLI_DEFAULT_SSC_USER% # SSC USER NAME
+ export FCLI_DEFAULT_SSC_PASSWORD=%env._FCLI_DEFAULT_SSC_PASSWORD% # SSC PASSWORD
+ export FCLI_DEFAULT_SSC_CI_TOKEN=%env._FCLI_DEFAULT_SSC_CI_TOKEN% # SSC CI TOKEN
+ export FCLI_DEFAULT_SSC_URL=%env._FCLI_DEFAULT_SSC_URL% # SSC URL
+ export SC_SAST_SENSOR_VERSION='22.2.0'
+
+ # USE --INSECURE WHEN YOUR SSL CERTIFICATES ARE SELF GENERATED/UNTRUSTED
+ fcli ssc session login
+ fcli sc-sast session login
+
+ scancentral package -bt mvn -o package.zip
+
+ fcli sc-sast scan start --package-file=package.zip --upload --sensor-version=${'$'}SC_SAST_SENSOR_VERSION --appversion=%env.SSC_AV_ID% --store '?'
+
+ fcli sc-sast scan wait-for '?' --interval=30s
+
+ fcli ssc appversion-vuln count --appversion=%env.SSC_AV_ID%
+
+ fcli sc-sast session logout
+ fcli ssc session logout
+ """.trimIndent()
+ dockerImage = "fortifydocker/fortify-ci-tools:latest-jdk-11"
+ }
+ }
+
+ triggers {
+ vcs {
+ branchFilter = ""
+ }
+ }
+})
diff --git a/devops-integrations/.travisci/fortify-sast-fod.sh b/devops-integrations/.travisci/fortify-sast-fod.sh
new file mode 100644
index 0000000..97c01a3
--- /dev/null
+++ b/devops-integrations/.travisci/fortify-sast-fod.sh
@@ -0,0 +1,84 @@
+#!/bin/bash
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your Travis CI pipeline
+
+# *** Configuration ***
+
+# The following environment variables must be defined in Repository settings
+export FCLI_DEFAULT_FOD_URL=$FCLI_DEFAULT_FOD_URL_LOCAL
+export FCLI_DEFAULT_FOD_TENANT=$FCLI_DEFAULT_FOD_TENANT_LOCAL
+export FCLI_DEFAULT_FOD_CLIENT_ID=$FCLI_DEFAULT_FOD_CLIENT_ID_LOCAL
+export FCLI_DEFAULT_FOD_CLIENT_SECRET=$FCLI_DEFAULT_FOD_CLIENT_SECRET_LOCAL
+FOD_RELEASE_ID=$FOD_RELEASE_ID_LOCAL # FOD APPLICATION BASED RELEASE ID
+
+# Local variables (modify as needed)
+FCLI_VERSION=v2.4.0
+FODUPLOAD_VERSION=5.4.1
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/opt/fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+FODUPLOAD_HOME=$FORTIFY_TOOLS_DIR/FodUpload
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+fod_notes="Triggered by Travis CI"
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+# *** Execution ***
+
+echo "Installing FCLI"
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+export PATH=$FCLI_HOME/bin:$SCANCENTRAL_HOME/bin:${PATH}
+
+fcli tool definitions update
+fcli tool fod-uploader install -v ${FODUPLOAD_VERSION} -d ${FODUPLOAD_HOME}
+fcli tool sc-client install -v ${SCANCENTRAL_VERSION} -d ${SCANCENTRAL_HOME}
+
+echo Setting connection with Fortify Platform
+#Use --insecure switch if the SSL certificate is self generated.
+fcli fod session login
+
+echo "Scan starting.."
+scancentral package -bt mvn -oss -o package.zip
+fcli fod sast start --release=$FOD_RELEASE_ID --file=package.zip --remediation=NonRemediationScanOnly --notes=$FOD_NOTES --store=Id
+
+fcli fod sast wait-for ::Id:: --interval=30s
+fcli fod issue list --release=$FOD_RELEASE_ID
+
+fcli fod session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/devops-integrations/.travisci/fortify_sast_scancentral.sh b/devops-integrations/.travisci/fortify_sast_scancentral.sh
new file mode 100644
index 0000000..c2a4f10
--- /dev/null
+++ b/devops-integrations/.travisci/fortify_sast_scancentral.sh
@@ -0,0 +1,92 @@
+#!/bin/bash
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Travis CI pipeline
+
+# *** Configuration ***
+# The following environment variables must be defined in Repository settings
+export FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN=$FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN # SCANCENTRAL CLIENT AUTH TOKEN
+export FCLI_DEFAULT_SSC_USER=$FCLI_DEFAULT_SSC_USER # SSC USER NAME
+export FCLI_DEFAULT_SSC_PASSWORD=$FCLI_DEFAULT_SSC_PASSWORD # SSC PASSWORD
+export FCLI_DEFAULT_SSC_CI_TOKEN=$FCLI_DEFAULT_SSC_CI_TOKEN # SSC CI TOKEN
+export FCLI_DEFAULT_SSC_URL=$FCLI_DEFAULT_SSC_URL # SSC URL
+ssc_app_version_id=$SSC_APP_VERSION_ID # SSC APPLICATION VERSION ID
+ssc_ip=$SSC_IP_LOCAL
+
+
+# Local variables
+FCLI_VERSION=v2.4.0
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/opt/fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+# *** Execution ***
+
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+# Use when domain name not available in the public registry
+#echo "setting domain..."
+#echo ${ssc_ip} + " fortify.cyberxdemo.com" | tee -a /etc/hosts
+#cat /etc/hosts
+
+#mkdir -p $fcli_home/bin
+#tar -xvzf "$fcli_install" -C $fcli_home/bin
+export PATH=$FCLI_HOME/bin:$SCANCENTRAL_HOME/bin:${PATH}
+
+
+fcli tool definitions update
+fcli tool sc-client install -v ${SCANCENTRAL_VERSION} -d ${SCANCENTRAL_HOME}
+
+echo Setting connection with Fortify Platform
+#Use --insecure switch if the SSL certificate is self generated.
+fcli ssc session login
+fcli sc-sast session login
+
+scancentral package -bt mvn -o package.zip
+
+fcli sc-sast scan start --publish-to=$SSC_APP_VERSION_ID --sensor-version=$SCANCENTRAL_VERSION --package-file=package.zip --store=Id
+
+fcli sc-sast scan wait-for ::Id:: --interval=30s
+fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+
+echo Terminating connection with Fortify Platform
+fcli sc-sast session logout
+fcli ssc session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/devops-integrations/aws/fortify-sast-fod.bash b/devops-integrations/aws/fortify-sast-fod.bash
new file mode 100644
index 0000000..f8a03a4
--- /dev/null
+++ b/devops-integrations/aws/fortify-sast-fod.bash
@@ -0,0 +1,81 @@
+#!/bin/bash
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your AWS Codebuild pipeline
+
+# The following environment variables must be defined
+export FCLI_DEFAULT_FOD_URL=$FCLI_DEFAULT_FOD_URL_LOCAL
+export FCLI_DEFAULT_FOD_TENANT=$FCLI_DEFAULT_FOD_TENANT_LOCAL
+export FCLI_DEFAULT_FOD_CLIENT_ID=$FCLI_DEFAULT_FOD_CLIENT_ID_LOCAL
+export FCLI_DEFAULT_FOD_CLIENT_SECRET=$FCLI_DEFAULT_FOD_CLIENT_SECRET_LOCAL
+FOD_RELEASE_ID=$FOD_RELEASE_ID_LOCAL # FOD APPLICATION BASED RELEASE ID
+
+# Local variables (modify as needed)
+FCLI_VERSION=v2.4.0
+FODUPLOAD_VERSION=5.4.1
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/opt/fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+FODUPLOAD_HOME=$FORTIFY_TOOLS_DIR/FodUpload
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+fod_notes="Triggered by AWS CodeBuild"
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+# *** Execution ***
+echo "Installing FCLI"
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+export PATH=$FCLI_HOME/bin:$SCANCENTRAL_HOME/bin:${PATH}
+
+fcli tool definitions update
+fcli tool fod-uploader install -v ${FODUPLOAD_VERSION} -d ${FODUPLOAD_HOME}
+fcli tool sc-client install -v ${SCANCENTRAL_VERSION} -d ${SCANCENTRAL_HOME}
+
+echo Setting connection with Fortify Platform
+#Use --insecure switch if the SSL certificate is self generated.
+fcli fod session login
+
+echo "Scan starting.."
+scancentral package -bt mvn -oss -o package.zip
+fcli fod sast start --release=$FOD_RELEASE_ID --file=package.zip --remediation=NonRemediationScanOnly --notes=$FOD_NOTES --store=Id
+
+fcli fod sast wait-for ::Id:: --interval=30s
+fcli fod issue list --release=$FOD_RELEASE_ID
+
+fcli fod session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/devops-integrations/aws/fortify_dast_scancentral.bash b/devops-integrations/aws/fortify_dast_scancentral.bash
new file mode 100644
index 0000000..282fa83
--- /dev/null
+++ b/devops-integrations/aws/fortify_dast_scancentral.bash
@@ -0,0 +1,86 @@
+#!/bin/bash
+# Integrate Fortify ScanCentral Dynamic AppSec Testing (DAST) into your AWS Codestar pipeline
+# The following environment variables must be defined in AWS Parameter Store before using this script
+# - /fortify/ssc_user
+# - /fortify/ssc_password
+# - /fortify/ci_token
+# - /fortify/ssc_url
+# - $SC_DAST_CICD_IDENTIFIER
+FCLI_DEFAULT_SSC_USER=$(aws ssm get-parameters --region us-east-1 --names /fortify/ssc_user --query Parameters[0].Value)
+FCLI_DEFAULT_SSC_PASSWORD=$(aws ssm get-parameters --region us-east-1 --names /fortify/ssc_password --query Parameters[0].Value)
+FCLI_DEFAULT_SSC_CI_TOKEN=$(aws ssm get-parameters --region us-east-1 --names /fortify/ci_token --query Parameters[0].Value)
+FCLI_DEFAULT_SSC_URL=$(aws ssm get-parameters --region us-east-1 --names /fortify/ssc_url --query Parameters[0].Value)
+
+export FCLI_DEFAULT_SSC_USER=$FCLI_DEFAULT_SSC_USER
+export FCLI_DEFAULT_SSC_PASSWORD=$FCLI_DEFAULT_SSC_PASSWORD
+export FCLI_DEFAULT_SSC_CI_TOKEN=$FCLI_DEFAULT_SSC_CI_TOKEN
+export FCLI_DEFAULT_SSC_URL=$FCLI_DEFAULT_SSC_URL
+
+# Local variables (modify as needed)
+FCLI_VERSION=v2.4.0
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/opt/fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+SC_DAST_CICD_IDENTIFIER='<<15xxxxx-2xxx-4xxx-xxxx-77xxxxxxx814>>'
+SC_DAST_SCAN_NAME='AWS_SCAN'
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+# *** Execution ***
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+# Use when domain name not available in the public registry
+#echo "setting domain..."
+#echo ${ssc_ip} + " fortify.cyberxdemo.com" | tee -a /etc/hosts
+#cat /etc/hosts
+
+export PATH=$fcli_home/bin:${PATH}
+
+echo Setting connection with Fortify Platform
+# USE --INSECURE WHEN YOUR SSL CERTIFICATES ARE SELF GENERATED/UNTRUSTED
+fcli ssc session login
+fcli sc-dast session login
+
+fcli sc-dast scan start $SC_DAST_SCAN_NAME --settings $SC_DAST_CICD_IDENTIFIER
+
+echo Terminating connection with Fortify Platform
+fcli sc-dast session logout
+fcli ssc session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/devops-integrations/aws/fortify_sast_scancentral.bash b/devops-integrations/aws/fortify_sast_scancentral.bash
new file mode 100644
index 0000000..daa69eb
--- /dev/null
+++ b/devops-integrations/aws/fortify_sast_scancentral.bash
@@ -0,0 +1,91 @@
+#!/bin/bash
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your AWS Codestar pipeline
+
+# *** Configuration ***
+
+# The following environment variables must be defined
+export FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN=$FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+export FCLI_DEFAULT_SSC_USER=$FCLI_DEFAULT_SSC_USER
+export FCLI_DEFAULT_SSC_PASSWORD=$FCLI_DEFAULT_SSC_PASSWORD
+export FCLI_DEFAULT_SSC_CI_TOKEN=$FCLI_DEFAULT_SSC_CI_TOKEN
+export FCLI_DEFAULT_SSC_URL=$FCLI_DEFAULT_SSC_URL
+ssc_app_version_id=$SSC_APP_VERSION_ID
+ssc_ip=$SSC_IP_LOCAL
+
+# Local variables (modify as needed)
+FCLI_VERSION=v2.4.0
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/opt/fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+# *** Execution ***
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+# Use when domain name not available in the public registry
+#echo "setting domain..."
+#echo ${ssc_ip} + " fortify.cyberxdemo.com" | tee -a /etc/hosts
+#cat /etc/hosts
+
+#mkdir -p $fcli_home/bin
+#tar -xvzf "$fcli_install" -C $fcli_home/bin
+export PATH=$FCLI_HOME/bin:$SCANCENTRAL_HOME/bin:${PATH}
+
+
+fcli tool definitions update
+fcli tool sc-client install -v ${SCANCENTRAL_VERSION} -d ${SCANCENTRAL_HOME}
+
+echo Setting connection with Fortify Platform
+#Use --insecure switch if the SSL certificate is self generated.
+fcli ssc session login
+fcli sc-sast session login
+
+scancentral package -bt mvn -o package.zip
+
+fcli sc-sast scan start --publish-to=$SSC_APP_VERSION_ID --sensor-version=$SCANCENTRAL_VERSION --package-file=package.zip --store=Id
+
+fcli sc-sast scan wait-for ::Id:: --interval=30s
+fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+
+echo Terminating connection with Fortify Platform
+fcli sc-sast session logout
+fcli ssc session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/devops-integrations/azure/azure-pipelines-fortify-dast-scancentral.yml b/devops-integrations/azure/azure-pipelines-fortify-dast-scancentral.yml
new file mode 100644
index 0000000..dd07355
--- /dev/null
+++ b/devops-integrations/azure/azure-pipelines-fortify-dast-scancentral.yml
@@ -0,0 +1,69 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (DAST) into your Azure DevOps pipeline
+# This pipeline deploys to Azure App Service which requires below to be setup:
+# - azureSubscription connection with Azure Pipeline
+# - WebApp needs to be created with Azure Subscription
+# The following pipeline variables must be defined before using SAST stage
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_FCLI_DEFAULT_SSC_CI_TOKEN
+# - $_SC_DAST_CICD_IDENTIFIER
+
+trigger:
+- none
+stages:
+- stage: Build
+ jobs:
+ - job: Deploy
+ displayName: Deploy to Azure App Service
+ pool:
+ vmImage: Ubuntu-latest
+ steps:
+ - task: DownloadBuildArtifacts@0
+ inputs:
+ buildType: 'current'
+ downloadType: 'specific'
+ downloadPath: '$(System.ArtifactsDirectory)'
+
+ - task: AzureRmWebAppDeployment@4
+ displayName: 'Deploy War to Azure App Service'
+ enabled: false
+ env:
+ AZURE_SUBSCRIPTION_ID: $(_AZURE_SUBSCRIPTION_ID)
+ inputs:
+ ConnectionType: 'AzureRM'
+ azureSubscription: 'XXXXXXX'
+ appType: 'webAppLinux'
+ WebAppName: 'IWAJava'
+ packageForLinux: '$(System.ArtifactsDirectory)/**/iwa.war'
+ RuntimeStack: 'TOMCAT|9.0-java11'
+ - job: DAST
+ displayName: Fortify DAST
+ dependsOn:
+ - Deploy
+ pool:
+ vmImage: 'ubuntu-latest'
+ container:
+ image: fortifydocker/fortify-ci-tools:5.4.1-jdk-17
+ env:
+ FCLI_DEFAULT_SSC_USER: $(_FCLI_DEFAULT_SSC_USER)
+ FCLI_DEFAULT_SSC_PASSWORD: $(_FCLI_DEFAULT_SSC_PASSWORD)
+ FCLI_DEFAULT_SSC_URL: $(_FCLI_DEFAULT_SSC_URL)
+ SC_DAST_CICD_IDENTIFIER: $(_SC_DAST_CICD_IDENTIFIER)
+ SC_DAST_SCAN_NAME: IWA_DAST_AZURE
+ steps:
+ - script: |
+ echo Setting connection with Fortify Platform
+
+ #Use --insecure switch when SSL certificates are self-generated
+ fcli ssc session login
+ fcli sc-dast session login
+
+ fcli sc-dast scan start --name=$SC_DAST_SCAN_NAME --settings=$SC_DAST_CICD_IDENTIFIER
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-dast session logout
+ fcli ssc session logout
+ displayName: Scan Central Scan
+ enabled: true
+ continueOnError: false
\ No newline at end of file
diff --git a/devops-integrations/azure/azure-pipelines-fortify-sast-fod.yml b/devops-integrations/azure/azure-pipelines-fortify-sast-fod.yml
new file mode 100644
index 0000000..0279969
--- /dev/null
+++ b/devops-integrations/azure/azure-pipelines-fortify-sast-fod.yml
@@ -0,0 +1,39 @@
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your Azure DevOps pipeline
+# The following service connection must be establish before using this job
+# - FoD_AMS
+#
+# The following task parameter must be defined
+# - ReleaseId
+
+trigger:
+- main
+
+pool:
+ vmImage: ubuntu-latest
+
+steps:
+- task: Maven@3
+ inputs:
+ mavenPomFile: 'pom.xml'
+ publishJUnitResults: true
+ testResultsFiles: '**/surefire-reports/TEST-*.xml'
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.11'
+ mavenVersionOption: 'Default'
+ mavenOptions: '-Xmx3072m'
+ mavenAuthenticateFeed: false
+ effectivePomSkip: false
+ sonarQubeRunAnalysis: false
+- task: FortifyOnDemandStatic@8
+ inputs:
+ FortifyProjects: '$(Build.Repository.LocalPath)'
+ FodConnection: 'FoD_AMS' # create Azure DevOps Service connection with name FoD_AMS
+ ReleaseOptions: '0'
+ ReleaseId: 00000 # update FoD RELEASE ID
+ EntitlementSelection: '1'
+ EntitlementPreference: '2'
+ OverrideScanSettings: '2'
+ InProgressScanActionType: '0'
+ RemediationScanPreference: '2'
+ BuildType: 'mvn'
+ PolicyFailAction: '0'
diff --git a/devops-integrations/azure/azure-pipelines-fortify-sast-scancentral.yml b/devops-integrations/azure/azure-pipelines-fortify-sast-scancentral.yml
new file mode 100644
index 0000000..5ede654
--- /dev/null
+++ b/devops-integrations/azure/azure-pipelines-fortify-sast-scancentral.yml
@@ -0,0 +1,65 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Azure DevOps pipeline
+# The following pipeline variables must be defined before using SAST stage
+# - $_FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $_FCLI_DEFAULT_SSC_CI_TOKEN
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_SSC_APP_VERSION_ID
+
+trigger:
+- none
+stages:
+- stage: Build
+ jobs:
+ - job: Build
+ displayName: Building IWA Project
+ pool:
+ vmImage: ubuntu-latest
+ steps:
+ - task: Maven@3
+ inputs:
+ mavenPomFile: 'pom.xml'
+ mavenOptions: '-Xmx3072m'
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.17'
+ jdkArchitectureOption: 'x64'
+ publishJUnitResults: true
+ testResultsFiles: '**/surefire-reports/TEST-*.xml'
+ goals: 'package'
+ - job: SAST
+ displayName: Fortify SAST
+ dependsOn:
+ - Build
+ pool:
+ vmImage: 'ubuntu-latest'
+ container:
+ image: fortifydocker/fortify-ci-tools:5.4.1-jdk-17
+ options: "--add-host=<>:x.x.x.x"
+ env:
+ FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN: $(_FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN)
+ FCLI_DEFAULT_SSC_USER: $(_FCLI_DEFAULT_SSC_USER)
+ FCLI_DEFAULT_SSC_PASSWORD: $(_FCLI_DEFAULT_SSC_PASSWORD)
+ FCLI_DEFAULT_SSC_CI_TOKEN: $(_FCLI_DEFAULT_SSC_CI_TOKEN)
+ FCLI_DEFAULT_SSC_URL: $(_FCLI_DEFAULT_SSC_URL)
+ SSC_APP_VERSION_ID: $(_SSC_APP_VERSION_ID)
+ SC_SAST_SENSOR_VERSION: 24.2
+ steps:
+ - script: |
+ echo Setting connection with Fortify Platform
+ echo $FORTIFY_SSC_IP fortify.cyberxdemo.com >> /etc/hosts
+ #Use --insecure switch if the SSL certificate is self generated.
+ fcli ssc session login
+ fcli sc-sast session login
+
+ scancentral package -bt mvn -o package.zip
+ fcli sc-sast scan start --publish-to=$SSC_APP_VERSION_ID --sensor-version=$SC_SAST_SENSOR_VERSION --package-file=package.zip --store=Id
+
+ fcli sc-sast scan wait-for ::Id:: --interval=30s
+ fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-sast session logout
+ fcli ssc session logout
+ displayName: Scan Central Scan
+ continueOnError: false
diff --git a/devops-integrations/bitbucket/bitbucket-pipelines.yml b/devops-integrations/bitbucket/bitbucket-pipelines.yml
new file mode 100644
index 0000000..37204c4
--- /dev/null
+++ b/devops-integrations/bitbucket/bitbucket-pipelines.yml
@@ -0,0 +1,36 @@
+# Template maven-build
+
+# This template allows you to test and build IWA Java app.
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your TeamCity build pipeline
+# The following environment variables must be defined in Project/Agent settings before using this job
+# - $FOD_RELEASE_ID
+# - $FOD_USER
+# - $FOD_PAT
+# - $FOD_TENANT
+
+image: maven:3.9.7
+
+pipelines:
+ default:
+ - parallel:
+ - step:
+ name: Build and Test
+ caches:
+ - maven
+ script:
+ - mvn -B verify --file pom.xml
+ after-script:
+ # Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
+ - pipe: atlassian/checkstyle-report:0.3.0
+ - step:
+ name: Fortify On Demand Scan
+ script:
+ - pipe: fortifysoftware/fortify-scan:5.4.1-jdk-17
+ variables:
+ PACKAGE_OPTS: -bt mvn
+ FOD_URL: https://ams.fortify.com
+ FOD_TENANT: $FOD_TENANT
+ FOD_USER: $FOD_USER
+ FOD_PAT: $FOD_PAT
+ FOD_RELEASE_ID: $FOD_RELEASE_ID
+ FOD_UPLOAD_OPTS: -ep 2 -pp 0
\ No newline at end of file
diff --git a/devops-integrations/gcp/cloudbuild_fortify_dast_scancentral.yaml b/devops-integrations/gcp/cloudbuild_fortify_dast_scancentral.yaml
new file mode 100644
index 0000000..880e27e
--- /dev/null
+++ b/devops-integrations/gcp/cloudbuild_fortify_dast_scancentral.yaml
@@ -0,0 +1,64 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Google Cloud Build pipeline
+# The following Google Cloud Build Secrets must be defined before using this step
+# - $$FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+# - $$FCLI_DEFAULT_SSC_USER
+# - $$FCLI_DEFAULT_SSC_PASSWORD
+# - $$FCLI_DEFAULT_SSC_CI_TOKEN
+# - $$FCLI_DEFAULT_SSC_URL
+# - $$SSC_APP_VERSION_ID
+
+
+steps:
+- name: 'gcr.io/cloud-builders/docker'
+ args: ['push', 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA']
+ id: 'push-image-to-container-registry'
+
+- name: 'gcr.io/cloud-builders/gcloud'
+ args:
+ - 'run'
+ - 'deploy'
+ - 'iwajava'
+ - '--image'
+ - 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA'
+ - '--region'
+ - 'us-central1'
+ - '--platform'
+ - 'managed'
+ - '--allow-unauthenticated'
+ id: 'deploy-to-cloud-run'
+
+- name: 'fortifydocker/fortify-ci-tools:5.4.1-jdk-17'
+ entrypoint: "bash"
+ args:
+ - "-c"
+ - |
+ echo Setting connection with Fortify Platform
+ fcli ssc session login
+ fcli sc-dast session login
+
+ fcli sc-dast scan start --name=$$SC_DAST_SCAN_NAME --settings=$$SC_DAST_CICD_IDENTIFIER
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-dast session logout
+ fcli ssc session logout
+ secretEnv: ['FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN', 'FCLI_DEFAULT_SSC_USER', 'FCLI_DEFAULT_SSC_PASSWORD', 'FCLI_DEFAULT_SSC_CI_TOKEN', 'FCLI_DEFAULT_SSC_URL']
+ env:
+ - 'FORTIFY_IP=${_PUBLIC_IP}'
+ - 'SC_DAST_CICD_IDENTIFIER=${_SC_DAST_CICD_IDENTIFIER}'
+ - 'SC_DAST_SCAN_NAME=IWA_DAST_GCP'
+availableSecrets:
+ secretManager:
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_sc_sast_client_auth_token/versions/latest
+ env: 'FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_user/versions/latest
+ env: 'FCLI_DEFAULT_SSC_USER'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_password/versions/latest
+ env: 'FCLI_DEFAULT_SSC_PASSWORD'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_ci_token/versions/latest
+ env: 'FCLI_DEFAULT_SSC_CI_TOKEN'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_url/versions/latest
+ env: 'FCLI_DEFAULT_SSC_URL'
+images:
+- 'gcr.io/$PROJECT_ID/iwa_java:latest'
+- 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA'
+- 'gcr.io/$PROJECT_ID/iwa_java:$BUILD_ID'
\ No newline at end of file
diff --git a/devops-integrations/gcp/cloudbuild_fortify_sast_fod.yaml b/devops-integrations/gcp/cloudbuild_fortify_sast_fod.yaml
new file mode 100644
index 0000000..834493b
--- /dev/null
+++ b/devops-integrations/gcp/cloudbuild_fortify_sast_fod.yaml
@@ -0,0 +1,47 @@
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your Google Cloud Build pipeline
+# The following Google Cloud Build Secrets must be defined before using this job
+# - $$FCLI_DEFAULT_FOD_URL
+# - $$FCLI_DEFAULT_FOD_USER
+# - $$FCLI_DEFAULT_FOD_PASSWORD
+# - $$FCLI_DEFAULT_FOD_TENANT
+# - $$FOD_RELEASE_ID
+
+steps:
+- name: maven:3.9.7
+ entrypoint: 'mvn'
+ args: ['clean', 'package', '-DskipTests']
+
+- name: 'gcr.io/cloud-builders/docker'
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/iwa_java:latest', '-t', 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA', '-t', 'gcr.io/$PROJECT_ID/iwa_java:$BUILD_ID', '.']
+ id: 'build-image-IWAJava'
+
+- name: 'fortifydocker/fortify-ci-tools:5.4.1-jdk-17'
+ entrypoint: bash
+ args:
+ - -c
+ - |
+ fcli fod session login
+
+ scancentral package -bt mvn -oss -o package.zip
+
+ fcli fod sast start --release=$$FOD_RELEASE_ID --file=package.zip --remediation=NonRemediationScanOnly --notes="$$FOD_NOTES" --store=Id
+ fcli fod sast wait-for ::Id:: --interval=30s
+
+ fcli fod issue list --release=$$FOD_RELEASE_ID
+ fcli fod session logout
+ secretEnv: ['FCLI_DEFAULT_FOD_URL', 'FCLI_DEFAULT_FOD_USER', 'FCLI_DEFAULT_FOD_PASSWORD', 'FCLI_DEFAULT_FOD_TENANT']
+ env:
+ - 'FOD_RELEASE_ID=${_FOD_RELEASE_ID}'
+ - 'FOD_NOTES=Triggered by GCP Pipeline'
+ id: 'fortify-static-scan'
+ waitFor: ['build-image-IWAJava']
+availableSecrets:
+ secretManager:
+ - versionName: projects/$PROJECT_ID/secrets/FCLI_DEFAULT_FOD_URL/versions/latest
+ env: 'FCLI_DEFAULT_FOD_URL'
+ - versionName: projects/$PROJECT_ID/secrets/FCLI_DEFAULT_FOD_USER/versions/latest
+ env: 'FCLI_DEFAULT_FOD_USER'
+ - versionName: projects/$PROJECT_ID/secrets/FCLI_DEFAULT_FOD_PASSWORD/versions/latest
+ env: 'FCLI_DEFAULT_FOD_PASSWORD'
+ - versionName: projects/$PROJECT_ID/secrets/FCLI_DEFAULT_FOD_TENANT/versions/latest
+ env: 'FCLI_DEFAULT_FOD_TENANT'
\ No newline at end of file
diff --git a/devops-integrations/gcp/cloudbuild_fortify_sast_scancentral.yaml b/devops-integrations/gcp/cloudbuild_fortify_sast_scancentral.yaml
new file mode 100644
index 0000000..4acd2a1
--- /dev/null
+++ b/devops-integrations/gcp/cloudbuild_fortify_sast_scancentral.yaml
@@ -0,0 +1,56 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Google Cloud Build pipeline
+# The following Google Cloud Build Secrets must be defined before using this step
+# - $$FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+# - $$FCLI_DEFAULT_SSC_USER
+# - $$FCLI_DEFAULT_SSC_PASSWORD
+# - $$FCLI_DEFAULT_SSC_CI_TOKEN
+# - $$FCLI_DEFAULT_SSC_URL
+# - $$SSC_APP_VERSION_ID
+
+
+steps:
+- name: maven:3.9.7
+ entrypoint: 'mvn'
+ args: ['-q', 'clean', 'package', '-DskipTests']
+
+- name: 'gcr.io/cloud-builders/docker'
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/iwa_java:latest', '-t', 'gcr.io/$PROJECT_ID/iwa_java:$COMMIT_SHA', '-t', 'gcr.io/$PROJECT_ID/iwa_java:$BUILD_ID', '.']
+ id: 'build-image-IWAJava'
+
+- name: 'fortifydocker/fortify-ci-tools:5.4.1-jdk-17'
+ entrypoint: bash
+ args:
+ - -c
+ - |
+ echo Setting connection with Fortify Platform
+ fcli ssc session login
+ fcli sc-sast session login
+
+ scancentral package -bt mvn -o package.zip
+ fcli sc-sast scan start --publish-to=$$SSC_APP_VERSION_ID --sensor-version=$$SC_SAST_SENSOR_VERSION --package-file=package.zip --store=Id
+
+ fcli sc-sast scan wait-for ::Id:: --interval=30s
+ fcli ssc issue count --appversion=$$SSC_APP_VERSION_ID
+
+ echo Terminating connection with Fortify Platform
+ fcli sc-sast session logout
+ fcli ssc session logout
+ secretEnv: ['FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN', 'FCLI_DEFAULT_SSC_USER', 'FCLI_DEFAULT_SSC_PASSWORD', 'FCLI_DEFAULT_SSC_CI_TOKEN', 'FCLI_DEFAULT_SSC_URL']
+ env:
+ - 'FORTIFY_IP=${_PUBLIC_IP}'
+ - 'SSC_APP_VERSION_ID=${_SSC_APP_VERSION_ID}'
+ - 'SC_SAST_SENSOR_VERSION=24.2'
+availableSecrets:
+ secretManager:
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_sc_sast_client_auth_token/versions/latest
+ env: 'FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_user/versions/latest
+ env: 'FCLI_DEFAULT_SSC_USER'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_password/versions/latest
+ env: 'FCLI_DEFAULT_SSC_PASSWORD'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_ci_token/versions/latest
+ env: 'FCLI_DEFAULT_SSC_CI_TOKEN'
+ - versionName: projects/$PROJECT_ID/secrets/fcli_default_ssc_url/versions/latest
+ env: 'FCLI_DEFAULT_SSC_URL'
+ id: 'fortify-static-scan'
+ waitFor: ['build-image-IWAJava']
diff --git a/devops-integrations/gitlab/debricked-sca.yml b/devops-integrations/gitlab/debricked-sca.yml
new file mode 100644
index 0000000..d560f80
--- /dev/null
+++ b/devops-integrations/gitlab/debricked-sca.yml
@@ -0,0 +1,17 @@
+# Integrate Debricked software composition analysis into your Gitlab CICD pipeline
+# The following Gitab environment variables must be defined before using this job
+# - $DEBRICKED_TOKEN
+# - $DEBRICKED_REPO
+
+debricked-scan:
+ image: maven:3.9-eclipse-temurin-11
+ stage: test
+ needs: [build]
+ variables:
+ DEBRICKED_TOKEN: $DEBRICKED_TOKEN
+ DEBRICKED_EXCLUSIONS: "*.lock,*.json,*fingerprints*,target/**,samples/**"
+ script:
+ - curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
+ - chmod +x debricked
+ - ./debricked scan --callgraph --prefer-npm -r "${DEBRICKED_REPO}" --access-token="${DEBRICKED_TOKEN}" .
+ allow_failure: true
diff --git a/devops-integrations/gitlab/fortify-dast-api-scancentral.yml b/devops-integrations/gitlab/fortify-dast-api-scancentral.yml
new file mode 100644
index 0000000..4a571b8
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-dast-api-scancentral.yml
@@ -0,0 +1,40 @@
+# Integrate Fortify ScanCentral Dynamic AppSec Testing (DAST) into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $SSC_APP_VERSION_ID
+# - $SC_DAST_API_SETTINGS
+
+fortify-dast-api:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: test
+ needs: [deploy]
+ only:
+ variables:
+ - $CI_COMMIT_BRANCH == "main"
+ variables:
+ FCLI_DEFAULT_SSC_USER: $_FCLI_DEFAULT_SSC_USER
+ FCLI_DEFAULT_SSC_PASSWORD: $_FCLI_DEFAULT_SSC_PASSWORD
+ FCLI_DEFAULT_SSC_CI_TOKEN: $_FCLI_DEFAULT_SSC_CI_TOKEN
+ FCLI_DEFAULT_SSC_URL: $_FCLI_DEFAULT_SSC_URL
+ SC_DAST_API_SETTINGS: $SC_DAST_API_SETTINGS
+ SC_DAST_SCAN_NAME: "GitLab-Pipelines-API-Scan"
+ script:
+ - fcli ssc session login
+ - fcli sc-dast session login
+
+ - fcli sc-dast scan start --name "$SC_DAST_SCAN_NAME" --settings $SC_DAST_API_SETTINGS --store=Id
+ - 'fcli sc-dast scan wait-for ::Id:: --interval=30s'
+
+ - fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+ - fcli ssc action run gitlab-dast-report --appversion=$SSC_APP_VERSION_ID --page-size=1000
+
+ - fcli sc-dast session logout
+ - fcli ssc session logout
+ allow_failure: true
+ artifacts:
+ reports:
+ dast: gl-fortify-dast.json
+ expire_in: 3 days
+ when: always
diff --git a/devops-integrations/gitlab/fortify-dast-fod.yml b/devops-integrations/gitlab/fortify-dast-fod.yml
new file mode 100644
index 0000000..23a0af8
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-dast-fod.yml
@@ -0,0 +1,39 @@
+# Integrate Fortify on Demand Dynamic AppSec Testing (DAST) into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FOD_RELEASE_ID
+# - $_FCLI_DEFAULT_FOD_USER
+# - $_FCLI_DEFAULT_FOD_PASSWORD
+# - $_FCLI_DEFAULT_FOD_TENANT
+# - $_FCLI_DEFAULT_FOD_URL
+# Note: this assumes the FoD Release has already been configured for a DAST Automated Website scan
+
+fortify-dast:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: test
+ needs: [deploy]
+ only:
+ variables:
+ - $CI_COMMIT_BRANCH == "main"
+ variables:
+ FCLI_DEFAULT_FOD_USER: $_FCLI_DEFAULT_FOD_USER
+ FCLI_DEFAULT_FOD_PASSWORD: $_FCLI_DEFAULT_FOD_PASSWORD
+ FCLI_DEFAULT_FOD_TENANT: $_FCLI_DEFAULT_FOD_TENANT
+ FCLI_DEFAULT_FOD_URL: $_FCLI_DEFAULT_FOD_URL
+ FOD_RELEASE_ID: $_FOD_RELEASE_ID
+ FOD_NOTES: "Triggered by Gitlab Pipeline IID $CI_PIPELINE_IID: $CI_PIPELINE_URL"
+ script:
+ - fcli fod session login
+
+ - fcli fod dast start --release=$FOD_RELEASE_ID --store=Id
+ - 'fcli fod dast wait-for ::Id:: --interval=30s'
+
+ - 'fcli fod issue list --release=$FOD_RELEASE_ID --filters-param "scanType:Dynamic+severty:Critical|High"'
+ - fcli fod action run gitlab-dast-report --release=$FOD_RELEASE_ID
+
+ - fcli fod session logout
+ allow_failure: true
+ artifacts:
+ reports:
+ dast: gl-fortify-dast.json
+ expire_in: 3 days
+ when: always
diff --git a/devops-integrations/gitlab/fortify-dast-scancentral.yml b/devops-integrations/gitlab/fortify-dast-scancentral.yml
new file mode 100644
index 0000000..a2df8d8
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-dast-scancentral.yml
@@ -0,0 +1,33 @@
+# Integrate Fortify ScanCentral Dynamic AppSec Testing (DAST) into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $FCLI_DEFAULT_SSC_URL
+# - $FCLI_DEFAULT_SSC_USER
+# - $FCLI_DEFAULT_SSC_PASSWORD
+# - $SSC_AV_ID
+# - $SC_DAST_SETTINGS
+
+fortify-dast:
+ image: fortifydocker/fortify-ci-tools:5.4.1-jdk-17
+ stage: test
+ needs: [deploy]
+ variables:
+ SC_DAST_SCAN_NAME: "IWA-Java"
+ FCLI_DEFAULT_SSC_USER: $_FCLI_DEFAULT_SSC_USER
+ FCLI_DEFAULT_SSC_PASSWORD: $_FCLI_DEFAULT_SSC_PASSWORD
+ FCLI_DEFAULT_SSC_URL: $_FCLI_DEFAULT_SSC_URL
+ SC_DAST_CICD_IDENTIFIER: $_SC_DAST_CICD_IDENTIFIER
+ SSC_APP_VERSION_ID: $_SSC_APP_VERSION_ID
+ script:
+ - fcli ssc session login --insecure
+ - fcli sc-dast session login --insecure
+ - fcli sc-dast scan start --name=$SC_DAST_SCAN_NAME --settings=$SC_DAST_CICD_IDENTIFIER
+
+ - fcli ssc action run gitlab-dast-report --appversion=$SSC_APP_VERSION_ID --page-size=1000
+
+ - fcli sc-dast session logout
+ - fcli ssc session logout
+ artifacts:
+ reports:
+ dast: gl-fortify-dast.json
+ expire_in: 3 days
+ when: always
diff --git a/devops-integrations/gitlab/fortify-dast-web-scancentral.yml b/devops-integrations/gitlab/fortify-dast-web-scancentral.yml
new file mode 100644
index 0000000..58d4eae
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-dast-web-scancentral.yml
@@ -0,0 +1,40 @@
+# Integrate Fortify ScanCentral Dynamic AppSec Testing (DAST) into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $SSC_APP_VERSION_ID
+# - $SC_DAST_WEB_SETTINGS
+
+fortify-dast-web:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: test
+ needs: [deploy]
+ only:
+ variables:
+ - $CI_COMMIT_BRANCH == "main"
+ variables:
+ FCLI_DEFAULT_SSC_USER: $_FCLI_DEFAULT_SSC_USER
+ FCLI_DEFAULT_SSC_PASSWORD: $_FCLI_DEFAULT_SSC_PASSWORD
+ FCLI_DEFAULT_SSC_CI_TOKEN: $_FCLI_DEFAULT_SSC_CI_TOKEN
+ FCLI_DEFAULT_SSC_URL: $_FCLI_DEFAULT_SSC_URL
+ SC_DAST_WEB_SETTINGS: $SC_DAST_WEB_SETTINGS
+ SC_DAST_SCAN_NAME: "GitLab-Pipelines-Web-Scan"
+ script:
+ - fcli ssc session login
+ - fcli sc-dast session login
+
+ - fcli sc-dast scan start --name "$SC_DAST_SCAN_NAME" --settings $SC_DAST_WEB_SETTINGS --store=Id
+ - 'fcli sc-dast scan wait-for ::Id:: --interval=30s'
+
+ - fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+ - fcli ssc action run gitlab-dast-report --appversion=$SSC_APP_VERSION_ID --page-size=1000
+
+ - fcli sc-dast session logout
+ - fcli ssc session logout
+ allow_failure: true
+ artifacts:
+ reports:
+ dast: gl-fortify-dast.json
+ expire_in: 3 days
+ when: always
diff --git a/devops-integrations/gitlab/fortify-fod-gate.yml b/devops-integrations/gitlab/fortify-fod-gate.yml
new file mode 100644
index 0000000..555d3b6
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-fod-gate.yml
@@ -0,0 +1,25 @@
+# Integrate Fortify on Demand Static Security Gate into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FOD_RELEASE_ID
+# - $_FCLI_DEFAULT_FOD_USER
+# - $_FCLI_DEFAULT_FOD_PASSWORD
+# - $_FCLI_DEFAULT_FOD_TENANT
+# - $_FCLI_DEFAULT_FOD_URL
+
+fortify-security-gate:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: report
+ variables:
+ FCLI_DEFAULT_FOD_USER: $_FCLI_DEFAULT_FOD_USER
+ FCLI_DEFAULT_FOD_PASSWORD: $_FCLI_DEFAULT_FOD_PASSWORD
+ FCLI_DEFAULT_FOD_TENANT: $_FCLI_DEFAULT_FOD_TENANT
+ FCLI_DEFAULT_FOD_URL: $_FCLI_DEFAULT_FOD_URL
+ FOD_RELEASE_ID: $_FOD_RELEASE_ID
+ FOD_NOTES: "Triggered by Gitlab Pipeline IID $CI_PIPELINE_IID: $CI_PIPELINE_URL"
+ script:
+ - fcli fod session login
+
+ - fcli fod action run release-summary --release=$FOD_RELEASE_ID
+ - fcli fod action run check-policy --release=$FOD_RELEASE_ID
+
+ - fcli fod session logout
diff --git a/devops-integrations/gitlab/fortify-sast-fod.yml b/devops-integrations/gitlab/fortify-sast-fod.yml
new file mode 100644
index 0000000..dc1d9e4
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-sast-fod.yml
@@ -0,0 +1,37 @@
+# Integrate Fortify on Demand Static AppSec Testing (SAST) into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FOD_RELEASE_ID
+# - $_FCLI_DEFAULT_FOD_USER
+# - $_FCLI_DEFAULT_FOD_PASSWORD
+# - $_FCLI_DEFAULT_FOD_TENANT
+# - $_FCLI_DEFAULT_FOD_URL
+# Note: this assumes the FoD Release has already been configured
+
+fortify-sast:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: test
+ needs: [build]
+ variables:
+ FCLI_DEFAULT_FOD_USER: $_FCLI_DEFAULT_FOD_USER
+ FCLI_DEFAULT_FOD_PASSWORD: $_FCLI_DEFAULT_FOD_PASSWORD
+ FCLI_DEFAULT_FOD_TENANT: $_FCLI_DEFAULT_FOD_TENANT
+ FCLI_DEFAULT_FOD_URL: $_FCLI_DEFAULT_FOD_URL
+ FOD_RELEASE_ID: $_FOD_RELEASE_ID
+ FOD_NOTES: "Triggered by Gitlab Pipeline IID $CI_PIPELINE_IID: $CI_PIPELINE_URL"
+ script:
+ - fcli fod session login
+
+ - scancentral package -bt mvn -oss -o package.zip
+ - fcli fod sast start --release=$FOD_RELEASE_ID --file=package.zip --remediation=NonRemediationScanOnly --notes="$FOD_NOTES" --store=Id
+ - 'fcli fod sast wait-for ::Id:: --interval=30s'
+
+ - 'fcli fod issue list --release=$FOD_RELEASE_ID --filters-param "scanType:Static+severty:Critical|High"'
+ - fcli fod action run gitlab-sast-report --release=$FOD_RELEASE_ID
+
+ - fcli fod session logout
+ allow_failure: true
+ artifacts:
+ reports:
+ sast: gl-fortify-sast.json
+ expire_in: 3 days
+ when: always
diff --git a/devops-integrations/gitlab/fortify-sast-scancentral.yml b/devops-integrations/gitlab/fortify-sast-scancentral.yml
new file mode 100644
index 0000000..f54b2be
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-sast-scancentral.yml
@@ -0,0 +1,39 @@
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+# - $_FCLI_DEFAULT_SSC_CI_TOKEN
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $SSC_APP_VERSION_ID
+
+fortify-sast:
+ stage: test
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ needs: [build]
+ variables:
+ SC_SAST_SENSOR_VERSION: 24.2
+ FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN: $_FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+ FCLI_DEFAULT_SSC_USER: $_FCLI_DEFAULT_SSC_USER
+ FCLI_DEFAULT_SSC_PASSWORD: $_FCLI_DEFAULT_SSC_PASSWORD
+ FCLI_DEFAULT_SSC_CI_TOKEN: $_FCLI_DEFAULT_SSC_CI_TOKEN
+ FCLI_DEFAULT_SSC_URL: $_FCLI_DEFAULT_SSC_URL
+ script:
+ - fcli ssc session login
+ - fcli sc-sast session login
+
+ - scancentral package -bt mvn -o package.zip
+ - fcli sc-sast scan start --publish-to=$SSC_APP_VERSION_ID --sensor-version=$SC_SAST_SENSOR_VERSION --package-file=package.zip --store=Id
+ - 'fcli sc-sast scan wait-for ::Id:: --interval=30s'
+
+ - fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+ - fcli ssc action run gitlab-sast-report --appversion=$SSC_APP_VERSION_ID --page-size=1000
+
+ - fcli sc-sast session logout
+ - fcli ssc session logout
+ allow_failure: true
+ artifacts:
+ reports:
+ sast: gl-fortify-sast.json
+ expire_in: 3 days
+ when: always
diff --git a/devops-integrations/gitlab/fortify-sca.yml b/devops-integrations/gitlab/fortify-sca.yml
new file mode 100644
index 0000000..c62fc72
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-sca.yml
@@ -0,0 +1,51 @@
+# Integrate Debricked software composition analysis into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $DEBRICKED_TOKEN
+# - $DEBRICKED_REPO
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $SSC_APP_VERSION_ID
+
+debricked-scan:
+ image: maven:3.9-eclipse-temurin-11
+ stage: test
+ needs: [build]
+ variables:
+ DEBRICKED_TOKEN: $DEBRICKED_TOKEN
+ DEBRICKED_EXCLUSIONS: "*.lock,*.json,*fingerprints*,target/**,samples/**"
+ script:
+ - curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
+ - chmod +x debricked
+ - ./debricked scan --callgraph --prefer-npm -r "${DEBRICKED_REPO}" --access-token="${DEBRICKED_TOKEN}" .
+ allow_failure: true
+
+fortify-sca:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: test
+ needs: [debricked-scan]
+ variables:
+ FCLI_DEFAULT_SSC_USER: $_FCLI_DEFAULT_SSC_USER
+ FCLI_DEFAULT_SSC_PASSWORD: $_FCLI_DEFAULT_SSC_PASSWORD
+ FCLI_DEFAULT_SSC_URL: $_FCLI_DEFAULT_SSC_URL
+ script:
+ - fcli ssc session login
+
+ - fcli ssc artifact import-debricked --appversion=$SSC_APP_VERSION_ID --debricked-access-token=$DEBRICKED_TOKEN --repository=$DEBRICKED_REPO --branch=$CI_COMMIT_BRANCH --save-sbom-as=debricked-sbom.json --store=Id
+
+ - 'fcli ssc artifact wait-for ::Id:: --interval=30s'
+
+ - fcli ssc action run appversion-summary --appversion=$SSC_APP_VERSION_ID
+ - fcli ssc action run gitlab-debricked-report --appversion=$SSC_APP_VERSION_ID
+
+ - fcli ssc session logout
+ allow_failure: true
+ artifacts:
+ reports:
+ dependency_scanning: gl-fortify-debricked-depscan.json
+ #cyclonedx: debricked-sbom.json
+ paths:
+ - debricked-sbom.json
+ expire_in: 3 days
+ when: always
+
diff --git a/devops-integrations/gitlab/fortify-ssc-gate.yml b/devops-integrations/gitlab/fortify-ssc-gate.yml
new file mode 100644
index 0000000..d0c1dfa
--- /dev/null
+++ b/devops-integrations/gitlab/fortify-ssc-gate.yml
@@ -0,0 +1,23 @@
+# Integrate Fortify Software Security Center Gate into your Gitlab CICD pipeline
+# The following Gitlab environment variables must be defined before using this job
+# - $_FCLI_DEFAULT_SSC_CI_TOKEN
+# - $_FCLI_DEFAULT_SSC_URL
+# - $_FCLI_DEFAULT_SSC_USER
+# - $_FCLI_DEFAULT_SSC_PASSWORD
+# - $SSC_APP_VERSION_ID
+
+fortify-security-gate:
+ image: fortifydocker/fortify-ci-tools:5.5.0-jdk-17
+ stage: report
+ variables:
+ FCLI_DEFAULT_SSC_USER: $_FCLI_DEFAULT_SSC_USER
+ FCLI_DEFAULT_SSC_PASSWORD: $_FCLI_DEFAULT_SSC_PASSWORD
+ FCLI_DEFAULT_SSC_CI_TOKEN: $_FCLI_DEFAULT_SSC_CI_TOKEN
+ FCLI_DEFAULT_SSC_URL: $_FCLI_DEFAULT_SSC_URL
+ script:
+ - fcli ssc session login
+
+ - fcli ssc action run appversion-summary --appversion=$SSC_APP_VERSION_ID --filtersets="default"
+ - fcli ssc action run check-policy --appversion=$SSC_APP_VERSION_ID
+
+ - fcli ssc session logout
diff --git a/devops-integrations/oci/fortify-sast-fod.bash b/devops-integrations/oci/fortify-sast-fod.bash
new file mode 100644
index 0000000..889f2c2
--- /dev/null
+++ b/devops-integrations/oci/fortify-sast-fod.bash
@@ -0,0 +1,84 @@
+#!/bin/bash
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your OCI DevOps Project pipeline
+
+# *** Configuration ***
+
+# The following vault secrets must be defined
+ # FCLI_DEFAULT_FOD_URL
+ # FCLI_DEFAULT_FOD_TENANT
+ # FCLI_DEFAULT_FOD_USER
+ # FCLI_DEFAULT_FOD_PASSWORD (PAT)
+ # FOD_RELEASE_ID
+
+# Local variables (modify as needed)
+FCLI_VERSION=v2.4.0
+FODUPLOAD_VERSION=5.4.1
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/root/.fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+FODUPLOAD_HOME=$FORTIFY_TOOLS_DIR/FodUpload
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+fod_notes="Triggered by OCI DevOps Projects"
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+
+# *** Execution ***
+echo "Installing FCLI"
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+fcli tool fod-uploader install -v ${FODUPLOAD_VERSION} -d ${FODUPLOAD_HOME}
+fcli tool sc-client install -v ${SCANCENTRAL_VERSION} -d ${SCANCENTRAL_HOME}
+
+export PATH=$FCLI_HOME/bin:$FODUPLOAD_HOME/bin:$SCANCENTRAL_HOME/bin:${PATH}
+
+echo Setting connection with Fortify Platform
+#Use --insecure switch if the SSL certificate is self generated.
+fcli fod session login
+
+echo "Scan starting.."
+scancentral package -bt mvn -oss -o package.zip
+fcli fod sast start --release=$FOD_RELEASE_ID --file=package.zip --remediation=NonRemediationScanOnly --notes="$FOD_NOTES" --store=Id
+
+fcli fod sast wait-for ::Id:: --interval=30s
+
+fcli fod issue list --release=$FOD_RELEASE_ID
+
+fcli fod session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/devops-integrations/oci/fortify_sast_scancentral.bash b/devops-integrations/oci/fortify_sast_scancentral.bash
new file mode 100644
index 0000000..556cdb2
--- /dev/null
+++ b/devops-integrations/oci/fortify_sast_scancentral.bash
@@ -0,0 +1,87 @@
+#!/bin/bash
+# Integrate Fortify ScanCentral Static AppSec Testing (SAST) into your OCI DevOps Project pipeline
+
+# *** Configuration ***
+
+# The following vault secrets must be defined
+ # FCLI_DEFAULT_SC_SAST_CLIENT_AUTH_TOKEN
+ # FCLI_DEFAULT_SSC_USER
+ # FCLI_DEFAULT_SSC_PASSWORD
+ # FCLI_DEFAULT_SSC_CI_TOKEN
+ # FCLI_DEFAULT_SSC_URL
+ # SSC_APP_VERSION_ID
+
+# Local variables (modify as needed)
+FCLI_VERSION=v2.4.0
+SCANCENTRAL_VERSION=24.2.0
+FCLI_URL=https://github.com/fortify-ps/fcli/releases/download/${FCLI_VERSION}/fcli-linux.tgz
+FCLI_SIG_URL=${FCLI_URL}.rsa_sha256
+FORTIFY_TOOLS_DIR="/root/.fortify/tools"
+FCLI_HOME=$FORTIFY_TOOLS_DIR/fcli
+SCANCENTRAL_HOME=$FORTIFY_TOOLS_DIR/ScanCentral
+ssc_ip=x.x.x.x
+
+# *** Supported Functions ***
+verifySig() {
+ local src sig
+ src="$1"; sig="$2"
+ openssl dgst -sha256 -verify <(echo "-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArij9U9yJVNc53oEMFWYp
+NrXUG1UoRZseDh/p34q1uywD70RGKKWZvXIcUAZZwbZtCu4i0UzsrKRJeUwqanbc
+woJvYanp6lc3DccXUN1w1Y0WOHOaBxiiK3B1TtEIH1cK/X+ZzazPG5nX7TSGh8Tp
+/uxQzUFli2mDVLqaP62/fB9uJ2joX9Gtw8sZfuPGNMRoc8IdhjagbFkhFT7WCZnk
+FH/4Co007lmXLAe12lQQqR/pOTeHJv1sfda1xaHtj4/Tcrq04Kx0ZmGAd5D9lA92
+8pdBbzoe/mI5/Sk+nIY3AHkLXB9YAaKJf//Wb1yiP1/hchtVkfXyIaGM+cVyn7AN
+VQIDAQAB
+-----END PUBLIC KEY-----") -signature "${sig}" "${src}"
+}
+
+installFcli() {
+ local src sigSrc tgt tmpRoot tmpFile tmpDir
+ src="$1"; sigSrc="$2"; tgt="$3";
+ tmpRoot=$(mktemp -d); tmpFile="$tmpRoot/archive.tmp"; tmpDir="$tmpRoot/extracted"
+ echo "Downloading file"
+ wget -O $tmpFile $src
+ echo "Verifying Signature..."
+ verifySig "$tmpFile" <(curl -fsSL -o - "$sigSrc")
+ echo "Unzipping: tar -zxf " + $tmpFile + " -C " + $tmpDir
+ mkdir $tmpDir
+ mkdir -p $tgt
+
+ tar -zxf $tmpFile -C $tmpDir
+ mv $tmpDir/* $tgt
+ rm -rf $tmpRoot
+ find $tgt -type f
+}
+
+# *** Execution ***
+# Install FCLI
+installFcli ${FCLI_URL} ${FCLI_SIG_URL} ${FCLI_HOME}/bin
+
+# Use when ssc IP is not static
+#echo "adding host entry..."
+#echo ${ssc_ip} fortify.cyberxdemo.com >> /etc/hosts
+#cat /etc/hosts
+
+fcli tool sc-client install -v ${SCANCENTRAL_VERSION} -d ${SCANCENTRAL_HOME}
+
+
+export PATH=$FCLI_HOME/bin:$SCANCENTRAL_HOME/bin:${PATH}
+
+echo Setting connection with Fortify Platform
+# USE --INSECURE WHEN YOUR SSL CERTIFICATES ARE SELF GENERATED/UNTRUSTED
+fcli ssc session login
+fcli sc-sast session login
+
+scancentral package -bt mvn -o package.zip
+
+fcli sc-sast scan start --publish-to=$SSC_APP_VERSION_ID --sensor-version=$SCANCENTRAL_VERSION --package-file=package.zip --store=Id
+fcli sc-sast scan wait-for ::Id:: --interval=30s
+fcli ssc issue count --appversion=$SSC_APP_VERSION_ID
+
+echo Terminating connection with Fortify Platform
+fcli sc-sast session logout
+fcli ssc session logout
+# *** Execution Completes ***
+
+# *** EoF ***
\ No newline at end of file
diff --git a/etc/IWA_API.postman_collection.json b/etc/IWA_API.postman_collection.json
new file mode 100644
index 0000000..26f347e
--- /dev/null
+++ b/etc/IWA_API.postman_collection.json
@@ -0,0 +1,13254 @@
+{
+ "info": {
+ "_postman_id": "c7236a64-d315-4f3b-b726-49a47dcc149a",
+ "name": "Insecure Web App (IWA) API",
+ "description": "This is the REST API for Insecure Web App (IWA) Pharmacy Direct. You can select a development or production server to test the API. Most operations require authentication via a user specific JWT token. To retrieve a JWT token for a user you can use the '/authentication/sign-in' operation below and then copy the value of the 'accessToken' field. This value can then be entered when you click on the 'Authorize' button or lock icons.",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
+ "_exporter_id": "9630190"
+ },
+ "item": [
+ {
+ "name": "api/v3",
+ "item": [
+ {
+ "name": "orders",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find order by Id",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find an order by UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"219f1f62-f415-804f-8989-82fce829f5b8\",\n \"user\": {\n \"id\": \"fbbb6785-1ee9-f637-1963-19cfc4a1aec3\",\n \"username\": \"minim dolore eu sit\",\n \"firstName\": \"esse eu dolor non\",\n \"lastName\": \"non dolor in\",\n \"email\": \"dolor qui tempor\",\n \"phone\": \"pariatur esse deserunt mollit\",\n \"address\": \"occaecat Duis\",\n \"city\": \"consequat deserunt enim\",\n \"state\": \"elit in\",\n \"zip\": \"occaecat amet\",\n \"country\": \"Ut fugiat consequat aliqua\",\n \"enabled\": true\n },\n \"orderNum\": \"ullamco\",\n \"orderDate\": \"1973-04-25T12:25:48.314Z\",\n \"cart\": \"consequat dolor offi\",\n \"amount\": 43847209.55708042,\n \"shipped\": false,\n \"shippedDate\": \"1998-01-31T14:45:21.758Z\",\n \"notes\": {}\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Order Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update an order",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update an existing order"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"219f1f62-f415-804f-8989-82fce829f5b8\",\n \"user\": {\n \"id\": \"fbbb6785-1ee9-f637-1963-19cfc4a1aec3\",\n \"username\": \"minim dolore eu sit\",\n \"firstName\": \"esse eu dolor non\",\n \"lastName\": \"non dolor in\",\n \"email\": \"dolor qui tempor\",\n \"phone\": \"pariatur esse deserunt mollit\",\n \"address\": \"occaecat Duis\",\n \"city\": \"consequat deserunt enim\",\n \"state\": \"elit in\",\n \"zip\": \"occaecat amet\",\n \"country\": \"Ut fugiat consequat aliqua\",\n \"enabled\": true\n },\n \"orderNum\": \"ullamco\",\n \"orderDate\": \"1973-04-25T12:25:48.314Z\",\n \"cart\": \"consequat dolor offi\",\n \"amount\": 43847209.55708042,\n \"shipped\": false,\n \"shippedDate\": \"1998-01-31T14:45:21.758Z\",\n \"notes\": {}\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Order Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a order",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete an order"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Order Not Found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "c9b31f33-17a4-4fcd-927e-c14cdee32201",
+ "description": "(Required) UUID of the order to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Find orders by keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for orders to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"id\": \"372c0b93-c1d9-7776-18f9-5159d049516e\",\n \"code\": \"qui id\",\n \"name\": \"ex enim voluptate\",\n \"summary\": \"Duis ullamco quis aute\",\n \"description\": \"id in in\",\n \"image\": \"ullamco laboris in\",\n \"price\": -27913647.199027598,\n \"onSale\": true,\n \"salePrice\": 7322939.265867442,\n \"inStock\": false,\n \"timeToStock\": -83974172,\n \"rating\": 19487882,\n \"available\": true\n },\n {\n \"id\": \"6f7601d2-c7af-244f-2dd3-4175a1243416\",\n \"code\": \"irure consequat do eu\",\n \"name\": \"dolor\",\n \"summary\": \"Lorem esse\",\n \"description\": \"anim dolore in\",\n \"image\": \"officia enim occaecat reprehenderit cupidatat\",\n \"price\": 84333309.66977769,\n \"onSale\": true,\n \"salePrice\": -66026868.59564058,\n \"inStock\": true,\n \"timeToStock\": 75635255,\n \"rating\": 42086492,\n \"available\": true\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1988-03-27T05:01:46.781Z\",\n \"errors\": [\n \"do tempor ea\",\n \"anim ex nostrud proident\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new order",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new order"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"219f1f62-f415-804f-8989-82fce829f5b8\",\n \"user\": {\n \"id\": \"fbbb6785-1ee9-f637-1963-19cfc4a1aec3\",\n \"username\": \"minim dolore eu sit\",\n \"firstName\": \"esse eu dolor non\",\n \"lastName\": \"non dolor in\",\n \"email\": \"dolor qui tempor\",\n \"phone\": \"pariatur esse deserunt mollit\",\n \"address\": \"occaecat Duis\",\n \"city\": \"consequat deserunt enim\",\n \"state\": \"elit in\",\n \"zip\": \"occaecat amet\",\n \"country\": \"Ut fugiat consequat aliqua\",\n \"enabled\": true\n },\n \"orderNum\": \"ullamco\",\n \"orderDate\": \"1973-04-25T12:25:48.314Z\",\n \"cart\": \"consequat dolor offi\",\n \"amount\": 43847209.55708042,\n \"shipped\": false,\n \"shippedDate\": \"1998-01-31T14:45:21.758Z\",\n \"notes\": {}\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Order Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"userId\": \"urn:uuid:0ce60f2b-441b-9554-78d6-7ef2860906b2\",\n \"orderNum\": \"nisi quis dolor\",\n \"orderDate\": \"1947-03-21T05:57:58.165Z\",\n \"amount\": 83820970.9698413,\n \"cart\": \"irure labore ullamco consequat exercit\",\n \"shipped\": true,\n \"shippedDate\": \"1968-06-30T17:00:01.005Z\",\n \"notes\": {}\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/orders",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "orders"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "products",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find product by Id",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find a product by UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:76ee8768-d4bc-5da5-5aa7-0ea4dbd03a70\",\n \"code\": \"et labore ad irure\",\n \"name\": \"dolor anim voluptate eu reprehenderit\",\n \"summary\": \"elit Ut consectetur dolor\",\n \"description\": \"deserunt dolo\",\n \"image\": \"dolore aliquip\",\n \"price\": -65265961.13949914,\n \"onSale\": false,\n \"salePrice\": 93790070.10770187,\n \"inStock\": false,\n \"timeToStock\": -95676653,\n \"rating\": 52885506,\n \"available\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Product Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update a product",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update an existing product"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:76ee8768-d4bc-5da5-5aa7-0ea4dbd03a70\",\n \"code\": \"et labore ad irure\",\n \"name\": \"dolor anim voluptate eu reprehenderit\",\n \"summary\": \"elit Ut consectetur dolor\",\n \"description\": \"deserunt dolo\",\n \"image\": \"dolore aliquip\",\n \"price\": -65265961.13949914,\n \"onSale\": false,\n \"salePrice\": 93790070.10770187,\n \"inStock\": false,\n \"timeToStock\": -95676653,\n \"rating\": 52885506,\n \"available\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Product Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a product",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete a product"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Product Not Found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "(Required) UUID of the product to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Find products by keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for products to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"id\": \"372c0b93-c1d9-7776-18f9-5159d049516e\",\n \"code\": \"qui id\",\n \"name\": \"ex enim voluptate\",\n \"summary\": \"Duis ullamco quis aute\",\n \"description\": \"id in in\",\n \"image\": \"ullamco laboris in\",\n \"price\": -27913647.199027598,\n \"onSale\": true,\n \"salePrice\": 7322939.265867442,\n \"inStock\": false,\n \"timeToStock\": -83974172,\n \"rating\": 19487882,\n \"available\": true\n },\n {\n \"id\": \"6f7601d2-c7af-244f-2dd3-4175a1243416\",\n \"code\": \"irure consequat do eu\",\n \"name\": \"dolor\",\n \"summary\": \"Lorem esse\",\n \"description\": \"anim dolore in\",\n \"image\": \"officia enim occaecat reprehenderit cupidatat\",\n \"price\": 84333309.66977769,\n \"onSale\": true,\n \"salePrice\": -66026868.59564058,\n \"inStock\": true,\n \"timeToStock\": 75635255,\n \"rating\": 42086492,\n \"available\": true\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new product",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new product"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:76ee8768-d4bc-5da5-5aa7-0ea4dbd03a70\",\n \"code\": \"et labore ad irure\",\n \"name\": \"dolor anim voluptate eu reprehenderit\",\n \"summary\": \"elit Ut consectetur dolor\",\n \"description\": \"deserunt dolo\",\n \"image\": \"dolore aliquip\",\n \"price\": -65265961.13949914,\n \"onSale\": false,\n \"salePrice\": 93790070.10770187,\n \"inStock\": false,\n \"timeToStock\": -95676653,\n \"rating\": 52885506,\n \"available\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Product Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"available\": true,\n \"code\": \"ut mollit\",\n \"description\": \"dolore in elit quiqui culpa voluptatein exercitation cupidatat pariatur\",\n \"inStock\": false,\n \"name\": \"voluptat\",\n \"onSale\": true,\n \"summary\": \"ullamcodeserunt nostrud cillum ea\",\n \"image\": \"in proident\",\n \"price\": 56987393.67315651,\n \"salePrice\": 66173006.36598087,\n \"timeToStock\": 212,\n \"rating\": 4\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/products",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "products"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "messages",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find message by Id",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find a message by UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:998331bd-e8cc-2f7a-2c5f-05862402c3b2\",\n \"user\": {\n \"id\": \"urn:uuid:abacba6c-14bb-49ba-b8df-7d8447869329\",\n \"username\": \"dolore eu in\",\n \"firstName\": \"velit anim in\",\n \"lastName\": \"veniam voluptate\",\n \"email\": \"aliqua\",\n \"phone\": \"pariatur veniam in magna et\",\n \"address\": \"dolor nostrud\",\n \"city\": \"dolor et mollit\",\n \"state\": \"esse sunt nulla\",\n \"zip\": \"sed dolor \",\n \"country\": \"ullamco magna sed velit\",\n \"enabled\": false\n },\n \"text\": \"est ea\",\n \"sentDate\": \"1969-08-11T11:28:52.437Z\",\n \"readDate\": \"1961-12-22T11:40:54.581Z\",\n \"read\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Message Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update a message",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update a users message"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:998331bd-e8cc-2f7a-2c5f-05862402c3b2\",\n \"user\": {\n \"id\": \"urn:uuid:abacba6c-14bb-49ba-b8df-7d8447869329\",\n \"username\": \"dolore eu in\",\n \"firstName\": \"velit anim in\",\n \"lastName\": \"veniam voluptate\",\n \"email\": \"aliqua\",\n \"phone\": \"pariatur veniam in magna et\",\n \"address\": \"dolor nostrud\",\n \"city\": \"dolor et mollit\",\n \"state\": \"esse sunt nulla\",\n \"zip\": \"sed dolor \",\n \"country\": \"ullamco magna sed velit\",\n \"enabled\": false\n },\n \"text\": \"est ea\",\n \"sentDate\": \"1969-08-11T11:28:52.437Z\",\n \"readDate\": \"1961-12-22T11:40:54.581Z\",\n \"read\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Message Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a message",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete a users existing message"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Message Not Found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "6914e47d-2f0a-4deb-a712-12e7801e13e8",
+ "description": "(Required) UUID of the message to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Finds messages by keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for messages to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"id\": \"urn:uuid:f98c3903-49f7-fd44-8673-f1a1f2da47b4\",\n \"user\": {\n \"id\": \"urn:uuid:df3e0406-76a3-9581-3e76-04db27aba786\",\n \"username\": \"veniam ea\",\n \"firstName\": \"in\",\n \"lastName\": \"dolore\",\n \"email\": \"in ut pariatur ea Duis\",\n \"phone\": \"occaecat mollit amet\",\n \"address\": \"nisi pariatur eiusmod magna\",\n \"city\": \"ut irure sit aliquip consectetur\",\n \"state\": \"quis pariatur aliquip\",\n \"zip\": \"enim dolore\",\n \"country\": \"adipisicing labore Ut quis\",\n \"enabled\": true\n },\n \"text\": \"anim nostrud\",\n \"sentDate\": \"1972-03-26T22:49:05.220Z\",\n \"readDate\": \"2004-12-07T19:49:19.734Z\",\n \"read\": true\n },\n {\n \"id\": \"d569798b-0662-c0cb-a183-3cf930029a16\",\n \"user\": {\n \"id\": \"urn:uuid:954a8d40-efdb-5d3b-8af2-752ef9e9d401\",\n \"username\": \"nisi in ex sed\",\n \"firstName\": \"nostrud in laboris elit\",\n \"lastName\": \"laboris ex nisi\",\n \"email\": \"sint ad nisi Lorem culpa\",\n \"phone\": \"mollit sunt commodo\",\n \"address\": \"velit\",\n \"city\": \"nulla enim\",\n \"state\": \"fugiat Duis consectetur commodo\",\n \"zip\": \"velit aute ipsum Lorem\",\n \"country\": \"veniam ut ipsum Duis\",\n \"enabled\": true\n },\n \"text\": \"in eiusmod esse do nulla\",\n \"sentDate\": \"1943-11-27T04:24:14.914Z\",\n \"readDate\": \"1988-01-04T14:29:14.864Z\",\n \"read\": true\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new message",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new message for a user"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:998331bd-e8cc-2f7a-2c5f-05862402c3b2\",\n \"user\": {\n \"id\": \"urn:uuid:abacba6c-14bb-49ba-b8df-7d8447869329\",\n \"username\": \"dolore eu in\",\n \"firstName\": \"velit anim in\",\n \"lastName\": \"veniam voluptate\",\n \"email\": \"aliqua\",\n \"phone\": \"pariatur veniam in magna et\",\n \"address\": \"dolor nostrud\",\n \"city\": \"dolor et mollit\",\n \"state\": \"esse sunt nulla\",\n \"zip\": \"sed dolor \",\n \"country\": \"ullamco magna sed velit\",\n \"enabled\": false\n },\n \"text\": \"est ea\",\n \"sentDate\": \"1969-08-11T11:28:52.437Z\",\n \"readDate\": \"1961-12-22T11:40:54.581Z\",\n \"read\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Message Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"text\": \"dolor sedproident ullamco Excepteurmagna\",\n \"userId\": \"urn:uuid:2a21517e-f52e-371f-f519-b44773cea7ce\",\n \"sentDate\": \"1947-03-29T07:54:38.699Z\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Get users unread message count",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Get a users unread message count by their UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"urn:uuid:998331bd-e8cc-2f7a-2c5f-05862402c3b2\",\n \"user\": {\n \"id\": \"urn:uuid:abacba6c-14bb-49ba-b8df-7d8447869329\",\n \"username\": \"dolore eu in\",\n \"firstName\": \"velit anim in\",\n \"lastName\": \"veniam voluptate\",\n \"email\": \"aliqua\",\n \"phone\": \"pariatur veniam in magna et\",\n \"address\": \"dolor nostrud\",\n \"city\": \"dolor et mollit\",\n \"state\": \"esse sunt nulla\",\n \"zip\": \"sed dolor \",\n \"country\": \"ullamco magna sed velit\",\n \"enabled\": false\n },\n \"text\": \"est ea\",\n \"sentDate\": \"1969-08-11T11:28:52.437Z\",\n \"readDate\": \"1961-12-22T11:40:54.581Z\",\n \"read\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/messages/unread-count/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "messages",
+ "unread-count",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "32e7db01-86bc-4687-9ecb-d79b265ac14f",
+ "description": "(Required) UUID of the user to find messages for. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "reviews",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find review by Id",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find a review by UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"96ab576c-c0ba-aa28-9bbc-2dc6e1f8c9ef\",\n \"product\": {\n \"id\": \"urn:uuid:0547300f-940e-0db3-df53-a92215b455ba\",\n \"code\": \"consectetur consequat officia quis\",\n \"name\": \"cupidatat\",\n \"summary\": \"magna\",\n \"description\": \"veniam anim amet\",\n \"image\": \"minim amet nisi\",\n \"price\": -25610873.854361802,\n \"onSale\": false,\n \"salePrice\": 39954746.859428346,\n \"inStock\": false,\n \"timeToStock\": -81956499,\n \"rating\": -24039134,\n \"available\": true\n },\n \"user\": {\n \"id\": \"1994beb5-b4ba-261c-df92-83fb7fe5a1e4\",\n \"username\": \"nulla anim ut\",\n \"firstName\": \"veniam velit deserunt aliquip\",\n \"lastName\": \"est veniam reprehenderit sint\",\n \"email\": \"est velit nostrud sint\",\n \"phone\": \"qui reprehenderit aute irure\",\n \"address\": \"dolor minim\",\n \"city\": \"minim\",\n \"state\": \"ullamco\",\n \"zip\": \"occaecat laboris\",\n \"country\": \"sit magna quis\",\n \"enabled\": true\n },\n \"reviewDate\": \"1971-01-13T01:17:05.090Z\",\n \"comment\": \"occaecat labore velit\",\n \"rating\": -63362603\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Review Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update an review",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update an existing review"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"96ab576c-c0ba-aa28-9bbc-2dc6e1f8c9ef\",\n \"product\": {\n \"id\": \"urn:uuid:0547300f-940e-0db3-df53-a92215b455ba\",\n \"code\": \"consectetur consequat officia quis\",\n \"name\": \"cupidatat\",\n \"summary\": \"magna\",\n \"description\": \"veniam anim amet\",\n \"image\": \"minim amet nisi\",\n \"price\": -25610873.854361802,\n \"onSale\": false,\n \"salePrice\": 39954746.859428346,\n \"inStock\": false,\n \"timeToStock\": -81956499,\n \"rating\": -24039134,\n \"available\": true\n },\n \"user\": {\n \"id\": \"1994beb5-b4ba-261c-df92-83fb7fe5a1e4\",\n \"username\": \"nulla anim ut\",\n \"firstName\": \"veniam velit deserunt aliquip\",\n \"lastName\": \"est veniam reprehenderit sint\",\n \"email\": \"est velit nostrud sint\",\n \"phone\": \"qui reprehenderit aute irure\",\n \"address\": \"dolor minim\",\n \"city\": \"minim\",\n \"state\": \"ullamco\",\n \"zip\": \"occaecat laboris\",\n \"country\": \"sit magna quis\",\n \"enabled\": true\n },\n \"reviewDate\": \"1971-01-13T01:17:05.090Z\",\n \"comment\": \"occaecat labore velit\",\n \"rating\": -63362603\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Review Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a review",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete an review"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Review Not Found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "822f734a-3d13-4ebc-bff6-9c36d29866a6",
+ "description": "(Required) UUID of the review to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Find reviews by product and keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0",
+ "description": "UUID of the product to find reviews for."
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for reviews to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Product and keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"id\": \"372c0b93-c1d9-7776-18f9-5159d049516e\",\n \"code\": \"qui id\",\n \"name\": \"ex enim voluptate\",\n \"summary\": \"Duis ullamco quis aute\",\n \"description\": \"id in in\",\n \"image\": \"ullamco laboris in\",\n \"price\": -27913647.199027598,\n \"onSale\": true,\n \"salePrice\": 7322939.265867442,\n \"inStock\": false,\n \"timeToStock\": -83974172,\n \"rating\": 19487882,\n \"available\": true\n },\n {\n \"id\": \"6f7601d2-c7af-244f-2dd3-4175a1243416\",\n \"code\": \"irure consequat do eu\",\n \"name\": \"dolor\",\n \"summary\": \"Lorem esse\",\n \"description\": \"anim dolore in\",\n \"image\": \"officia enim occaecat reprehenderit cupidatat\",\n \"price\": 84333309.66977769,\n \"onSale\": true,\n \"salePrice\": -66026868.59564058,\n \"inStock\": true,\n \"timeToStock\": 75635255,\n \"rating\": 42086492,\n \"available\": true\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews?pid=eec467c8-5de9-4c7c-8541-7b31614d31a0&keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "query": [
+ {
+ "key": "pid",
+ "value": "eec467c8-5de9-4c7c-8541-7b31614d31a0"
+ },
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new review",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new review"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"96ab576c-c0ba-aa28-9bbc-2dc6e1f8c9ef\",\n \"product\": {\n \"id\": \"urn:uuid:0547300f-940e-0db3-df53-a92215b455ba\",\n \"code\": \"consectetur consequat officia quis\",\n \"name\": \"cupidatat\",\n \"summary\": \"magna\",\n \"description\": \"veniam anim amet\",\n \"image\": \"minim amet nisi\",\n \"price\": -25610873.854361802,\n \"onSale\": false,\n \"salePrice\": 39954746.859428346,\n \"inStock\": false,\n \"timeToStock\": -81956499,\n \"rating\": -24039134,\n \"available\": true\n },\n \"user\": {\n \"id\": \"1994beb5-b4ba-261c-df92-83fb7fe5a1e4\",\n \"username\": \"nulla anim ut\",\n \"firstName\": \"veniam velit deserunt aliquip\",\n \"lastName\": \"est veniam reprehenderit sint\",\n \"email\": \"est velit nostrud sint\",\n \"phone\": \"qui reprehenderit aute irure\",\n \"address\": \"dolor minim\",\n \"city\": \"minim\",\n \"state\": \"ullamco\",\n \"zip\": \"occaecat laboris\",\n \"country\": \"sit magna quis\",\n \"enabled\": true\n },\n \"reviewDate\": \"1971-01-13T01:17:05.090Z\",\n \"comment\": \"occaecat labore velit\",\n \"rating\": -63362603\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Review Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"productId\": \"urn:uuid:3fee2c70-9b55-653c-8ca5-802cf4387648\",\n \"userId\": \"urn:uuid:f30590af-b640-0ba8-c15d-28e3633f9b6d\",\n \"reviewDate\": \"1972-01-14T07:55:42.330Z\",\n \"comment\": \"qui tempor cillum labore\",\n \"rating\": -48971168\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/reviews",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "reviews"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "roles",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find role Id",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find a specific role by its UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Message Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update a role",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update an existing role"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Role Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a role",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete a role"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Role not found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "-7817338",
+ "description": "(Required) UUID of the role to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Find roles by keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for roles to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"id\": \"04cf0720-01da-dd43-aa8f-87e6b2ab9ca7\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"711f68c7-7afa-535f-8e93-b31e458fa9e1\",\n \"name\": \"ROLE_USER\"\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new role",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new role"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Role Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": \"c489b15a-6d1d-4f3d-3be8-36570c37c865\",\n \"name\": \"ROLE_CUSTOMER\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/roles",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "roles"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "site",
+ "item": [
+ {
+ "name": "Check if username is taken",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Check if a user with the specified username already exists in the site"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"paria\",\n \"firstName\": \"voluptate ut Ut est\",\n \"lastName\": \"cupidatat inc\",\n \"phone\": \"77494218\",\n \"username\": \"nzu00\",\n \"id\": \"459e4949-9495-0287-2a5b-8275f7fa2056\",\n \"address\": \"Duis cillum\",\n \"city\": \"exercitation culpa est\",\n \"state\": \"officia commodo est magna Lorem\",\n \"zip\": \"ut\",\n \"country\": \"sint in\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:69dab483-422a-ef21-a008-64fe6e9eabea\",\n \"name\": \"ROLE_API\"\n },\n {\n \"id\": \"urn:uuid:05e4dcc3-6ce8-593f-2169-8a2009642443\",\n \"name\": \"ROLE_API\"\n }\n ],\n \"enabled\": false\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/username-already-exists/:username",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "username-already-exists",
+ ":username"
+ ],
+ "variable": [
+ {
+ "key": "username",
+ "value": "user1",
+ "description": "(Required) Username to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Check if email exists",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Check if a user with the specified email address already exists in the site"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/email-already-exists/:email",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "email-already-exists",
+ ":email"
+ ],
+ "variable": [
+ {
+ "key": "email",
+ "value": "user1@localhost.com",
+ "description": "(Required) Email address to check. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Register a new user",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Register a new user with the site"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"username\": \"nostrud mollit officia non\",\n \"password\": \"commodo voluptate Duis nostrud\",\n \"firstName\": \"do laboris ullamco\",\n \"lastName\": \"ullamco in ea\",\n \"email\": \"elit tem\",\n \"phone\": \"culpa proid\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"et\",\n \"firstName\": \"occaecat\",\n \"lastName\": \"culpa laboris ex \",\n \"password\": \"ad labore anim dolore\",\n \"phone\": \"777729653851\",\n \"username\": \"pygr\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/register-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "register-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Subscribe a new user",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Subscribe a new user to the newsletter"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"id\": -44080311,\n \"firstName\": \"dolo\",\n \"lastName\": \"cupidatat sint\",\n \"email\": \"esse commodo\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/subscribe-user",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "subscribe-user"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Sign in",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Sign in to the system"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"password\": \"Duis nisi consectetur ut\",\n \"username\": \"proident ut occaecat minim sunt\"\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/sign-in",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "sign-in"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Get the site status",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/status",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "status"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Get the site message of the day"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/status",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "status"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"health\": \"anim aute eu pariatu\",\n \"motd\": \"voluptate magna\"\n },\n {\n \"health\": \"occaecat Ut c\",\n \"motd\": \"culpa ut aliqua aliquip nostrud\"\n }\n]"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/site/status",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "site",
+ "status"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "users",
+ "item": [
+ {
+ "name": "{id}",
+ "item": [
+ {
+ "name": "Find user by UUID",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Find a specific user by their UUID"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Not Found",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be found. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Update a user",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Update an existing user"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Not Found",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "PUT",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Delete a user",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "*/*"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Delete an existing user"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Bad request",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ },
+ {
+ "name": "User Not Found",
+ "originalRequest": {
+ "method": "DELETE",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users/:id",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users",
+ ":id"
+ ],
+ "variable": [
+ {
+ "key": "id",
+ "value": "db4cfab1-ff1d-4bca-a662-394771841383",
+ "description": "(Required) UUID of the user to be updated. Cannot be empty."
+ },
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Not Found",
+ "code": 404,
+ "_postman_previewlanguage": "text",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "*/*"
+ }
+ ],
+ "cookie": [],
+ "body": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Find users by keyword(s)",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex",
+ "description": "Keyword(s) search for users to be found."
+ },
+ {
+ "key": "offset",
+ "value": "21300640",
+ "description": "Offset of the starting record. 0 indicates the first record."
+ },
+ {
+ "key": "limit",
+ "value": "21300640",
+ "description": "Maximum records to return. The maximum value allowed is 50."
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Keyword search by %keyword% format"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "[\n {\n \"email\": \"proident es\",\n \"firstName\": \"quis est of\",\n \"lastName\": \"minim\",\n \"phone\": \"85896000\",\n \"username\": \"7ecb3hdav\",\n \"id\": \"urn:uuid:e2e33004-5679-a1ad-113c-2a2c73ffa68f\",\n \"address\": \"eu\",\n \"city\": \"ullamco pariatur\",\n \"state\": \"ni\",\n \"zip\": \"Lorem in est\",\n \"country\": \"nostrud elit\",\n \"authorities\": [\n {\n \"id\": \"2205bd02-e0bd-8b8e-46b2-a899fcaf683b\",\n \"name\": \"ROLE_API\"\n },\n {\n \"id\": \"urn:uuid:cc37ab06-0183-69d9-e115-24c67d78d3f0\",\n \"name\": \"ROLE_USER\"\n }\n ],\n \"enabled\": false\n },\n {\n \"email\": \"et Excepteur ullamco\",\n \"firstName\": \"nostrud \",\n \"lastName\": \"dolor dolore elit\",\n \"phone\": \"956293987\",\n \"username\": \"g6j6z1gtwc\",\n \"id\": \"81b9aa12-e539-07ef-0c37-1130cbdd309a\",\n \"address\": \"sunt nostrud anim sed\",\n \"city\": \"quis aliquip veniam officia\",\n \"state\": \"veniam ex\",\n \"zip\": \"dolore occaecat Lorem\",\n \"country\": \"non occaecat\",\n \"authorities\": [\n {\n \"id\": \"2407d3eb-4371-d06c-3a87-a657112a8110\",\n \"name\": \"ROLE_API\"\n },\n {\n \"id\": \"urn:uuid:f282f7db-cc8d-3812-70d7-09151aa57557\",\n \"name\": \"ROLE_TEST\"\n }\n ],\n \"enabled\": true\n }\n]"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "GET",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users?keywords=nostrud ex&offset=21300640&limit=21300640",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "query": [
+ {
+ "key": "keywords",
+ "value": "nostrud ex"
+ },
+ {
+ "key": "offset",
+ "value": "21300640"
+ },
+ {
+ "key": "limit",
+ "value": "21300640"
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ },
+ {
+ "name": "Create a new user",
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Accept",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ },
+ "description": "Creates a new user"
+ },
+ "response": [
+ {
+ "name": "Success",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"email\": \"nostrud ullamco ipsum\",\n \"firstName\": \"officia\",\n \"lastName\": \"dolore culpa sunt\",\n \"phone\": \"050345789735\",\n \"username\": \"y4kwf\",\n \"id\": \"urn:uuid:19f9d5fc-4530-0350-2a10-d427472c785a\",\n \"address\": \"incididunt sed aliqua\",\n \"city\": \"deserunt id aliquip\",\n \"state\": \"commodo aute nulla magna Lorem\",\n \"zip\": \"est irure magna sunt\",\n \"country\": \"id consequat\",\n \"authorities\": [\n {\n \"id\": \"a035d52a-b947-81e3-2a27-771dc51938ee\",\n \"name\": \"ROLE_TEST\"\n },\n {\n \"id\": \"urn:uuid:d7a2a7dd-7e17-486d-7899-114311f56891\",\n \"name\": \"ROLE_CUSTOMER\"\n }\n ],\n \"enabled\": true\n}"
+ },
+ {
+ "name": "Bad Request",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Bad Request",
+ "code": 400,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Unauthorized",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Unauthorized",
+ "code": 401,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Forbidden",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Forbidden",
+ "code": 403,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "User Already Exists",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Conflict",
+ "code": 409,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ },
+ {
+ "name": "Internal Server Error",
+ "originalRequest": {
+ "method": "POST",
+ "header": [
+ {
+ "description": "Added as a part of security scheme: bearer",
+ "key": "Authorization",
+ "value": "Bearer "
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"email\": \"occaecat\",\n \"firstName\": \"elit aute ullamco irure\",\n \"lastName\": \"sunt non amet\",\n \"phone\": \"31861069\",\n \"username\": \"4edketw0\",\n \"id\": \"urn:uuid:d4d037ed-1e66-37ee-96ae-ba97fb9a5098\",\n \"password\": \"est cupidatat\",\n \"confirmPassword\": \"Lorem velit dolore\",\n \"address\": \"enim aute\",\n \"city\": \"consectetur aliquip\",\n \"state\": \"velit nulla dolore consectetur\",\n \"zip\": \"velit mollit\",\n \"country\": \"minim\",\n \"dateCreated\": \"1975-09-15T12:49:46.736Z\",\n \"authorities\": [\n {\n \"id\": \"urn:uuid:aef9ea8c-e30b-2e7a-56fc-a7a90f552fd5\",\n \"name\": \"ROLE_CUSTOMER\"\n },\n {\n \"id\": \"72a1a13d-ee22-e4f3-a1ef-69edb9c067df\",\n \"name\": \"ROLE_ADMIN\"\n }\n ],\n \"enabled\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseUrl}}/api/v3/users",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "v3",
+ "users"
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "{{protocol}}",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "{{environment}}",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ }
+ ]
+ }
+ },
+ "status": "Internal Server Error",
+ "code": 500,
+ "_postman_previewlanguage": "json",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "cookie": [],
+ "body": "{\n \"success\": false,\n \"timestamp\": \"1964-10-03T17:08:53.142Z\",\n \"errors\": [\n \"sed Ut eiusmod id\",\n \"in est dolore\"\n ]\n}"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "variable": [
+ {
+ "key": "protocol",
+ "value": "https",
+ "type": "any",
+ "description": " (This can only be one of http,https)"
+ },
+ {
+ "key": "environment",
+ "value": "iwa.onfortify.com",
+ "type": "any",
+ "description": " (This can only be one of localhost:8888,iwa.onfortify.com)"
+ },
+ {
+ "key": "baseUrl",
+ "value": "{{protocol}}://{{environment}}",
+ "type": "string"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/etc/iwa_dev_cft.yaml b/etc/iwa_dev_cft.yaml
new file mode 100644
index 0000000..d33d899
--- /dev/null
+++ b/etc/iwa_dev_cft.yaml
@@ -0,0 +1,85 @@
+AWSTemplateFormatVersion: '2010-09-09'
+Parameters:
+ KeyName:
+ Description: Name of an existing EC2 KeyPair to enable SSH access to the instance
+ Type: 'AWS::EC2::KeyPair::KeyName'
+ ConstraintDescription: Can contain only ASCII characters.
+ InstanceType:
+ Description: WebServer EC2 instance type
+ Type: String
+ Default: m1.large
+ ConstraintDescription: must be a valid EC2 instance type.
+ InboundTraffic:
+ Description: The IP address CIDR range (x.x.x.x/x) to connect from your local machine. FYI, get your address using http://checkip.amazonaws.com/
+ Type: String
+ MinLength: '9'
+ MaxLength: '18'
+ Default: '0.0.0.0/0'
+ AllowedPattern: "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})"
+ ConstraintDescription: Must be a valid CIDR range of the form x.x.x.x/x.
+Conditions:
+ HasDBSnapshotIdentifier: !Not [!Equals [!Ref DBSnapshotIdentifier, '']]
+Resources:
+ InstanceSecurityGroup:
+ Type: AWS::EC2::SecurityGroup
+ Properties:
+ GroupDescription: Security group
+ SecurityGroupIngress:
+ - IpProtocol: tcp
+ FromPort: 3389
+ ToPort: 3389
+ CidrIp:
+ Ref: InboundTraffic
+ - IpProtocol: tcp
+ FromPort: 8580
+ ToPort: 8580
+ CidrIp: 0.0.0.0/0
+ - IpProtocol: tcp
+ FromPort: 8080
+ ToPort: 8080
+ CidrIp: 0.0.0.0/0
+ DBEC2SecurityGroup:
+ Type: AWS::EC2::SecurityGroup
+ Properties:
+ GroupDescription: Open IWA DB for access
+ SecurityGroupIngress:
+ - IpProtocol: tcp
+ FromPort: 3306
+ ToPort: 3306
+ CidrIp: 0.0.0.0/0
+ IWAJavaInstance:
+ Type: AWS::EC2::Instance
+ Properties:
+ ImageId: ami-0cbcba412b2a46866
+ InstanceType: m6i.4xlarge
+ SecurityGroups:
+ - Ref: InstanceSecurityGroup
+ Tags:
+ - Key: "Name"
+ Value: "IWA Java Application"
+ IWADBInstance:
+ Type: AWS::RDS::DBInstance
+ Properties:
+ DBName: iwa_db
+ DBInstanceClass: db.t2.small
+ AllocatedStorage: !If [HasDBSnapshotIdentifier, !Ref 'AWS::NoValue', !Ref DBAllocatedStorage]
+ Engine: MySQL
+ EngineVersion: "8.0.28"
+ MasterUsername: "root"
+ MasterUserPassword: "Password123!"
+ StorageEncrypted: false
+ SecurityGroups:
+ Ref: DBEC2SecurityGroup
+ Ec2Volume:
+ Type: AWS::EC2::Volume
+ Properties:
+ AutoEnableIO: 'false'
+ Size: '5'
+ AvailabilityZone: !Select [0, !GetAZs '']
+ Tags:
+ - Key: "Name"
+ Value: "IWA file storage"
+Outputs:
+ JDBCConnectionString:
+ Description: JDBC connection string for the database
+ Value: !Join ['', ['jdbc:mysql://', !GetAtt [IWADBInstance, Endpoint.Address], ':', !GetAtt [IWADBInstance, Endpoint.Port], /iwa_db]]
\ No newline at end of file
diff --git a/etc/iwa_prod_cft.yaml b/etc/iwa_prod_cft.yaml
new file mode 100644
index 0000000..171516e
--- /dev/null
+++ b/etc/iwa_prod_cft.yaml
@@ -0,0 +1,105 @@
+AWSTemplateFormatVersion: '2010-09-09'
+Parameters:
+ KeyName:
+ Description: Name of an existing EC2 KeyPair to enable SSH access to the instance
+ Type: 'AWS::EC2::KeyPair::KeyName'
+ ConstraintDescription: Can contain only ASCII characters.
+ InstanceType:
+ Description: WebServer EC2 instance type
+ Type: String
+ Default: m1.large
+ ConstraintDescription: must be a valid EC2 instance type.
+ InboundTraffic:
+ Description: The IP address CIDR range (x.x.x.x/x) to connect from your local machine. FYI, get your address using http://checkip.amazonaws.com/
+ Type: String
+ MinLength: '9'
+ MaxLength: '18'
+ Default: '0.0.0.0/0'
+ AllowedPattern: "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})"
+ ConstraintDescription: Must be a valid CIDR range of the form x.x.x.x/x.
+ RdsAuroraClusterParameterGroup:
+ Type: AWS::RDS::DBClusterParameterGroup
+ Properties:
+ Description: RdsAuroraClusterParameterGroup
+ Family: aurora5.6
+ Parameters:
+ ParameterName: "time_zone"
+ ParameterValue: "UTC"
+Resources:
+ InstanceSecurityGroup:
+ Type: AWS::EC2::SecurityGroup
+ Properties:
+ GroupDescription: Security group
+ SecurityGroupIngress:
+ - IpProtocol: tcp
+ FromPort: 3389
+ ToPort: 3389
+ CidrIp:
+ Ref: InboundTraffic
+ - IpProtocol: tcp
+ FromPort: 8580
+ ToPort: 8580
+ CidrIp: 0.0.0.0/0
+ - IpProtocol: tcp
+ FromPort: 8080
+ ToPort: 8080
+ CidrIp: 0.0.0.0/0
+ IWAJavaInstance:
+ Type: AWS::EC2::Instance
+ Properties:
+ ImageId: ami-0cbcba412b2a46866
+ InstanceType: m6i.4xlarge
+ SecurityGroups:
+ - Ref: InstanceSecurityGroup
+ Tags:
+ - Key: "Name"
+ Value: "IWA Java Application"
+ LogicalID:
+ Type: AWS::IAM::User
+ Properties:
+ LoginProfile:
+ Password: "ForgetmeNot123!"
+ PasswordResetRequired: false
+ ManagedPolicyArns:
+ - arn:aws:iam::aws:policy/AWSCodeStarFullAccess
+ UserName: "iwa_user"
+ Ec2Volume:
+ Type: AWS::EC2::Volume
+ Properties:
+ AutoEnableIO: 'false'
+ Size: '5'
+ AvailabilityZone: !Select [0, !GetAZs '']
+ Tags:
+ - Key: "Name"
+ Value: "IWA file storage"
+ RedshiftCluster:
+ Type: AWS::Redshift::Cluster
+ Properties:
+ ClusterType: "multi-node"
+ DBName: "iwa_dev"
+ MasterUserPassword: "Password123!"
+ MasterUsername: "iwaadmin"
+ NodeType: ds2.xlarge
+ NumberOfNodes: 2
+ VpcSecurityGroupIds:
+ - Ref: SecurityGroup
+ PubliclyAccessible: 'true'
+ ClusterParameterGroupName:
+ Ref: RedShiftclusterParms
+ Tags:
+ -
+ Key: stack_name
+ Value:
+ Ref: AWS::StackName
+ RedShiftclusterParms:
+ Type: AWS::Redshift::clusterParameterGroup
+ Properties:
+ Description: "redshift parameter group"
+ ParameterGroupFamily: redshift-1.0
+ Parameters:
+ - ParameterName: "require_ssl"
+ ParameterValue: "false"
+Outputs:
+ JDBCConnectionString:
+ Description: JDBC connection string for the database
+ Value: !Join ['', ['jdbc:mysql://', !GetAtt [IWADBInstance, Endpoint.Address], ':', !GetAtt [IWADBInstance, Endpoint.Port], /iwa_db]]
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..f9888ca
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,625 @@
+
+
+
+ 4.0.0
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.8.RELEASE
+
+
+
+ com.microfocus.example
+ iwa
+ 1.0-SNAPSHOT
+ ${project.artifactId}
+ ${packaging.type}
+ Insecure Web App (IWA) Pharmacy Direct
+
+
+
+ GNU General Public License
+ https://opensource.org/licenses/gpl-license
+
+
+
+
+ UTF-8
+ 1.8
+ 1.8
+ 1.8
+ fod
+ 1.4.197
+ 1.5.0
+ 4.5.3
+ 3.5.1
+ 5.15.2
+ 2.9.4
+ 0.21.1
+ 1.4.3
+ 0.9.1
+ 2.13.0
+ 3.0.8
+ 4.0.0-rc-2
+ 4.12
+ 21.2.3
+ true
+ true
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter
+
+
+ org.springframework.boot
+ spring-boot-starter-logging
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-thymeleaf
+
+
+ org.springframework.boot
+ spring-boot-starter-security
+
+
+ org.thymeleaf.extras
+ thymeleaf-extras-springsecurity5
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+ nz.net.ultraq.thymeleaf
+ thymeleaf-layout-dialect
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
+
+ org.springframework.boot
+ spring-boot-starter-log4j2
+
+
+
+ com.h2database
+ h2
+ compile
+ ${h2.version}
+
+
+
+ org.passay
+ passay
+ ${passay.version}
+
+
+
+
+ org.webjars
+ bootstrap
+ ${bootstrap.version}
+
+
+ org.webjars
+ jquery
+ ${jquery.version}
+
+
+ org.webjars
+ font-awesome
+ ${font-awesome.version}
+
+
+ org.webjars
+ chartjs
+ ${chartjs.version}
+
+
+ org.webjars.npm
+ axios
+ ${axios.version}
+
+
+
+ org.springdoc
+ springdoc-openapi-ui
+ ${springdoc-openapi.version}
+
+
+ org.springdoc
+ springdoc-openapi-security
+ ${springdoc-openapi.version}
+
+
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.module
+ jackson-module-parameter-names
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.datatype
+ jackson-datatype-jdk8
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.datatype
+ jackson-datatype-jsr310
+ ${jackson.version}
+
+
+
+ com.vonage
+ client
+ 6.1.0
+
+
+
+ org.codehaus.groovy
+ groovy
+ ${groovy.version}
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+
+
+ com.vaadin.external.google
+ android-json
+
+
+
+
+
+ io.jsonwebtoken
+ jjwt
+ ${jwt.version}
+
+
+
+ junit
+ junit
+ ${junit.version}
+ test
+
+
+
+ org.apache.maven.wagon
+ wagon-http
+ 3.4.1
+
+
+
+ com.github.cliftonlabs
+ json-simple
+ 2.3.1
+
+
+
+ org.seleniumhq.selenium
+ selenium-java
+ ${selenium.version}
+
+
+
+ org.apache.tika
+ tika-core
+ 1.18
+
+
+ org.json
+ json
+ 20220320
+
+
+
+
+
+
+
+
+ dev
+
+ true
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ true
+
+
+
+
+
+ release
+
+
+
+
+
+ jar
+
+ true
+
+
+ jar
+
+
+
+
+
+ war
+
+ war
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+ provided
+
+
+
+
+
+
+
+ fortify
+
+ war
+
+
+
+
+