-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Centralized Longterm workflow persistence storage #1344
Merged
Merged
Changes from 11 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
00f08b1
CheckandEstimate implementation
sarabala1979 e7ac42a
fixed variable rename
sarabala1979 d956bfc
fixed gofmt
sarabala1979 be9b3b5
fixed feedbacks
sarabala1979 0d15503
merge
sarabala1979 d967df3
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 4c9b645
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 c40cc5f
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 759b046
Centralized Longterm workflow persistence storage implementaion
sarabala1979 7b6e91b
enable postgres config
sarabala1979 d2bbe7a
fixed style
sarabala1979 2de02e8
Added error check
sarabala1979 51e2d5f
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 5f41f3e
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 a220ae5
Incorporated review comments
sarabala1979 9e2ad85
Update workflowRepository.go
sarabala1979 d84f960
fixed style
sarabala1979 b4baed5
fixed style -1
sarabala1979 1268208
fixed file name
sarabala1979 acfe894
updated
sarabala1979 4fc4394
Update workflow_repository.go
sarabala1979 18a7e54
Update workflow_repository.go
sarabala1979 8eb6ea9
Merge branch 'master' into Issue745
sarabala1979 6c0e87b
Update util.go
sarabala1979 3654958
Update util.go
sarabala1979 f39170e
Update workflow_repository.go
sarabala1979 6e027fb
Update swagger.json
sarabala1979 9a95a48
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 6a080b5
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 0a48649
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 7b273ab
Merge branch 'master' of https://github.com/argoproj/argo
sarabala1979 7b45549
Merge branch 'master' into Issue745
sarabala1979 dbe9393
Merge branch 'Issue745'
sarabala1979 d9f330e
Merge branch 'master' into Issue745
sarabala1979 925937b
Merge branch 'master' into Issue745
sarabala1979 e833c99
Update config.go
sarabala1979 f0b875a
fixed the comments
sarabala1979 49b931e
Update workflow_repository.go
sarabala1979 0f43598
Update DBRepository.go
sarabala1979 4ee83de
Update DBRepository.go
sarabala1979 03565ff
Renamed few variable
sarabala1979 dc583c2
Update .gitignore
sarabala1979 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 errors package is supposed to be very generic. Generic enough so that it would be potentially be put into the argo/pkg library.
ERR_DB_UPDATE_ROW_NOT_FOUND
is too specific of an error to include here. Can we find another way to handle this?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.
Further review shows that the way that we use this code is to implement Upsert. But that is an implementation detail of the
sqldb
package to implement Save(). This should be handled there and errors package should not be touched.