delphix / dxm-toolkit

The DXM-Toolkit is a collection of compiled Python command line interface (CLI) executables to assist in automating or extending the Delphix Masking Engine functionality via the APIs.
Apache License 2.0
6 stars 15 forks source link

"[DATE] [BUG]"Ruleset clone with advancde oracle db connector results in error #42

Open majramo opened 3 years ago

majramo commented 3 years ago

Expected Behavior Cloning of ruleset creates a new ruleset

Actual Behavior EXCEPTION: AttributeError: 'DxDatabaseRuleset' object has no attribute 'database_connector_id'

Steps To Reproduce the Problem ./dxmc ruleset clone --rulesetname 2_aishprAddressRs --newrulesetname 2_aishprAddressRsClone --debug EXCEPTION: Traceback (most recent call last): File "dxmc.py", line 22, in File "click/core.py", line 829, in call File "click/core.py", line 782, in main File "click/core.py", line 1259, in invoke File "click/core.py", line 1259, in invoke File "click/core.py", line 1066, in invoke File "click/core.py", line 610, in invoke File "click/decorators.py", line 73, in new_func File "click/core.py", line 610, in invoke File "dxm/dxm.py", line 856, in clone File "dxm/lib/DxRuleset/rule_worker.py", line 327, in ruleset_clone File "dxm/lib/DxRuleset/rule_worker.py", line 364, in ruleset_worker File "dxm/lib/DxRuleset/rule_worker.py", line 387, in do_clone File "dxm/lib/DxRuleset/DxRulesetList.py", line 312, in copy File "dxm/lib/DxRuleset/DxDatabaseRuleset.py", line 129, in add AttributeError: 'DxDatabaseRuleset' object has no attribute 'database_connector_id'

Version 6.0.5.0

Additional Context We use an oracle advanced connector: jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=xxx)(PORT=yyyy))(CONNECT_DATA=(UR=A)(SERVICE_NAME=vpdbzzz)))