Skip to content

Commit 6bc11ce

Browse files
committed
dev: Update CHANGELOG
1 parent fa95204 commit 6bc11ce

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ For details about compatibility between different releases, see the **Commitment
1111

1212
### Added
1313

14+
- `Count` RPC on `EndDeviceRegistry` to efficiently retrieve the number of end devices in an application.
1415
- Add tracing for LBS LNS and TTIGW protocol handlers.
1516
- TTGC LBS Root CUPS claiming support.
1617
- Configurable Identity Server user login session TTL via `is.user-login.session-ttl`:

pkg/identityserver/end_device_registry_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ func TestEndDevicesCount(t *testing.T) {
289289
testWithIdentityServer(t, func(_ *IdentityServer, cc *grpc.ClientConn) {
290290
reg := ttnpb.NewEndDeviceRegistryClient(cc)
291291

292-
t.Run("Permission denied without credentials", func(t *testing.T) { // nolint:paralleltest
292+
t.Run("Permission denied without credentials", func(_ *testing.T) { // nolint:paralleltest
293293
_, err := reg.Count(ctx, &ttnpb.CountEndDevicesRequest{
294294
ApplicationIds: app1.GetIds(),
295295
})
@@ -298,7 +298,7 @@ func TestEndDevicesCount(t *testing.T) {
298298
}
299299
})
300300

301-
t.Run("Count with read credentials", func(t *testing.T) { // nolint:paralleltest
301+
t.Run("Count with read credentials", func(_ *testing.T) { // nolint:paralleltest
302302
resp, err := reg.Count(ctx, &ttnpb.CountEndDevicesRequest{
303303
ApplicationIds: app1.GetIds(),
304304
}, readCreds)
@@ -307,7 +307,7 @@ func TestEndDevicesCount(t *testing.T) {
307307
}
308308
})
309309

310-
t.Run("Count after adding a device", func(t *testing.T) { // nolint:paralleltest
310+
t.Run("Count after adding a device", func(_ *testing.T) { // nolint:paralleltest
311311
_, err := reg.Create(ctx, &ttnpb.CreateEndDeviceRequest{
312312
EndDevice: &ttnpb.EndDevice{
313313
Ids: &ttnpb.EndDeviceIdentifiers{
@@ -326,7 +326,7 @@ func TestEndDevicesCount(t *testing.T) {
326326
}
327327
})
328328

329-
t.Run("Count after deleting a device", func(t *testing.T) { // nolint:paralleltest
329+
t.Run("Count after deleting a device", func(_ *testing.T) { // nolint:paralleltest
330330
_, err := reg.Delete(ctx, &ttnpb.EndDeviceIdentifiers{
331331
ApplicationIds: app1.GetIds(),
332332
DeviceId: "count-test-dev",
@@ -341,7 +341,7 @@ func TestEndDevicesCount(t *testing.T) {
341341
}
342342
})
343343

344-
t.Run("Count with updated_since filter", func(t *testing.T) { // nolint:paralleltest
344+
t.Run("Count with updated_since filter", func(_ *testing.T) { // nolint:paralleltest
345345
// Filter by 1 hour ago - all devices should match.
346346
resp, err := reg.Count(ctx, &ttnpb.CountEndDevicesRequest{
347347
ApplicationIds: app1.GetIds(),

0 commit comments

Comments
 (0)