Compare commits

...

1 Commits

Author SHA1 Message Date
pmm
59b736c098 [ACS-6898] Added logger statements 2024-04-18 18:31:44 +05:30
2 changed files with 14 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ public abstract class AbstractDictionaryRegistry implements DictionaryRegistry
if(models == null)
{
models = Collections.emptyList();
logger.debug("Models for uri is empty");
}
// defensive copy
return new ArrayList<CompiledModel>(models);
@@ -360,6 +361,14 @@ public abstract class AbstractDictionaryRegistry implements DictionaryRegistry
break;
}
}
if (propDef == null)
{
logger.debug("Property definition not available for this property name -> {}" + propertyName);
}
}
else
{
logger.debug("Compiled Models not available for this namespace uri -> {}" + propertyName.getNamespaceURI());
}
return propDef;

View File

@@ -473,8 +473,13 @@ public class DictionaryDAOImpl implements DictionaryDAO, NamespaceDAO,
if (propertyName != null)
{
logger.debug("Property from TenantDictionaryRegistry -> {}" + getTenantDictionaryRegistry().getProperty(propertyName));
propertyDef = getTenantDictionaryRegistry().getProperty(
propertyName);
if (propertyDef == null)
{
logger.debug("Property definition not available in tenant dictionary registry");
}
}
return propertyDef;