Skip to content

use queueCommandTasks feature #258

use queueCommandTasks feature

use queueCommandTasks feature #258

Triggered via pull request October 9, 2024 18:36
@mshimamshima
synchronize #272
mshima:command
Status Failure
Total duration 41s
Artifacts

generator.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
generators/java-audit/generator.spec.js > SubGenerator java-audit of entity-audit JHipster blueprint > run > entities should extend AbstractAuditingEntity: generators/java-audit/generator.spec.js#L38
AssertionError: src/main/java/com/mycompany/myapp/domain/Audited.java did not match ' AbstractAuditingEntity<'. Contained: package com.mycompany.myapp.domain; import java.io.Serializable; /** * A Audited. */ @SuppressWarnings("common-java:DuplicatedBlocks") public class Audited implements Serializable { private static final long serialVersionUID = 1L; private Long id; private String name; // jhipster-needle-entity-add-field - JHipster will add fields here public Long getId() { return this.id; } public Audited id(Long id) { this.setId(id); return this; } public void setId(Long id) { this.id = id; } public String getName() { return this.name; } public Audited name(String name) { this.setName(name); return this; } public void setName(String name) { this.name = name; } // jhipster-needle-entity-add-getters-setters - JHipster will add getters and setters here @OverRide public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Audited)) { return false; } return getId() != null && getId().equals(((Audited) o).getId()); } @OverRide public int hashCode() { // see https://vladmihalcea.com/how-to-implement-equals-and-hashcode-using-the-jpa-entity-identifier/ return getClass().hashCode(); } // prettier-ignore @OverRide public String toString() { return "Audited{" + "id=" + getId() + ", name='" + getName() + "'" + "}"; } } - Expected + Received - true + false ❯ Proxy.assertFileContent node_modules/yeoman-test/dist/run-result.js:188:13 ❯ generators/java-audit/generator.spec.js:38:14
generators/server/generator.spec.js > SubGenerator server of entity-audit JHipster blueprint > run > should succeed: generators/server/generator.spec.js#L24
Error: Snapshot `SubGenerator server of entity-audit JHipster blueprint > run > should succeed 1` mismatched - Expected + Received @@ -111,22 +111,10 @@ "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/aop/logging/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/mycompany/myapp/audit/AsyncEntityAuditEventWriter.java": { - "stateCleared": "modified", - }, - "src/main/java/com/mycompany/myapp/audit/EntityAuditEventListener.java": { - "stateCleared": "modified", - }, - "src/main/java/com/mycompany/myapp/audit/EntityAuditEventWriter.java": { - "stateCleared": "modified", - }, - "src/main/java/com/mycompany/myapp/audit/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/mycompany/myapp/config/ApplicationProperties.java": { "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/config/AsyncConfiguration.java": { "stateCleared": "modified", @@ -177,22 +165,13 @@ "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/domain/Authority.java": { "stateCleared": "modified", }, - "src/main/java/com/mycompany/myapp/domain/EntityAuditEvent.java": { - "stateCleared": "modified", - }, "src/main/java/com/mycompany/myapp/domain/User.java": { "stateCleared": "modified", }, - "src/main/java/com/mycompany/myapp/domain/enumeration/EntityAuditAction.java": { - "stateCleared": "modified", - }, - "src/main/java/com/mycompany/myapp/domain/enumeration/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/mycompany/myapp/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/management/SecurityMetersService.java": { "stateCleared": "modified", @@ -204,13 +183,10 @@ "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/repository/AuthorityRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/mycompany/myapp/repository/EntityAuditEventRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/mycompany/myapp/repository/UserRepository.java": { "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/repository/package-info.java": { "stateCleared": "modified", @@ -282,13 +258,10 @@ "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/web/rest/AuthorityResource.java": { "stateCleared": "modified", }, - "src/main/java/com/mycompany/myapp/web/rest/EntityAuditResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/mycompany/myapp/web/rest/PublicUserResource.java": { "stateCleared": "modified", }, "src/main/java/com/mycompany/myapp/web/rest/UserResource.java": { "stateCleared": "modified", @@ -348,13 +321,10 @@ "stateCleared": "modified", }, "src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml": { "stateCleared": "modified", }, - "src/main/resources/config/liquibase/changelog/20220101000100_added_entity_EntityAuditEvent.xml": { - "stateCleared": "modified", - }, "src/main/resources/config/liquibase/data/authority.csv": { "stateCleared": "modified", }, "src/main/resources/config/liquibase/data/user.csv": { "stateCleared": "modified", @@ -444,13 +414,10 @@ "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/TechnicalStructureTest.java": { "stateCleared": "modified", }, - "src/test/java/com/mycompany/myapp/audit/TestEntityAuditEventWriter.java": { - "stateCleared": "modified", - }, "src/test/java/com/mycompany/myapp/config/AsyncSyncConfiguration.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/config/CRLFLogConverterTest.java": { "stateCleared": "modified", ❯ generators/server/generator.spec.js:24:41
npm-test
Process completed with exit code 1.