From 676521f1e2a5cacef28ed0701a1271a4a389e6c5 Mon Sep 17 00:00:00 2001 From: Klaas Schuijtemaker Date: Wed, 17 Jun 2026 17:49:15 +0200 Subject: [PATCH 1/2] various change; --- README.md | 49 ++++++++++++++++++---- backend/app/build.gradle.kts | 8 ++-- build.gradle.kts | 3 +- documentation/release-notes.md | 21 ++++++++++ frontend/.eslintrc.json | 32 ++++++++++++++ frontend/angular.json | 12 ------ frontend/projects/plugin/.eslintrc.json | 2 +- frontend/projects/plugin/ng-package.json | 8 ++-- frontend/projects/plugin/package.json | 2 +- frontend/projects/plugin/plugin.properties | 2 - valtimo-configurator-metadata.json | 18 ++++++++ 11 files changed, 126 insertions(+), 31 deletions(-) create mode 100644 documentation/release-notes.md create mode 100644 frontend/.eslintrc.json delete mode 100644 frontend/projects/plugin/plugin.properties create mode 100644 valtimo-configurator-metadata.json diff --git a/README.md b/README.md index a4d0ed2..2e04552 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,47 @@ -# Value Mapper Plugin +Hoi team RISA 👋 -Waarden transformeren tussen JSON-objecten. +Even een heads-up: we hebben de plugins monorepo opgesplitst in losse repositories per plugin. De Plugins repository +onder generiekzaakafhandelcomponent wordt hiermee uitgefaseerd. -## Documentation +Wat betekent dit voor jullie? -- [Getting Started](documentation/getting-started.md) — setup, running, and development instructions -- [Plugin Documentation](documentation/plugin.md) — plugin details and configuration +De plugins waar jullie mee werken staan nu in hun eigen repository. Hieronder de volledige lijst: -## Contact +GZAC plugins (onder generiekzaakafhandelcomponent): -Haiko van der Schaaf (Ritense) +- https://github.com/generiekzaakafhandelcomponent/archief-plugin +- https://github.com/generiekzaakafhandelcomponent/externe-klanttaak-plugin +- https://github.com/generiekzaakafhandelcomponent/haal-centraal-plugin +- https://github.com/generiekzaakafhandelcomponent/haal-centraal-auth-plugin +- https://github.com/generiekzaakafhandelcomponent/object-management-plugin +- https://github.com/generiekzaakafhandelcomponent/oip-klanttaak-plugin +- https://github.com/generiekzaakafhandelcomponent/open-product-plugin +- https://github.com/generiekzaakafhandelcomponent/openklant-plugin +- https://github.com/generiekzaakafhandelcomponent/rotterdam-oracle-ebs-plugin +- https://github.com/generiekzaakafhandelcomponent/suwinet-plugin +- https://github.com/generiekzaakafhandelcomponent/suwinet-auth-plugin +- https://github.com/generiekzaakafhandelcomponent/token-authentication-plugin +- https://github.com/generiekzaakafhandelcomponent/xential-plugin + +Valtimo plugins (onder valtimo-platform): + +- https://github.com/valtimo-platform/cloud-event-plugin +- https://github.com/valtimo-platform/freemarker-plugin +- https://github.com/valtimo-platform/kvk-handelsregister-plugin +- https://github.com/valtimo-platform/mtls-sslcontext-plugin +- https://github.com/valtimo-platform/notify-nl-plugin +- https://github.com/valtimo-platform/publictask-plugin +- https://github.com/valtimo-platform/slack-plugin +- https://github.com/valtimo-platform/smtpmail-plugin +- https://github.com/valtimo-platform/spotler-plugin +- https://github.com/valtimo-platform/valtimo-llm-plugin +- https://github.com/valtimo-platform/valtimo-ocr-plugin +- https://github.com/valtimo-platform/valtimo-s2t-plugin +- https://github.com/valtimo-platform/value-mapper-plugin + +Nieuwe plugins aanmaken? Gebruik een van de templates: + +- GZAC plugins: https://github.com/generiekzaakafhandelcomponent/gzac-plugin-template +- Valtimo plugins: https://github.com/valtimo-platform/valtimo-plugin-template + +Mochten er vragen zijn, laat het gerust weten! \ No newline at end of file diff --git a/backend/app/build.gradle.kts b/backend/app/build.gradle.kts index c5af361..064df1e 100644 --- a/backend/app/build.gradle.kts +++ b/backend/app/build.gradle.kts @@ -1,11 +1,13 @@ val kotlinLoggingVersion: String by project val nettyResolverDnsNativeMacOsVersion: String by project +val valtimoVersion: String by project + dependencies { - implementation(platform("com.ritense.valtimo:valtimo-dependency-versions")) + implementation(platform("com.ritense.valtimo:valtimo-dependency-versions:$valtimoVersion")) - implementation("com.ritense.valtimo:valtimo-dependencies") - implementation("com.ritense.valtimo:local-mail") + implementation("com.ritense.valtimo:valtimo-dependencies:$valtimoVersion") + implementation("com.ritense.valtimo:local-mail:$valtimoVersion") implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.postgresql:postgresql") diff --git a/build.gradle.kts b/build.gradle.kts index c2361e2..65f28af 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -73,7 +73,8 @@ subprojects { } dependencies { - implementation(platform("com.ritense.valtimo:valtimo-dependency-versions:$valtimoVersion")) + compileOnly(platform("com.ritense.valtimo:valtimo-dependency-versions:$valtimoVersion")) + testImplementation(platform("com.ritense.valtimo:valtimo-dependency-versions:$valtimoVersion")) implementation("cn.lalaki.central:central:$lalakiCentralVersion") } diff --git a/documentation/release-notes.md b/documentation/release-notes.md new file mode 100644 index 0000000..5b174a7 --- /dev/null +++ b/documentation/release-notes.md @@ -0,0 +1,21 @@ +# Release notes + +Overzicht van wijzigingen per versie van de Value Mapper-plugin. + +## 6.0.0 +Geschikt gemaakt voor Valtimo 13.24.0 en ondergebracht in een eigen repository, met voorbeeldapplicatie en aparte documentatie. + +## 5.0.0 +Geschikt gemaakt voor Valtimo 13. + +## 1.3.0 +Een standaardwaarde kan nu ook zonder transformaties worden meegegeven, zodat een doelveld altijd gevuld kan worden. + +## 1.2.0 +Het is nu mogelijk om commando's of transformaties voorwaardelijk over te slaan. + +## 1.1.0 +Verbeterde voorinvulling van processen met behulp van de Value Mapper. + +## 1.0.0 +Eerste publieke release: waarden kopiëren van een bron-JSON naar een doel-JSON met optionele transformaties. diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json new file mode 100644 index 0000000..d3a7463 --- /dev/null +++ b/frontend/.eslintrc.json @@ -0,0 +1,32 @@ +{ + "root": true, + "ignorePatterns": ["projects/**/*", "dist/**/*", "node_modules/**/*"], + "overrides": [ + { + "files": ["*.ts"], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:@angular-eslint/recommended", + "plugin:@angular-eslint/template/process-inline-templates" + ], + "rules": { + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-empty-object-type": "off", + "@typescript-eslint/no-wrapper-object-types": "off", + "@angular-eslint/no-empty-lifecycle-method": "off", + "@angular-eslint/prefer-standalone": "off", + "no-empty": "warn" + } + }, + { + "files": ["*.html"], + "extends": ["plugin:@angular-eslint/template/recommended"], + "rules": { + "@angular-eslint/template/eqeqeq": "warn", + "@angular-eslint/template/no-negated-async": "warn" + } + } + ] +} diff --git a/frontend/angular.json b/frontend/angular.json index 16814b3..7c40f62 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -132,18 +132,6 @@ "src/assets" ] } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } } } }, diff --git a/frontend/projects/plugin/.eslintrc.json b/frontend/projects/plugin/.eslintrc.json index 3db9720..54b5015 100644 --- a/frontend/projects/plugin/.eslintrc.json +++ b/frontend/projects/plugin/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": "../../../.eslintrc.json", + "extends": "../../.eslintrc.json", "rules": { "@angular-eslint/component-selector": [ "error", diff --git a/frontend/projects/plugin/ng-package.json b/frontend/projects/plugin/ng-package.json index d5c7e7c..7f93b1a 100644 --- a/frontend/projects/plugin/ng-package.json +++ b/frontend/projects/plugin/ng-package.json @@ -37,15 +37,15 @@ "@valtimo/bootstrap", "@valtimo/choice-field", "@valtimo/components", - "@valtimo/config", - "@valtimo/config", + "@valtimo/shared", + "@valtimo/shared", "@valtimo/contact-moment", "@valtimo/context", "@valtimo/dashboard", "@valtimo/decision", "@valtimo/document", - "@valtimo/dossier", - "@valtimo/dossier-management", + "@valtimo/case", + "@valtimo/case-management", "@valtimo/form", "@valtimo/form-link", "@valtimo/form-management", diff --git a/frontend/projects/plugin/package.json b/frontend/projects/plugin/package.json index 86a0658..469d9cb 100644 --- a/frontend/projects/plugin/package.json +++ b/frontend/projects/plugin/package.json @@ -1,7 +1,7 @@ { "name": "@valtimo-plugins/value-mapper", "license": "EUPL-1.2", - "version": "1.1.0", + "version": "1.2.0", "peerDependencies": { "@angular/common": "^17.2.2", "@angular/core": "^17.2.2" diff --git a/frontend/projects/plugin/plugin.properties b/frontend/projects/plugin/plugin.properties deleted file mode 100644 index 211fe6c..0000000 --- a/frontend/projects/plugin/plugin.properties +++ /dev/null @@ -1,2 +0,0 @@ -pluginArtifactId=value-mapper -pluginVersion=1.1.0 diff --git a/valtimo-configurator-metadata.json b/valtimo-configurator-metadata.json new file mode 100644 index 0000000..4be042f --- /dev/null +++ b/valtimo-configurator-metadata.json @@ -0,0 +1,18 @@ +{ + "name": "value-mapper", + "version": 1, + "backend": [ + { + "import": "com.ritense.valtimoplugins:value-mapper" + } + ], + "frontend": { + "import": "@valtimo-plugins/value-mapper", + "codeAdditions": [ + { + "spec": "valueMapperPluginSpecification", + "module": "ValueMapperPluginModule" + } + ] + } +} From 06867bc6d6d78e9b1ba681aeb76b4cd9721cfd93 Mon Sep 17 00:00:00 2001 From: Klaas Schuijtemaker Date: Thu, 18 Jun 2026 10:17:24 +0200 Subject: [PATCH 2/2] Fix release notes --- documentation/release-notes.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/documentation/release-notes.md b/documentation/release-notes.md index 5b174a7..8ffd3bd 100644 --- a/documentation/release-notes.md +++ b/documentation/release-notes.md @@ -2,20 +2,17 @@ Overzicht van wijzigingen per versie van de Value Mapper-plugin. -## 6.0.0 -Geschikt gemaakt voor Valtimo 13.24.0 en ondergebracht in een eigen repository, met voorbeeldapplicatie en aparte documentatie. - -## 5.0.0 -Geschikt gemaakt voor Valtimo 13. - -## 1.3.0 -Een standaardwaarde kan nu ook zonder transformaties worden meegegeven, zodat een doelveld altijd gevuld kan worden. - ## 1.2.0 -Het is nu mogelijk om commando's of transformaties voorwaardelijk over te slaan. +Ondergebracht in een eigen repository met voorbeeldapplicatie en aparte documentatie. Een standaardwaarde kan nu ook zonder transformaties worden meegegeven, zodat een doelveld altijd gevuld kan worden. ## 1.1.0 -Verbeterde voorinvulling van processen met behulp van de Value Mapper. +Het is nu mogelijk om commando's of transformaties voorwaardelijk over te slaan. + +## 1.1.1 +Tussentijdse versie-ophoging voor de skip-functionaliteit. + +## 1.0.1 +Fix voor NoResourceFoundException en verbeterde voorinvulling van processen met behulp van de Value Mapper. ## 1.0.0 Eerste publieke release: waarden kopiëren van een bron-JSON naar een doel-JSON met optionele transformaties.