Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 42 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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!
8 changes: 5 additions & 3 deletions backend/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down
18 changes: 18 additions & 0 deletions documentation/release-notes.md
Original file line number Diff line number Diff line change
@@ -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.
60 changes: 30 additions & 30 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}
45 changes: 17 additions & 28 deletions frontend/projects/plugin/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
8 changes: 4 additions & 4 deletions frontend/projects/plugin/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion frontend/projects/plugin/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 0 additions & 2 deletions frontend/projects/plugin/plugin.properties

This file was deleted.

18 changes: 18 additions & 0 deletions valtimo-configurator-metadata.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}
Loading