Archived
fix: add Jackson reflection config for native-image
IPC communication was failing in native binary because Jackson couldn't deserialize IpcMessage and related classes without reflection configuration. Added reflect-config.json with all IPC classes. Bumped version to 0.1.2. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
05fb4c412b
commit
53f0991f6f
4 files changed
+113
-2
No files matched your search
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [0.1.2] - 2026-01-21
|
||||
|
||||
### Fixed
|
||||
- IPC communication fails in native binary due to missing Jackson reflection config
|
||||
|
||||
## [0.1.1] - 2026-01-21
|
||||
|
||||
### Fixed
|
||||
@@ -27,5 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
||||
- Jobs that fail to start now properly transition to FAILED state
|
||||
- Startup errors are written to stderr.log for visibility
|
||||
|
||||
[0.1.2]: https://github.com/samson-media/barn/releases/tag/v0.1.2
|
||||
[0.1.1]: https://github.com/samson-media/barn/releases/tag/v0.1.1
|
||||
[0.1.0]: https://github.com/samson-media/barn/releases/tag/v0.1.0
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.samsonmedia</groupId>
|
||||
<artifactId>barn</artifactId>
|
||||
<version>0.1.1</version>
|
||||
<version>0.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Barn</name>
|
||||
|
||||
@@ -13,7 +13,7 @@ import picocli.CommandLine.Spec;
|
||||
@Command(
|
||||
name = "barn",
|
||||
mixinStandardHelpOptions = true,
|
||||
version = "barn 0.1.1",
|
||||
version = "barn 0.1.2",
|
||||
description = "Cross-platform job daemon for media processing",
|
||||
subcommands = {
|
||||
RunCommand.class,
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
[
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcMessage",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$RunJob",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$GetStatus",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$GetJob",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$KillJob",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$CleanJobs",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$GetServiceStatus",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$Shutdown",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcRequest$Reload",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcResponse$Ok",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "com.samsonmedia.barn.ipc.IpcResponse$Error",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true,
|
||||
"allDeclaredFields": true
|
||||
},
|
||||
{
|
||||
"name": "java.util.LinkedHashMap",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true
|
||||
},
|
||||
{
|
||||
"name": "java.util.HashMap",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true
|
||||
},
|
||||
{
|
||||
"name": "java.util.ArrayList",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user