Hello Team,
DXMC shows error when there is jdbc URL more than 1000 char.
we have one JDBC URL for Salesforece and when we try to get connector details with dxmc it shows below error;
Error:
[delphix_os@lmen2100 ~]$ ./dxmc connector list --engine va0244 --debug
EXCEPTION: Traceback (most recent call last):
File "dxmc.py", line 22, in <module>
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 564, in list
File "dxm/lib/DxConnector/conn_worker.py", line 415, in connector_list
File "dxm/lib/DxConnector/DxConnectorsList.py", line 51, in __init__
File "dxm/lib/DxConnector/DxConnectorsList.py", line 110, in LoadConnectors
File "dxm/lib/DxTools/DxTools.py", line 38, in paginator
File "masking_api_60/api/database_connector_api.py", line 339, in get_all_database_connectors
File "masking_api_60/api/database_connector_api.py", line 414, in get_all_database_connectors_with_http_info
File "masking_api_60/api_client.py", line 330, in call_api
File "masking_api_60/api_client.py", line 169, in __call_api
File "masking_api_60/api_client.py", line 241, in deserialize
File "masking_api_60/api_client.py", line 280, in __deserialize
File "masking_api_60/api_client.py", line 624, in __deserialize_model
File "masking_api_60/api_client.py", line 258, in __deserialize
File "masking_api_60/api_client.py", line 258, in <listcomp>
File "masking_api_60/api_client.py", line 280, in __deserialize
File "masking_api_60/api_client.py", line 626, in __deserialize_model
File "masking_api_60/models/database_connector.py", line 112, in __init__
File "masking_api_60/models/database_connector.py", line 359, in jdbc
ValueError: Invalid value for `jdbc`, length must be less than or equal to `1000`
------------------------------
Pankaj Asegaonkar
Delphix Community Members
------------------------------