-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from valtimo-platform/feature/add-case
Feature/add case
- Loading branch information
Showing
34 changed files
with
2,339 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file with secrets has been made public for demonstration purposes. | ||
|
||
VALTIMO_PLUGIN_ENCRYPTION-SECRET=abcdefghijklmnop | ||
VALTIMO_CONNECTOR-ENCRYPTION_SECRET=0123456789101112 | ||
|
||
SPRING_DATASOURCE_PASSWORD=password | ||
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAKAPI_CLIENT-SECRET=6ef6ca16-6b86-482a-a3d9-0561704c1db9 | ||
|
||
VALTIMO_API_URL=http://host.docker.internal:8080/api/v1/ | ||
ZAKEN_API_URL=http://localhost:8001/zaken/api/v1/ | ||
BESLUITEN_API_URL=http://localhost:8001/besluiten/api/v1/ | ||
CATALOGI_API_URL=http://localhost:8001/catalogi/api/v1/ | ||
DOCUMENTEN_API_URL=http://localhost:8001/documenten/api/v1/ | ||
NOTIFICATIES_API_URL=http://localhost:8002/api/v1/ | ||
OBJECTEN_API_URL=http://localhost:8010/api/v2/ | ||
OBJECTTYPEN_API_URL=http://localhost:8011/api/v1/ | ||
|
||
OPEN_ZAAK_CLIENT_ID=valtimo_client | ||
OPEN_ZAAK_CLIENT_SECRET=e09b8bc5-5831-4618-ab28-41411304309d | ||
|
||
OPEN_NOTIFICATIES_CLIENT_ID=valtimo | ||
OPEN_NOTIFICATIES_CLIENT_SECRET=zZ!xRP&$qTn4A9ETa^ZMKepDm^8egjPz | ||
|
||
OBJECTEN_API_TOKEN=182c13e2209161852c53cef53a879f7a2f923430 | ||
OBJECTTYPEN_API_TOKEN=cd63e158f3aca276ef284e3033d020a22899c728 | ||
|
||
SMART_DOCUMENTS_URL=https://example.com/ | ||
SMART_DOCUMENTS_USERNAME=test-user | ||
SMART_DOCUMENTS_PASSWORD=test-password | ||
|
||
VALTIMO_OPENKLANT_SECRET=e09b8bc5-5831-4618-ab28-41411304309d | ||
#org.openapitools.client.baseUrl=${BASEURL} | ||
org.openapitools.client.baseUrl=wdwwer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
backend/app/src/main/resources/config/plugin-configurations/app.pluginconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[ | ||
{ | ||
"id": "b609a0a3-886e-4b3d-ae0d-c01effb311ee", | ||
"title": "OpenZaak Authentication", | ||
"pluginDefinitionKey": "openzaak", | ||
"properties": { | ||
"clientId": "${OPEN_ZAAK_CLIENT_ID}", | ||
"clientSecret": "${OPEN_ZAAK_CLIENT_SECRET}" | ||
} | ||
}, | ||
{ | ||
"id": "3079d6fe-42e3-4f8f-a9db-52ce2507b7ee", | ||
"title": "Zaken API", | ||
"pluginDefinitionKey": "zakenapi", | ||
"properties": { | ||
"url": "${ZAKEN_API_URL}", | ||
"authenticationPluginConfiguration": "b609a0a3-886e-4b3d-ae0d-c01effb311ee" | ||
} | ||
}, | ||
{ | ||
"id": "5474fe57-532a-4050-8d89-32e62ca3e895", | ||
"title": "Documenten API", | ||
"pluginDefinitionKey": "documentenapi", | ||
"properties": { | ||
"url": "${DOCUMENTEN_API_URL}", | ||
"bronorganisatie": "051845623", | ||
"authenticationPluginConfiguration": "b609a0a3-886e-4b3d-ae0d-c01effb311ee", | ||
"apiVersion": "1.4.3" | ||
} | ||
}, | ||
{ | ||
"id": "21a006f9-7833-4cdf-a6b7-1927705dd543", | ||
"title": "Objecten API Authentication", | ||
"pluginDefinitionKey": "objecttokenauthentication", | ||
"properties": { | ||
"token": "${OBJECTEN_API_TOKEN}" | ||
} | ||
}, | ||
{ | ||
"id": "b6d83348-97e7-4660-bd35-2e5fcc9629b4", | ||
"title": "Objecten API", | ||
"pluginDefinitionKey": "objectenapi", | ||
"properties": { | ||
"url": "${OBJECTEN_API_URL}", | ||
"authenticationPluginConfiguration": "21a006f9-7833-4cdf-a6b7-1927705dd543" | ||
} | ||
}, | ||
{ | ||
"id": "acb0687a-075e-4435-923b-e6cb01d4d5db", | ||
"title": "Objecttypen API Authentication", | ||
"pluginDefinitionKey": "objecttokenauthentication", | ||
"properties": { | ||
"token": "${OBJECTTYPEN_API_TOKEN}" | ||
} | ||
}, | ||
{ | ||
"id": "4021bb75-18c8-4ca5-8658-b9f9c728bba0", | ||
"title": "Objecttypen API", | ||
"pluginDefinitionKey": "objecttypenapi", | ||
"properties": { | ||
"url": "${OBJECTTYPEN_API_URL}", | ||
"authenticationPluginConfiguration": "acb0687a-075e-4435-923b-e6cb01d4d5db" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
backend/plugin/src/main/kotlin/com/ritense/valtimo/xential/domain/DocumentCreatedMessage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.ritense.valtimo.xential.domain | ||
|
||
data class DocumentCreatedMessage( | ||
val taakapplicatie: String, | ||
val gebruiker: String, | ||
val documentCreatieSessieId: String, | ||
val formaat: FileFormat, | ||
val documentkenmerk: String, | ||
val data: String, | ||
) |
5 changes: 5 additions & 0 deletions
5
backend/plugin/src/main/kotlin/com/ritense/valtimo/xential/domain/FileFormat.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.ritense.valtimo.xential.domain | ||
|
||
enum class FileFormat { | ||
WORD, PDF | ||
} |
8 changes: 3 additions & 5 deletions
8
...d/plugin/src/main/kotlin/com/ritense/valtimo/xential/domain/GenerateDocumentProperties.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package com.ritense.valtimo.xential.domain | ||
|
||
import com.ritense.valtimo.xential.plugin.TemplateDataEntry | ||
import java.util.UUID | ||
|
||
data class GenerateDocumentProperties( | ||
val templateId: UUID, | ||
val fileFormat: FileFormat, | ||
val documentId: String, | ||
val templateData: Map<String, String> | ||
val messageName: String, | ||
val templateData: Array<TemplateDataEntry> | ||
) | ||
|
||
enum class FileFormat { | ||
WORD, PDF | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
backend/plugin/src/main/kotlin/com/ritense/valtimo/xential/plugin/TemplateDataEntry.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.ritense.valtimo.xential.plugin | ||
|
||
data class TemplateDataEntry( | ||
val key: String, | ||
val value: String, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.