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

OZG-4461 rollout smocker

parent 9ac08989
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,22 @@ pluto: ...@@ -28,6 +28,22 @@ pluto:
enabled: true enabled: true
password: "Test3456!" password: "Test3456!"
replicaCount: 1 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: user_manager:
kop: kop:
...@@ -54,3 +70,31 @@ user_manager: ...@@ -54,3 +70,31 @@ user_manager:
ingress: ingress:
use_staging_cert: true use_staging_cert: true
className: openshift-default 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: ...@@ -24,6 +24,22 @@ pluto:
enabled: true enabled: true
password: "Test3456!" password: "Test3456!"
replicaCount: 1 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: user_manager:
kop: kop:
...@@ -50,3 +66,31 @@ user_manager: ...@@ -50,3 +66,31 @@ user_manager:
ingress: ingress:
use_staging_cert: true use_staging_cert: true
className: openshift-default 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