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

added triggeredBy for rollouts and autoassignment #1017

Merged

Conversation

a-sayyed
Copy link
Contributor

@a-sayyed a-sayyed commented Sep 24, 2020

To improve traceability of created actions, it should be possible to track who triggered an action (directly or indirectly).
This PR adds a new field to the Action entity that corresponds to the user who initiated/triggered an assignment, via manual/auto assignment or via a Rollout.

Signed-off-by: Ahmed Sayed <[email protected]>
@schabdo
Copy link
Contributor

schabdo commented Sep 25, 2020

What about tests if the field is filled correctly by different use cases?

Signed-off-by: Ahmed Sayed <[email protected]>
@stefbehl stefbehl merged commit ba96c68 into eclipse-hawkbit:master Sep 28, 2020
@stefbehl stefbehl deleted the feature/introduce_action_triggered_by branch September 28, 2020 07:35
@schabdo schabdo added this to the 0.3.0M7 milestone Dec 3, 2020
krishna-devolo pushed a commit to devolo/hawkbit that referenced this pull request Sep 23, 2021
* added triggeredBy for rollouts and autoassignment

Signed-off-by: Ahmed Sayed <[email protected]>

* use createdBy as fallback for triggeredBy in AutoAssignChecker

Signed-off-by: Ahmed Sayed <[email protected]>

* removed 'NOT NULL' from db migration scripts for JpaTargetFilterQuery

Signed-off-by: Ahmed Sayed <[email protected]>

* fixed tests

Signed-off-by: Ahmed Sayed <[email protected]>

* fixed review findings

Signed-off-by: Ahmed Sayed <[email protected]>

* inlined redundant method in JpaDeploymentManagement

Signed-off-by: Ahmed Sayed <[email protected]>

* added tests + renamed property to 'initiatedBy'

Signed-off-by: Ahmed Sayed <[email protected]>

* fixed review findings

Signed-off-by: Ahmed Sayed <[email protected]>
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.

4 participants