Commit graph

783 commits

Author SHA1 Message Date
Joachim Bauch 5757b9ca30
Merge pull request #421 from strukturag/internal-incall
Allow internal clients to set / change the "inCall" flags.
2023-02-22 08:31:08 +01:00
Joachim Bauch f3ba485e9d
Merge pull request #423 from strukturag/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.0
build(deps): Bump github.com/golang-jwt/jwt/v4 from 4.4.3 to 4.5.0
2023-02-21 07:56:48 +01:00
dependabot[bot] f37b9b2fdd
build(deps): Bump github.com/golang-jwt/jwt/v4 from 4.4.3 to 4.5.0
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.3...v4.5.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 21:07:20 +00:00
Joachim Bauch 14876a92a8
Merge pull request #422 from strukturag/dependabot/go_modules/golang.org/x/net-0.7.0
build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0
2023-02-20 15:52:25 +01:00
Joachim Bauch 2f6e2ba87c
Allow internal clients to set / change the "inCall" flags. 2023-02-20 13:25:37 +01:00
Joachim Bauch 1997a8eecb
Add docs on internal clients. 2023-02-20 13:25:37 +01:00
dependabot[bot] 02892abcf4
build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-18 04:47:45 +00:00
Joachim Bauch 6f5f069b80
Merge pull request #417 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.53.0
build(deps): Bump google.golang.org/grpc from 1.52.3 to 1.53.0
2023-02-15 14:04:52 +01:00
Joachim Bauch 9b4e369393
Merge pull request #418 from strukturag/dependabot/pip/docs/sphinx-rtd-theme-1.2.0
build(deps): Bump sphinx-rtd-theme from 1.1.1 to 1.2.0 in /docs
2023-02-15 14:04:01 +01:00
dependabot[bot] 323b59f477
build(deps): Bump sphinx-rtd-theme from 1.1.1 to 1.2.0 in /docs
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 20:05:07 +00:00
dependabot[bot] 804d3d0b07
build(deps): Bump google.golang.org/grpc from 1.52.3 to 1.53.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.3 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.3...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 20:02:16 +00:00
Joachim Bauch d56e67387b
Merge pull request #415 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.14
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.9.11 to 2.9.14
2023-02-07 12:24:38 +01:00
dependabot[bot] a0bb6a04a0
build(deps): Bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.11 to 2.9.14.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.9.11...v2.9.14)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 09:09:35 +00:00
Joachim Bauch 955a623419
Merge pull request #416 from strukturag/golangci-fix
Explicitly use type "sysConn".
2023-02-07 10:06:37 +01:00
Joachim Bauch e1761da4a8
Explicitly use type "sysConn".
Fixes error with newer versions of golangci-lint.
2023-02-07 09:04:35 +01:00
Joachim Bauch 2df1dc467a
Merge pull request #410 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.52.3
build(deps): Bump google.golang.org/grpc from 1.52.1 to 1.52.3
2023-01-31 09:21:20 +01:00
Joachim Bauch 1bf860f9f1
Merge pull request #412 from strukturag/dependabot/github_actions/docker/build-push-action-4
build(deps): Bump docker/build-push-action from 3 to 4
2023-01-31 09:04:09 +01:00
Joachim Bauch 570baa78f4
Merge pull request #409 from strukturag/switchto-support
Implement "switchto" support
2023-01-31 08:53:28 +01:00
dependabot[bot] 44fe19f9e3
build(deps): Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 20:02:43 +00:00
Joachim Bauch bb24bf5f0d
Implement switchto messages. 2023-01-30 15:41:55 +01:00
dependabot[bot] 5266e58663
build(deps): Bump google.golang.org/grpc from 1.52.1 to 1.52.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.1 to 1.52.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.1...v1.52.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 20:03:14 +00:00
Joachim Bauch 69dfb0686f
API: Document switchto messages. 2023-01-26 16:57:37 +01:00
Joachim Bauch 1e1da6f8dd
Merge pull request #408 from strukturag/ci-docker-compose
CI: Update building with docker-compose
2023-01-26 08:32:39 +01:00
Joachim Bauch 42b18d5547
Add note on requiring docker-compose v2 to the readme. 2023-01-26 08:26:13 +01:00
Joachim Bauch 7d4ba11207
CI: Build with docker-compose 2.15.1 2023-01-26 08:23:53 +01:00
Joachim Bauch 7cf0bd8b88
Merge pull request #406 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.52.1
build(deps): Bump google.golang.org/grpc from 1.52.0 to 1.52.1
2023-01-26 08:03:30 +01:00
Joachim Bauch 335e280e62
Merge pull request #407 from strukturag/dependabot/pip/docs/readthedocs-sphinx-search-0.2.0
build(deps): Bump readthedocs-sphinx-search from 0.1.2 to 0.2.0 in /docs
2023-01-26 08:03:01 +01:00
Joachim Bauch 313dfa2c61
CI: Also run docker-compose jobs if Dockerfile is changed. 2023-01-26 08:02:17 +01:00
Joachim Bauch 50390ba1be
CI: Update condition when to run docker-compose jobs. 2023-01-26 07:59:20 +01:00
dependabot[bot] 1899628c1b
build(deps): Bump readthedocs-sphinx-search from 0.1.2 to 0.2.0 in /docs
Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.2 to 0.2.0.
- [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases)
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/commits)

---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 20:05:32 +00:00
dependabot[bot] 067a69bc12
build(deps): Bump google.golang.org/grpc from 1.52.0 to 1.52.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.52.0 to 1.52.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.52.0...v1.52.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 20:02:29 +00:00
Joachim Bauch efe1ef368f
Merge pull request #405 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-3.4.0
build(deps): Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0
2023-01-24 07:51:28 +01:00
dependabot[bot] 982ad47e95
build(deps): Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 20:03:58 +00:00
Joachim Bauch 10fa5f03b1
Merge pull request #404 from strukturag/dependabot/go_modules/go.etcd.io/etcd/server/v3-3.5.7
build(deps): Bump go.etcd.io/etcd/server/v3 from 3.5.6 to 3.5.7
2023-01-23 09:43:03 +01:00
dependabot[bot] b22d88df71
build(deps): Bump go.etcd.io/etcd/server/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/server/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/server/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 08:35:31 +00:00
Joachim Bauch 4943403cd7
Merge pull request #403 from strukturag/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.7
build(deps): Bump go.etcd.io/etcd/client/v3 from 3.5.6 to 3.5.7
2023-01-23 09:34:22 +01:00
dependabot[bot] 5c6ac999a6
build(deps): Bump go.etcd.io/etcd/client/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 08:26:02 +00:00
Joachim Bauch fa645ad2d3
Merge pull request #402 from strukturag/dependabot/go_modules/go.etcd.io/etcd/api/v3-3.5.7
build(deps): Bump go.etcd.io/etcd/api/v3 from 3.5.6 to 3.5.7
2023-01-23 09:10:21 +01:00
dependabot[bot] 1b13494c04
build(deps): Bump go.etcd.io/etcd/api/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/api/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/api/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 20:03:10 +00:00
Joachim Bauch fdfd627b43
Merge pull request #399 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.23.0
build(deps): Bump github.com/nats-io/nats.go from 1.22.1 to 1.23.0
2023-01-19 12:00:07 +01:00
Joachim Bauch be39cee1ea
Merge pull request #397 from strukturag/etcd-update-timeout
Test: add timeout while waiting for etcd event.
2023-01-19 11:59:37 +01:00
dependabot[bot] a9b32ea833
build(deps): Bump github.com/nats-io/nats.go from 1.22.1 to 1.23.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.22.1...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 20:03:08 +00:00
Joachim Bauch 86ee075a3b
Prevent endless loop in case of context timeout / cancellation. 2023-01-18 16:46:25 +01:00
Joachim Bauch 05b9f4d6c9
Always process initial joined / virtual session flags asynchronously.
Otherwise the ordering might be different as the initial messages could be
received before previous asynchronous messages.
2023-01-18 16:44:31 +01:00
Joachim Bauch 567183747a
Mark functions as test helpers. 2023-01-18 15:43:32 +01:00
Joachim Bauch f5261135d2
Fix error message to log what is actually expected. 2023-01-18 15:43:16 +01:00
Joachim Bauch b7f221705a
Close message channel before closing client.
Otherwise the call to "Close" might wait forever for the message processing
goroutine to finish.
2023-01-18 14:26:40 +01:00
Joachim Bauch 6395b87577
Test: log number of active read/write pumps in case of error.
Also dump goroutines to help tracking down what is blocking cleanup.
2023-01-18 14:26:40 +01:00
Joachim Bauch 89637c0a51
Test: add timeout while waiting for etcd event. 2023-01-17 15:41:51 +01:00
Joachim Bauch ef58f9087a
CI: Increase timeout for tests. 2023-01-17 15:15:00 +01:00