Skip to content

Commit e0700f7

Browse files
ichderjensgem-awBeff42marlenebueltJohennes
authored
Tim epa fdv (#250)
* added API for org-admin * Commit from GitHub Actions (GeneratePlantumlImages) * removed FHIR-VZD use-case * Commit from GitHub Actions (GeneratePlantumlImages) * added FHIR-VZD use case * Commit from GitHub Actions (GeneratePlantumlImages) * add doc version * changes in chapter 3.2.2. * change heading at the beginning * new tags in TiMessengerTestTreiber.yaml * Testkonzept TI-Messenger-Dienst version 1.0 * TIM-TS 446: allow FHIR enum state "off" * TIM-TS 446: added correct versions * Updates release version * Marks required properties as required (#233) * Marks required properties as required * Bumps api version * Merges incoming changes * Fix typo * replaced FDV with generic Client * Commit from GitHub Actions (GeneratePlantumlImages) * Speed up image generation workflow * Commit from GitHub Actions (Generate PlantUML & draw.io images) * Split workflow * Commit from GitHub Actions (PlantUML images) * Pull with rebase before committing * Nuke plantuml images * Stash before pulling * Commit from GitHub Actions (PlantUML images) * Commit from GitHub Actions (draw.io images) * Update image paths * Uncomment path filters * Run workflows on change to self * Fix typo Fixes: #230 * Reset images folder * Commit from GitHub Actions (PlantUML images) * Commit from GitHub Actions (draw.io images) * Reset files pulled in from main * Nuke diagrams * Extract individual pages * Commit from GitHub Actions (draw.io images) * Use correct binary name * Commit from GitHub Actions (draw.io images) * Revert "Use correct binary name" This reverts commit cf1b337. * Revert "Extract individual pages" This reverts commit e2d322d. * Split files with more than one diagram * Add lint workflow * Commit from GitHub Actions (draw.io images) * Fix name * Revert "Split files with more than one diagram" This reverts commit 6a735d5. * Commit from GitHub Actions (draw.io images) * Revert "Revert "Split files with more than one diagram"" This reverts commit 4b73179. * Also run on push to main * Commit from GitHub Actions (draw.io images) * Remove spaces * Commit from GitHub Actions (draw.io images) * Fix paths * Add job for verifying image references * Don't pushd/popd per location * Use basename * Output pwd and location * Insert command * Add quotes * Nuke drawio exports * Also run on changes to generated files * Commit from GitHub Actions (draw.io images) * empty * Output tree * Output literal * Remove magic bytes * Move file * Move file back * Commit from GitHub Actions (draw.io images) * Fix case * Try using image macro * Use block image * Try using align attribute * Revert to original version * Use image block * Use image block * Use inline image * Insert back block delimiters * Replace remaining imgs * Nuke puml exports * Commit from GitHub Actions (PlantUML images) * Remove and assert absence of puml output file names * Commit from GitHub Actions (PlantUML images) * empty * Ensure absence of img tags * Run lint as part of export * Merge workflows and add linting * Add shell * Remove empty line * Fix file names * Fix name * Nuke images * Commit from GitHub Actions (Generate images) * Lint on tim-epa-fdv * Add lint badge * Add image gen badge * Remove line break * added org-admin client * Commit from GitHub Actions (Generate images) * added Push-Gateway und Org-Admin Client to TI-Messenger Kontext. * Commit from GitHub Actions (Generate images) * added example for federation list entries * changed Mitarbeiter to Akteur to be more unspecific * Commit from GitHub Actions (Generate images) * Update charts for TIM-1264 * Commit from GitHub Actions (Generate images) * added update of display name * Commit from GitHub Actions (Generate images) * Update further charts for TIM-1264 * Commit from GitHub Actions (Generate images) * removed Vorbedingung and federation tests * Commit from GitHub Actions (Generate images) * removed old Freigabeliste * Commit from GitHub Actions (Generate images) * changed optional to opt * Commit from GitHub Actions (Generate images) * added Basis consumer as alternativ for the connector * Commit from GitHub Actions (Generate images) * removed label at messenger client box * Commit from GitHub Actions (Generate images) * Update chart for TIM-1099 * Commit from GitHub Actions (Generate images) * Add chart for TIM-1060 * Commit from GitHub Actions (Generate images) * Add JSON schema validation into linting workflow * Skip Python setup * Introduce a schema error * Comment RC logic * Add another error * Revert back to RC logic * Add comment * Remove other error * Add example and try to lint it * Announce file being checked * Try fixing paths * Replace env * Add another example * Update diagram for TIM-1307 * Commit from GitHub Actions (Generate images) * Update diagram for TIM-1307 * Commit from GitHub Actions (Generate images) * Update schema for TIM-1307 * Disallow addition properties * Combine images into single folder * Fix image paths * Add empty file to trigger workflow * Commit from GitHub Actions (Generate images) * Review generated ePA images * Commit from GitHub Actions (Generate images) * Rearrange TI-M-Client images * Commit from GitHub Actions (Generate images) * Rearrange TI-M-Dienst images * added optional permission checks * Commit from GitHub Actions (Generate images) * Fix paths * Commit from GitHub Actions (Generate images) * removed client_id checks * Commit from GitHub Actions (Generate images) * Rearrange TI-M-Fachdienst images * Fix paths * Nuke images * Commit from GitHub Actions (Generate images) * Move remaining image * Commit from GitHub Actions (Generate images) * Move test images * Actually move test images * Actually actually move test images * Move pro images * Move further files * Commit from GitHub Actions (Generate images) * removed content in unused folder or shifted content to pro folder * removed all use cases * First checkpoint for uploading images to Polarion * Fix upload * Try to fix this mess * Move readme to correct folder * Join path components instead of replacing characters * Remove attachment uploader * Move lint-asciidoc action out of repo * Change SHA * Commit from GitHub Actions (Generate images) * Move drawio and plantuml actions * Move generate-images workflow out of repo * Update SHA * Update SHA * Update ref * Update ref * Update ref * Update ref * Update ref * Update ref * Update ref * Update ref * Fix typo * Update ref * Update ref * Nuke images * Commit from GitHub Actions (Generate images) * Remove leftover env variables * Pin actions to 0.1.0 * fixed inconsistent token naming * Commit from GitHub Actions (Generate images) * added system overview as draw io picture * Commit from GitHub Actions (Generate images) * resized the organisation * Commit from GitHub Actions (Generate images) * connected Push-Gateway to Proxy * Commit from GitHub Actions (Generate images) * some minor reorgnizations * Commit from GitHub Actions (Generate images) * added client - proxy connection * Commit from GitHub Actions (Generate images) * added connection from vzd auth to Proxy(userinfo Endpoint) * Commit from GitHub Actions (Generate images) * added use cases for hide-versicherte * Commit from GitHub Actions (Generate images) * Updated UI Mockup * Commit from GitHub Actions (Generate images) * Move image for UC-10104 to TI-M Pro * Commit from GitHub Actions (Generate images) * changed message for org-admin * Commit from GitHub Actions (Generate images) * Update image for TIM-1514 * Commit from GitHub Actions (Generate images) * added more detailed ui example for ePA and Pro * Commit from GitHub Actions (Generate images) * added better exception example * Commit from GitHub Actions (Generate images) * added seperate schemas for epa and pro * Update image for TIM-1514 * Commit from GitHub Actions (Generate images) * replaced <> with {} * Commit from GitHub Actions (Generate images) * Remove use cases --------- Co-authored-by: ichderjens <[email protected]> Co-authored-by: andre.wagner <[email protected]> Co-authored-by: stefanie.boxhorn <[email protected]> Co-authored-by: Beff42 <[email protected]> Co-authored-by: marlene.bueltemann <[email protected]> Co-authored-by: Johannes Marbach <[email protected]> Co-authored-by: Johannes Marbach <[email protected]> Co-authored-by: Johennes <[email protected]> Co-authored-by: Oliver Feja <[email protected]> Co-authored-by: ofegem <[email protected]>
1 parent a4961d1 commit e0700f7

File tree

254 files changed

+6471
-2513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+6471
-2513
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Lint JSON Schema
2+
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Set up check-jsonschema
7+
shell: bash
8+
run: |
9+
pip install check-jsonschema
10+
11+
- name: Set up environment
12+
shell: bash
13+
run: |
14+
# Sadly, composite actions currently don't support environment variables so we freestyle a replacement
15+
echo 'SCHEMAS_ROOT=src/schema' >> .gha-env
16+
echo 'EXAMPLES_ROOT=src/schema/examples' >> .gha-env
17+
18+
- name: Verify schemas
19+
shell: bash
20+
run: |
21+
source .gha-env
22+
23+
# We handle the return code ourselves to prevent the action from exiting on the first error
24+
rc=0
25+
26+
while read -r file; do
27+
echo "Validating $file"
28+
if ! check-jsonschema --check-metaschema "$file"; then
29+
rc=1
30+
fi
31+
done < <(find "$SCHEMAS_ROOT" -name "*.json" -maxdepth 1)
32+
33+
exit $rc
34+
35+
- name: Verify examples
36+
shell: bash
37+
run: |
38+
source .gha-env
39+
40+
# We handle the return code ourselves to prevent the action from exiting on the first error
41+
rc=0
42+
43+
while read -r file; do
44+
schema=$(basename "$file")
45+
schema=$SCHEMAS_ROOT/${schema%%.*}.json
46+
echo "Validating $file against $schema"
47+
if ! check-jsonschema --schemafile "$schema" "$file"; then
48+
rc=1
49+
fi
50+
done < <(find "$EXAMPLES_ROOT" -name "*.json")
51+
52+
exit $rc

.github/workflows/GeneratePlantumlImages.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

.github/workflows/generate-images.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Generate images
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
paths:
8+
- '.github/workflows/generate-images.yml'
9+
- 'images/generated/**'
10+
- '**.drawio'
11+
- '**.puml'
12+
workflow_dispatch:
13+
14+
jobs:
15+
generate:
16+
uses: gematik/github-image-actions/.github/workflows/[email protected]
17+
with:
18+
srcdir: src/images
19+
outdir: images/generated
20+
ref: 0.1.0

.github/workflows/lint.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Lint
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- tim-epa-fdv
9+
workflow_dispatch:
10+
11+
jobs:
12+
asciidoc:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Check out repository
17+
uses: actions/checkout@v4
18+
19+
- name: Lint
20+
uses: gematik/github-image-actions/.github/actions/[email protected]
21+
22+
drawio:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Check out repository
27+
uses: actions/checkout@v4
28+
29+
- name: Lint
30+
uses: gematik/github-image-actions/.github/actions/[email protected]
31+
32+
jsonschema:
33+
runs-on: ubuntu-latest
34+
35+
steps:
36+
- name: Check out repository
37+
uses: actions/checkout@v4
38+
39+
- name: Lint
40+
uses: ./.github/actions/lint-jsonschema
41+
42+
plantuml:
43+
runs-on: ubuntu-latest
44+
45+
steps:
46+
- name: Check out repository
47+
uses: actions/checkout@v4
48+
49+
- name: Lint
50+
uses: gematik/github-image-actions/.github/actions/[email protected]

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.dtmp
22
src/fhir/input-cache
3-
.idea
3+
.idea
4+
target/

README.adoc

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ ifndef::env-github[:source-style: source]
1414

1515
image::meta/gematik_logo.svg[gematik,width="70%"]
1616

17-
image:https://img.shields.io/badge/Release%20Notes-v1.1.1&hyphen;4-red?style=plastic&logo=github&logoColor=red[link="ReleaseNotes.md"] +
18-
image:https://img.shields.io/badge/I_TiMessengerContactManagement-v1.0.2-blue?style=plastic&logo=github&logoColor=blue[link=/src/openapi/TiMessengerContactManagement.yaml"] +
19-
image:https://img.shields.io/badge/TiMessengerTestDriver-v0.9.4-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"] +
17+
image:https://github.com/gematik/api-ti-messenger/actions/workflows/lint.yml/badge.svg?branch=tim-epa-fdv[link="https://github.com/gematik/api-ti-messenger/actions/workflows/lint.yml"]
18+
image:https://github.com/gematik/api-ti-messenger/actions/workflows/generate-images.yml/badge.svg?branch=tim-epa-fdv[link="https://github.com/gematik/api-ti-messenger/actions/workflows/generate-images.yml"]
19+
20+
image:https://img.shields.io/badge/Release%20Notes-v1.1.1-red?style=plastic&logo=github&logoColor=red[link="ReleaseNotes.md"] +
21+
image:https://img.shields.io/badge/I_TiMessengerContactManagement-v1.0.1-blue?style=plastic&logo=github&logoColor=blue[link=/src/openapi/TiMessengerContactManagement.yaml"] +
22+
image:https://img.shields.io/badge/TiMessengerTestDriver-v0.9.2-purple?style=plastic&logo=github&logoColor=purple[link="/src/openapi/TiMessengerTestTreiber.yaml"]
23+
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"] +
2124
image:https://img.shields.io/badge/TI&hyphen;Messenger&hyphen;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"]
2225
image:https://img.shields.io/badge/TI&hyphen;Messenger&hyphen;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"]
2326
image:https://img.shields.io/badge/TI&hyphen;Messenger&hyphen;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"] +
@@ -46,11 +49,7 @@ Für die Dokumentation des *TI-Messenger-Dienstes* werden in GitHub die folgende
4649
== Systemübersicht
4750
Die folgende Abbildung gibt einen Überblick über die Systemarchitektur des *TI-Messenger-Dienst* v1.1.1 insbesondere auf die Schnittstellen zwischen den Komponenten, die in den folgenden Kapiteln weiter betrachtet werden.
4851

49-
++++
50-
<p align="left">
51-
<img width="100%" src=./images/System_overview.png>
52-
</p>
53-
++++
52+
image::System_overview.png[width="100%"]
5453

5554
TIP: Auf die Schnittstellen zur Autentisierung am *Auth-Service* des *VZD-FHIR-Directory* wird in der oben gezeigten Abbildung verzichtet. Die Informationen hierzu können in dem entsprechenden Kapitel für das *VZD-FHIR-Directory* link:https://github.com/gematik/api-vzd/blob/gemILF_VZD_FHIR_Directory/1.0.1/docs/FHIR_VZD_HOWTO_Authenticate.adoc#2-fhirdirectoryauthenticationapis[hier] nachgelesen werden.
5655

@@ -95,10 +94,11 @@ TI-Messenger Dokumentation
9594
| ├──── link:docs/IDP[IDP]
9695
| ├──── link:docs/Primaersystem[Primaersystem]
9796
| ├──── link:docs/anwendungsfaelle[Anwendungsfälle]
97+
| ├──── link:docs/anwendungsfaelle/COM-chatbot.adoc[Chatbot]
98+
| ├──── link:docs/Test/Test.adoc[Testkonzept]
9899
| └──── link:docs/FAQ[FAQ]
99100
├─ link:images[images] (Bildarchiv)
100-
│ └──── link:images/diagrams[diagrams] (gerenderte Diagramme)
101-
│ └── link:images/diagrams/TI-Messenger-Dienst/Ressourcen[Ressourcen] (plantuml-gerenderte Bilder)
101+
│ └──── link:images/generated[generated] (draw.io & PlantUML gerenderte Bilder)
102102
├─ link:samples[samples] (Codebeispiele, Postman Collections, etc)
103103
├─ link:src[src] (Quellen)
104104
│ ├──── link:src/drawio[drawio] (Quellen der drawio-Diagramme)
@@ -150,10 +150,11 @@ https://gematikde.sharepoint.com/:w:/s/PTNeo/EczX7AFGfBdNrCYghzGsHz4BbSoYhV63QMm
150150
https://gematikde.sharepoint.com/:w:/s/PTNeo/ETwc10F5Ha1KmlM8NEsetl8BtEumSDgu56AK-PNiZ0-e1Q?e=ySZROI[- Welcome Package &#91;EN&#93;] +
151151
https://gematikde.sharepoint.com/sites/EXTAuthenticator/Freigegebene%20Dokumente/Forms/AllItems.aspx?id=%2Fsites%2FEXTAuthenticator%2FFreigegebene%20Dokumente%2FVer%C3%B6ffentlichte%20Version%20%2D%20gematik%20Authenticator&p=true&ga=1[- gematik Authenticator] +
152152
https://github.com/gematik/TI-Messenger-Testsuite[- TI-Messenger-Testsuite] +
153+
link:docs/samples[- Codebeispiele & Requestsammlungen] +
153154
link:docs/FAQ/FAQ.adoc[- Fragen und Antworten zur aktuellen Spezifikation &#91;FAQ&#93;]
154155

155156
*Referenz-Implementierungen* +
156-
- [coming soon]
157+
- [comming soon]
157158

158159
== Lizenzbedingungen
159160
Copyright (c) 2023 gematik GmbH

ReleaseNotes.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
1-
<img align="right" width="250" height="47" src="images/meta/gematik_logo.svg" alt="Gematik Logo"/> <br/>
1+
<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-4
6-
7-
### changed
8-
9-
- Testdriver api: Added roomVersion to room
10-
11-
## Hotfix 1.1.1-3
12-
13-
### changed
14-
15-
- Testdriver api: Added optional endpoint for clean up system
164

175
## Release 1.1.1 (2023-08-25)
186

0 commit comments

Comments
 (0)