Commit 7ae0bea9 by nixonrodrigues

ATLAS-3962 : Include business metadata def header in typdefs headers API

Change-Id: I52783f36c59509fefeb75f56f3391a7ea6a261ce
parent 86e9149b
......@@ -366,6 +366,11 @@ public class AtlasTypeUtil {
headerList.add(new AtlasTypeDefHeader(relationshipDef));
}
}
if (CollectionUtils.isNotEmpty(typesDef.getBusinessMetadataDefs())) {
for (AtlasBusinessMetadataDef businessMetadataDef : typesDef.getBusinessMetadataDefs()) {
headerList.add(new AtlasTypeDefHeader(businessMetadataDef));
}
}
return headerList;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment