From ba5f20065f9ba6992254637edd97e93a49bcd697 Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Fri, 1 Nov 2024 15:19:16 -0600 Subject: [PATCH] automatic project update for v8.7.3 --- .devcontainer/devcontainer.json | 2 +- .yo-rc.json | 2 +- README.md | 16 ++++++++-------- package.json | 6 +++--- pom.xml | 2 +- sonar-project.properties | 8 +++++++- .../jhipster/sample/GeneratedByJHipster.java | 2 +- src/main/resources/config/tls/keystore.p12 | Bin 2768 -> 2768 bytes .../webapp/app/admin/health/health.model.ts | 4 +--- .../webapp/app/admin/metrics/metrics.model.ts | 7 +------ .../simulations/BankAccountGatlingTest.java | 2 +- .../gatling/simulations/LabelGatlingTest.java | 2 +- .../simulations/OperationGatlingTest.java | 2 +- 13 files changed, 27 insertions(+), 28 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 23266edd..0361bbc1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -13,7 +13,7 @@ // maven and gradle wrappers are used by default, we don't need them installed globally // "INSTALL_MAVEN": "true", // "INSTALL_GRADLE": "false", - "NODE_VERSION": "20.18.0" + "NODE_VERSION": "22.11.0" } }, diff --git a/.yo-rc.json b/.yo-rc.json index c00d177d..62ae8af6 100644 --- a/.yo-rc.json +++ b/.yo-rc.json @@ -26,7 +26,7 @@ "entitySuffix": "", "hibernateCache": "ehcache", "jhiPrefix": "jhi", - "jhipsterVersion": "8.7.2", + "jhipsterVersion": "8.7.3", "jwtSecretKey": "bXktc2VjcmV0LWtleS13aGljaC1zaG91bGQtYmUtY2hhbmdlZC1pbi1wcm9kdWN0aW9uLWFuZC1iZS1iYXNlNjQtZW5jb2RlZAo=", "languages": ["en"], "messageBroker": false, diff --git a/README.md b/README.md index 9426718d..c9d57062 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # jhipsterSampleApplication -This application was generated using JHipster 8.7.2, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.7.2](https://www.jhipster.tech/documentation-archive/v8.7.2). +This application was generated using JHipster 8.7.3, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.7.3](https://www.jhipster.tech/documentation-archive/v8.7.3). ## Project Structure @@ -267,13 +267,13 @@ For more information refer to [Using Docker and Docker-Compose][], this page als To configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`), this will let you generate configuration files for a number of Continuous Integration systems. Consult the [Setting up Continuous Integration][] page for more information. [JHipster Homepage and latest documentation]: https://www.jhipster.tech -[JHipster 8.7.2 archive]: https://www.jhipster.tech/documentation-archive/v8.7.2 -[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.7.2/development/ -[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.7.2/docker-compose -[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.7.2/production/ -[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.7.2/running-tests/ -[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.7.2/code-quality/ -[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.7.2/setting-up-ci/ +[JHipster 8.7.3 archive]: https://www.jhipster.tech/documentation-archive/v8.7.3 +[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.7.3/development/ +[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.7.3/docker-compose +[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.7.3/production/ +[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.7.3/running-tests/ +[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.7.3/code-quality/ +[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.7.3/setting-up-ci/ [Node.js]: https://nodejs.org/ [NPM]: https://www.npmjs.com/ [Gatling]: https://gatling.io/ diff --git a/package.json b/package.json index 56c4b803..9aa6b0d5 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "eslint-plugin-prettier": "5.2.1", "eslint-webpack-plugin": "4.2.0", "folder-hash": "4.0.4", - "generator-jhipster": "8.7.2", + "generator-jhipster": "8.7.3", "globals": "15.11.0", "husky": "9.1.6", "jest": "29.7.0", @@ -148,14 +148,14 @@ "swagger-ui-dist": "5.17.14", "ts-jest": "29.2.5", "typescript": "5.5.4", - "typescript-eslint": "8.11.0", + "typescript-eslint": "8.12.2", "wait-on": "8.0.1", "webpack-bundle-analyzer": "4.10.2", "webpack-merge": "6.0.1", "webpack-notifier": "1.15.0" }, "engines": { - "node": ">=20.18.0" + "node": ">=22.11.0" }, "cacheDirectories": [ "node_modules" diff --git a/pom.xml b/pom.xml index 7b6a7460..5e43f600 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ --> 3.2.5 17 - v20.18.0 + v22.11.0 10.9.0 UTF-8 UTF-8 diff --git a/sonar-project.properties b/sonar-project.properties index bc66d195..241c246f 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -17,7 +17,7 @@ sonar.javascript.lcov.reportPaths = target/test-results/lcov.info sonar.sourceEncoding = UTF-8 sonar.exclusions = src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.* -sonar.issue.ignore.multicriteria = S6437,S1192,S125,S2187,S3437,S4502,S4684,S5145,UndocumentedApi +sonar.issue.ignore.multicriteria = S6437,S1192,S125,S2187,S3437,S4502,S4684,S5145,S7027-domain,S7027-dto,UndocumentedApi # Rule https://rules.sonarsource.com/java/RSPEC-6437 is ignored, hardcoded passwords are provided for development purposes sonar.issue.ignore.multicriteria.S6437.resourceKey = src/main/resources/config/* @@ -37,6 +37,12 @@ sonar.issue.ignore.multicriteria.S4684.ruleKey = java:S4684 # Rule https://rules.sonarsource.com/java/RSPEC-5145 log filter is applied sonar.issue.ignore.multicriteria.S5145.resourceKey = src/main/java/**/* sonar.issue.ignore.multicriteria.S5145.ruleKey = javasecurity:S5145 +# Rule https://rules.sonarsource.com/java/RSPEC-7027 is ignored for entities +sonar.issue.ignore.multicriteria.S7027-domain.resourceKey = src/main/java/io/github/jhipster/sample/domain/**/* +sonar.issue.ignore.multicriteria.S7027-domain.ruleKey = javaarchitecture:S7027 +# Rule https://rules.sonarsource.com/java/RSPEC-7027 is ignored for dtos +sonar.issue.ignore.multicriteria.S7027-dto.resourceKey = src/main/java/io/github/jhipster/sample/service/dto/**/* +sonar.issue.ignore.multicriteria.S7027-dto.ruleKey = javaarchitecture:S7027 # Rule https://rules.sonarsource.com/java/RSPEC-1176 is ignored, as we want to follow "clean code" guidelines and classes, methods and # arguments names should be self-explanatory sonar.issue.ignore.multicriteria.UndocumentedApi.resourceKey = src/main/java/**/* diff --git a/src/main/java/io/github/jhipster/sample/GeneratedByJHipster.java b/src/main/java/io/github/jhipster/sample/GeneratedByJHipster.java index 46399f35..d63d9c5a 100644 --- a/src/main/java/io/github/jhipster/sample/GeneratedByJHipster.java +++ b/src/main/java/io/github/jhipster/sample/GeneratedByJHipster.java @@ -6,7 +6,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -@Generated(value = "JHipster", comments = "Generated by JHipster 8.7.2") +@Generated(value = "JHipster", comments = "Generated by JHipster 8.7.3") @Retention(RetentionPolicy.SOURCE) @Target({ ElementType.TYPE }) public @interface GeneratedByJHipster { diff --git a/src/main/resources/config/tls/keystore.p12 b/src/main/resources/config/tls/keystore.p12 index 0db77735b6aaabdd522f4f78a50a295a02d13153..2b841e1b4fb4370d8c03e6f59842af5ce5a328d4 100644 GIT binary patch delta 2484 zcmV;l2}}0S70?xsb`-ZH9V9KO*Oo8zMv<69WWEe2-iwinB!B+S5=1$cu#Z9ZM}(cM z7C!`n1kgL}8VhLvsn3brJCd|{EX_C_k>3>7*bc5|JB1(`$662R5zk9)YAP?ZZ8%ND z`Qm^3qiOnv;}}YD$&PvJzYeSSCs!+3tHX7La$8QIg|7Q~A^h$=bz;S~IirX~LXzkF z{4}zH3nK~w?0*bg!jloK1ac^5ti)$KEAWKrwiS5({Uz49mxfv9Uany@%;Zr6>Fa+M z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8`}r{R?Ao`jMc1eD`Xp&jL{Z*%4(j{d{j+|y8Ra0Uv3Y}|{wbS~A-ow(7r;<^C#=9i* zF_(oORN>3V*&%f3d`OkuS!&kI8kT9&D5Wm@4aBn)dPtuiSiNo>$$eQBv zVN1A@Tcs`hbMvbFQAn#?1cBTKXpK96vtGFC3){;FE33&&!NOT)58D&GaULzv$u6$D zKtHzIOInZ+{rjTyv~-f|9wr!k+`DQDuo&kJJnRXA`P0J!MFpAC@StE+!qBEY-cWib zin=OTe&&&Z0F1rH=RZIC(_ngYDhoYwH6Gx4+{zr)W)n+|tDL7C*S;<9+1kl}0Lpo; zn=B+w&&xFYXT4AQvAUPK$pr^xL9uKw9g_|Yls8tMq-`hJ~*@Fqy(?5=tV1ewAvv?x@Xo8XCJWh?m?|ycb z^EV9FISFn86JjS|!8{zD%lbidT*7^_W`#~+sK0%}fK^h<2BDs1=`*4~mBJ{Z=_`l^ z&UEWCSK3Cb8KO`q;Aqw?wa#1HCl@fgiXHeneR715gNU~hRvSU^iBGylYt5qIyQv7!#stv(nIU; yux~kZdK>Q^X44=4k-pApX3vP@8@N0w)k;P~c_& diff --git a/src/main/webapp/app/admin/health/health.model.ts b/src/main/webapp/app/admin/health/health.model.ts index ede47245..ac52f127 100644 --- a/src/main/webapp/app/admin/health/health.model.ts +++ b/src/main/webapp/app/admin/health/health.model.ts @@ -4,9 +4,7 @@ export type HealthKey = 'binders' | 'diskSpace' | 'mail' | 'ping' | 'livenessSta export interface Health { status: HealthStatus; - components: { - [key in HealthKey]?: HealthDetails; - }; + components?: Partial>; } export interface HealthDetails { diff --git a/src/main/webapp/app/admin/metrics/metrics.model.ts b/src/main/webapp/app/admin/metrics/metrics.model.ts index b1a2e0af..fffa69f4 100644 --- a/src/main/webapp/app/admin/metrics/metrics.model.ts +++ b/src/main/webapp/app/admin/metrics/metrics.model.ts @@ -74,12 +74,7 @@ export interface GarbageCollector { classesUnloaded: number; } -export type Services = Record< - string, - { - [key in HttpMethod]?: MaxMeanCount; - } ->; +export type Services = Record>; export enum HttpMethod { Post = 'POST', diff --git a/src/test/java/gatling/simulations/BankAccountGatlingTest.java b/src/test/java/gatling/simulations/BankAccountGatlingTest.java index dc216fc9..39d7f308 100644 --- a/src/test/java/gatling/simulations/BankAccountGatlingTest.java +++ b/src/test/java/gatling/simulations/BankAccountGatlingTest.java @@ -20,7 +20,7 @@ /** * Performance test for the BankAccount entity. * - * @see Logging tips + * @see Logging tips */ public class BankAccountGatlingTest extends Simulation { diff --git a/src/test/java/gatling/simulations/LabelGatlingTest.java b/src/test/java/gatling/simulations/LabelGatlingTest.java index 80c61219..a7210542 100644 --- a/src/test/java/gatling/simulations/LabelGatlingTest.java +++ b/src/test/java/gatling/simulations/LabelGatlingTest.java @@ -20,7 +20,7 @@ /** * Performance test for the Label entity. * - * @see Logging tips + * @see Logging tips */ public class LabelGatlingTest extends Simulation { diff --git a/src/test/java/gatling/simulations/OperationGatlingTest.java b/src/test/java/gatling/simulations/OperationGatlingTest.java index b9bf9170..12659a45 100644 --- a/src/test/java/gatling/simulations/OperationGatlingTest.java +++ b/src/test/java/gatling/simulations/OperationGatlingTest.java @@ -20,7 +20,7 @@ /** * Performance test for the Operation entity. * - * @see Logging tips + * @see Logging tips */ public class OperationGatlingTest extends Simulation {