delphix / virtualization-sdk

Delphix vSDK.
Apache License 2.0
7 stars 25 forks source link

CP-8174 VSDK Changes to support source sizing decorators #441

Closed vimleshmishra closed 2 years ago

vimleshmishra commented 2 years ago

Problem:

These changes are required to support two upcoming decorators, where plugin authors will be allowed to define the ways for calculating the size of different sources [Direct Linked Source, Staged Linked Source, and Virtual Source]. That data can then be displayed in the UI/CLI and used as needed by users.

Solution:

Most of these changes are boilerplate to support the two upcoming decorators.

Testing

git blackbox -s appdata_python_samples --extra-params="-p virt-sdk-repo=https://github.com/vimleshmishra/virtualization-sdk.git -p virt-sdk-branch=develop"

git blackbox -s appdata_basic -c APPDATA_PYTHON_DIRECT_CENTOS73 --extra-params="-p virt-sdk-repo=https://github.com/vimleshmishra/virtualization-sdk.git -p virt-sdk-branch=develop"

git blackbox -s appdata_basic -c APPDATA_PYTHON_STAGED_CENTOS73 --extra-params="-p virt-sdk-repo=https://github.com/vimleshmishra/virtualization-sdk.git -p virt-sdk-branch=develop"