core(deploy): type jarVersionId as UUID (match domain convention)
All other FKs to app_versions.id (e.g. Deployment.appVersionId) use UUID; DeploymentConfigSnapshot.jarVersionId was incorrectly typed as String. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ package com.cameleer.server.core.runtime;
|
|||||||
import com.cameleer.common.model.ApplicationConfig;
|
import com.cameleer.common.model.ApplicationConfig;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Snapshot of the config that was deployed, captured at the moment a deployment
|
* Snapshot of the config that was deployed, captured at the moment a deployment
|
||||||
@@ -12,7 +13,7 @@ import java.util.Map;
|
|||||||
* <p>This is persisted as JSONB in {@code deployments.deployed_config_snapshot}.</p>
|
* <p>This is persisted as JSONB in {@code deployments.deployed_config_snapshot}.</p>
|
||||||
*/
|
*/
|
||||||
public record DeploymentConfigSnapshot(
|
public record DeploymentConfigSnapshot(
|
||||||
String jarVersionId,
|
UUID jarVersionId,
|
||||||
ApplicationConfig agentConfig,
|
ApplicationConfig agentConfig,
|
||||||
Map<String, Object> containerConfig
|
Map<String, Object> containerConfig
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user