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

List Index Out of Range When populating table list for ruleset #57

Open bobpatten opened 2 years ago

bobpatten commented 2 years ago

Expected Behavior Tables added to ruleset from CSV list Actual Behavior Command fails with List Index Out of Range

Steps To Reproduce the Problem Unable to reproduce on my masking engine using same command causing issue (below along with message) but was reproduced by another member of project team on a different server (log attached)

C:\DataMasking\dxmc-v0.9.1-win64\dxmc>dxmc ruleset addmeta --envname Oracle_VDB_Env --rulesetname ORA_NBS_NBSDBO --inputfile NBS.csv EXCEPTION: IndexError: list index out of range

Version V0.9.1 dxm2.log

Ranzo3 commented 2 years ago

Bob found that the toolkit accepts multiple parameters but does not require them but those columns have to be formatted in the CSV; we added 4 commas after the table name (in notepad) and it went through OK.

bobpatten commented 2 years ago

Since we have a workaround to include the extra parameter markers (commas) in the CSV this is not a show stopper. Probably worth an enhancment request.