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 a3be47a..63aa6c8 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..8ffd3bd --- /dev/null +++ b/documentation/release-notes.md @@ -0,0 +1,18 @@ +# Release notes + +Overzicht van wijzigingen per versie van de Value Mapper-plugin. + +## 1.2.0 +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 +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. diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index 3277e8e..d3a7463 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -1,32 +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" - } - } - ] + "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/projects/plugin/.eslintrc.json b/frontend/projects/plugin/.eslintrc.json index f2a95f9..020e830 100644 --- a/frontend/projects/plugin/.eslintrc.json +++ b/frontend/projects/plugin/.eslintrc.json @@ -1,31 +1,20 @@ { - "extends": "../../.eslintrc.json", - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts"], - "rules": { - "@angular-eslint/component-selector": [ - "warn", - { - "type": "element", - "prefix": "valtimo", - "style": "kebab-case" - } - ], - "@angular-eslint/directive-selector": [ - "warn", - { - "type": "directive", - "prefix": "valtimo", - "style": "camelCase" - } - ] - } - }, - { - "files": ["*.html"], - "rules": {} - } + "extends": "../../.eslintrc.json", + "rules": { + "@angular-eslint/component-selector": [ + "error", + { + "type": "element", + "prefix": "valtimo", + "style": "kebab-case" + } + ], + "@angular-eslint/directive-selector": [ + "error", + { + "type": "directive", + "prefix": "valtimo", + "style": "camelCase" + } ] } 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" + } + ] + } +}