mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-03 14:13:06 +00:00
Clean up System.out.println and bump up ingestion-core version (#3072)
This commit is contained in:
parent
c56e78f3f2
commit
6c4bb1f401
@ -408,7 +408,6 @@ public abstract class EntityRepository<T> {
|
||||
T original = setFields(dao.findEntityById(id), patchFields);
|
||||
|
||||
// Apply JSON patch to the original entity to get the updated entity
|
||||
System.out.println("XXX patch is " + patch);
|
||||
T updated = JsonUtils.applyPatch(original, patch, entityClass);
|
||||
EntityInterface<T> updatedEntity = getEntityInterface(updated);
|
||||
updatedEntity.setUpdateDetails(user, System.currentTimeMillis());
|
||||
@ -1189,10 +1188,6 @@ public abstract class EntityRepository<T> {
|
||||
.deleteFrom(fromId.toString(), fromEntityType, relationshipType.ordinal(), toEntityType);
|
||||
// Add relationships from updated
|
||||
for (EntityReference ref : updatedToRefs) {
|
||||
System.out.println(
|
||||
String.format(
|
||||
"XXX relationship %s:%s to %s:%s of type %s",
|
||||
fromEntityType, fromId, toEntityType, ref.getId(), relationshipType));
|
||||
addRelationship(fromId, ref.getId(), fromEntityType, toEntityType, relationshipType);
|
||||
}
|
||||
updatedToRefs.sort(EntityUtil.compareEntityReference);
|
||||
@ -1225,10 +1220,6 @@ public abstract class EntityRepository<T> {
|
||||
.deleteTo(toId.toString(), fromEntityType, relationshipType.ordinal(), toEntityType);
|
||||
// Add relationships from updated
|
||||
for (EntityReference ref : updatedFromRefs) {
|
||||
System.out.println(
|
||||
String.format(
|
||||
"XXX relationship %s:%s to %s:%s of type %s",
|
||||
fromEntityType, ref, toEntityType, toId, relationshipType));
|
||||
addRelationship(ref.getId(), toId, fromEntityType, toEntityType, relationshipType);
|
||||
}
|
||||
updatedFromRefs.sort(EntityUtil.compareEntityReference);
|
||||
|
@ -7,5 +7,5 @@ Provides metadata version information.
|
||||
|
||||
from incremental import Version
|
||||
|
||||
__version__ = Version("metadata", 0, 9, 0, dev=16)
|
||||
__version__ = Version("metadata", 0, 9, 0, dev=17)
|
||||
__all__ = ["__version__"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user