Skip to content

Develop #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e0700f7
Tim epa fdv (#250)
ichderjens Aug 6, 2024
53022f1
Fix broken gemILF_VZD_FHIR_Directory links (#251)
Johennes Aug 8, 2024
535344b
Lint AsciiDoc links (#252)
Johennes Aug 8, 2024
6918bed
added information api (#253)
ichderjens Aug 13, 2024
aa26ba4
Clarify /owner-authenticate flow for Org-Admin (#255)
Johennes Aug 20, 2024
c418fe2
Updated page for registration service (#256)
ichderjens Aug 26, 2024
1f0fc31
aligned specification and github page (#257)
ichderjens Aug 27, 2024
4fab3c8
removed UC pictures
ichderjens Sep 3, 2024
4be6749
Commit from GitHub Actions (Generate images)
ichderjens Sep 3, 2024
251ca88
Merge pull request #258 from gematik/removeUCPictures
Johennes Sep 4, 2024
eb24183
Domain -> Servername (#259)
Johennes Sep 4, 2024
6b4a735
Update image for TIM-1556 (#260)
Johennes Sep 5, 2024
4a4a716
changed references to fhir-vzd documenation & removed our page
ichderjens Sep 5, 2024
cc0936d
corrected links
ichderjens Sep 5, 2024
0a8e7f0
Update README.adoc
Johennes Sep 6, 2024
922486c
Update README.adoc
Johennes Sep 6, 2024
2dadf0b
Update docs/Foederationsliste/Foederationsliste.adoc
Johennes Sep 6, 2024
5f4bbc2
Update docs/Foederationsliste/Foederationsliste.adoc
Johennes Sep 6, 2024
83abd4a
Merge pull request #261 from gematik/vzd_documentation
Johennes Sep 6, 2024
9517943
Update image for TIM-1561
Johennes Sep 9, 2024
ea81ec4
Commit from GitHub Actions (Generate images)
Johennes Sep 9, 2024
d081be3
Merge pull request #262 from gematik/johannes/tim-1561-pt2
Johennes Sep 9, 2024
ecd1e0a
Add isInsurance endpoint (#263)
Johennes Sep 25, 2024
68c6c95
Reset src/openapi/TiMessengerTestTreiber.yaml (#265)
Johennes Sep 25, 2024
545022b
Add release notes (#266)
Johennes Sep 25, 2024
cd63055
merge main into develop (#267)
Johennes Sep 26, 2024
8b51c78
Merge branch 'main' into johannes/merge-main
Johennes Sep 26, 2024
2bc62f2
Merge pull request #268 from gematik/johannes/merge-main
Johennes Sep 26, 2024
73add13
Mention second endpoint
Johennes Sep 26, 2024
ee0e0e8
Merge pull request #269 from gematik/johannes/tim-info
Johennes Sep 26, 2024
3c93ff1
Update logo (#275)
Johennes Oct 15, 2024
eadfbae
Update license footer (#274)
Johennes Oct 28, 2024
9931370
Update license (#273)
Johennes Oct 28, 2024
12d2726
added page for client apis
ichderjens Nov 4, 2024
c5188b5
minor changes
ichderjens Nov 4, 2024
85db85c
minor updates
ichderjens Nov 4, 2024
ea96d4b
minor changes
ichderjens Nov 4, 2024
2389149
Merge pull request #282 from gematik/automatisierung
Johennes Nov 4, 2024
b6f8373
Fix link to VZD spec (#288)
Johennes Dec 4, 2024
607a05b
Update diagrams for TIM-1635 (#286)
Johennes Dec 9, 2024
bb92d49
Stop generating SVGs and use PNGs instead (#285)
Johennes Dec 12, 2024
67fac4c
Add request and tests for setting visibility extension (#289)
Johennes Dec 12, 2024
597c982
Update Matrix login request and add corresponding logout request (#287)
Johennes Dec 12, 2024
b2572c1
fix: tags for contacts routes in TiMessengerContactManagement
Anneress Jan 24, 2025
1ba5ce1
Merge pull request #293 from Anneress/fix-tags-of-openapi-TiMessenger…
Johennes Jan 24, 2025
b348698
Create template for GSC proposals
Johennes Jan 31, 2025
30ee7e6
GSC292: Entfernung der Custom State Events für strukturierte Daten (#…
Johennes Feb 10, 2025
18d3b27
GSC294: Optionale serverseitige Suche (#294)
Johennes Feb 10, 2025
d5bd3ee
Remove graphic for TI-M specific communication (#299)
Johennes Feb 24, 2025
5c735c4
Merge branch 'develop' into johannes/proposal-template
ichderjens Feb 24, 2025
95d7a24
Merge pull request #297 from gematik/johannes/proposal-template
Johennes Feb 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/actions/lint-jsonschema/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Lint JSON Schema

runs:
using: "composite"
steps:
- name: Set up check-jsonschema
shell: bash
run: |
pip install check-jsonschema

- name: Set up environment
shell: bash
run: |
# Sadly, composite actions currently don't support environment variables so we freestyle a replacement
echo 'SCHEMAS_ROOT=src/schema' >> .gha-env
echo 'EXAMPLES_ROOT=src/schema/examples' >> .gha-env

- name: Verify schemas
shell: bash
run: |
source .gha-env

# We handle the return code ourselves to prevent the action from exiting on the first error
rc=0

while read -r file; do
echo "Validating $file"
if ! check-jsonschema --check-metaschema "$file"; then
rc=1
fi
done < <(find "$SCHEMAS_ROOT" -name "*.json" -maxdepth 1)

exit $rc

- name: Verify examples
shell: bash
run: |
source .gha-env

# We handle the return code ourselves to prevent the action from exiting on the first error
rc=0

while read -r file; do
schema=$(basename "$file")
schema=$SCHEMAS_ROOT/${schema%%.*}.json
echo "Validating $file against $schema"
if ! check-jsonschema --schemafile "$schema" "$file"; then
rc=1
fi
done < <(find "$EXAMPLES_ROOT" -name "*.json")

exit $rc
64 changes: 64 additions & 0 deletions .github/actions/lint-links/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Lint Links

runs:
using: "composite"
steps:
- name: Verify links
shell: bash
run: |
function warn {
>&2 echo -e "\033[0;33m$@\033[0m"
}

function err {
>&2 echo -e "\033[0;31m$@\033[0m"
}

rc=0

while read -r file; do
echo "Checking $file"

pushd "$(dirname "$file")" > /dev/null

while read -r location; do
echo "Checking location $location"

if [[ "$location" == http* ]]; then
if ! curl -X OPTIONS --silent --fail "$location" 2>&1 > /dev/null; then
if ! curl --head --silent --fail "$location" 2>&1 > /dev/null; then
if ! curl --silent --fail "$location" 2>&1 > /dev/null; then
# Some URLs are examples or the endpoints helpfully support neither OPTIONS nor HEAD
if [[ "$location" = *example* ]] || \
[[ "$location" = https://idp-ref.app.ti-dienste.de/auth* ]] || \
[[ "$location" = https://idp.app.ti-dienste.de/auth* ]] || \
[[ "$location" = https://idp-ref.app.ti-dienste.de/token* ]] || \
[[ "$location" = https://idp.app.ti-dienste.de/token* ]] || \
[[ "$location" = https://idp-ref.app.ti-dienste.de ]];
then
warn "$file references non-verifiable location $location"
else
err "$file references non-existent location $location"
rc=1
fi
fi
fi
fi
else
# Strip fragments and prefix absolute paths with repo root
path=${location/\#*/}
if [[ "$path" == /* ]]; then
path=$(git rev-parse --show-toplevel)/$path
fi

if [[ ! -e "$path" ]]; then
err "$file references non-existent location $location"
rc=1
fi
fi
done < <(grep -hoE 'link:[^\[]*|image::?[^\[]*|https?://[^\["[:space:]]*' "$(basename "$file")" | grep -v '^image:' | sed -E "s/^link:+//g")

popd > /dev/null
done < <(find . -type f -name "*.adoc")

exit $rc
105 changes: 0 additions & 105 deletions .github/workflows/GeneratePlantumlImages.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/generate-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Generate images

on:
push:
branches:
- '**'
paths:
- '.github/workflows/generate-images.yml'
- 'images/generated/**'
- '**.drawio'
- '**.puml'
workflow_dispatch:

jobs:
generate:
uses: gematik/github-image-actions/.github/workflows/[email protected]
with:
srcdir: src/images
outdir: images/generated
ref: 0.2.0
png: true
svg: false
59 changes: 59 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Lint

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
asciidoc-images:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Lint
uses: gematik/github-image-actions/.github/actions/[email protected]

asciidoc-links:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Lint
uses: ./.github/actions/lint-links

drawio:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Lint
uses: gematik/github-image-actions/.github/actions/[email protected]

jsonschema:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Lint
uses: ./.github/actions/lint-jsonschema

plantuml:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Lint
uses: gematik/github-image-actions/.github/actions/[email protected]
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.dtmp
src/fhir/input-cache
.idea
.idea
target/
.DS_Store
Loading