forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(event-reporter): multi-sourced apps - resource git details repor…
…ting (#352) * event-reporter: created dedicated func resolveApplicationVersions * event-reporter: added new types for variables grouping * event-reporter: removed redundant code comment * event-reporter(refactoring): params grouping, added new type ArgoTrackingMetadata to pass data between methods * event-reporter(refactoring): params grouping, added new type ReportedEntityParentApp to pass data between methods * event-reporter(refactoring): params grouping, added new type ReportedResource to pass data between methods, created new methods to group logic inside getResourceEventPayload * event-reporter(refactoring): fixed nil pointer issues after refactoring * event-reporter(refactoring): fixed lint issue * event-reporter(refactoring): fixed lint issue * event-reporter: added agroDb to ApplicationEventReporter * event-reporter: ObjectSource message proto extended to report operationSyncRevisions, destServer, destName, appMultiSourced * event-reporter / utils: added func GetOperationRevisions * event-reporter(non-grpc app client): added support of new query params SourcePositions, Revisions for GetManifests request * event-reporter(getDesiredManifests): updated logic to retrieve appVersion for multi-sourced applications based on sync result revisions * event-reporter(resource source payload): added new field OperationSyncRevisions * event-reporter(resource source payload): added new fields DestName, DestServer * event-reporter(resource source payload): added new field AppMultiSourced * event-reporter(resource source payload): added AppSourceIdx with source index to which this resource belongs. Also updated logic of retrieving correct git commit info based on AppSourceIdx * event-reporter: updated changelog * event-reporter: fixed lint issues * event-reporter: changes after pr review * fix lint issue * reporter: fix lint issue * reporter: fix lint issue * updated changelog record * event-reporter: refactored fields inside ObjectSource * event-reporter: added runtime version reporting with each event
- Loading branch information
1 parent
bfe424f
commit a26fd08
Showing
21 changed files
with
1,295 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
### Changes | ||
- fix(event-reporter): fixed issue when if managed resource in degraded state and all of it child nodes in non-degraded state no error reported | ||
- fix(event-reporter): fixed issue when if managed resource in degraded state and all of it child nodes in non-degraded state no error reported | ||
- fix(repo-server): fixed repeated resources generation for ApplicationSourceTypeDirectory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
### Changes | ||
- fix(event-reporter): fixed issue when if managed resource in degraded state and all of it child nodes in non-degraded state no error reported | ||
### Features | ||
- feat(event-reporter): multisourced apps support improvements: reporting syncOperationRevisions, detecting correct resource sourceIdx, reporting correct git commit info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.