From 63d98b0cc32445b392c253ccd909c4ba407fe47e Mon Sep 17 00:00:00 2001 From: Matthias Kronenberg Date: Wed, 22 Nov 2023 10:25:37 +0100 Subject: [PATCH] new api endpoint implemented --- README.adoc | 4 ++-- ReleaseNotes.md | 6 ++++++ src/openapi/TiMessengerTestTreiber.yaml | 25 ++++++++++++++++++++++++- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index df17f7bc..17e58b40 100644 --- a/README.adoc +++ b/README.adoc @@ -16,8 +16,8 @@ image::meta/gematik_logo.svg[gematik,width="70%"] image:https://img.shields.io/badge/Release%20Notes-v1.1.1-red?style=plastic&logo=github&logoColor=red[link="ReleaseNotes.md"] + image:https://img.shields.io/badge/I_TiMessengerContactManagement-v1.0.1-blue?style=plastic&logo=github&logoColor=blue[link=/src/openapi/TiMessengerContactManagement.yaml"] + -image:https://img.shields.io/badge/TiMessengerTestDriver-v0.9.2-purple?style=plastic&logo=github&logoColor=purple[link="/src/openapi/TiMessengerTestTreiber.yaml"] -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"] + +image:https://img.shields.io/badge/TiMessengerTestDriver-v0.9.3-purple?style=plastic&logo=github&logoColor=purple[link="/src/openapi/TiMessengerTestTreiber.yaml"] +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"] + 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"] 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"] 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"] + diff --git a/ReleaseNotes.md b/ReleaseNotes.md index d07ea91c..f7100c4f 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,6 +1,12 @@
# Release Notes api-ti-messenger + +## Hotfix 1.1.1-3 + +### changed + +- Testdriver api: Added optional endpoint for clean up system ## Release 1.1.1 (2023-08-25) diff --git a/src/openapi/TiMessengerTestTreiber.yaml b/src/openapi/TiMessengerTestTreiber.yaml index c8938e9d..c27ca71b 100644 --- a/src/openapi/TiMessengerTestTreiber.yaml +++ b/src/openapi/TiMessengerTestTreiber.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: TiMessengerTestDriver description: REST interface to automate the test of a TI-Messenger client implementation. - version: 0.9.2 + version: 0.9.3 contact: name: gematik GmbH email: software-development@gematik.de @@ -33,6 +33,8 @@ servers: tags: - name: info description: This operation returns meta data about this interface and the status of available resources + - name: signalTestStart + description: This endpoint serves the possibility to clean system before test - name: devices description: Operations for device management - name: account @@ -83,6 +85,21 @@ paths: default: $ref: "#/components/responses/DefaultResponse" + post: + tags: + - signalTestStart + 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. + operationId: cleanUp + responses: + "200": + description: System clean + "404": + $ref: "#/components/responses/NotFound" + "500": + $ref: "#/components/responses/InternalServerError" + default: + $ref: "#/components/responses/DefaultResponse" + /devices: get: tags: @@ -1658,6 +1675,12 @@ components: application/json: schema: $ref: "#/components/schemas/Error" + InternalServerError: + description: "Something went wrong server internally" + content: + application/json: + schema: + $ref: "#/components/schemas/Error" Unauthorized: description: "Unauthorized - you have to login first" content: