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: user-initiated deployment notifications #2757

Merged

Conversation

mivanov1988
Copy link
Contributor

Why

Currently, the new deployment mechanism sends notifications every time, lacking the ability to send them only when the user initiates the deployment.

What

We modified the method to send notifications exclusively when deployments are initiated by the User, by incorporating a check for DeploymentStatus.NONE which represents user-initiated deployments.

Testing done:

Unit tests.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com

Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

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

Looks ok.

@mivanov1988 mivanov1988 force-pushed the person/miroslavi/user-Initiated-deployment-notifications branch from 1304618 to 48a8283 Compare October 5, 2023 13:38
Why
Currently, the new deployment mechanism sends notifications every time,
lacking the ability to send them only when the user initiates the deployment.

What
We modified the method to send notifications exclusively when deployments are initiated by the User, by incorporating a check for DeploymentStatus.NONE which represents user-initiated deployments.

Testing done:
Unit tests.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
@mivanov1988 mivanov1988 force-pushed the person/miroslavi/user-Initiated-deployment-notifications branch from b5db3e5 to 034f209 Compare October 5, 2023 14:11
@mivanov1988 mivanov1988 force-pushed the person/miroslavi/user-Initiated-deployment-notifications branch from 1c3d81b to bf10af2 Compare October 5, 2023 14:12
@mivanov1988 mivanov1988 merged commit 0823610 into main Oct 9, 2023
3 checks passed
@mivanov1988 mivanov1988 deleted the person/miroslavi/user-Initiated-deployment-notifications branch October 9, 2023 08:14
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

4 participants