diff --git a/waltz-data/src/main/java/org/finos/waltz/data/logical_flow/LogicalFlowDao.java b/waltz-data/src/main/java/org/finos/waltz/data/logical_flow/LogicalFlowDao.java index ff4e9531e9..d43a03d6e1 100644 --- a/waltz-data/src/main/java/org/finos/waltz/data/logical_flow/LogicalFlowDao.java +++ b/waltz-data/src/main/java/org/finos/waltz/data/logical_flow/LogicalFlowDao.java @@ -109,6 +109,7 @@ public class LogicalFlowDao { return ImmutableLogicalFlow.builder() .id(record.getId()) + .externalId(Optional.ofNullable(record.getExternalId())) .source(ImmutableEntityReference.builder() .kind(EntityKind.valueOf(record.getSourceEntityKind())) .id(record.getSourceEntityId()) diff --git a/waltz-model/src/main/java/org/finos/waltz/model/logical_flow/LogicalFlow.java b/waltz-model/src/main/java/org/finos/waltz/model/logical_flow/LogicalFlow.java index 631398452b..682f2397af 100644 --- a/waltz-model/src/main/java/org/finos/waltz/model/logical_flow/LogicalFlow.java +++ b/waltz-model/src/main/java/org/finos/waltz/model/logical_flow/LogicalFlow.java @@ -31,6 +31,7 @@ public abstract class LogicalFlow implements CreatedUserTimestampProvider, EntityLifecycleStatusProvider, IdProvider, + ExternalIdProvider, ProvenanceProvider, LastUpdatedProvider, LastAttestedProvider, diff --git a/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml b/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml new file mode 100644 index 0000000000..0c0c23e8e4 --- /dev/null +++ b/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml @@ -0,0 +1,37 @@ + + + + + + + + 6944: add external_id to logical_flow table + + + + + + + \ No newline at end of file diff --git a/waltz-schema/src/main/resources/liquibase/db.changelog-master.xml b/waltz-schema/src/main/resources/liquibase/db.changelog-master.xml index 6850de6aa3..34d272d9cf 100644 --- a/waltz-schema/src/main/resources/liquibase/db.changelog-master.xml +++ b/waltz-schema/src/main/resources/liquibase/db.changelog-master.xml @@ -201,4 +201,7 @@ + + \ No newline at end of file