diff --git a/.gitignore b/.gitignore index 53e9f0e..6a1478f 100644 --- a/.gitignore +++ b/.gitignore @@ -123,8 +123,7 @@ Desktop.ini # ESLint ###################### .eslintcache - # Maven /target/ # Maven Wrapper -!.mvn/wrapper/maven-wrapper.jar \ No newline at end of file +!.mvn/wrapper/maven-wrapper.jar diff --git a/.jhipster/modules/history.json b/.jhipster/modules/history.json index be2f9da..c63eee5 100644 --- a/.jhipster/modules/history.json +++ b/.jhipster/modules/history.json @@ -2,7 +2,7 @@ "actions": [ { "module": "init", - "date": "2024-06-15T19:05:30.879185790Z", + "date": "2024-06-22T17:30:05.741383855Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -11,7 +11,7 @@ }, { "module": "maven-java", - "date": "2024-06-15T19:05:30.974902408Z", + "date": "2024-06-22T17:30:05.835262337Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -20,7 +20,7 @@ }, { "module": "maven-wrapper", - "date": "2024-06-15T19:05:30.996604708Z", + "date": "2024-06-22T17:30:05.856857577Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -29,7 +29,7 @@ }, { "module": "java-base", - "date": "2024-06-15T19:05:31.056571195Z", + "date": "2024-06-22T17:30:05.927565252Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -38,7 +38,7 @@ }, { "module": "jacoco-with-min-coverage-check", - "date": "2024-06-15T19:05:31.075777682Z", + "date": "2024-06-22T17:30:05.946839666Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -47,7 +47,7 @@ }, { "module": "java-memoizers", - "date": "2024-06-15T19:05:31.089986619Z", + "date": "2024-06-22T17:30:05.961325249Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -56,7 +56,7 @@ }, { "module": "java-enums", - "date": "2024-06-15T19:05:31.104769464Z", + "date": "2024-06-22T17:30:05.976969927Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -65,7 +65,7 @@ }, { "module": "pagination-domain", - "date": "2024-06-15T19:05:31.125105452Z", + "date": "2024-06-22T17:30:05.996825873Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -74,7 +74,7 @@ }, { "module": "application-service-hexagonal-architecture-documentation", - "date": "2024-06-15T19:05:31.140476343Z", + "date": "2024-06-22T17:30:06.011641065Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -83,7 +83,7 @@ }, { "module": "spring-boot", - "date": "2024-06-15T19:05:31.191433787Z", + "date": "2024-06-22T17:30:06.064062Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -92,7 +92,7 @@ }, { "module": "logs-spy", - "date": "2024-06-15T19:05:31.207308774Z", + "date": "2024-06-22T17:30:06.078580018Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -101,7 +101,7 @@ }, { "module": "spring-boot-mvc-empty", - "date": "2024-06-15T19:05:31.220498985Z", + "date": "2024-06-22T17:30:06.091165490Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -110,7 +110,7 @@ }, { "module": "spring-boot-tomcat", - "date": "2024-06-15T19:05:31.246031796Z", + "date": "2024-06-22T17:30:06.116396151Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -119,7 +119,7 @@ }, { "module": "spring-boot-actuator", - "date": "2024-06-15T19:05:31.267475120Z", + "date": "2024-06-22T17:30:06.136739889Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -128,7 +128,7 @@ }, { "module": "spring-boot-async", - "date": "2024-06-15T19:05:31.287937028Z", + "date": "2024-06-22T17:30:06.156913896Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -137,7 +137,7 @@ }, { "module": "spring-boot-devtools", - "date": "2024-06-15T19:05:31.306199806Z", + "date": "2024-06-22T17:30:06.177196563Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -146,7 +146,7 @@ }, { "module": "java-archunit", - "date": "2024-06-15T19:05:31.326331010Z", + "date": "2024-06-22T17:30:06.254355217Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -155,7 +155,7 @@ }, { "module": "git-information", - "date": "2024-06-15T19:05:31.349370392Z", + "date": "2024-06-22T17:30:06.321396907Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -164,7 +164,7 @@ }, { "module": "prettier", - "date": "2024-06-15T19:05:31.369724998Z", + "date": "2024-06-22T17:30:06.353052003Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -173,7 +173,7 @@ }, { "module": "frontend-maven-plugin", - "date": "2024-06-15T19:05:31.395960088Z", + "date": "2024-06-22T17:30:06.395290254Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -182,7 +182,7 @@ }, { "module": "vue-core", - "date": "2024-06-15T19:05:31.441579223Z", + "date": "2024-06-22T17:30:06.434305020Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -191,7 +191,7 @@ }, { "module": "sonar-qube-java-backend-and-frontend", - "date": "2024-06-15T19:05:31.466511034Z", + "date": "2024-06-22T17:30:06.472290299Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -200,7 +200,7 @@ }, { "module": "postgresql", - "date": "2024-06-15T19:05:31.515939984Z", + "date": "2024-06-22T17:30:06.559586244Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -209,7 +209,7 @@ }, { "module": "liquibase", - "date": "2024-06-15T19:05:31.536131204Z", + "date": "2024-06-22T17:30:06.620861378Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -218,7 +218,7 @@ }, { "module": "spring-boot-oauth2", - "date": "2024-06-15T19:05:31.595167743Z", + "date": "2024-06-22T17:30:06.708274626Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -227,7 +227,7 @@ }, { "module": "spring-boot-oauth2-account", - "date": "2024-06-15T19:05:31.613837109Z", + "date": "2024-06-22T17:30:06.727393365Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -236,7 +236,7 @@ }, { "module": "springdoc-mvc-openapi", - "date": "2024-06-15T19:05:31.637237952Z", + "date": "2024-06-22T17:30:06.751997626Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -245,7 +245,7 @@ }, { "module": "springdoc-oauth2", - "date": "2024-06-15T19:05:31.654167287Z", + "date": "2024-06-22T17:30:06.769936697Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -254,7 +254,7 @@ }, { "module": "spring-boot-cucumber-mvc", - "date": "2024-06-15T19:05:31.686484954Z", + "date": "2024-06-22T17:30:06.797010287Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -263,7 +263,7 @@ }, { "module": "spring-boot-cucumber-oauth2-authentication", - "date": "2024-06-15T19:05:31.709775420Z", + "date": "2024-06-22T17:30:06.820620779Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -272,7 +272,7 @@ }, { "module": "kipe-expression", - "date": "2024-06-15T19:05:31.725471247Z", + "date": "2024-06-22T17:30:06.838414184Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -281,7 +281,7 @@ }, { "module": "kipe-authorization", - "date": "2024-06-15T19:05:31.740653832Z", + "date": "2024-06-22T17:30:06.852909146Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", @@ -290,7 +290,7 @@ }, { "module": "sample-feature", - "date": "2024-06-15T19:05:31.757388460Z", + "date": "2024-06-22T17:30:06.870083077Z", "properties": { "projectName": "JHipster Lite Sample Application", "baseName": "litesample", diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index f800e78..e56bc18 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,4 +14,4 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip diff --git a/package-lock.json b/package-lock.json index fde499d..dbcf43c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,13 +10,13 @@ "license": "UNLICENSED", "dependencies": { "axios": "1.7.2", - "vue": "3.4.27", + "vue": "3.4.29", "vue-router": "4.3.3" }, "devDependencies": { "@prettier/plugin-xml": "3.4.1", "@types/sinon": "17.0.3", - "@typescript-eslint/parser": "7.13.0", + "@typescript-eslint/parser": "7.13.1", "@vitejs/plugin-vue": "5.0.5", "@vitest/coverage-istanbul": "1.6.0", "@vue/eslint-config-prettier": "9.0.0", @@ -28,12 +28,12 @@ "jsdom": "24.1.0", "lint-staged": "15.2.7", "prettier": "3.3.2", - "prettier-plugin-gherkin": "2.2.1", + "prettier-plugin-gherkin": "2.3.0", "prettier-plugin-java": "2.6.0", "prettier-plugin-packagejson": "2.5.0", "sinon": "18.0.0", "typescript": "5.4.5", - "vite": "5.3.0", + "vite": "5.3.1", "vitest": "1.6.0", "vitest-sonar-reporter": "2.0.0", "vue-tsc": "2.0.21" @@ -1627,17 +1627,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.0.tgz", - "integrity": "sha512-FX1X6AF0w8MdVFLSdqwqN/me2hyhuQg4ykN6ZpVhh1ij/80pTvDKclX1sZB9iqex8SjQfVhwMKs3JtnnMLzG9w==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.1.tgz", + "integrity": "sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.13.0", - "@typescript-eslint/type-utils": "7.13.0", - "@typescript-eslint/utils": "7.13.0", - "@typescript-eslint/visitor-keys": "7.13.0", + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/type-utils": "7.13.1", + "@typescript-eslint/utils": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -1661,16 +1661,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.0.tgz", - "integrity": "sha512-EjMfl69KOS9awXXe83iRN7oIEXy9yYdqWfqdrFAYAAr6syP8eLEFI7ZE4939antx2mNgPRW/o1ybm2SFYkbTVA==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz", + "integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "7.13.0", - "@typescript-eslint/types": "7.13.0", - "@typescript-eslint/typescript-estree": "7.13.0", - "@typescript-eslint/visitor-keys": "7.13.0", + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/typescript-estree": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", "debug": "^4.3.4" }, "engines": { @@ -1690,14 +1690,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.0.tgz", - "integrity": "sha512-ZrMCe1R6a01T94ilV13egvcnvVJ1pxShkE0+NDjDzH4nvG1wXpwsVI5bZCvE7AEDH1mXEx5tJSVR68bLgG7Dng==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", + "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.13.0", - "@typescript-eslint/visitor-keys": "7.13.0" + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -1708,14 +1708,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.0.tgz", - "integrity": "sha512-xMEtMzxq9eRkZy48XuxlBFzpVMDurUAfDu5Rz16GouAtXm0TaAoTFzqWUFPPuQYXI/CDaH/Bgx/fk/84t/Bc9A==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.1.tgz", + "integrity": "sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.13.0", - "@typescript-eslint/utils": "7.13.0", + "@typescript-eslint/typescript-estree": "7.13.1", + "@typescript-eslint/utils": "7.13.1", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1736,9 +1736,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.0.tgz", - "integrity": "sha512-QWuwm9wcGMAuTsxP+qz6LBBd3Uq8I5Nv8xb0mk54jmNoCyDspnMvVsOxI6IsMmway5d1S9Su2+sCKv1st2l6eA==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", + "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", "dev": true, "license": "MIT", "engines": { @@ -1750,14 +1750,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.0.tgz", - "integrity": "sha512-cAvBvUoobaoIcoqox1YatXOnSl3gx92rCZoMRPzMNisDiM12siGilSM4+dJAekuuHTibI2hVC2fYK79iSFvWjw==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", + "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "7.13.0", - "@typescript-eslint/visitor-keys": "7.13.0", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1779,16 +1779,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.0.tgz", - "integrity": "sha512-jceD8RgdKORVnB4Y6BqasfIkFhl4pajB1wVxrF4akxD2QPM8GNYjgGwEzYS+437ewlqqrg7Dw+6dhdpjMpeBFQ==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz", + "integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.13.0", - "@typescript-eslint/types": "7.13.0", - "@typescript-eslint/typescript-estree": "7.13.0" + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/typescript-estree": "7.13.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -1802,13 +1802,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.0.tgz", - "integrity": "sha512-nxn+dozQx+MK61nn/JP+M4eCkHDSxSLDpgE3WcQo0+fkjEolnaB5jswvIKC4K56By8MMgIho7f1PVxERHEo8rw==", + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", + "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.13.0", + "@typescript-eslint/types": "7.13.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -1968,45 +1968,42 @@ } }, "node_modules/@volar/language-core": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.3.0.tgz", - "integrity": "sha512-pvhL24WUh3VDnv7Yw5N1sjhPtdx7q9g+Wl3tggmnkMcyK8GcCNElF2zHiKznryn0DiUGk+eez/p2qQhz+puuHw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.3.1.tgz", + "integrity": "sha512-25CZ3ulM6jWgQsPQjKb7maKDlryvXWvsl7ytw4uj1Yyy17BgdiTWqMuNSxIODC3+/7IBOOGYoINC/1OOLACLLw==", "dev": true, "license": "MIT", "dependencies": { - "@volar/source-map": "2.3.0" + "@volar/source-map": "2.3.1" } }, "node_modules/@volar/source-map": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.3.0.tgz", - "integrity": "sha512-G/228aZjAOGhDjhlyZ++nDbKrS9uk+5DMaEstjvzglaAw7nqtDyhnQAsYzUg6BMP9BtwZ59RIw5HGePrutn00Q==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.3.1.tgz", + "integrity": "sha512-fU3IL19wRy5S5OaGq67ejSl+/xdMuOHgp9Rsp3OiOhLyg25CctLYDdGZ9Y3+MJ1iqTLDh94PdvdR1BZX6I0hNQ==", "dev": true, - "license": "MIT", - "dependencies": { - "muggle-string": "^0.4.0" - } + "license": "MIT" }, "node_modules/@volar/typescript": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.3.0.tgz", - "integrity": "sha512-PtUwMM87WsKVeLJN33GSTUjBexlKfKgouWlOUIv7pjrOnTwhXHZNSmpc312xgXdTjQPpToK6KXSIcKu9sBQ5LQ==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.3.1.tgz", + "integrity": "sha512-OrUV6dYt/1h92+aWElexra6dp++gF/IEddvwyxeobyYfKAoKDUMsWU0iJCj0clZlfdyYaLmNEAkulJlVimxnOw==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "2.3.0", + "@volar/language-core": "2.3.1", "path-browserify": "^1.0.1", "vscode-uri": "^3.0.8" } }, "node_modules/@vue/compiler-core": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.27.tgz", - "integrity": "sha512-E+RyqY24KnyDXsCuQrI+mlcdW3ALND6U7Gqa/+bVwbcpcR3BRRIckFoz7Qyd4TTlnugtwuI7YgjbvsLmxb+yvg==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.29.tgz", + "integrity": "sha512-TFKiRkKKsRCKvg/jTSSKK7mYLJEQdUiUfykbG49rubC9SfDyvT2JrzTReopWlz2MxqeLyxh9UZhvxEIBgAhtrg==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/shared": "3.4.27", + "@babel/parser": "^7.24.7", + "@vue/shared": "3.4.29", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" @@ -2019,26 +2016,26 @@ "license": "MIT" }, "node_modules/@vue/compiler-dom": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.27.tgz", - "integrity": "sha512-kUTvochG/oVgE1w5ViSr3KUBh9X7CWirebA3bezTbB5ZKBQZwR2Mwj9uoSKRMFcz4gSMzzLXBPD6KpCLb9nvWw==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.29.tgz", + "integrity": "sha512-A6+iZ2fKIEGnfPJejdB7b1FlJzgiD+Y/sxxKwJWg1EbJu6ZPgzaPQQ51ESGNv0CP6jm6Z7/pO6Ia8Ze6IKrX7w==", "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-core": "3.4.29", + "@vue/shared": "3.4.29" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.27.tgz", - "integrity": "sha512-nDwntUEADssW8e0rrmE0+OrONwmRlegDA1pD6QhVeXxjIytV03yDqTey9SBDiALsvAd5U4ZrEKbMyVXhX6mCGA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.29.tgz", + "integrity": "sha512-zygDcEtn8ZimDlrEQyLUovoWgKQic6aEQqRXce2WXBvSeHbEbcAsXyCk9oG33ZkyWH4sl9D3tkYc1idoOkdqZQ==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/compiler-core": "3.4.27", - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27", + "@babel/parser": "^7.24.7", + "@vue/compiler-core": "3.4.29", + "@vue/compiler-dom": "3.4.29", + "@vue/compiler-ssr": "3.4.29", + "@vue/shared": "3.4.29", "estree-walker": "^2.0.2", "magic-string": "^0.30.10", "postcss": "^8.4.38", @@ -2052,13 +2049,13 @@ "license": "MIT" }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.27.tgz", - "integrity": "sha512-CVRzSJIltzMG5FcidsW0jKNQnNRYC8bT21VegyMMtHmhW3UOI7knmUehzswXLrExDLE6lQCZdrhD4ogI7c+vuw==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.29.tgz", + "integrity": "sha512-rFbwCmxJ16tDp3N8XCx5xSQzjhidYjXllvEcqX/lopkoznlNPz3jyy0WGJCyhAaVQK677WWFt3YO/WUEkMMUFQ==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-dom": "3.4.29", + "@vue/shared": "3.4.29" } }, "node_modules/@vue/devtools-api": { @@ -2132,52 +2129,53 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.27.tgz", - "integrity": "sha512-kK0g4NknW6JX2yySLpsm2jlunZJl2/RJGZ0H9ddHdfBVHcNzxmQ0sS0b09ipmBoQpY8JM2KmUw+a6sO8Zo+zIA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.29.tgz", + "integrity": "sha512-w8+KV+mb1a8ornnGQitnMdLfE0kXmteaxLdccm2XwdFxXst4q/Z7SEboCV5SqJNpZbKFeaRBBJBhW24aJyGINg==", "license": "MIT", "dependencies": { - "@vue/shared": "3.4.27" + "@vue/shared": "3.4.29" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.27.tgz", - "integrity": "sha512-7aYA9GEbOOdviqVvcuweTLe5Za4qBZkUY7SvET6vE8kyypxVgaT1ixHLg4urtOlrApdgcdgHoTZCUuTGap/5WA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.29.tgz", + "integrity": "sha512-s8fmX3YVR/Rk5ig0ic0NuzTNjK2M7iLuVSZyMmCzN/+Mjuqqif1JasCtEtmtoJWF32pAtUjyuT2ljNKNLeOmnQ==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/reactivity": "3.4.29", + "@vue/shared": "3.4.29" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.27.tgz", - "integrity": "sha512-ScOmP70/3NPM+TW9hvVAz6VWWtZJqkbdf7w6ySsws+EsqtHvkhxaWLecrTorFxsawelM5Ys9FnDEMt6BPBDS0Q==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.29.tgz", + "integrity": "sha512-gI10atCrtOLf/2MPPMM+dpz3NGulo9ZZR9d1dWo4fYvm+xkfvRrw1ZmJ7mkWtiJVXSsdmPbcK1p5dZzOCKDN0g==", "license": "MIT", "dependencies": { - "@vue/runtime-core": "3.4.27", - "@vue/shared": "3.4.27", + "@vue/reactivity": "3.4.29", + "@vue/runtime-core": "3.4.29", + "@vue/shared": "3.4.29", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.27.tgz", - "integrity": "sha512-dlAMEuvmeA3rJsOMJ2J1kXU7o7pOxgsNHVr9K8hB3ImIkSuBrIdy0vF66h8gf8Tuinf1TK3mPAz2+2sqyf3KzA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.29.tgz", + "integrity": "sha512-HMLCmPI2j/k8PVkSBysrA2RxcxC5DgBiCdj7n7H2QtR8bQQPqKAe8qoaxLcInzouBmzwJ+J0x20ygN/B5mYBng==", "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-ssr": "3.4.29", + "@vue/shared": "3.4.29" }, "peerDependencies": { - "vue": "3.4.27" + "vue": "3.4.29" } }, "node_modules/@vue/shared": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.27.tgz", - "integrity": "sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.29.tgz", + "integrity": "sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA==", "license": "MIT" }, "node_modules/@vue/test-utils": { @@ -2451,9 +2449,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001634", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001634.tgz", - "integrity": "sha512-fbBYXQ9q3+yp1q1gBk86tOFs4pyn/yxFm5ZNP18OXJDfA3txImOY9PhfxVggZ4vRHDqoU8NrKU81eN0OtzOgRA==", + "version": "1.0.30001636", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", + "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", "dev": true, "funding": [ { @@ -2953,9 +2951,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.803", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.803.tgz", - "integrity": "sha512-61H9mLzGOCLLVsnLiRzCbc63uldP0AniRYPV3hbGVtONA1pI7qSGILdbofR7A8TMbOypDocEAjH/e+9k1QIe3g==", + "version": "1.4.810", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.810.tgz", + "integrity": "sha512-Kaxhu4T7SJGpRQx99tq216gCq2nMxJo+uuT6uzz9l8TVN2stL7M06MIIXAtr9jsrLs2Glflgf2vMQRepxawOdQ==", "dev": true, "license": "ISC" }, @@ -3598,9 +3596,9 @@ } }, "node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "license": "ISC", "dependencies": { @@ -3608,6 +3606,7 @@ "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -4319,9 +4318,9 @@ } }, "node_modules/listr2": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.1.tgz", - "integrity": "sha512-irTfvpib/rNiD637xeevjO2l3Z5loZmuaRi0L0YE5LfijwVY96oyVn0DFD3o/teAok7nfobMG1THvvcHh/BP6g==", + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.3.tgz", + "integrity": "sha512-Lllokma2mtoniUOS94CcOErHWAug5iu7HOmDrvWgpw8jyQH2fomgB+7lZS4HWZxytUuQwkGOwe49FvwVaA85Xw==", "dev": true, "license": "MIT", "dependencies": { @@ -4329,7 +4328,7 @@ "colorette": "^2.0.20", "eventemitter3": "^5.0.1", "log-update": "^6.0.0", - "rfdc": "^1.3.1", + "rfdc": "^1.4.1", "wrap-ansi": "^9.0.0" }, "engines": { @@ -4788,13 +4787,6 @@ "dev": true, "license": "MIT" }, - "node_modules/muggle-string": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.4.1.tgz", - "integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==", - "dev": true, - "license": "MIT" - }, "node_modules/nanoid": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", @@ -4982,6 +4974,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -5232,9 +5231,9 @@ } }, "node_modules/prettier-plugin-gherkin": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier-plugin-gherkin/-/prettier-plugin-gherkin-2.2.1.tgz", - "integrity": "sha512-KnrhNt4j8kQ9ghfUtvkj7jiuDIMWgO7Obzig6+esze+tJRwoJ5uE1tKeEdRC6cz1k3/f6uWGN3kJLe666PUQMQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-gherkin/-/prettier-plugin-gherkin-2.3.0.tgz", + "integrity": "sha512-RzwgXL4r8QgKaynr2WTIU4eD8uTnoSnA/or/HqzIGbgEGgiGGjFH5NzAORCD8LU8m2aTQbZSF/LvbLHsT6ETzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6355,9 +6354,9 @@ } }, "node_modules/vite": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.0.tgz", - "integrity": "sha512-hA6vAVK977NyW1Qw+fLvqSo7xDPej7von7C3DwwqPRmnnnK36XEBC/J3j1V5lP8fbt7y0TgTKJbpNGSwM+Bdeg==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.1.tgz", + "integrity": "sha512-XBmSKRLXLxiaPYamLv3/hnP/KXDai1NDexN0FpkTaZXTfycHvkRHoenpgl/fvuK/kPbB6xAgoyiryAhQNxYmAQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6520,16 +6519,16 @@ "license": "MIT" }, "node_modules/vue": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.27.tgz", - "integrity": "sha512-8s/56uK6r01r1icG/aEOHqyMVxd1bkYcSe9j8HcKtr/xTOFWvnzIVTehNW+5Yt89f+DLBe4A569pnZLS5HzAMA==", + "version": "3.4.29", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.29.tgz", + "integrity": "sha512-8QUYfRcYzNlYuzKPfge1UWC6nF9ym0lx7mpGVPJYNhddxEf3DD0+kU07NTL0sXuiT2HuJuKr/iEO8WvXvT0RSQ==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-sfc": "3.4.27", - "@vue/runtime-dom": "3.4.27", - "@vue/server-renderer": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-dom": "3.4.29", + "@vue/compiler-sfc": "3.4.29", + "@vue/runtime-dom": "3.4.29", + "@vue/server-renderer": "3.4.29", + "@vue/shared": "3.4.29" }, "peerDependencies": { "typescript": "*" @@ -6541,9 +6540,9 @@ } }, "node_modules/vue-component-type-helpers": { - "version": "2.0.21", - "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-2.0.21.tgz", - "integrity": "sha512-3NaicyZ7N4B6cft4bfb7dOnPbE9CjLcx+6wZWAg5zwszfO4qXRh+U52dN5r5ZZfc6iMaxKCEcoH9CmxxoFZHLg==", + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-2.0.22.tgz", + "integrity": "sha512-gPr2Ba7efUwy/Vfbuf735bHSVdN4ycoZUCHfypkI33M9DUH+ieRblLLVM2eImccFYaWNWwEzURx02EgoXDBmaQ==", "dev": true, "license": "MIT" }, @@ -6848,9 +6847,9 @@ "license": "ISC" }, "node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 0437da9..5a32250 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,13 @@ }, "dependencies": { "axios": "1.7.2", - "vue": "3.4.27", + "vue": "3.4.29", "vue-router": "4.3.3" }, "devDependencies": { "@prettier/plugin-xml": "3.4.1", "@types/sinon": "17.0.3", - "@typescript-eslint/parser": "7.13.0", + "@typescript-eslint/parser": "7.13.1", "@vitejs/plugin-vue": "5.0.5", "@vitest/coverage-istanbul": "1.6.0", "@vue/eslint-config-prettier": "9.0.0", @@ -38,12 +38,12 @@ "jsdom": "24.1.0", "lint-staged": "15.2.7", "prettier": "3.3.2", - "prettier-plugin-gherkin": "2.2.1", + "prettier-plugin-gherkin": "2.3.0", "prettier-plugin-java": "2.6.0", "prettier-plugin-packagejson": "2.5.0", "sinon": "18.0.0", "typescript": "5.4.5", - "vite": "5.3.0", + "vite": "5.3.1", "vitest": "1.6.0", "vitest-sonar-reporter": "2.0.0", "vue-tsc": "2.0.21" diff --git a/pom.xml b/pom.xml index 343f7bf..b9f312b 100644 --- a/pom.xml +++ b/pom.xml @@ -184,7 +184,7 @@ 3.3.0 0.8.11 3.14.0 - 3.3.0 + 3.3.1 0.10.2 1.3.0 9.0.0 @@ -192,7 +192,7 @@ 3.1.0 1.15.0 10.8.1 - v20.14.0 + v20.15.0 1.2.1 4.0.0.4121 1.19.8 diff --git a/sonar-project.properties b/sonar-project.properties index 2ad1307..5bb79e1 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -19,7 +19,7 @@ sonar.javascript.lcov.reportPaths=target/test-results/lcov.info sonar.sourceEncoding=UTF-8 sonar.exclusions=src/main/webapp/main.ts, src/main/webapp/app/main.ts, src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.*, src/main/webapp/app/index.tsx, src/main/webapp/routes/+page.svelte -sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S2699,S6564,UndocumentedApi +sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6564,UndocumentedApi # 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) @@ -62,11 +62,6 @@ sonar.issue.ignore.multicriteria.S1133.ruleKey=java:S1133 sonar.issue.ignore.multicriteria.S6206.resourceKey=src/main/java/**/infrastructure/primary/**/* sonar.issue.ignore.multicriteria.S6206.ruleKey=java:S6206 -# Rule: Add at least one assertion to this test case -# Waiting the fix at https://community.sonarsource.com/t/false-positive-s2699-add-at-least-one-assertion-to-this-test-case/99064 -sonar.issue.ignore.multicriteria.S2699.resourceKey=src/test/javascript/** -sonar.issue.ignore.multicriteria.S2699.ruleKey=typescript:S2699 - # Rule: Delete commented out code in liquibase example sonar.issue.ignore.multicriteria.S125.resourceKey=src/main/resources/config/liquibase/master.xml sonar.issue.ignore.multicriteria.S125.ruleKey=xml:S125 diff --git a/src/main/docker/keycloak-realm-config/jhipster-realm.json b/src/main/docker/keycloak-realm-config/jhipster-realm.json index e254e61..68eca0d 100644 --- a/src/main/docker/keycloak-realm-config/jhipster-realm.json +++ b/src/main/docker/keycloak-realm-config/jhipster-realm.json @@ -2267,7 +2267,7 @@ "clientOfflineSessionIdleTimeout": "0", "cibaInterval": "5" }, - "keycloakVersion": "25.0.0", + "keycloakVersion": "25.0.1", "userManagedAccessAllowed": false, "clientProfiles": { "profiles": [] diff --git a/src/main/docker/keycloak.yml b/src/main/docker/keycloak.yml index 12db87a..558b886 100644 --- a/src/main/docker/keycloak.yml +++ b/src/main/docker/keycloak.yml @@ -1,8 +1,7 @@ # This configuration is intended for development purpose, it's **your** responsibility to harden it for production -version: '3.8' services: keycloak: - image: quay.io/keycloak/keycloak:25.0.0 + image: quay.io/keycloak/keycloak:25.0.1 command: 'start-dev --import-realm' volumes: - ./keycloak-realm-config:/opt/keycloak/data/import diff --git a/src/main/docker/postgresql.yml b/src/main/docker/postgresql.yml index 8043498..4289f2f 100644 --- a/src/main/docker/postgresql.yml +++ b/src/main/docker/postgresql.yml @@ -1,5 +1,4 @@ # This configuration is intended for development purpose, it's **your** responsibility to harden it for production -version: '3.8' services: postgresql: image: postgres:16.3 diff --git a/src/main/docker/sonar.yml b/src/main/docker/sonar.yml index 167d23b..62deff6 100644 --- a/src/main/docker/sonar.yml +++ b/src/main/docker/sonar.yml @@ -1,5 +1,4 @@ # This configuration is intended for development purpose, it's **your** responsibility to harden it for production -version: '3.8' services: sonar: image: sonarqube:10.5.1-community diff --git a/src/test/javascript/spec/http/AxiosHttp.spec.ts b/src/test/javascript/spec/http/AxiosHttp.spec.ts index 0646ee0..7df43e7 100644 --- a/src/test/javascript/spec/http/AxiosHttp.spec.ts +++ b/src/test/javascript/spec/http/AxiosHttp.spec.ts @@ -26,11 +26,6 @@ const expectForQuerying = (uri: string, result: AxiosResponse) => { expect(uri).toBe('/uri'); }; -const expectForSendingAndQuerying = (uri: string, payload: Payload, result: AxiosResponse) => { - expect(payload).toEqual(fakePayload()); - expectForQuerying(uri, result); -}; - describe('axiosHttp', () => { describe('GET', () => { it('should get content', async () => { @@ -41,7 +36,8 @@ describe('axiosHttp', () => { const result = await axiosHttp.get('/uri'); const [uri] = axiosInstance.get.getCall(0).args; - expectForQuerying(uri, result); + expect(result.data).toEqual(fakeResult()); + expect(uri).toBe('/uri'); }); it('should get content with params', async () => { @@ -65,7 +61,8 @@ describe('axiosHttp', () => { const result = await axiosHttp.put('/uri'); const [uri] = axiosInstance.put.getCall(0).args; - expectForQuerying(uri, result); + expect(result.data).toEqual(fakeResult()); + expect(uri).toBe('/uri'); }); it('should send and get content', async () => { @@ -76,7 +73,8 @@ describe('axiosHttp', () => { const result = await axiosHttp.put('/uri', fakePayload()); const [uri, payload] = axiosInstance.put.getCall(0).args; - expectForSendingAndQuerying(uri, payload, result); + expect(payload).toEqual(fakePayload()); + expectForQuerying(uri, result); }); }); @@ -89,7 +87,8 @@ describe('axiosHttp', () => { const result = await axiosHttp.post('/uri'); const [uri] = axiosInstance.post.getCall(0).args; - expectForQuerying(uri, result); + expect(result.data).toEqual(fakeResult()); + expect(uri).toBe('/uri'); }); it('should send and get content', async () => { @@ -100,7 +99,8 @@ describe('axiosHttp', () => { const result = await axiosHttp.post('/uri', fakePayload()); const [uri, payload] = axiosInstance.post.getCall(0).args; - expectForSendingAndQuerying(uri, payload, result); + expect(payload).toEqual(fakePayload()); + expectForQuerying(uri, result); }); }); @@ -113,7 +113,8 @@ describe('axiosHttp', () => { const result = await axiosHttp.delete('/uri'); const [uri] = axiosInstance.delete.getCall(0).args; - expectForQuerying(uri, result); + expect(result.data).toEqual(fakeResult()); + expect(uri).toBe('/uri'); }); }); });