From fb4fee10c28a9d7c7b168e8cd41949fc1ade96ec Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 13 Oct 2024 15:22:07 +0200 Subject: [PATCH] Fix sonar issue --- .jhipster/modules/history.json | 68 +++++++++++++++++----------------- package-lock.json | 30 +++++++-------- package.json | 2 +- sonar-project.properties | 6 ++- 4 files changed, 55 insertions(+), 51 deletions(-) diff --git a/.jhipster/modules/history.json b/.jhipster/modules/history.json index 1bcd060..79adc0c 100644 --- a/.jhipster/modules/history.json +++ b/.jhipster/modules/history.json @@ -2,7 +2,7 @@ "actions": [ { "module": "init", - "date": "2024-10-12T08:25:18.136409474Z", + "date": "2024-10-13T13:21:47.110559Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -11,7 +11,7 @@ }, { "module": "maven-java", - "date": "2024-10-12T08:25:18.242280422Z", + "date": "2024-10-13T13:21:47.492814Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -20,7 +20,7 @@ }, { "module": "maven-wrapper", - "date": "2024-10-12T08:25:18.264576321Z", + "date": "2024-10-13T13:21:47.576388Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -29,7 +29,7 @@ }, { "module": "java-base", - "date": "2024-10-12T08:25:18.337642057Z", + "date": "2024-10-13T13:21:47.720129Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -38,7 +38,7 @@ }, { "module": "jacoco-with-min-coverage-check", - "date": "2024-10-12T08:25:18.365754451Z", + "date": "2024-10-13T13:21:47.815449Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -47,7 +47,7 @@ }, { "module": "java-memoizers", - "date": "2024-10-12T08:25:18.387780205Z", + "date": "2024-10-13T13:21:47.873631Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -56,7 +56,7 @@ }, { "module": "java-enums", - "date": "2024-10-12T08:25:18.415658379Z", + "date": "2024-10-13T13:21:47.908564Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -65,7 +65,7 @@ }, { "module": "pagination-domain", - "date": "2024-10-12T08:25:18.461387734Z", + "date": "2024-10-13T13:21:47.999577Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -74,7 +74,7 @@ }, { "module": "application-service-hexagonal-architecture-documentation", - "date": "2024-10-12T08:25:18.495145029Z", + "date": "2024-10-13T13:21:48.039046Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -83,7 +83,7 @@ }, { "module": "spring-boot", - "date": "2024-10-12T08:25:18.649712016Z", + "date": "2024-10-13T13:21:48.656536Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -92,7 +92,7 @@ }, { "module": "logs-spy", - "date": "2024-10-12T08:25:18.676208248Z", + "date": "2024-10-13T13:21:48.794780Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -101,7 +101,7 @@ }, { "module": "spring-boot-mvc-empty", - "date": "2024-10-12T08:25:18.703383863Z", + "date": "2024-10-13T13:21:48.839112Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -110,7 +110,7 @@ }, { "module": "spring-boot-tomcat", - "date": "2024-10-12T08:25:18.760783793Z", + "date": "2024-10-13T13:21:48.952106Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -119,7 +119,7 @@ }, { "module": "spring-boot-actuator", - "date": "2024-10-12T08:25:18.795496264Z", + "date": "2024-10-13T13:21:49.070739Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -128,7 +128,7 @@ }, { "module": "spring-boot-async", - "date": "2024-10-12T08:25:18.830286875Z", + "date": "2024-10-13T13:21:49.166943Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -137,7 +137,7 @@ }, { "module": "spring-boot-devtools", - "date": "2024-10-12T08:25:18.856066642Z", + "date": "2024-10-13T13:21:49.237228Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -146,7 +146,7 @@ }, { "module": "java-archunit", - "date": "2024-10-12T08:25:18.884145561Z", + "date": "2024-10-13T13:21:49.330962Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -155,7 +155,7 @@ }, { "module": "git-information", - "date": "2024-10-12T08:25:18.925540462Z", + "date": "2024-10-13T13:21:49.425038Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -164,7 +164,7 @@ }, { "module": "prettier", - "date": "2024-10-12T08:25:18.957838641Z", + "date": "2024-10-13T13:21:49.463727Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -173,7 +173,7 @@ }, { "module": "typescript", - "date": "2024-10-12T08:25:18.984086894Z", + "date": "2024-10-13T13:21:49.520188Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -182,7 +182,7 @@ }, { "module": "frontend-maven-plugin", - "date": "2024-10-12T08:25:19.012719644Z", + "date": "2024-10-13T13:21:49.611409Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -191,7 +191,7 @@ }, { "module": "vue-core", - "date": "2024-10-12T08:25:19.040790487Z", + "date": "2024-10-13T13:21:49.700626Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -200,7 +200,7 @@ }, { "module": "sonar-qube-java-backend-and-frontend", - "date": "2024-10-12T08:25:19.072259386Z", + "date": "2024-10-13T13:21:49.787773Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -209,7 +209,7 @@ }, { "module": "jpa-postgresql", - "date": "2024-10-12T08:25:19.153033138Z", + "date": "2024-10-13T13:21:49.977495Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -218,7 +218,7 @@ }, { "module": "liquibase", - "date": "2024-10-12T08:25:19.195991525Z", + "date": "2024-10-13T13:21:50.053483Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -227,7 +227,7 @@ }, { "module": "spring-boot-oauth2", - "date": "2024-10-12T08:25:19.286295878Z", + "date": "2024-10-13T13:21:50.191853Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -236,7 +236,7 @@ }, { "module": "spring-boot-oauth2-account", - "date": "2024-10-12T08:25:19.314272354Z", + "date": "2024-10-13T13:21:50.259849Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -245,7 +245,7 @@ }, { "module": "springdoc-mvc-openapi", - "date": "2024-10-12T08:25:19.372933344Z", + "date": "2024-10-13T13:21:50.341622Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -254,7 +254,7 @@ }, { "module": "springdoc-oauth2", - "date": "2024-10-12T08:25:19.407426507Z", + "date": "2024-10-13T13:21:50.381110Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -263,7 +263,7 @@ }, { "module": "spring-boot-cucumber-mvc", - "date": "2024-10-12T08:25:19.505937744Z", + "date": "2024-10-13T13:21:50.502006Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -272,7 +272,7 @@ }, { "module": "spring-boot-cucumber-oauth2-authentication", - "date": "2024-10-12T08:25:19.582668723Z", + "date": "2024-10-13T13:21:50.587016Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -281,7 +281,7 @@ }, { "module": "kipe-expression", - "date": "2024-10-12T08:25:19.608354160Z", + "date": "2024-10-13T13:21:50.654423Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -290,7 +290,7 @@ }, { "module": "kipe-authorization", - "date": "2024-10-12T08:25:19.635281089Z", + "date": "2024-10-13T13:21:50.695342Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -299,7 +299,7 @@ }, { "module": "sample-feature", - "date": "2024-10-12T08:25:19.676977274Z", + "date": "2024-10-13T13:21:50.748717Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", diff --git a/package-lock.json b/package-lock.json index 2e61798..3e8d94d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "eslint": "9.12.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-vue": "9.28.0", - "globals": "15.10.0", + "globals": "15.11.0", "husky": "9.1.6", "jsdom": "25.0.1", "lint-staged": "15.2.10", @@ -3507,9 +3507,9 @@ } }, "node_modules/globals": { - "version": "15.10.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.10.0.tgz", - "integrity": "sha512-tqFIbz83w4Y5TCbtgjZjApohbuh7K9BxGYFm7ifwDR240tvdb7P9x+/9VvUKlmkPoiknoJtanI8UOrqxS3a7lQ==", + "version": "15.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.11.0.tgz", + "integrity": "sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw==", "dev": true, "license": "MIT", "engines": { @@ -4827,13 +4827,13 @@ } }, "node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.0.tgz", + "integrity": "sha512-ZkDsAOcxsUMZ4Lz5fVciOehNcJ+Gb8gTzcA4yl3wnc273BAybYWrQ+Ks/OjCjSEpjvQkDSeZbybK9qj2VHHdGA==", "dev": true, "license": "MIT", "dependencies": { - "entities": "^4.4.0" + "entities": "^4.5.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" @@ -5761,22 +5761,22 @@ } }, "node_modules/tldts": { - "version": "6.1.50", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.50.tgz", - "integrity": "sha512-q9GOap6q3KCsLMdOjXhWU5jVZ8/1dIib898JBRLsN+tBhENpBDcAVQbE0epADOjw11FhQQy9AcbqKGBQPUfTQA==", + "version": "6.1.51", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.51.tgz", + "integrity": "sha512-33lfQoL0JsDogIbZ8fgRyvv77GnRtwkNE/MOKocwUgPO1WrSfsq7+vQRKxRQZai5zd+zg97Iv9fpFQSzHyWdLA==", "dev": true, "license": "MIT", "dependencies": { - "tldts-core": "^6.1.50" + "tldts-core": "^6.1.51" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "6.1.50", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.50.tgz", - "integrity": "sha512-na2EcZqmdA2iV9zHV7OHQDxxdciEpxrjbkp+aHmZgnZKHzoElLajP59np5/4+sare9fQBfixgvXKx8ev1d7ytw==", + "version": "6.1.51", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.51.tgz", + "integrity": "sha512-bu9oCYYWC1iRjx+3UnAjqCsfrWNZV1ghNQf49b3w5xE8J/tNShHTzp5syWJfwGH+pxUgTTLUnzHnfuydW7wmbg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index dbb6eb4..d5248da 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "eslint": "9.12.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-vue": "9.28.0", - "globals": "15.10.0", + "globals": "15.11.0", "husky": "9.1.6", "jsdom": "25.0.1", "lint-staged": "15.2.10", diff --git a/sonar-project.properties b/sonar-project.properties index 08d28b2..62d96c5 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -27,7 +27,7 @@ sonar.exclusions=\ sonar.test.exclusions=\ src/test/**/PackageSettings.java -sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6437,S6564,UndocumentedApi,S2301 +sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6437,S6564,UndocumentedApi,S2301,S7027 # Rule: Local variable and method parameter names should comply with a naming convention # Handled with checkstyle. Should be revisited with java 25 once Unnamed Patterns and Variables are available (JEP 443) @@ -85,3 +85,7 @@ sonar.issue.ignore.multicriteria.S6564.ruleKey=typescript:S6564 # Rule: Methods should not contain selector parameters sonar.issue.ignore.multicriteria.S2301.resourceKey=src/main/webapp/app/auth/oauth2-auth.service.ts sonar.issue.ignore.multicriteria.S2301.ruleKey=typescript:S2301 + +# Rule: Circular dependencies between classes in the same package should be resolved +sonar.issue.ignore.multicriteria.S7027.resourceKey=src/**/java/**/* +sonar.issue.ignore.multicriteria.S7027.ruleKey=javaarchitecture:S7027