Skip to content

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gematik-Entwicklung committed Dec 21, 2023
1 parent a9c5022 commit f097020
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 10 deletions.
5 changes: 5 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# Release Notes Gematik Referenzvalidator

## Release 2.0.1

### fixed
- fixed a bug in the snapshot generator (snapshot generation failed for dependencies with uppercase name parts)

## Release 2.0.0

### added
Expand Down
2 changes: 1 addition & 1 deletion cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>referencevalidator</artifactId>
<groupId>de.gematik.refv</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>
<properties>
<integrationtest.folder>${basedir}/target/test-classes/pluginloader-integration-test</integrationtest.folder>
Expand Down
2 changes: 1 addition & 1 deletion commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>referencevalidator</artifactId>
<groupId>de.gematik.refv</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>referencevalidator</artifactId>
<groupId>de.gematik.refv</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<groupId>de.gematik.refv</groupId>
<artifactId>referencevalidator</artifactId>
<packaging>pom</packaging>
<version>2.0.0</version>
<version>2.0.1</version>
<name>gematik Referenzvalidator</name>
<description>Der Referenzvalidator ermöglicht eine erweiterte Validierung von FHIR-Ressourcen, die in den Anwendungen der Telematikinfrastruktur (TI) verwendet werden. Der Referenzvalidator liefert autoritative Antworten zur Validität von übertragenen Datensätzen und ist somit eine Referenz für eventuell sonst im Rahmen einer TI-Anwendung eingesetzte FHIR-Validatoren.</description>
<url>https://github.com/gematik/app-referencevalidator</url>
Expand Down
2 changes: 1 addition & 1 deletion snapshot-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.gematik.refv</groupId>
<artifactId>referencevalidator</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>

<artifactId>snapshot-generator</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private List<String> getDependencyList(String filename, String packageFolderPath
private void getDependenciesFromPackageJson(String packageFolderPath, List<String> dependencyList, String filename) throws IOException {
List<PackageReference> additionalRefs = getDependenciesFor(packageFolderPath + File.separator + filename);
for (PackageReference pr : additionalRefs) {
String packageFileName = String.format("%s-%s.tgz", pr.getPackageName(), pr.getPackageVersion());
String packageFileName = String.format("%s-%s.tgz", pr.getPackageName(), pr.getPackageVersion()).toLowerCase();
if (!dependencyList.contains(packageFileName)) {
dependencyList.add(packageFileName);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ void testPackagesCanBeExcluded() {
assertFalse(new File(OUTPUT_SNAPSHOT_PACKAGES_DIR + "excluded.package-1.0.0.tgz").exists());
}

@Test
@SneakyThrows
void testNoExceptionOnDependenciesWithUpperCase() {
List<String> excludedPackages = new ArrayList<>();
var snapshotGenerator = new SnapshotGenerator(excludedPackages);
snapshotGenerator.generateSnapshots("src/test/resources/src-package-upper-case/", OUTPUT_SNAPSHOT_PACKAGES_DIR, getDecompressDir());
File generatedSnapshotPackage = new File(OUTPUT_SNAPSHOT_PACKAGES_DIR + "dependencies-in-upper-case-1.0.0.tgz");
assertTrue(generatedSnapshotPackage.exists(), "No snapshots generated for package with upper-case dependencies");
}

@Test
@SneakyThrows
void testCleanUpDirectoryWorksBeforeSnapshotGeneration() {
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion valmodule-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>referencevalidator</artifactId>
<groupId>de.gematik.refv</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion valmodule-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.gematik.refv</groupId>
<artifactId>referencevalidator</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>

<groupId>de.gematik.refv.valmodule</groupId>
Expand Down
2 changes: 1 addition & 1 deletion valmodule-eau/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>referencevalidator</artifactId>
<groupId>de.gematik.refv</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion valmodule-erp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>referencevalidator</artifactId>
<groupId>de.gematik.refv</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit f097020

Please sign in to comment.