Skip to content

Commit b02e38f

Browse files
authored
Include db version in export manifest (#5041)
1 parent 0a6148d commit b02e38f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/src/main/java/io/apicurio/registry/storage/impl/sql/AbstractSqlRegistryStorage.java

+1
Original file line numberDiff line numberDiff line change
@@ -2141,6 +2141,7 @@ public void exportData(Function<Entity, Void> handler) throws RegistryStorageExc
21412141
manifest.systemName = system.getName();
21422142
manifest.systemDescription = system.getDescription();
21432143
manifest.systemVersion = system.getVersion();
2144+
manifest.dbVersion = "" + DB_VERSION;
21442145
handler.apply(manifest);
21452146

21462147
// Export all content

utils/importexport/src/main/java/io/apicurio/registry/utils/impexp/ManifestEntity.java

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class ManifestEntity extends Entity {
1313
public String exportVersion = "3.0";
1414
public Date exportedOn = new Date();
1515
public String exportedBy;
16+
public String dbVersion;
1617

1718
/**
1819
* @see Entity#getEntityType()

0 commit comments

Comments
 (0)