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

Adding Watch API and initial implementation #2281

Merged
merged 29 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f6cf994
Adding Watch API and initial implementation
dahuang-purestorage Jun 21, 2023
85e542a
fixup! Adding Watch API and initial implementation
dahuang-purestorage Jun 22, 2023
e7b7d28
start watcher at the beginning
dahuang-purestorage Jun 26, 2023
9edf874
fixup! start watcher at the beginning
dahuang-purestorage Jun 26, 2023
1eac0e6
Change watch to its own service
dahuang-purestorage Jun 27, 2023
1c3a0a8
Update versions
dahuang-purestorage Jun 27, 2023
3ce2450
fixup! Update versions
dahuang-purestorage Jun 27, 2023
a7b890d
update Makefile
dahuang-purestorage Jun 27, 2023
bb48373
remove volumegenreator in fake.go
dahuang-purestorage Jun 27, 2023
f99999d
fix start watcher
dahuang-purestorage Jun 27, 2023
e4aba62
refactor
dahuang-purestorage Jun 27, 2023
c8b6597
refactoring
dahuang-purestorage Jun 28, 2023
e8141d3
store watchclient by eventType
dahuang-purestorage Jun 28, 2023
f6a80a1
add in lock and more channel handling
dahuang-purestorage Jun 28, 2023
1a3e4b5
fixup proto comments
dahuang-purestorage Jun 28, 2023
435145d
fixup! fixup proto comments
dahuang-purestorage Jun 28, 2023
694d3de
fixup! fixup! fixup proto comments
dahuang-purestorage Jun 29, 2023
21cf0b7
fixup comment and add timeout for send
dahuang-purestorage Jul 1, 2023
c7148c8
fixup! fixup comment and add timeout for send
dahuang-purestorage Jul 1, 2023
d54029d
fixup! fixup! fixup comment and add timeout for send
dahuang-purestorage Jul 1, 2023
97c1a19
check for unavailable in Watch
dahuang-purestorage Jul 1, 2023
593609f
Add simple UT for Watch and use context
dahuang-purestorage Jul 2, 2023
71b5f27
fixup! Add simple UT for Watch and use context
dahuang-purestorage Jul 3, 2023
84fa530
addresses comments
dahuang-purestorage Jul 10, 2023
783104f
fixup! addresses comments
dahuang-purestorage Jul 10, 2023
557e15c
lowercase error
dahuang-purestorage Jul 11, 2023
1824165
fixup! lowercase error
dahuang-purestorage Jul 11, 2023
57e27db
fixup! fixup! lowercase error
dahuang-purestorage Jul 11, 2023
fb5af53
fixup! fixup! fixup! lowercase error
dahuang-purestorage Jul 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ mockgen:
mockgen -destination=api/mock/mock_node.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageNodeServer,OpenStorageNodeClient
mockgen -destination=api/mock/mock_diags.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageDiagsServer,OpenStorageDiagsClient
mockgen -destination=api/mock/mock_volume.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageVolumeServer,OpenStorageVolumeClient
mockgen -destination=api/mock/mock_watch.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageWatchServer,OpenStorageWatchClient
mockgen -destination=api/mock/mock_bucket.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageBucketServer,OpenStorageBucketClient
mockgen -destination=cluster/mock/cluster.mock.go -package=mock github.com/libopenstorage/openstorage/cluster Cluster
mockgen -destination=api/mock/mock_fstrim.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageFilesystemTrimServer,OpenStorageFilesystemTrimClient
Expand Down
4 changes: 4 additions & 0 deletions SDK_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Releases

### v0.162.0 - (07/11/2023)

* Add new Watch endpoint

### v0.161.0 - (06/12/2023)

* Add auto-journal IO profile
Expand Down
Loading