Граф коммитов

135 Коммитов

Автор SHA1 Сообщение Дата
Joel Hendrix f3383f25f5
Update to the GA version of go-amqp (#73) 2023-05-24 12:48:45 -07:00
microsoft-github-policy-service[bot] 3c27c0bb37
Microsoft mandatory file (#69)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-03-31 10:56:21 -07:00
Joel Hendrix 6946e446a9
Update to latest go-amqp (#72)
* Update to latest go-amqp

Also updated crypto to latest version.

* update changelog and version
2023-03-30 13:04:38 -07:00
Joel Hendrix 0d468a6af0
Update to latest go-amqp (#68)
* Update to latest version of go-amqp

* fix detection of closed link

* clean up lint

* bump major version

* fix readme

* update to tagged go-amqp
2022-12-06 10:40:10 -08:00
Joel Hendrix cbf23f4ad5
Update CI to latest versions of Go (#67)
* Update CI to latest versions of Go

* switch to golangci-lint

* clean up lint

* switch to go install

* fix formatting
2022-12-05 15:11:49 -08:00
Richard Park 383057ca6b
amqp.ErrLinkDetached is removed, use *amqp.DetachError instead. (#64)
Latest go-amqp update. 

- amqp.ErrLinkDetached is being removed in favor of just checking if the type is *amqp.DetachError
- Message properties in amqp.Message are now optional (and thus, pointers).
2021-12-07 15:28:41 -08:00
Joel Hendrix cba28428b2
Sleep before retrying on a transient error (#63)
To avoid excessive CPU consumption.
2021-11-18 15:26:42 -08:00
Ben Wells f0e6e5ac14
Fix typo (refersh->refresh) (#60) 2021-11-18 15:26:35 -08:00
Joel Hendrix db465e7fce
Update to latest go-amqp (#58)
Includes update due to API breaking changes.
2021-10-01 10:57:47 -07:00
Richard Park 7e6517e7fe
Change the default credits for the RPC link to be more reasonable (1000) (#54)
Use a higher link credit count by default for the rpc link (1000)
2021-09-03 16:18:45 -07:00
Richard Park 75c6f5776f
Update to the latest version of go-amqp (v0.13.13) (#56)
Update to go-amqp v0.13.13 which has an important fix for multiplexing management requests on an rpc link.
2021-09-02 10:53:53 -07:00
Richard Park 2a1e59e76f
Fixing race condition when closing the RPC link (#55)
Fixing a potential race condition in rpc.go - if the client was closed while we were about to send we could end up trying to access a nil map.

(saw in tests in service bus)
2021-09-01 13:30:37 -07:00
Richard Park 65ee81bc7d
Updating changelog for 3.1.1 release. (#53)
Updating changelog for upcoming change (v3.1.1) and prior ones
2021-08-26 16:11:10 -07:00
Richard Park bff5bef799
Make rpc.go so it can use a single link and send/receive multiple messages (#52)
Service Bus and Event Hubs both allow you to send multiple messages on the management link. We weren't using this and it meant that we were creating a separate link _per_ request.

This PR changes that so we pass in a unique message ID for each request, which allows us to demux the requests in the client, thus only using a single link.

This is how the other track 2 SDKs currently handle it.
2021-08-26 15:54:35 -07:00
Joel Hendrix 6b7304f631
version bump for upcoming release (#51) 2020-10-23 13:36:19 -07:00
Saravanan Muthusamy 43896b23e5
option to pass managed identity client id to AD authentication (#45)
* https://github.com/Azure/azure-amqp-common-go/issues/44 option to use managed identity to be used for MSI authentication

* https://github.com/Azure/azure-amqp-common-go/issues/44 option to use managed identity to be used for MSI authentication

* fix formatting

* rename method

Co-authored-by: Muthusamy Saravanan <saravanan.muthusamy@bluvision.com>
Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2020-10-23 13:07:56 -07:00
Joel Hendrix 27bcf08005
Update CI to latest versions of Go (#50)
Fix gocyclo installation.
2020-10-23 13:05:42 -07:00
Stéphane Erbrech 42524ac531
return the error when refresh fails, not the token (#49)
* return the error when refresh fails, not the token

* changelog
2020-10-14 08:00:52 -07:00
Joel Hendrix 696deb329d
add back some tests that were removed during conversion (#48) 2020-08-06 13:13:00 -07:00
Joni Collinge 0435589bfe
Add context to message disposition methods (#46)
* add context to message deposition methods

* update dependencies

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2020-08-06 11:24:08 -07:00
Joel Hendrix 5afa4c97fd
replace travis with azure devops (#47) 2020-08-06 11:17:55 -07:00
Joel Hendrix af261efd31
switch from pack.ag/amqp to github.com/Azure/go-amqp (#43)
* switch from pack.ag/amqp to github.com/Azure/go-amqp

* bump major version

* update README
2019-12-13 13:21:27 -08:00
Joel Hendrix 42a90b2930
Merge pull request #40 from Azure/release211
Bump lib to 2.1.1
2019-12-12 13:30:15 -08:00
Jie Shen 8e2af23022 Bump lib to 2.1.1 2019-09-20 16:33:53 +08:00
Jie Shen a53768da34
Merge pull request #39 from Azure/bump_autorest
Bump autorest and libs
2019-09-20 13:42:36 +08:00
Jie Shen ae6d03644b Bump amqp and Azure sdk for go 2019-09-19 11:14:00 +08:00
Jie Shen a1ebfc967d Bump go-autrest to latest 2019-09-19 11:12:57 +08:00
David Justice b722019cbc
Merge pull request #38 from Azure/session-filter
Session filter
2019-07-19 11:03:39 -07:00
David Justice 8d4ce0dacd
prepare for a new version release 2019-07-19 10:52:24 -07:00
David Justice d4cdd8c402
bump amqp version and add statusCode on span 2019-07-19 10:47:07 -07:00
David Justice 9727f6e7bc
bump to amqp v0.11.1 2019-06-19 14:27:02 -07:00
David Justice ff7df40ca2
add link option and session id filter 2019-06-19 14:26:29 -07:00
David Justice d021cd0bfe
Merge pull request #36 from Azure/tracing
**Breaking Change** remove persist and log packages
2019-06-06 08:41:02 -07:00
David Justice 8b39f5ce4f
clean up readme a bit 2019-06-05 15:24:09 -07:00
David Justice 567e94ecda
update the readme and the mod file for go version 2019-05-31 11:15:52 -07:00
David Justice 0215fc177b
update travis 2019-05-30 14:59:59 -07:00
David Justice 3398b0c9af
update travis 2019-05-30 14:56:14 -07:00
David Justice a63266062f
update travis 2019-05-30 14:53:13 -07:00
David Justice 260eef3508
update travis 2019-05-30 14:52:32 -07:00
David Justice ce8a381136
move module to v2 2019-05-30 14:28:17 -07:00
David Justice 221baf6205
add change log entry 2019-05-29 16:25:14 -07:00
David Justice b92ea57d45
remove persist 2019-05-29 15:25:32 -07:00
David Justice f3083d80d0
update tab dep 2019-05-29 14:23:51 -07:00
David Justice 6104199801
use tab for logging and tracing 2019-05-23 15:12:45 -07:00
David Justice 2fc92250d0
add top level func 2019-01-11 11:08:39 -08:00
David Justice bca7481a73
add NewContext 2019-01-11 11:06:03 -08:00
David Justice 27a7af64ed
add trace propagation 2019-01-10 16:05:12 -08:00
David Justice c2c42c8bb3
add top level span methods 2019-01-10 14:49:28 -08:00
David Justice 5d0b91d07d
update ot and oc 2019-01-10 14:29:57 -08:00
David Justice 0a2fe11a09
add abstraction for opentracing and opencensus 2019-01-09 15:58:52 -08:00