Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
1 week ago
Chris Lu
a524b4f485
Object locking need to persist the tags and set the headers ( #6994 )
* fix object locking read and write
No logic to include object lock metadata in HEAD/GET response headers
No logic to extract object lock metadata from PUT request headers
* add tests for object locking
* Update weed/s3api/s3api_object_handlers_put.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor
* add unit tests
* sync versions
* Update s3_worm_integration_test.go
* fix legal hold values
* lint
* fix tests
* racing condition when enable versioning
* fix tests
* validate put object lock header
* allow check lock permissions for PUT
* default to OFF legal hold
* only set object lock headers for objects that are actually from object lock-enabled buckets
fix --- FAIL: TestAddObjectLockHeadersToResponse/Handle_entry_with_no_object_lock_metadata (0.00s)
* address comments
* fix tests
* purge
* fix
* refactoring
* address comment
* address comment
* Update weed/s3api/s3api_object_handlers_put.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers_put.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* avoid nil
* ensure locked objects cannot be overwritten
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 week ago
Ibrahim Konsowa
d78aa3d2de
[Notifications] Improving webhook notifications ( #6965 )
* worker setup
* fix tests
* start worker
* graceful worker drain
* retry queue
* migrate queue to watermill
* adding filters and improvements
* add the event type to the webhook message
* eliminating redundant JSON serialization
* resolve review comments
* trigger actions
* fix tests
* typo fixes
* read max_backoff_seconds from config
* add more context to the dead letter
* close the http response on errors
* drain the http response body in case not empty
* eliminate exported typesπ
1 week ago
Ibrahim Konsowa
93bbaa1fb4
[Notifications] Support webhook notifications ( #6962 )
Add webhook notification support
2 weeks ago
chrislu
21c0587900
go fmt
3 years ago
Konstantin Lebedev
9b2b7d4f5a
avoid data race on GoCDKPubSub.topic ( #3596 )
3 years ago
dependabot[bot]
97d69d5336
Bump gocloud.dev/pubsub/rabbitpubsub from 0.25.0 to 0.26.0 ( #3541 )
* Bump gocloud.dev/pubsub/rabbitpubsub from 0.25.0 to 0.26.0
Bumps [gocloud.dev/pubsub/rabbitpubsub](https://github.com/google/go-cloud ) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev/pubsub/rabbitpubsub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* update code
* more code fix
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com>
3 years ago
chrislu
2b580a7566
also migrate jsonpb
3 years ago
chrislu
eaeb141b09
move proto package
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
chrislu
3885374edf
conditionally build elastic, gocdk to reduce binary size
3 years ago
Konstantin Lebedev
94eac4f00e
Do reconnect to RabbitMQ
https://github.com/google/go-cloud/issues/2958
https://github.com/chrislusf/seaweedfs/issues/1773
5 years ago
Chris Lu
cfb9342a15
avoid concurrent map updates to viper
5 years ago
Chris Lu
97ab8a1976
remove ctx if possible
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
6 years ago
Chris Lu
67e5f5b558
typo
6 years ago
Chris Lu
9711a6ffaa
WIP
6 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
6 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
6 years ago
Chris Lu
aff911c00d
skip all azuresb
6 years ago
Jonathan Amsterdam
8db82e2b75
notification: add Go CDK pubsub support
Add the gocdk_pub_sub package, which supports the Go Cloud Development
Kit pubsub API.
Link in all current providers.
Update the notification scaffold.
6 years ago
Chris Lu
c28e8a2397
refactoring
7 years ago
Chris Lu
ffa2827ab1
fail fast if two notification queues or inputs are enabled
7 years ago
Chris Lu
52b24a9902
default "weed server -filer" to same directory as -mdir
7 years ago
Chris Lu
3674ad9f8e
go fmt
7 years ago
Chris Lu
db584ff7f8
separate into notification.toml, add gcp pub/sub message queue
7 years ago
Chris Lu
4c97ff3717
support AWS SQS as file change notification message queue
7 years ago
Chris Lu
ab85118233
error handling when kafka not ready
7 years ago
Chris Lu
db69ce89f0
go fmt
7 years ago
Chris Lu
5c6e3f457f
adjust log
7 years ago
Chris Lu
bc03233364
refactoring
7 years ago
Chris Lu
d923ba2206
renaming msgqueue to notification
7 years ago