GH-1066 - Use metadata resource's input stream rather than file.

This commit is contained in:
Oliver Drotbohm
2025-02-23 09:48:51 +01:00
parent 20f07b7936
commit a0315113bc

View File

@@ -99,8 +99,8 @@ class ApplicationModuleMetadata {
LOGGER.debug("Using application module metadata located in {}.", description);
try {
this.document = JsonPath.parse(metadata.getFile());
try (var inputStream = metadata.getInputStream()) {
this.document = JsonPath.parse(inputStream);
} catch (IOException e) {
throw new UncheckedIOException(e);
}