Skip to content
Snippets Groups Projects
Commit 8930b009 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4461 rollout smocker

parent 9ac08989
Branches
Tags
No related merge requests found
......@@ -28,7 +28,23 @@ pluto:
enabled: true
password: "Test3456!"
replicaCount: 1
ozgcloud:
processors:
- address: http://smocker:8080/externe-processor-success
name: always-success
forms:
- formId: Erstattung_ERFOLG
formEngineName: FormSolutions
- formId: Erstattung_ERFOLG
formEngineName: AFM
- address: http://smocker:8080/externe-processor-failure
name: always-failure
forms:
- formId: Erstattung_FAIL
formEngineName: FormSolutions
- formId: Erstattung_FAIL
formEngineName: AFM
user_manager:
kop:
keycloak:
......@@ -53,4 +69,32 @@ user_manager:
ingress:
use_staging_cert: true
className: openshift-default
\ No newline at end of file
className: openshift-default
smocker:
enabled: true
mocks:
- request:
method: POST
path: /externe-processor-success
response:
status: 200
headers:
Content-Type: application/json
body: >
{
"action": "CREATE_AKTENNOTIZ",
"body": {
"headline": "Eine neue Notiz",
"severity": "INFO",
"text": "Alles fein"
}
}
- request:
method: POST
path: /externe-processor-failure
response:
status: 500
headers:
body: "Da ist etwas schiefgelaufen"
\ No newline at end of file
......@@ -24,6 +24,22 @@ pluto:
enabled: true
password: "Test3456!"
replicaCount: 1
ozgcloud:
processors:
- address: http://smocker:8080/externe-processor-success
name: always-success
forms:
- formId: Erstattung_ERFOLG
formEngineName: FormSolutions
- formId: Erstattung_ERFOLG
formEngineName: AFM
- address: http://smocker:8080/externe-processor-failure
name: always-failure
forms:
- formId: Erstattung_FAIL
formEngineName: FormSolutions
- formId: Erstattung_FAIL
formEngineName: AFM
user_manager:
kop:
......@@ -49,4 +65,32 @@ user_manager:
ingress:
use_staging_cert: true
className: openshift-default
\ No newline at end of file
className: openshift-default
smocker:
enabled: true
mocks:
- request:
method: POST
path: /externe-processor-success
response:
status: 200
headers:
Content-Type: application/json
body: >
{
"action": "CREATE_AKTENNOTIZ",
"body": {
"headline": "Eine neue Notiz",
"severity": "INFO",
"text": "Alles fein"
}
}
- request:
method: POST
path: /externe-processor-failure
response:
status: 500
headers:
body: "Da ist etwas schiefgelaufen"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment