Skip to content

Commit

Permalink
remove tabs and spaces and rename BaseRegistryServiceTest to Registry…
Browse files Browse the repository at this point in the history
…ServiceTest

Also-by: Matthias Feurer [email protected]
Signed-off-by: g.dimitropoulos <[email protected]>
  • Loading branch information
gdimitropoulos-sotec committed Jul 28, 2023
1 parent 550940c commit fc33987
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import io.vertx.junit5.VertxTestContext;

@ExtendWith(VertxExtension.class)
class BaseRegistryServiceTest extends AbstractJdbcRegistryTest {
class RegistryServiceTest extends AbstractJdbcRegistryTest {

private static final String DEFAULT_TENANT = "default";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ Future<Void> createDevices(final String tenantId, final Map<String, Device> devi
}

/**
* Verifies that a request to search devices fails with a {@value HttpURLConnection#HTTP_NOT_FOUND}
* when no matching devices are found.
* Verifies that a request to search devices fails with a {@value HttpURLConnection#HTTP_NOT_FOUND} when no matching
* devices are found.
*
* @param ctx The vert.x test context.
*/
Expand All @@ -83,8 +83,8 @@ void testSearchDevicesWhenNoDevicesAreFound(final VertxTestContext ctx) {
}

/**
* Verifies that a request to search devices with valid pageSize succeeds and the result is in accordance
* with the specified page size.
* Verifies that a request to search devices with valid pageSize succeeds and the result is in accordance with the
* specified page size.
*
* @param ctx The vert.x test context.
*/
Expand Down
4 changes: 1 addition & 3 deletions site/documentation/content/user-guide/device-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,14 @@ The tenants in the registry can be managed using the Device Registry Management
[tenant related resources]({{< relref "/api/management#tenants" >}}).

{{% notice info %}}

The JDBC based registry implementation does not support the following features:

* Tenants can be retrieved using the [search tenants]({{< relref "/api/management#tenants/searchTenants" >}})
operation defined by the Device Registry Management API, but the *filterJson* and *sortJson* query parameters are
(currently) being ignored. The result set will always be sorted by the tenant Id in ascending order.
* The *alias* and *trust-anchor-group* properties defined on a tenant are being ignored by the registry. Consequently,
multiple tenants can not be configured to use the same trust anchor(s).

* {{% /notice %}}
{{% /notice %}}

#### Registering a Certificate Authority

Expand Down

0 comments on commit fc33987

Please sign in to comment.