Skip to content

Commit bedf6f6

Browse files
committed
Merge remote-tracking branch 'origin/release/0.1.0' into main
2 parents 7b36867 + 727eb07 commit bedf6f6

File tree

57 files changed

+6084
-0
lines changed

Some content is hidden

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

57 files changed

+6084
-0
lines changed

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.java text
7+
*.xml text
8+
*.bpmn text
9+
*.json text
10+
*.md text
11+
12+
# Declare files that will always have certain line endings on checkout.
13+
*.bat text eol=crlf
14+
*.sh text eol=lf
15+
*.conf text eol=lf
16+
17+
# Denote all files that are truly binary and should not be modified.
18+
*.png binary
19+
*.jpg binary
20+
*.pdf binary

.github/workflows/codeql.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [ "develop", "hotfix/*", "release/*" ]
6+
pull_request:
7+
branches: [ "develop", "hotfix/*", "release/*" ]
8+
schedule:
9+
- cron: '23 12 * * 0' # Sundays, 12:23
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 360
16+
permissions:
17+
security-events: write
18+
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
language: [ 'java-kotlin' ]
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
28+
- name: Set up JDK 21
29+
if: ${{ matrix.language == 'java-kotlin' }}
30+
uses: actions/setup-java@v3
31+
with:
32+
distribution: 'zulu'
33+
java-version: 21
34+
cache: 'maven'
35+
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v3
38+
with:
39+
languages: ${{ matrix.language }}
40+
queries: security-extended, security-and-quality
41+
42+
- name: Compile with Maven
43+
if: ${{ matrix.language == 'java-kotlin' }}
44+
run: mvn --batch-mode --fail-at-end -Dimpsort.skip=true -Dformatter.skip=true -Denforcer.skip -Dmaven.buildNumber.skip=true -DskipTests clean package
45+
46+
- name: Perform CodeQL Analysis
47+
uses: github/codeql-action/analyze@v3
48+
with:
49+
category: "/language:${{matrix.language}}"

.github/workflows/maven-build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Java CI Build with Maven
2+
3+
on:
4+
pull_request:
5+
branches: [ "develop", "main" ]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK 21
15+
uses: actions/setup-java@v3
16+
with:
17+
distribution: 'zulu'
18+
java-version: 21
19+
cache: 'maven'
20+
- name: Build with Maven
21+
run: mvn --batch-mode --fail-at-end clean verify

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**/.classpath
2+
**/.project
3+
**/.idea/
4+
**/.settings/
5+
**/target/
6+
**/*.iml
7+
/application.properties

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Data Sharing Framework (DSF) FHIR Validator
2+
3+
### Build
4+
`mvn install`
5+
6+
### Run
7+
By default the validator is configured to expand value-sets via https://ontoserver.mii-termserv.de and thus requires a client certificate to be configured.
8+
9+
Create `application.properties` file with the following content in your execution directory:
10+
11+
```
12+
dev.dsf.validation.valueset.expansion.client.authentication.certificate:certificate.pem
13+
dev.dsf.validation.valueset.expansion.client.authentication.certificate.private.key.password:private_key_password
14+
dev.dsf.validation.valueset.expansion.client.authentication.certificate.private.key:privatekey.pem
15+
```
16+
17+
`java -jar target/dsf-fhir-validator.jar fhir-resource-to-validate.xml` (.json supported also)

eclipse-formatter-config.xml

Lines changed: 381 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)