Archived
fix(native): add Job and Config classes to reflection config
Jackson deserialization in native binary fails when processing job status responses. Added missing classes to reflect-config.json: - Job, JobManifest, JobState, ResourceUsage - Config, ServiceConfig, StorageConfig, JobsConfig, CleanupConfig - Collection types for IPC payloads Tested locally with native binary: - barn run, status, describe, usage, kill, clean - barn service status, config show, autocompletion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
53f0991f6f
commit
116f1fbb59
1 file changed
+82
@@ -87,6 +87,78 @@
|
|||||||
"allPublicMethods": true,
|
"allPublicMethods": true,
|
||||||
"allDeclaredFields": true
|
"allDeclaredFields": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.jobs.Job",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.jobs.JobManifest",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.state.JobState",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.execution.ResourceUsage",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.config.Config",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.config.ServiceConfig",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.config.StorageConfig",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.config.JobsConfig",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.samsonmedia.barn.config.CleanupConfig",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true,
|
||||||
|
"allDeclaredMethods": true,
|
||||||
|
"allPublicMethods": true,
|
||||||
|
"allDeclaredFields": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "java.util.LinkedHashMap",
|
"name": "java.util.LinkedHashMap",
|
||||||
"allDeclaredConstructors": true,
|
"allDeclaredConstructors": true,
|
||||||
@@ -101,5 +173,15 @@
|
|||||||
"name": "java.util.ArrayList",
|
"name": "java.util.ArrayList",
|
||||||
"allDeclaredConstructors": true,
|
"allDeclaredConstructors": true,
|
||||||
"allPublicConstructors": true
|
"allPublicConstructors": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java.util.ImmutableCollections$ListN",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "java.util.ImmutableCollections$List12",
|
||||||
|
"allDeclaredConstructors": true,
|
||||||
|
"allPublicConstructors": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in new issue
Block a user