refactor-datasource-driver-framework
* current there is a lot of logic in the convert_obj() method which is
used to load the data into the data source driver. The majority of this
logic is to validate that the table schema is valid. We should only need
to do this one though on load of the data source driver.
* currently if you list the tables of a data source driver they aren't always
populated in via __init__ self.state[
method to the DatasourceDriver base class that load_translator() which
will allow one to pass in translators via the __init__ of a
datasource driver. This will validate the schema there.
Blueprint information
- Status:
- Complete
- Approver:
- Tim Hinrichs
- Priority:
- Low
- Drafter:
- Aaron Rosen
- Direction:
- Approved
- Assignee:
- Aaron Rosen
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
-
Implemented
- Milestone target:
-
kilo-2
- Started by
- Tim Hinrichs
- Completed by
- Aaron Rosen
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Move exceptions from datasource_driver to exception file
Addressed by: https:/
Implement get_translators in the base class
Addressed by: https:/
Refactor datasource translator logic
Addressed by: https:/
Add glancev2 datasource driver
Addressed by: https:/
Refactor get_credentials out of DataSourceDriver class
Addressed by: https:/
Move inline funtions out of convert_obj
Addressed by: https:/
Break up convert_obj
Addressed by: https:/
Break out inline method _get_schema
Addressed by: https:/
Break out _get_schema to get_schema(
Gerrit topic: https:/
Addressed by: https:/
Make parent_key accessable from subtable
Addressed by: https:/
Implement in-line attribute for hdict