Added support of Domain, Domain Constraints and Types to the Schema Diff. Fixes #5262

This commit is contained in:
Akshay Joshi
2020-03-26 14:30:09 +05:30
parent 4c0b229b14
commit 94a76cc9e0
20 changed files with 1968 additions and 29 deletions

View File

@@ -326,7 +326,8 @@ def directory_diff(source_dict, target_dict, ignore_keys=[], difference={}):
pass
elif type(source) is dict:
tmp_key_array = ['name', 'colname', 'argid', 'token',
'option']
'option', 'conname', 'member_name',
'label']
# Check the above keys are exist in the dictionary
tmp_key = is_key_exists(tmp_key_array, source)
if tmp_key is not None:
@@ -408,6 +409,8 @@ def parce_acl(source, target):
key = 'datacl'
elif 'relacl' in source:
key = 'relacl'
elif 'typacl' in source:
key = 'typacl'
tmp_source = source[key] if\
key in source and source[key] is not None else []