Release - Early Preview 2 (v0.4.0)¶
To install or upgrade the SDK, refer to instructions here.
New & Improved¶
- Added a new CLI command download-logs to enable downloading plugin generated logs from the Delphix Engine.
-
Added an optional argument named
checkto the following platform library functions:With
check=true, the platform library function checks theexit_codeand raises an exception if it is non-zero. -
Modified init to auto-generate default implementations for all required plugin operations.
- Improved build validation for:
- Required plugin operations.
- Incorrect plugin operation argument names.
- Plugin Config
entryPoint: TheentryPointis now imported during the build as part of the validation. - Schemas: Validated to conform to the JSON Schema Draft-07 Specification.
-
Improved runtime validation and error messages for:
- Objects returned from plugin operations.
- Platform Classes during instantiation.
- Platform Library function arguments.
-
Added support for Docker based plugins by specifying
rootSquashEnabled: falsein the plugin config. - Added Job and thread information to plugin generated log messages to increase diagnosability and observability.
Breaking Changes¶
-
A new argument
snapshot_parameterswas added to the following staged plugin operations:This argument will allow the end user to indicate to the plugin whether or not to initiate a full ingestion for a dSource. More details about the new argument are here.
-
Properties of the StagedSource class were modified:
connectionwas renamed tosource_connection.staged_connectionwas added to allow connecting to the staging environment.
This will enable plugins to connect to both the source and staging environments. More details about these properties are here.
Fixed¶
- Allow access to nested package resources via
pkgutil.get_data. - Fixed Out of Memory exceptions.
-
Fixed missing or incorrectly populated properties for the following classes:
Class Properties VirtualSource mountsRemoteUser nameRemoteEnvironment nameRemoteHost namebinary_path -
Updated Job warnings during discovery to display the underlying Python exceptions if one is raised by the plugin operations.
- Recreate the plugin's log directory if a plugin is deleted and re-uploaded to the Delphix Engine.
- Mark incorrectly provisioned VDBs as unusable and prevent subsequent Delphix Engine operations on such VDBs.
- Better error messages when incorrect environment types are used for Platform Libraries.
- Better error messages when a plugin's schema is updated and the plugin is re-uploaded to the Delphix Engine, with clear instructions on how to proceed.
- Fixed build failures on Windows.