Joni Collinge
cad8a7c0ad
remove auto blank session id
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-09 13:07:50 +00:00
Joni Collinge
d63f3c3015
lint
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-09 12:45:19 +00:00
Joni Collinge
72e9676c5a
add some unit tests
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-09 11:59:22 +00:00
Joni Collinge
a7d6bdecfc
move session config to per subscription metadata
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-09 11:48:25 +00:00
Joni Collinge
ec1dfbe8fe
If require sessions and no session id, set blank
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-09 10:08:51 +00:00
Joni Collinge
ed68140bf7
Support blank session IDs
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-09 08:36:51 +00:00
John Ewart
ee9bd09620
Check the correct error object in a few places inside blobstorage client
...
Signed-off-by: John Ewart <john@johnewart.net>
2022-12-08 11:21:21 -08:00
Joni Collinge
eeae60e429
Add sessionIdleTimeoutInSec md
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-07 15:56:45 +00:00
Joni Collinge
bfbc382422
lint
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-07 15:41:01 +00:00
Joni Collinge
dde82c6c41
remove dead code
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-07 15:33:47 +00:00
Joni Collinge
75025d5fba
Add metadata
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-07 15:23:18 +00:00
Joni Collinge
303182341a
WIP: Support ASB sessions
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-06 16:35:51 +00:00
Joni Collinge
c27a6580a8
WIP: ASB sessions
...
Signed-off-by: Joni Collinge <jonathancollinge@live.com>
2022-12-02 15:40:48 +00:00
Bernd Verst
7d5c06bc8d
Make blob metadata case insensitive
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-23 01:43:24 +00:00
Bernd Verst
f1b9374f9a
Move tests around
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-18 18:02:09 -08:00
Bernd Verst
23d36a08d7
more refactoring and address code review
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-18 17:56:02 -08:00
Bernd Verst
f11fc2421e
fix linter issue
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 21:43:20 -08:00
Bernd Verst
8811d5e64f
AzBlob components: Extract shared code
...
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-11-17 21:37:17 -08:00
Alessandro (Ale) Segala
04242ce38a
New PubSub component: Azure Service Bus Queues ( #2211 )
...
* Implementation for Azure Service Bus Queue pubsub component
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Fixed syntax errors in unused files
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Moved components to subfolders and enabled conf tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-10-24 14:07:23 -07:00
ItalyPaleAle
254a2141ad
Moved sender handling to common implementation too
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-19 21:01:15 +00:00
ItalyPaleAle
065ef86ee5
Moved client creation to common implementation
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-19 20:34:10 +00:00
ItalyPaleAle
7ecfb6edd0
Moved code to add metadata to ASB messages to shared impl too
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-19 20:08:07 +00:00
ItalyPaleAle
8bce0d5200
Moved metadata to impl package
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-19 19:47:26 +00:00
ItalyPaleAle
0057a31b88
Moved errors
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-18 21:51:17 +00:00
Bernd Verst
0f0aaf4e9b
Merge remote-tracking branch 'upstream/master' into merge19intomaster
2022-10-14 12:16:57 -07:00
ItalyPaleAle
047f3948c5
Fix for handling "context deadline exceeded" on ASB publishing
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-12 18:18:33 +00:00
ItalyPaleAle
f1c4555078
Fixed merge conflict
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-11 23:33:54 +00:00
ItalyPaleAle
3bc20a1de5
Merge branch 'master' into merge-1.9
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-11 20:26:35 +00:00
Alessandro (Ale) Segala
ef74e7f8b6
Azure Service Bus: consider receiving 0 messages as an error that requires reconnecting ( #2169 )
...
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-10-11 12:57:06 -07:00
Deepanshu Agarwal
f74b4d648d
Update EntryID to EntryId
...
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
2022-09-29 15:49:45 +05:30
Shubham Sharma
4f406a597f
Add bulk subscribe support to Azure Service Bus ( #2100 )
...
* Initial implementation
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* ✅
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add tests
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Add comment
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Refactor messages.go and add tests
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update message tests
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Refactor servicebus.go logic
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Refactor handleAsync
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Refactor ReceiveAndBlock
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update binding
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Review comments addressed
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Lint
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update metadata name
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update activeMessagesChan logic for concurrency control
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix tests
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Update metadata name
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Use request metadata instead of component metadata
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Review comments addressed
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix merge issue with metadata
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Remove unused metadata key
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Fix merge issue with metadata
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
* Lint!!!
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-09-23 10:49:06 -07:00
Bernd Verst
e87cd5e4cb
Go 1.19 support and linter fixes ( #1975 )
...
* Go 1.19 support and linter fixes
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Update workflows for Go1.19 and new linter version
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Remove unnecessary space in nolint directive
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* disable additional linters which aren't used because of Go generics
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* enable gosec linter again
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Update bindings/zeebe/command/publish_message_test.go
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Update bindings/output_binding.go
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Use prepared statement for mysql table creation
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Ping is not ping
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* c'mon linter
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* Fix MySQL gosec issue
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
* revert mysql to be fixed later
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-08-18 00:45:23 -07:00
Alessandro (Ale) Segala
f2ac0cda69
Ensure locks in channels are properly released ( #1957 )
...
Fixes #1865
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-08-10 14:52:46 -07:00
Joni Collinge
5afb1c9b8f
Use unique message key in Azure ServiceBus PubSub ( #1898 )
2022-07-21 10:13:58 -07:00
Alessandro (Ale) Segala
a08988c25e
Shared implementation for Azure Service Bus subscriptions for binding and pubsub ( #1791 )
...
* Moved ASB subscription code to a shared package
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Moved ASBQ binding to use the shared ASB implementation
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
* Updating Azure Service Bus SDK version
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-17 15:12:15 -07:00