mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 11:09:14 +00:00
parent
777b08ef13
commit
f4e3335ad1
@ -72,6 +72,10 @@ public class TypeRepository extends EntityRepository<Type> {
|
||||
updateTypeMap(type);
|
||||
}
|
||||
|
||||
public void addToRegistry(Type type) {
|
||||
updateTypeMap(type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void storeRelationships(Type type) {
|
||||
// Nothing to do
|
||||
|
||||
@ -114,6 +114,7 @@ public class TypeResource extends EntityResource<Type, TypeRepository> {
|
||||
LOG.debug("Creating entity that does not exist ", e);
|
||||
}
|
||||
this.dao.createOrUpdate(null, type);
|
||||
this.dao.addToRegistry(type);
|
||||
} catch (IOException e) {
|
||||
LOG.error("Error loading type {}", type.getName(), e);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user