Exemplo n.º 1
0
    def __init__(self, engine):
        """
        Constructor
        :param engine: DxMaskingEngine object
        """
        DxConnector.__init__(self, engine)
        #FileConnector.__init__(self)
        self.__engine = engine
        self.__logger = logging.getLogger()
        self.__logger.debug("creating FileConnector object")
        if (self.__engine.version_ge('6.0.0')):
            from masking_api_60.models.file_connector import FileConnector
            from masking_api_60.api.file_connector_api import FileConnectorApi
            from masking_api_60.models.connection_info import ConnectionInfo
            from masking_api_60.rest import ApiException
        else:
            from masking_api_53.models.file_connector import FileConnector
            from masking_api_53.api.file_connector_api import FileConnectorApi
            from masking_api_53.models.connection_info import ConnectionInfo
            from masking_api_53.rest import ApiException

        self.__api = FileConnectorApi
        self.__model = FileConnector
        self.__model_connection_info = ConnectionInfo
        self.__apiexc = ApiException
        self.__obj = None
Exemplo n.º 2
0
 def __init__(self, engine):
     """
     Constructor
     :param engine: DxMaskingEngine object
     """
     DxConnector.__init__(self, engine)
     self.__engine = engine
     self.__logger = logging.getLogger()
     self.__logger.debug("creating SybaseConnector object")
Exemplo n.º 3
0
 def __init__(self, engine):
     """
     Constructor
     :param engine: DxMaskingEngine object
     """
     DxConnector.__init__(self, engine)
     self.__engine = engine
     self.database_type = 'ORACLE'
     self.__logger = logging.getLogger()
     self.__logger.debug("creating OracleConnector object")
Exemplo n.º 4
0
 def __init__(self, engine):
     """
     Constructor
     :param engine: DxMaskingEngine object
     """
     DxConnector.__init__(self, engine)
     self.__engine = engine
     self.__logger = logging.getLogger()
     self.__logger.debug("creating ExtendedConnector object")
     self.__jdbclist = DxJDBCList()
Exemplo n.º 5
0
 def __init__(self, engine):
     """
     Constructor
     :param engine: DxMaskingEngine object
     """
     DxConnector.__init__(self, engine)
     #FileConnector.__init__(self)
     self.__engine = engine
     self.__logger = logging.getLogger()
     self.__logger.debug("creating FileConnector object")
     self.__api = FileConnectorApi
     self.__apiexc = ApiException
     self.__obj = None