diff --git a/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-ea-dev.yaml b/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-ea-dev.yaml index 0a7bac13ba55363111aa138ee5592e815b798fbb..0b95d2e8f3241fc79d9f3e8728bbd81e559fee00 100644 --- a/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-ea-dev.yaml +++ b/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-ea-dev.yaml @@ -28,7 +28,19 @@ pluto: enabled: true password: "Test3456!" replicaCount: 1 - + ozgcloud: + processors: + - address: http://smocker:8080/externe-processor-success + name: always-success + forms: + - formId: Erstattung_ERFOLG + formEngineName: AFM + - address: http://smocker:8080/externe-processor-failure + name: always-failure + forms: + - formId: Erstattung_FAIL + formEngineName: AFM + user_manager: kop: keycloak: @@ -53,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 diff --git a/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-main-dev.yaml b/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-main-dev.yaml index bd69db0457d9187ad5b1bef98bdb103d63065a77..623f9b438f7524766ba26d10b426085295438a63 100644 --- a/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-main-dev.yaml +++ b/goofy-client/apps/goofy-e2e/src/fixtures/argocd/by-main-dev.yaml @@ -24,6 +24,18 @@ pluto: enabled: true password: "Test3456!" replicaCount: 1 + ozgcloud: + processors: + - address: http://smocker:8080/externe-processor-success + name: always-success + forms: + - formId: Erstattung_ERFOLG + formEngineName: AFM + - address: http://smocker:8080/externe-processor-failure + name: always-failure + forms: + - formId: Erstattung_FAIL + formEngineName: AFM user_manager: kop: @@ -49,4 +61,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 diff --git a/goofy-client/apps/goofy/src/styles/material/_expansion-panel.scss b/goofy-client/apps/goofy/src/styles/material/_expansion-panel.scss index 94c3ebb197867f03b3cc58bc97500638717f6e30..74c7e5729529eff15888b001a10b01cdaf3bd3f6 100644 --- a/goofy-client/apps/goofy/src/styles/material/_expansion-panel.scss +++ b/goofy-client/apps/goofy/src/styles/material/_expansion-panel.scss @@ -97,5 +97,5 @@ } :host-context(.dark) .mat-expansion-panel { - background: $darkBackgroundExpansionPanelLike; + background-color: $darkBackgroundExpansionPanelLike; } diff --git a/goofy-client/apps/goofy/src/styles/material/_menu.scss b/goofy-client/apps/goofy/src/styles/material/_menu.scss index ceaa8694f07f76a50469b040daa6848fa42db7d7..0b5ad16913c1630d9d1f1c0732e2c09f3ca5383f 100644 --- a/goofy-client/apps/goofy/src/styles/material/_menu.scss +++ b/goofy-client/apps/goofy/src/styles/material/_menu.scss @@ -5,6 +5,12 @@ background-color: $background; } +body.dark { + .mat-mdc-menu-panel.mat-mdc-menu-panel { + background-color: $darkBackgroundExpansionPanelLike; + } +} + goofy-client-help-menu { .mat-mdc-fab { box-shadow: none !important;