Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with deploy e-commerce-monolith.jdl #53

Open
yiyux opened this issue May 30, 2023 · 0 comments
Open

Error with deploy e-commerce-monolith.jdl #53

yiyux opened this issue May 30, 2023 · 0 comments

Comments

@yiyux
Copy link

yiyux commented May 30, 2023

Hello, i'm deploying the example file e-commerce-monolith.jdl with jhipster "as it" but i have some error with the database

My current setup:

  • Mac OSX 11.3.1
  • Jhipster 7.9.3

JDL file init config

~/IdeaProjects/store > jhipster import-jdl ecommerce.jdl 6s 10:53:37
INFO! Using bundled JHipster
(node:69001) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./lib/util/" in the "exports" field module resolution of the package at /Users/karl/.nvm/versions/node/v16.20.0/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/package.json.
Update this package.json to use a subpath pattern like "./lib/util/*".
(Use node --trace-deprecation ... to show where the warning was created)

    ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
    ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
    ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝

██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v7.9.3

INFO! Executing import-jdl ecommerce.jdl
INFO! The JDL is being parsed.
warn: An Entity name 'User' was used: 'User' is an entity created by default by JHipster. All relationships toward it will be kept but any attributes and relationships from it will be disregarded.
INFO! Found entities: Product, ProductCategory, CustomerDetails, ShoppingCart, ProductOrder.
INFO! The JDL has been successfully parsed
INFO! Generating 1 application.
Application files will be generated in folder: /Users/karl/IdeaProjects/store


Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/
If you find JHipster useful, consider sponsoring the project at https://opencollective.com/generator-jhipster


This is an existing project, using the configuration from your .yo-rc.json file
to re-generate the project...

Found the .jhipster/Product.json configuration file, entity can be automatically generated!

Found the .jhipster/ProductCategory.json configuration file, entity can be automatically generated!

Found the .jhipster/CustomerDetails.json configuration file, entity can be automatically generated!

Found the .jhipster/ShoppingCart.json configuration file, entity can be automatically generated!

Found the .jhipster/ProductOrder.json configuration file, entity can be automatically generated!

 info Creating changelog for entities Product,ProductCategory,CustomerDetails,ShoppingCart,ProductOrder

KeyStore '/Users/karl/IdeaProjects/store/src/main/resources/config/tls//keystore.p12' generated successfully.

create .prettierrc
create .prettierignore
create package.json
force .yo-rc.json
force .jhipster/Product.json
force .jhipster/ProductOrder.json
force .jhipster/ProductCategory.json
force .jhipster/CustomerDetails.json
force .jhipster/ShoppingCart.json
create .gitignore
create .gitattributes
create .editorconfig
create sonar-project.properties
create .lintstagedrc.js
create .husky/pre-commit
create gradlew
create gradlew.bat
create gradle/wrapper/gradle-wrapper.jar
create npmw
create npmw.cmd
create src/main/resources/banner.txt
create src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml
create src/main/resources/config/liquibase/master.xml
create src/main/docker/jib/entrypoint.sh
create checkstyle.xml
create .devcontainer/Dockerfile
create build.gradle
create settings.gradle
create gradle.properties
create gradle/sonar.gradle
create .devcontainer/devcontainer.json
create gradle/docker.gradle
create src/main/docker/app.yml
create src/main/resources/templates/error.html
create src/main/docker/prometheus/prometheus.yml
create gradle/profile_dev.gradle
create gradle/profile_prod.gradle
create src/main/docker/jhipster-control-center.yml
create gradle/war.gradle
create src/main/docker/sonar.yml
create gradle/zipkin.gradle
create gradle/wrapper/gradle-wrapper.properties
create src/main/resources/logback-spring.xml
create src/main/docker/monitoring.yml
create src/main/docker/grafana/provisioning/dashboards/dashboard.yml
create src/main/docker/grafana/provisioning/dashboards/JVM.json
create src/main/docker/grafana/provisioning/datasources/datasource.yml
create src/main/resources/i18n/messages.properties
create src/main/resources/config/application.yml
create src/main/resources/config/application-dev.yml
create src/main/resources/config/application-tls.yml
create src/main/resources/config/application-prod.yml
create src/main/java/com/jhipster/demo/store/security/SpringSecurityAuditorAware.java
create src/main/java/com/jhipster/demo/store/config/WebConfigurer.java
create src/main/java/com/jhipster/demo/store/security/SecurityUtils.java
create src/main/java/com/jhipster/demo/store/security/jwt/JWTFilter.java
create src/main/java/com/jhipster/demo/store/web/rest/UserJWTController.java
create src/main/java/com/jhipster/demo/store/management/SecurityMetersService.java
create src/main/java/com/jhipster/demo/store/config/AsyncConfiguration.java
create src/main/java/com/jhipster/demo/store/config/StaticResourcesWebConfiguration.java
create src/main/java/com/jhipster/demo/store/security/AuthoritiesConstants.java
create src/main/java/com/jhipster/demo/store/security/jwt/JWTConfigurer.java
create src/main/java/com/jhipster/demo/store/config/CRLFLogConverter.java
create src/main/java/com/jhipster/demo/store/config/Constants.java
create src/main/java/com/jhipster/demo/store/security/package-info.java
create src/main/java/com/jhipster/demo/store/config/SecurityConfiguration.java
create src/main/java/com/jhipster/demo/store/StoreApp.java
create src/main/java/com/jhipster/demo/store/config/LocaleConfiguration.java
create src/main/java/com/jhipster/demo/store/config/DateTimeFormatConfiguration.java
create src/main/java/com/jhipster/demo/store/config/CacheConfiguration.java
create src/main/java/com/jhipster/demo/store/ApplicationWebXml.java
create src/main/java/com/jhipster/demo/store/config/LoggingConfiguration.java
create src/main/java/com/jhipster/demo/store/security/DomainUserDetailsService.java
create src/main/java/com/jhipster/demo/store/GeneratedByJHipster.java
create src/main/java/com/jhipster/demo/store/config/ApplicationProperties.java
create src/main/java/com/jhipster/demo/store/config/DatabaseConfiguration.java
create src/main/java/com/jhipster/demo/store/config/JacksonConfiguration.java
create src/main/java/com/jhipster/demo/store/domain/package-info.java
create src/main/java/com/jhipster/demo/store/security/jwt/TokenProvider.java
create src/main/java/com/jhipster/demo/store/security/UserNotActivatedException.java
create src/main/java/com/jhipster/demo/store/aop/logging/LoggingAspect.java
create src/main/java/com/jhipster/demo/store/config/LoggingAspectConfiguration.java
create src/main/java/com/jhipster/demo/store/domain/AbstractAuditingEntity.java
create src/main/java/com/jhipster/demo/store/repository/package-info.java
create src/main/java/com/jhipster/demo/store/config/package-info.java
create src/main/java/com/jhipster/demo/store/web/rest/vm/LoginVM.java
create src/main/java/com/jhipster/demo/store/service/EmailAlreadyUsedException.java
create src/main/java/com/jhipster/demo/store/service/InvalidPasswordException.java
create src/main/java/com/jhipster/demo/store/web/rest/vm/package-info.java
create src/main/java/com/jhipster/demo/store/service/UsernameAlreadyUsedException.java
create src/main/java/com/jhipster/demo/store/web/rest/package-info.java
create src/main/java/com/jhipster/demo/store/service/package-info.java
create src/main/java/com/jhipster/demo/store/web/rest/ClientForwardController.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/package-info.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/BadRequestAlertException.java
create src/test/java/com/jhipster/demo/store/security/SecurityUtilsUnitTest.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/ErrorConstants.java
create src/test/java/com/jhipster/demo/store/TechnicalStructureTest.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/ExceptionTranslator.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/FieldErrorVM.java
create src/test/resources/logback.xml
create src/main/java/com/jhipster/demo/store/web/rest/errors/EmailAlreadyUsedException.java
create src/test/resources/junit-platform.properties
create src/test/java/com/jhipster/demo/store/config/AsyncSyncConfiguration.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/InvalidPasswordException.java
create src/main/java/com/jhipster/demo/store/web/rest/errors/LoginAlreadyUsedException.java
create src/test/java/com/jhipster/demo/store/config/WebConfigurerTest.java
create src/test/java/com/jhipster/demo/store/config/WebConfigurerTestController.java
create src/test/java/com/jhipster/demo/store/IntegrationTest.java
create src/test/java/com/jhipster/demo/store/config/StaticResourcesWebConfigurerTest.java
create src/test/java/com/jhipster/demo/store/security/DomainUserDetailsServiceIT.java
create src/test/java/com/jhipster/demo/store/config/SpringBootTestClassOrderer.java
create src/main/java/com/jhipster/demo/store/domain/User.java
create src/main/java/com/jhipster/demo/store/domain/Authority.java
create src/main/java/com/jhipster/demo/store/repository/AuthorityRepository.java
create src/main/resources/config/liquibase/data/user.csv
create src/main/resources/config/liquibase/data/authority.csv
create src/main/resources/config/liquibase/data/user_authority.csv
create src/test/java/com/jhipster/demo/store/web/rest/TestUtil.java
create src/test/java/com/jhipster/demo/store/web/rest/errors/ExceptionTranslatorTestController.java
create src/test/java/com/jhipster/demo/store/web/rest/errors/ExceptionTranslatorIT.java
create src/test/java/com/jhipster/demo/store/web/rest/ClientForwardControllerTest.java
create src/test/resources/config/application.yml
create src/main/java/com/jhipster/demo/store/repository/UserRepository.java
create src/main/java/com/jhipster/demo/store/service/UserService.java
create src/main/java/com/jhipster/demo/store/service/MailService.java
create src/main/resources/templates/mail/activationEmail.html
create src/main/resources/templates/mail/creationEmail.html
create src/main/resources/templates/mail/passwordResetEmail.html
create src/main/java/com/jhipster/demo/store/web/rest/vm/ManagedUserVM.java
create src/main/java/com/jhipster/demo/store/web/rest/AccountResource.java
create src/main/java/com/jhipster/demo/store/service/dto/package-info.java
create src/main/java/com/jhipster/demo/store/web/rest/UserResource.java
create src/main/java/com/jhipster/demo/store/web/rest/PublicUserResource.java
create src/main/java/com/jhipster/demo/store/service/dto/AdminUserDTO.java
create src/main/java/com/jhipster/demo/store/web/rest/vm/KeyAndPasswordVM.java
create src/main/java/com/jhipster/demo/store/service/dto/UserDTO.java
create src/test/resources/templates/mail/activationEmail.html
create src/test/resources/testcontainers.properties
create src/main/java/com/jhipster/demo/store/service/dto/PasswordChangeDTO.java
create src/test/resources/templates/mail/creationEmail.html
create src/test/resources/META-INF/spring.factories
create src/test/resources/templates/mail/passwordResetEmail.html
create src/test/java/com/jhipster/demo/store/config/TestContainersSpringContextCustomizerFactory.java
create src/main/java/com/jhipster/demo/store/service/mapper/package-info.java
create src/main/java/com/jhipster/demo/store/service/mapper/UserMapper.java
create src/test/java/com/jhipster/demo/store/web/rest/UserJWTControllerIT.java
create src/test/resources/templates/mail/testEmail.html
create src/test/java/com/jhipster/demo/store/management/SecurityMetersServiceTests.java
create src/test/java/com/jhipster/demo/store/security/jwt/TokenProviderTest.java
create src/test/java/com/jhipster/demo/store/security/jwt/TokenProviderSecurityMetersTests.java
create src/test/java/com/jhipster/demo/store/web/rest/PublicUserResourceIT.java
create src/test/java/com/jhipster/demo/store/security/jwt/JWTFilterTest.java
create src/test/java/com/jhipster/demo/store/web/rest/UserResourceIT.java
create src/test/java/com/jhipster/demo/store/web/rest/AccountResourceIT.java
create src/test/java/com/jhipster/demo/store/web/rest/WithUnauthenticatedMockUser.java
create src/test/resources/testcontainers/mysql/my.cnf
create src/test/java/com/jhipster/demo/store/service/MailServiceIT.java
create src/main/docker/config/mysql/my.cnf
create src/test/java/com/jhipster/demo/store/service/UserServiceIT.java
create src/main/java/com/jhipster/demo/store/config/LiquibaseConfiguration.java
create src/test/java/com/jhipster/demo/store/service/mapper/UserMapperTest.java
create src/test/java/com/jhipster/demo/store/config/EmbeddedSQL.java
create src/test/java/com/jhipster/demo/store/config/SqlTestContainer.java
create src/test/resources/config/application-testdev.yml
create src/test/resources/config/application-testprod.yml
create src/main/docker/mysql.yml
create src/main/resources/.h2.server.properties
create src/test/java/com/jhipster/demo/store/config/MysqlTestContainer.java
create src/test/java/com/jhipster/demo/store/config/timezone/HibernateTimeZoneIT.java
create webpack/logo-jhipster.png
create .eslintrc.json
create tsconfig.json
create tsconfig.test.json
create jest.conf.js
create src/test/java/com/jhipster/demo/store/repository/timezone/DateTimeWrapperRepository.java
create src/test/java/com/jhipster/demo/store/repository/timezone/DateTimeWrapper.java
create webpack/environment.js
create webpack/utils.js
create postcss.config.js
create webpack/webpack.common.js
create webpack/webpack.dev.js
create webpack/webpack.prod.js
create src/main/webapp/app/app.tsx
create src/main/webapp/app/config/dayjs.ts
create src/main/webapp/app/index.tsx
create src/main/webapp/app/config/notification-middleware.ts
create src/main/webapp/app/config/store.ts
create src/main/webapp/app/config/axios-interceptor.ts
create src/main/webapp/app/routes.tsx
create src/main/webapp/app/config/icon-loader.ts
create src/main/webapp/app/config/translation.ts
create src/main/webapp/app/setup-tests.ts
create src/main/webapp/app/app.scss
create src/main/webapp/app/typings.d.ts
create src/main/webapp/app/_bootstrap-variables.scss
create src/main/webapp/app/config/error-middleware.ts
create src/main/webapp/app/config/constants.ts
create src/main/webapp/app/config/logger-middleware.ts
create src/main/webapp/app/entities/reducers.ts
create src/main/webapp/app/entities/menu.tsx
create src/main/webapp/app/entities/routes.tsx
create src/main/webapp/app/modules/home/home.tsx
create src/main/webapp/app/modules/login/logout.tsx
create src/main/webapp/app/modules/login/login.tsx
create src/main/webapp/app/modules/login/login-modal.tsx
create src/main/webapp/app/modules/home/home.scss
create src/main/webapp/app/shared/reducers/index.ts
create src/main/webapp/app/shared/reducers/application-profile.ts
create src/main/webapp/app/shared/reducers/locale.ts
create src/main/webapp/app/modules/account/index.tsx
create src/main/webapp/app/modules/account/activate/activate.tsx
create src/main/webapp/app/modules/account/password/password.tsx
create src/main/webapp/app/modules/account/password/password.reducer.ts
create src/main/webapp/app/shared/reducers/reducer.utils.ts
create src/main/webapp/app/modules/account/register/register.tsx
create src/main/webapp/app/shared/reducers/authentication.ts
create src/main/webapp/app/modules/account/settings/settings.tsx
create src/main/webapp/app/modules/account/register/register.reducer.ts
create src/main/webapp/app/modules/account/activate/activate.reducer.ts
create src/main/webapp/app/modules/account/password-reset/password-reset.reducer.ts
create src/main/webapp/app/modules/account/settings/settings.reducer.ts
create src/main/webapp/app/modules/account/password-reset/init/password-reset-init.tsx
create src/main/webapp/app/modules/administration/index.tsx
create src/main/webapp/app/modules/administration/administration.reducer.ts
create src/main/webapp/app/modules/account/password-reset/finish/password-reset-finish.tsx
create src/main/webapp/app/modules/administration/docs/docs.tsx
create src/main/webapp/app/modules/administration/docs/docs.scss
create src/main/webapp/app/modules/administration/configuration/configuration.tsx
create src/main/webapp/app/modules/administration/health/health.tsx
create src/main/webapp/app/modules/administration/health/health-modal.tsx
create src/main/webapp/app/modules/administration/logs/logs.tsx
create src/main/webapp/app/modules/administration/metrics/metrics.tsx
create src/main/webapp/app/modules/administration/user-management/index.tsx
create src/main/webapp/app/modules/administration/user-management/user-management.tsx
create src/main/webapp/app/modules/administration/user-management/user-management-update.tsx
create src/main/webapp/app/modules/administration/user-management/user-management-detail.tsx
create src/main/webapp/app/modules/administration/user-management/user-management-delete-dialog.tsx
create src/main/webapp/app/modules/administration/user-management/user-management.reducer.ts
create src/main/webapp/app/shared/util/date-utils.ts
create src/main/webapp/app/shared/layout/footer/footer.tsx
create src/main/webapp/app/shared/util/pagination.constants.ts
create src/main/webapp/app/shared/layout/header/header.tsx
create src/main/webapp/app/shared/DurationFormat.tsx
create src/main/webapp/app/shared/layout/header/header-components.tsx
create src/main/webapp/app/shared/layout/menus/index.ts
create src/main/webapp/app/shared/util/entity-utils.ts
create src/main/webapp/app/shared/layout/menus/locale.tsx
create src/main/webapp/app/shared/layout/menus/admin.tsx
create src/main/webapp/app/shared/auth/private-route.tsx
create src/main/webapp/app/shared/layout/header/header.scss
create src/main/webapp/app/shared/layout/menus/account.tsx
create src/main/webapp/app/shared/layout/footer/footer.scss
create src/main/webapp/app/shared/layout/menus/entities.tsx
create src/main/webapp/app/shared/layout/menus/menu-components.tsx
create src/main/webapp/app/shared/error/error-boundary.tsx
create src/main/webapp/app/config/axios-interceptor.spec.ts
create src/main/webapp/app/shared/layout/menus/menu-item.tsx
create src/main/webapp/app/config/notification-middleware.spec.ts
create src/main/webapp/app/shared/layout/password/password-strength-bar.tsx
create src/main/webapp/app/shared/error/error-boundary-routes.tsx
create src/main/webapp/app/shared/reducers/application-profile.spec.ts
create src/main/webapp/app/shared/reducers/authentication.spec.ts
create src/main/webapp/app/shared/error/page-not-found.tsx
create src/main/webapp/app/shared/util/entity-utils.spec.ts
create src/main/webapp/app/shared/auth/private-route.spec.tsx
create src/main/webapp/app/shared/model/user.model.ts
create src/main/webapp/app/shared/error/error-boundary.spec.tsx
create src/main/webapp/app/shared/error/error-boundary-routes.spec.tsx
create src/main/webapp/app/shared/layout/header/header.spec.tsx
create src/main/webapp/app/shared/layout/menus/account.spec.tsx
create src/main/webapp/app/shared/layout/password/password-strength-bar.scss
create src/main/webapp/app/modules/administration/administration.reducer.spec.ts
create src/main/webapp/app/modules/account/register/register.reducer.spec.ts
create src/main/webapp/app/modules/account/activate/activate.reducer.spec.ts
create src/main/webapp/app/modules/account/password/password.reducer.spec.ts
create src/main/webapp/app/modules/account/settings/settings.reducer.spec.ts
create src/main/webapp/app/modules/administration/user-management/user-management.reducer.spec.ts
create src/main/webapp/app/shared/reducers/locale.spec.ts
create src/main/webapp/content/images/jhipster_family_member_0.svg
create src/main/webapp/content/images/jhipster_family_member_0_head-192.png
create src/main/webapp/content/images/jhipster_family_member_0_head-256.png
create src/main/webapp/content/images/jhipster_family_member_0_head-384.png
create src/main/webapp/content/images/jhipster_family_member_0_head-512.png
create src/main/webapp/content/images/jhipster_family_member_1.svg
create src/main/webapp/content/images/jhipster_family_member_1_head-192.png
create src/main/webapp/content/images/jhipster_family_member_1_head-256.png
create src/main/webapp/content/images/jhipster_family_member_1_head-384.png
create src/main/webapp/content/images/jhipster_family_member_1_head-512.png
create src/main/webapp/content/images/jhipster_family_member_2.svg
create src/main/webapp/content/images/jhipster_family_member_2_head-192.png
create src/main/webapp/content/images/jhipster_family_member_2_head-256.png
create src/main/webapp/content/images/jhipster_family_member_2_head-384.png
create src/main/webapp/content/images/jhipster_family_member_2_head-512.png
create src/main/webapp/content/images/jhipster_family_member_3.svg
create src/main/webapp/content/images/jhipster_family_member_3_head-192.png
create src/main/webapp/content/images/jhipster_family_member_3_head-256.png
create src/main/webapp/content/images/jhipster_family_member_3_head-384.png
create src/main/webapp/content/images/jhipster_family_member_3_head-512.png
create src/main/webapp/content/images/logo-jhipster.png
create src/main/webapp/favicon.ico
create src/main/webapp/swagger-ui/dist/images/throbber.gif
create .eslintignore
create src/main/webapp/manifest.webapp
create src/main/webapp/WEB-INF/web.xml
create src/main/webapp/robots.txt
create src/main/webapp/404.html
create src/main/webapp/index.html
create src/main/webapp/content/css/loading.css
create src/main/webapp/swagger-ui/index.html
create src/main/webapp/i18n/en/error.json
create src/main/webapp/i18n/en/register.json
create src/main/webapp/i18n/en/login.json
create src/main/webapp/i18n/en/configuration.json
create src/main/webapp/i18n/en/home.json
create src/main/webapp/i18n/en/logs.json
create src/main/webapp/i18n/en/metrics.json
create src/main/webapp/i18n/en/activate.json
create src/main/webapp/i18n/en/sessions.json
create src/main/webapp/i18n/en/global.json
create src/main/webapp/i18n/en/settings.json
create src/main/webapp/i18n/en/reset.json
create src/main/webapp/i18n/en/password.json
create src/main/webapp/i18n/en/health.json
create src/main/webapp/i18n/en/user-management.json
create src/main/webapp/i18n/nl/error.json
create src/main/webapp/i18n/nl/login.json
create src/main/webapp/i18n/nl/sessions.json
create src/main/webapp/i18n/nl/home.json
create src/main/webapp/i18n/nl/settings.json
create src/main/webapp/i18n/nl/user-management.json
create src/main/webapp/i18n/nl/configuration.json
create src/main/webapp/i18n/nl/logs.json
create src/main/webapp/i18n/nl/metrics.json
create src/main/webapp/i18n/nl/password.json
create src/main/webapp/i18n/nl/activate.json
create src/main/webapp/i18n/nl/global.json
create src/main/webapp/i18n/nl/register.json
create src/main/webapp/i18n/nl/reset.json
create src/main/webapp/i18n/nl/health.json
create src/main/resources/i18n/messages_en.properties
create src/test/resources/i18n/messages_en.properties
create src/main/resources/i18n/messages_nl.properties
create src/test/resources/i18n/messages_nl.properties
create src/test/java/com/jhipster/demo/store/domain/ProductTest.java
create src/main/java/com/jhipster/demo/store/web/rest/ProductResource.java
create src/test/java/com/jhipster/demo/store/web/rest/ProductResourceIT.java
create src/main/java/com/jhipster/demo/store/repository/ProductRepository.java
create src/main/java/com/jhipster/demo/store/service/ProductService.java
create src/main/java/com/jhipster/demo/store/domain/enumeration/Size.java
create src/main/webapp/app/entities/product/product-detail.tsx
create src/main/webapp/app/entities/product/product.reducer.ts
create src/main/webapp/app/entities/product/product.tsx
create src/main/webapp/app/entities/product/index.tsx
create src/main/webapp/app/shared/model/product.model.ts
create src/main/webapp/app/entities/product/product-delete-dialog.tsx
create src/main/webapp/app/entities/product/product-update.tsx
create src/main/webapp/app/entities/product/product-reducer.spec.ts
create src/main/webapp/i18n/en/size.json
create src/main/webapp/i18n/nl/size.json
create src/main/webapp/i18n/en/product.json
create src/main/webapp/i18n/nl/product.json
create src/main/webapp/app/shared/model/enumerations/size.model.ts
create src/test/java/com/jhipster/demo/store/domain/ProductCategoryTest.java
create src/main/java/com/jhipster/demo/store/web/rest/ProductCategoryResource.java
create src/test/java/com/jhipster/demo/store/web/rest/ProductCategoryResourceIT.java
create src/main/java/com/jhipster/demo/store/repository/ProductCategoryRepository.java
create src/main/java/com/jhipster/demo/store/service/ProductCategoryService.java
create src/main/webapp/app/entities/product-category/product-category-detail.tsx
create src/main/webapp/app/shared/model/product-category.model.ts
create src/main/webapp/app/entities/product-category/product-category-delete-dialog.tsx
create src/main/webapp/app/entities/product-category/product-category.tsx
create src/main/webapp/app/entities/product-category/product-category-update.tsx
create src/main/webapp/app/entities/product-category/product-category.reducer.ts
create src/main/webapp/app/entities/product-category/product-category-reducer.spec.ts
create src/main/webapp/i18n/en/productCategory.json
create src/main/webapp/i18n/nl/productCategory.json
create src/main/webapp/app/entities/product-category/index.tsx
create src/test/java/com/jhipster/demo/store/domain/CustomerDetailsTest.java
create src/main/java/com/jhipster/demo/store/web/rest/CustomerDetailsResource.java
create src/test/java/com/jhipster/demo/store/web/rest/CustomerDetailsResourceIT.java
create src/main/java/com/jhipster/demo/store/repository/CustomerDetailsRepository.java
create src/main/java/com/jhipster/demo/store/service/CustomerDetailsService.java
create src/main/java/com/jhipster/demo/store/domain/enumeration/Gender.java
create src/main/webapp/app/entities/customer-details/customer-details-detail.tsx
create src/main/webapp/app/shared/model/customer-details.model.ts
create src/main/webapp/app/entities/customer-details/customer-details-delete-dialog.tsx
create src/main/webapp/app/entities/customer-details/customer-details-update.tsx
create src/main/webapp/app/entities/customer-details/customer-details.tsx
create src/main/webapp/app/entities/customer-details/customer-details-reducer.spec.ts
create src/main/webapp/app/entities/customer-details/customer-details.reducer.ts
create src/main/webapp/app/shared/model/enumerations/gender.model.ts
create src/main/webapp/i18n/en/gender.json
create src/main/webapp/i18n/nl/gender.json
create src/main/webapp/i18n/en/customerDetails.json
create src/main/webapp/i18n/nl/customerDetails.json
create src/main/webapp/app/entities/customer-details/index.tsx
create src/test/java/com/jhipster/demo/store/domain/ShoppingCartTest.java
create src/main/java/com/jhipster/demo/store/web/rest/ShoppingCartResource.java
create src/test/java/com/jhipster/demo/store/web/rest/ShoppingCartResourceIT.java
create src/main/java/com/jhipster/demo/store/repository/ShoppingCartRepository.java
create src/main/java/com/jhipster/demo/store/service/ShoppingCartService.java
create src/main/java/com/jhipster/demo/store/domain/enumeration/OrderStatus.java
create src/main/java/com/jhipster/demo/store/domain/enumeration/PaymentMethod.java
create src/main/webapp/app/entities/shopping-cart/shopping-cart-detail.tsx
create src/main/webapp/app/shared/model/shopping-cart.model.ts
create src/main/webapp/app/entities/shopping-cart/shopping-cart-delete-dialog.tsx
create src/main/webapp/app/entities/shopping-cart/shopping-cart-update.tsx
create src/main/webapp/app/entities/shopping-cart/shopping-cart.tsx
create src/main/webapp/app/entities/shopping-cart/shopping-cart-reducer.spec.ts
create src/main/webapp/app/shared/model/enumerations/order-status.model.ts
create src/main/webapp/app/entities/shopping-cart/shopping-cart.reducer.ts
create src/main/webapp/app/shared/model/enumerations/payment-method.model.ts
create src/main/webapp/i18n/en/orderStatus.json
create src/main/webapp/i18n/nl/orderStatus.json
create src/main/webapp/i18n/en/paymentMethod.json
create src/main/webapp/i18n/nl/paymentMethod.json
create src/main/webapp/app/entities/shopping-cart/index.tsx
create src/main/webapp/i18n/en/shoppingCart.json
create src/main/webapp/i18n/nl/shoppingCart.json
create src/test/java/com/jhipster/demo/store/domain/ProductOrderTest.java
create src/main/java/com/jhipster/demo/store/web/rest/ProductOrderResource.java
create src/test/java/com/jhipster/demo/store/web/rest/ProductOrderResourceIT.java
create src/main/java/com/jhipster/demo/store/repository/ProductOrderRepository.java
create src/main/java/com/jhipster/demo/store/service/ProductOrderService.java
create src/main/webapp/app/entities/product-order/product-order-detail.tsx
create src/main/webapp/app/entities/product-order/product-order.reducer.ts
create src/main/webapp/app/entities/product-order/index.tsx
create src/main/webapp/app/shared/model/product-order.model.ts
create src/main/webapp/app/entities/product-order/product-order-delete-dialog.tsx
create src/main/webapp/app/entities/product-order/product-order-update.tsx
create src/main/webapp/app/entities/product-order/product-order-reducer.spec.ts
create src/main/webapp/app/entities/product-order/product-order.tsx
create src/main/webapp/i18n/en/productOrder.json
create src/main/webapp/i18n/nl/productOrder.json
create src/main/resources/config/liquibase/fake-data/blob/hipster.png
create src/main/resources/config/liquibase/changelog/20230530145447_added_entity_Product.xml
create src/main/resources/config/liquibase/changelog/20230530145447_added_entity_constraints_Product.xml
create src/main/resources/config/liquibase/fake-data/product.csv
create src/main/resources/config/liquibase/changelog/20230530145547_added_entity_ProductCategory.xml
create src/main/resources/config/liquibase/fake-data/product_category.csv
create src/main/resources/config/liquibase/changelog/20230530145647_added_entity_CustomerDetails.xml
create src/main/resources/config/liquibase/changelog/20230530145647_added_entity_constraints_CustomerDetails.xml
create src/main/resources/config/liquibase/fake-data/customer_details.csv
create src/main/resources/config/liquibase/changelog/20230530145747_added_entity_ShoppingCart.xml
create src/main/resources/config/liquibase/changelog/20230530145747_added_entity_constraints_ShoppingCart.xml
create src/main/resources/config/liquibase/fake-data/shopping_cart.csv
create src/main/resources/config/liquibase/changelog/20230530145847_added_entity_ProductOrder.xml
create src/main/resources/config/liquibase/changelog/20230530145847_added_entity_constraints_ProductOrder.xml
create src/main/resources/config/liquibase/fake-data/product_order.csv
create README.md
create src/main/java/com/jhipster/demo/store/domain/Product.java
create src/main/java/com/jhipster/demo/store/domain/ProductCategory.java
create src/main/java/com/jhipster/demo/store/domain/CustomerDetails.java
create src/main/java/com/jhipster/demo/store/domain/ShoppingCart.java
create src/main/java/com/jhipster/demo/store/domain/ProductOrder.java
force .yo-rc.json
force .jhipster/Product.json
force .jhipster/ProductCategory.json
force .jhipster/CustomerDetails.json
force .jhipster/ShoppingCart.json
force .jhipster/ProductOrder.json
Git repository initialized.

Changes to package.json were detected.
Downloading https://services.gradle.org/distributions/gradle-7.4.2-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.4.2!

Here are the highlights of this release:

  • Aggregated test and JaCoCo reports
  • Marking additional test source directories as tests in IntelliJ
  • Support for Adoptium JDKs in Java toolchains

For more details see https://docs.gradle.org/7.4.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

Task :npmSetup

added 1 package, and audited 212 packages in 2s

11 packages are looking for funding
run npm fund for details

1 high severity vulnerability

To address all issues, run:
npm audit fix

Run npm audit for details.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m
4 actionable tasks: 4 executed
Using node installed locally v16.17.0
Using npm installed locally 8.19.1
npm WARN deprecated [email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.

[email protected] prepare
husky install

husky - Git hooks installed

added 1788 packages, and audited 1789 packages in 2m

237 packages are looking for funding
run npm fund for details

13 vulnerabilities (4 moderate, 6 high, 3 critical)

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.
Application successfully committed to Git from /Users/karl/IdeaProjects/store.

If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/

Server application generated successfully.

Run your Spring Boot application:
./gradlew

Client application generated successfully.

Start your Webpack development server with:
npm start

[email protected] clean-www
rimraf build/resources/main/static/app/{src,build/}

Entity Product generated successfully.
Entity ProductCategory generated successfully.
Entity CustomerDetails generated successfully.
Entity ShoppingCart generated successfully.
Entity ProductOrder generated successfully.
INFO! Generator app succeed
Congratulations, JHipster execution is complete!
Sponsored with ❤️ by @oktadev.

Deploy the proyect

~/IdeaProjects/store master > ./gradlew 3m 39s 10:57:24

Task :npmInstall

[email protected] prepare
husky install

husky - Git hooks installed

up to date, audited 1789 packages in 9s

237 packages are looking for funding
run npm fund for details

13 vulnerabilities (4 moderate, 6 high, 3 critical)

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.

Task :webapp

[email protected] webapp:build
npm run clean-www && npm run webapp:build:dev --

[email protected] clean-www
rimraf build/resources/main/static/app/{src,build/}

[email protected] webapp:build:dev
webpack --config webpack/webpack.dev.js --env stats=minimal

Webpack: Starting ...

✔ Compile modules
✔ Build modules
✔ Optimize modules
✔ Emit files

Finished after 10.496 seconds.

Webpack: Starting ...

✔ Compile modules
✔ Build modules
✔ Optimize modules
✔ Emit files

Finished after 2.969 seconds.

48 assets
626 modules
webpack 5.74.0 compiled successfully in 10479 ms

Task :compileJava
Note: Hibernate JPA 2 Static-Metamodel Generator 5.6.10.Final

Task :bootRun
11:18:14.502 [Thread-0] DEBUG org.springframework.boot.devtools.restart.classloader.RestartClassLoader - Created RestartClassLoader org.springframework.boot.devtools.restart.classloader.RestartClassLoader@16251d0d

    ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
    ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
    ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝

██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝

:: JHipster 🤓 :: Running Spring Boot 2.7.3 ::
:: https://www.jhipster.tech ::

2023-05-30T11:18:15.267-04:00 DEBUG 70641 --- [kground-preinit] org.jboss.logging : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2023-05-30T11:18:15.304-04:00 INFO 70641 --- [ restartedMain] com.jhipster.demo.store.StoreApp : Starting StoreApp using Java 11.0.19 on vikingo.local with PID 70641 (/Users/karl/IdeaProjects/store/build/classes/java/main started by karl in /Users/karl/IdeaProjects/store)
2023-05-30T11:18:15.306-04:00 DEBUG 70641 --- [ restartedMain] com.jhipster.demo.store.StoreApp : Running with Spring Boot v2.7.3, Spring v5.3.22
2023-05-30T11:18:15.307-04:00 INFO 70641 --- [ restartedMain] com.jhipster.demo.store.StoreApp : The following 2 profiles are active: "dev", "api-docs"
2023-05-30T11:18:17.176-04:00 DEBUG 70641 --- [ restartedMain] i.m.c.u.i.logging.InternalLoggerFactory : Using SLF4J as the default logging framework
2023-05-30T11:18:17.358-04:00 DEBUG 70641 --- [ restartedMain] c.j.demo.store.config.WebConfigurer : Registering CORS filter
2023-05-30T11:18:17.385-04:00 INFO 70641 --- [ restartedMain] c.j.demo.store.config.WebConfigurer : Web application configuration, using profiles: dev
2023-05-30T11:18:17.386-04:00 DEBUG 70641 --- [ restartedMain] c.j.demo.store.config.WebConfigurer : Initialize H2 console
2023-05-30T11:18:17.411-04:00 INFO 70641 --- [ restartedMain] c.j.demo.store.config.WebConfigurer : Web application fully configured
2023-05-30T11:18:17.628-04:00 DEBUG 70641 --- [ restartedMain] c.ehcache.core.Ehcache-usersByLogin : Initialize successful.
2023-05-30T11:18:17.643-04:00 DEBUG 70641 --- [ restartedMain] c.ehcache.core.Ehcache-usersByEmail : Initialize successful.
2023-05-30T11:18:17.645-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.jhipster.demo.store.domain.User : Initialize successful.
2023-05-30T11:18:17.648-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.demo.store.domain.Authority : Initialize successful.
2023-05-30T11:18:17.650-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.s.domain.User.authorities : Initialize successful.
2023-05-30T11:18:17.652-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.demo.store.domain.Product : Initialize successful.
2023-05-30T11:18:17.655-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.s.domain.ProductCategory : Initialize successful.
2023-05-30T11:18:17.657-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.s.d.P.products : Initialize successful.
2023-05-30T11:18:17.660-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.s.domain.CustomerDetails : Initialize successful.
2023-05-30T11:18:17.662-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.s.d.CustomerDetails.carts : Initialize successful.
2023-05-30T11:18:17.664-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.store.domain.ShoppingCart : Initialize successful.
2023-05-30T11:18:17.666-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.s.d.ShoppingCart.orders : Initialize successful.
2023-05-30T11:18:17.667-04:00 DEBUG 70641 --- [ restartedMain] c.e.c.E.j.d.store.domain.ProductOrder : Initialize successful.
2023-05-30T11:18:17.681-04:00 DEBUG 70641 --- [ restartedMain] c.j.d.store.config.AsyncConfiguration : Creating Async Task Executor
2023-05-30T11:18:17.707-04:00 DEBUG 70641 --- [ restartedMain] c.j.d.s.config.LiquibaseConfiguration : Configuring Liquibase
2023-05-30T11:18:17.855-04:00 WARN 70641 --- [ store-task-1] t.j.c.liquibase.AsyncSpringLiquibase : Starting Liquibase asynchronously, your database might not be ready at startup! Run
Running Changeset: config/liquibase/changelog/00000000000000_initial_schema.xml::00000000000001::jhipster
Running Changeset: config/liquibase/changelog/20230530145447_added_entity_Product.xml::20230530145447-1::jhipster
Running Changeset: config/liquibase/changelog/20230530145447_added_entity_Product.xml::20230530145447-1-data::jhipster
Running Changeset: config/liquibase/changelog/20230530145547_added_entity_ProductCategory.xml::20230530145547-1::jhipster
Running Changeset: config/liquibase/changelog/20230530145547_added_entity_ProductCategory.xml::20230530145547-1-data::jhipster
Running Changeset: config/liquibase/changelog/20230530145647_added_entity_CustomerDetails.xml::20230530145647-1::jhipster
Running Changeset: config/liquibase/changelog/20230530145647_added_entity_CustomerDetails.xml::20230530145647-1-data::jhipster
Running Changeset: config/liquibase/changelog/20230530145747_added_entity_ShoppingCart.xml::20230530145747-1::jhipster
Running Changeset: config/liquibase/changelog/20230530145747_added_entity_ShoppingCart.xml::20230530145747-1-data::jhipster
Running Changeset: config/liquibase/changelog/20230530145847_added_entity_ProductOrder.xml::20230530145847-1::jhipster
Running Changeset: config/liquibase/changelog/20230530145847_added_entity_ProductOrder.xml::20230530145847-1-data::jhipster
Running Changeset: config/liquibase/changelog/20230530145447_added_entity_constraints_Product.xml::20230530145447-2::jhipster
Running Changeset: config/liquibase/changelog/20230530145647_added_entity_constraints_CustomerDetails.xml::20230530145647-2::jhipster
Running Changeset: config/liquibase/changelog/20230530145747_added_entity_constraints_ShoppingCart.xml::20230530145747-2::jhipster
Running Changeset: config/liquibase/changelog/20230530145847_added_entity_constraints_ProductOrder.xml::20230530145847-2::jhipster
2023-05-30T11:18:18.681-04:00 ERROR 70641 --- [ store-task-1] t.j.c.liquibase.AsyncSpringLiquibase : Liquibase could not start correctly, your database is NOT ready: liquibase.exception.MigrationFailedException: Migration failed for changeset config/liquibase/changelog/20230530145847_added_entity_constraints_ProductOrder.xml::20230530145847-2::jhipster:_ Reason: liquibase.exception.DatabaseException: Violación de una restricción de Integridad Referencial: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"_Referential integrity constraint violation: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"; SQL statement:_ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id) [23506-214] [Failed SQL: (23506) ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id)]

liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset config/liquibase/changelog/20230530145847_added_entity_constraints_ProductOrder.xml::20230530145847-2::jhipster:
Reason: liquibase.exception.DatabaseException: Violación de una restricción de Integridad Referencial: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"
Referential integrity constraint violation: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"; SQL statement:
ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id) [23506-214] [Failed SQL: (23506) ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id)]
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:126)
at liquibase.Liquibase.lambda$null$0(Liquibase.java:263)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.Scope.child(Scope.java:243)
at liquibase.Liquibase.lambda$update$1(Liquibase.java:262)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.Liquibase.runInScope(Liquibase.java:2414)
at liquibase.Liquibase.update(Liquibase.java:209)
at liquibase.Liquibase.update(Liquibase.java:195)
at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:314)
at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:269)
at org.springframework.boot.autoconfigure.liquibase.DataSourceClosingSpringLiquibase.afterPropertiesSet(DataSourceClosingSpringLiquibase.java:46)
at tech.jhipster.config.liquibase.AsyncSpringLiquibase.initDb(AsyncSpringLiquibase.java:118)
at tech.jhipster.config.liquibase.AsyncSpringLiquibase.lambda$afterPropertiesSet$0(AsyncSpringLiquibase.java:93)
at tech.jhipster.async.ExceptionHandlingAsyncTaskExecutor.lambda$createWrappedRunnable$1(ExceptionHandlingAsyncTaskExecutor.java:79)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: liquibase.exception.MigrationFailedException: Migration failed for changeset config/liquibase/changelog/20230530145847_added_entity_constraints_ProductOrder.xml::20230530145847-2::jhipster:
Reason: liquibase.exception.DatabaseException: Violación de una restricción de Integridad Referencial: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"
Referential integrity constraint violation: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"; SQL statement:
ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id) [23506-214] [Failed SQL: (23506) ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id)]
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:708)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:56)
at liquibase.changelog.ChangeLogIterator$2.lambda$null$0(ChangeLogIterator.java:113)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.changelog.ChangeLogIterator$2.lambda$run$1(ChangeLogIterator.java:112)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.Scope.child(Scope.java:243)
at liquibase.changelog.ChangeLogIterator$2.run(ChangeLogIterator.java:93)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.Scope.child(Scope.java:243)
at liquibase.Scope.child(Scope.java:247)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:65)
... 23 common frames omitted
Caused by: liquibase.exception.DatabaseException: Violación de una restricción de Integridad Referencial: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"
Referential integrity constraint violation: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"; SQL statement:
ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id) [23506-214] [Failed SQL: (23506) ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id)]
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:440)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:78)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:161)
at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1299)
at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1281)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:673)
... 43 common frames omitted
Caused by: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Violación de una restricción de Integridad Referencial: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"
Referential integrity constraint violation: "FK_PRODUCT_ORDER__PRODUCT_ID: PUBLIC.PRODUCT_ORDER FOREIGN KEY(PRODUCT_ID) REFERENCES PUBLIC.PRODUCT(ID)"; SQL statement:
ALTER TABLE PUBLIC.product_order ADD CONSTRAINT fk_product_order__product_id FOREIGN KEY (product_id) REFERENCES PUBLIC.product (id) [23506-214]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:508)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.message.DbException.get(DbException.java:199)
at org.h2.constraint.ConstraintReferential.checkExistingData(ConstraintReferential.java:612)
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:287)
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
at org.h2.command.CommandContainer.update(CommandContainer.java:169)
at org.h2.command.Command.executeUpdate(Command.java:252)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:436)
... 48 common frames omitted

2023-05-30T11:18:18.971-04:00 DEBUG 70641 --- [ restartedMain] c.j.d.store.security.jwt.TokenProvider : Using a Base64-encoded JWT secret key
2023-05-30T11:18:20.075-04:00 DEBUG 70641 --- [ restartedMain] c.j.d.s.config.DatabaseConfiguration : H2 database is available on port 18080
2023-05-30T11:18:20.522-04:00 DEBUG 70641 --- [ restartedMain] c.a.JHipsterSpringDocGroupsConfiguration : Initializing JHipster OpenApi customizer
2023-05-30T11:18:20.533-04:00 DEBUG 70641 --- [ restartedMain] c.a.JHipsterSpringDocGroupsConfiguration : Initializing JHipster OpenApi default group
2023-05-30T11:18:20.536-04:00 DEBUG 70641 --- [ restartedMain] c.a.JHipsterSpringDocGroupsConfiguration : Initializing JHipster OpenApi management group
2023-05-30T11:18:21.051-04:00 INFO 70641 --- [ restartedMain] org.jboss.threads : JBoss Threads version 3.1.0.Final
2023-05-30T11:18:21.120-04:00 INFO 70641 --- [ restartedMain] com.jhipster.demo.store.StoreApp : Started StoreApp in 6.608 seconds (JVM running for 7.044)

Please if could provide some help to resolve the issue.
Thank's

KFW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant