Skip to content
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

control-service: Only CLI executions are "Manual" #1763

Merged
merged 54 commits into from
May 21, 2023

Conversation

gageorgiev
Copy link
Contributor

Currently, all executions started through the Execution API are labelled
as "Manual". This makes it confusing in cases where users use the Execution
API for starting executions not through the CLI, for example through the
Airflow integration or by a Meta Job - users will still see the execution
as "Manual" in the UI.

This change ensures that only executions which were ran through the
VDK CLI are labelled as "Manual". Further work is required for
extracting and globalizing the "vdk-control-cli" string as it
currently appears as a magic string in both the vdk-control-cli
and the control-service.

Testing done: ran data job through meta job and verified its label

Signed-off-by: Gabriel Georgiev gageorgiev@vmware.com

gageorgiev and others added 5 commits March 21, 2023 10:47
…lled as "Manual"

Currently, all executions started through the Execution API are labelled
as "Manual". This makes it confusing in cases where users use the Execution
API for starting executions not through the CLI, for example through the
Airflow integration or by a Meta Job - users will still see the execution
as "Manual" in the UI.

This change ensures that only executions which were ran through the
VDK CLI are labelled as "Manual". Further work is required for
extracting and globalizing the "vdk-control-cli" string as it
currently appears as a magic string in both the vdk-control-cli
and the control-service.

Testing done: ran data job through meta job and verified its label

Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label

Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Copy link
Contributor

@yonitoo yonitoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

gageorgiev and others added 9 commits March 21, 2023 13:57
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label

Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
gageorgiev and others added 9 commits March 30, 2023 12:33
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label

Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label
Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
@gageorgiev gageorgiev marked this pull request as draft April 3, 2023 07:56
@gageorgiev gageorgiev marked this pull request as ready for review April 20, 2023 13:51
gageorgiev and others added 21 commits May 18, 2023 22:51
…lled as "Manual"

Currently, all executions started through the Execution API are labelled
as "Manual". This makes it confusing in cases where users use the Execution
API for starting executions not through the CLI, for example through the
Airflow integration or by a Meta Job - users will still see the execution
as "Manual" in the UI.

This change ensures that only executions which were ran through the
VDK CLI are labelled as "Manual". Further work is required for
extracting and globalizing the "vdk-control-cli" string as it
currently appears as a magic string in both the vdk-control-cli
and the control-service.

Testing done: ran data job through meta job and verified its label

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>
…m:vmware/versatile-data-kit into person/gageorgiev/metajob-scheduled-label

Signed-off-by: Gabriel Georgiev <gageorgiev@vmware.com>
@murphp15 murphp15 enabled auto-merge (squash) May 19, 2023 09:09
@murphp15 murphp15 merged commit d2c572d into main May 21, 2023
3 checks passed
@murphp15 murphp15 deleted the person/gageorgiev/metajob-scheduled-label branch May 21, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants