-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airflow-provider-vdk: Start and cancel job execution methods #778
Conversation
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…satile-data-kit into person/gageorgiev/aiflow-base
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description of the PR and the diff look like they have diverged. Is this PR ready for review?
projects/vdk-plugins/airflow-provider-vdk/vdk_provider/hooks/vdk.py
Outdated
Show resolved
Hide resolved
projects/vdk-plugins/airflow-provider-vdk/vdk_provider/hooks/vdk.py
Outdated
Show resolved
Hide resolved
projects/vdk-plugins/airflow-provider-vdk/vdk_provider/hooks/vdk.py
Outdated
Show resolved
Hide resolved
…on/gageorgiev/aiflow-base
projects/vdk-plugins/airflow-provider-vdk/tests/hooks/test_vdkhook.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
projects/vdk-plugins/airflow-provider-vdk/vdk_provider/hooks/vdk.py
Outdated
Show resolved
Hide resolved
projects/vdk-plugins/airflow-provider-vdk/vdk_provider/hooks/vdk.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…satile-data-kit into person/gageorgiev/aiflow-base
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
projects/vdk-plugins/airflow-provider-vdk/vdk_provider/hooks/vdk.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
|
||
:return: None | ||
# setting these manually to avoid using VDKConfig | ||
self.op_id = os.environ.get("VDK_OP_ID_OVERRIDE", f"{uuid.uuid4().hex}"[:16]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the airflow world , those would not come from environmental variables.
Sync with Andy or Miro (who may have more context) but generally this should be fixed in next PR
This change allows job executions to be started and cancelled
through the VDK connection hook object.
Testing done: included two unit tests, tested locally against
deployed control-service
Signed-off-by: Gabriel Georgiev gageorgiev@vmware.com