Skip to content

Commit afd54d3

Browse files
authored
Merge pull request #224 from gematik/HOTFIX_New_Cleanup_Endpoint_Testdriver
Hotfix new optional cleanup endpoint testdriverapi
2 parents 6b566f3 + 63d98b0 commit afd54d3

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ image::meta/gematik_logo.svg[gematik,width="70%"]
1616

1717
image:https://img.shields.io/badge/Release%20Notes-v1.1.1-red?style=plastic&logo=github&logoColor=red[link="ReleaseNotes.md"] +
1818
image:https://img.shields.io/badge/I_TiMessengerContactManagement-v1.0.1-blue?style=plastic&logo=github&logoColor=blue[link=/src/openapi/TiMessengerContactManagement.yaml"] +
19-
image:https://img.shields.io/badge/TiMessengerTestDriver-v0.9.2-purple?style=plastic&logo=github&logoColor=purple[link="/src/openapi/TiMessengerTestTreiber.yaml"]
20-
image:https://img.shields.io/badge/TiMessengerTestSuite-v0.9.2-purple?style=plastic&logo=github&logoColor=purple[link="https://github.com/gematik/TI-Messenger-Testsuite"] +
19+
image:https://img.shields.io/badge/TiMessengerTestDriver-v0.9.3-purple?style=plastic&logo=github&logoColor=purple[link="/src/openapi/TiMessengerTestTreiber.yaml"]
20+
image:https://img.shields.io/badge/TiMessengerTestSuite-v0.9.7-purple?style=plastic&logo=github&logoColor=purple[link="https://github.com/gematik/TI-Messenger-Testsuite"] +
2121
image:https://img.shields.io/badge/TI‐Messenger‐Dienst-v1.1.1-green?style=plastic&logo=github&logoColor=green[link="https://fachportal.gematik.de/fachportal-import/files/gemSpec_TI-Messenger-Dienst_V1.1.1.pdf"]
2222
image:https://img.shields.io/badge/TI‐Messenger‐FD-v1.1.1-green?style=plastic&logo=github&logoColor=green[link="https://fachportal.gematik.de/fachportal-import/files/gemSpec_TI-Messenger-FD_V1.1.1.pdf"]
2323
image:https://img.shields.io/badge/TI‐Messenger‐Client-v1.1.1-green?style=plastic&logo=github&logoColor=green[link="https://fachportal.gematik.de/fachportal-import/files/gemSpec_TI-Messenger-Client_V1.1.1.pdf"] +

ReleaseNotes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<img align="right" width="250" height="47" src="images/meta/gematik_logo.svg"/> <br/>
22

33
# Release Notes api-ti-messenger
4+
5+
## Hotfix 1.1.1-3
6+
7+
### changed
8+
9+
- Testdriver api: Added optional endpoint for clean up system
410

511
## Release 1.1.1 (2023-08-25)
612

src/openapi/TiMessengerTestTreiber.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.3
22
info:
33
title: TiMessengerTestDriver
44
description: REST interface to automate the test of a TI-Messenger client implementation.
5-
version: 0.9.2
5+
version: 0.9.3
66
contact:
77
name: gematik GmbH
88
email: software-development@gematik.de
@@ -33,6 +33,8 @@ servers:
3333
tags:
3434
- name: info
3535
description: This operation returns meta data about this interface and the status of available resources
36+
- name: signalTestStart
37+
description: This endpoint serves the possibility to clean system before test
3638
- name: devices
3739
description: Operations for device management
3840
- name: account
@@ -83,6 +85,21 @@ paths:
8385
default:
8486
$ref: "#/components/responses/DefaultResponse"
8587

88+
post:
89+
tags:
90+
- signalTestStart
91+
description: Implementation is optional! Testsuite sends a request to the org-admin endpoint of each involved homeserver (even if the org-admin is not named in the feature-file). There will be no claiming attempt before triggering this endpoint. After getting any response the testcase starts. This is an opportunity for the org-admin to clean user/rooms/FHIR-VZD etc. Even if errorcode returned the testsuite will start the test.
92+
operationId: cleanUp
93+
responses:
94+
"200":
95+
description: System clean
96+
"404":
97+
$ref: "#/components/responses/NotFound"
98+
"500":
99+
$ref: "#/components/responses/InternalServerError"
100+
default:
101+
$ref: "#/components/responses/DefaultResponse"
102+
86103
/devices:
87104
get:
88105
tags:
@@ -1658,6 +1675,12 @@ components:
16581675
application/json:
16591676
schema:
16601677
$ref: "#/components/schemas/Error"
1678+
InternalServerError:
1679+
description: "Something went wrong server internally"
1680+
content:
1681+
application/json:
1682+
schema:
1683+
$ref: "#/components/schemas/Error"
16611684
Unauthorized:
16621685
description: "Unauthorized - you have to login first"
16631686
content:

0 commit comments

Comments
 (0)