kikocis/dataspace-portal public
Changesets · Branches · Tags · Compare
| Changeset | 2b1facebe46ed7b69132e14688b6fce4cccc5590c54860eb41a6d91097a57166 |
|---|---|
| Author | PaddseL <patrick.schauer@sovity.de> · 2024-12-10 14:30 +01:00 |
| Committer | GitHub <noreply@github.com> · 2024-12-10 14:30 +01:00 |
| Parents | d0dea3578ccf |
4 files changed
modified CHANGELOG.md +1 −0
| @@ -30,6 +30,7 @@ | ||
| 30 | 30 | - Fixed an issue wherein it was possible to bypass the CaaS request limit in an organization ([PR #384](https://github.com/sovity/authority-portal/pull/384)) |
| 31 | 31 | - Fixed an issue wherein a user registration could fail due to a mismatch of the internal database and the Keycloak database |
| 32 | 32 | - Fixed an issue where entries in the connector overview would randomly switch places ([PR #386](https://github.com/sovity/authority-portal/pull/386)) |
| 33 | +- Changed Client ID generation for Connectors & Central Components ([#327](https://github.com/sovity/authority-portal/issues/327)) | |
| 33 | 34 | |
| 34 | 35 | ### Known issues |
| 35 | 36 |
modified authority-portal-backend/authority-portal-quarkus/src/main/kotlin/de/sovity/authorityportal/web/utils/idmanagement/ClientIdUtils.kt +0 −2
| @@ -26,8 +26,6 @@ | ||
| 26 | 26 | |
| 27 | 27 | fun generateFromConnectorId(connectorId: String): String { |
| 28 | 28 | return connectorId |
| 29 | - .replace(".", "-") | |
| 30 | - .lowercase(Locale.getDefault()) | |
| 31 | 29 | } |
| 32 | 30 | |
| 33 | 31 | fun exists(clientId: String): Boolean { |
modified authority-portal-backend/authority-portal-quarkus/src/test/kotlin/de/sovity/authorityportal/web/tests/services/connector/CaasManagementApiServiceTest.kt +1 −0
| @@ -154,6 +154,7 @@ | ||
| 154 | 154 | .withOffsetDateTimeComparator() |
| 155 | 155 | .withStrictTypeChecking() |
| 156 | 156 | .isEqualTo(expected.copy()) |
| 157 | + assertThat(actual.connectorId).isEqualTo(actual.clientId) | |
| 157 | 158 | } |
| 158 | 159 | |
| 159 | 160 | @Test |
modified authority-portal-backend/authority-portal-quarkus/src/test/kotlin/de/sovity/authorityportal/web/tests/services/connector/ConnectorManagementApiServiceTest.kt +1 −0
| @@ -547,6 +547,7 @@ | ||
| 547 | 547 | .withOffsetDateTimeComparator() |
| 548 | 548 | .withStrictTypeChecking() |
| 549 | 549 | .isEqualTo(expected.copy()) |
| 550 | + assertThat(actual.connectorId).isEqualTo(actual.clientId) | |
| 550 | 551 | } |
| 551 | 552 | |
| 552 | 553 | @Test |