From 887f6916253b38389357e3be05ae9c361b390058 Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Fri, 2 Feb 2024 10:34:11 +0100 Subject: [PATCH] feat: migration tkit.org (#11) --- pom.xml | 24 +++++++++---------- .../permission/common/models/TokenConfig.java | 2 +- .../common/services/ClaimService.java | 4 ++-- .../common/services/TokenService.java | 4 ++-- .../criteria/ApplicationSearchCriteria.java | 2 +- .../criteria/AssignmentSearchCriteria.java | 2 +- .../criteria/PermissionSearchCriteria.java | 2 +- .../domain/criteria/RoleSearchCriteria.java | 2 +- .../WorkspaceAssignmentSearchCriteria.java | 2 +- .../WorkspacePermissionSearchCriteria.java | 2 +- .../domain/daos/ApplicationDAO.java | 7 +++--- .../permission/domain/daos/AssignmentDAO.java | 11 ++++----- .../permission/domain/daos/PermissionDAO.java | 7 +++--- .../onecx/permission/domain/daos/RoleDAO.java | 9 ++++--- .../domain/daos/WorkspaceAssignmentDAO.java | 7 +++--- .../domain/daos/WorkspacePermissionDAO.java | 7 +++--- .../domain/di/PermissionDataImportV1.java | 4 ++-- .../domain/di/PermissionImportService.java | 14 +++++------ .../domain/di/mappers/DataImportV1Mapper.java | 8 +++---- .../permission/domain/models/Application.java | 2 +- .../permission/domain/models/Assignment.java | 2 +- .../permission/domain/models/Permission.java | 2 +- .../onecx/permission/domain/models/Role.java | 2 +- .../domain/models/WorkspaceAssignment.java | 2 +- .../domain/models/WorkspacePermission.java | 2 +- .../controllers/PermissionRestController.java | 18 +++++++------- .../external/v1/mappers/ExceptionMapper.java | 8 +++---- .../external/v1/mappers/PermissionMapper.java | 12 +++++----- .../ApplicationRestController.java | 14 +++++------ .../controllers/AssignmentRestController.java | 20 ++++++++-------- .../controllers/PermissionRestController.java | 14 +++++------ .../controllers/RoleRestController.java | 18 +++++++------- .../WorkspaceAssignmentRestController.java | 20 ++++++++-------- .../WorkspacePermissionRestController.java | 18 +++++++------- .../rs/internal/log/InternalLogParam.java | 4 ++-- .../internal/mappers/ApplicationMapper.java | 8 +++---- .../rs/internal/mappers/AssignmentMapper.java | 16 ++++++------- .../rs/internal/mappers/ExceptionMapper.java | 8 +++---- .../rs/internal/mappers/PermissionMapper.java | 12 +++++----- .../rs/internal/mappers/RoleMapper.java | 8 +++---- .../mappers/WorkspaceAssignmentMapper.java | 12 +++++----- .../mappers/WorkspacePermissionMapper.java | 8 +++---- .../controllers/OperatorRestController.java | 18 +++++++------- .../rs/operator/v1/log/OperatorLogParam.java | 4 ++-- .../operator/v1/mappers/ExceptionMapper.java | 8 +++---- .../v1/mappers/OperatorPermissionMapper.java | 10 ++++---- .../AfterStartPermissionDataImportTest.java | 6 ++--- .../common/services/ClaimServiceTest.java | 4 ++-- .../domain/daos/AbstractDAOTest.java | 4 ++-- .../domain/daos/ApplicationDAOTest.java | 2 +- .../domain/daos/AssignmentDAOTest.java | 2 +- .../domain/daos/PermissionDAOTest.java | 2 +- .../permission/domain/daos/RoleDAOTest.java | 2 +- .../daos/WorkspaceAssignmentDAOTest.java | 2 +- .../daos/WorkspacePermissionDAOTest.java | 2 +- .../di/PermissionDataImportServiceTest.java | 12 +++++----- .../PermissionRestControllerTenantTest.java | 8 +++---- .../PermissionRestControllerTenantTestIT.java | 2 +- .../v1/PermissionRestControllerTest.java | 10 ++++---- .../v1/PermissionRestControllerTestIT.java | 2 +- .../ApplicationRestControllerTest.java | 8 +++---- .../ApplicationRestControllerTestIT.java | 2 +- .../AssignmentRestControllerTest.java | 8 +++---- .../AssignmentRestControllerTestIT.java | 2 +- ...PermissionRestControllerExceptionTest.java | 8 +++---- .../PermissionRestControllerTest.java | 12 +++++----- .../PermissionRestControllerTestIT.java | 2 +- .../controllers/RoleRestControllerTest.java | 8 +++---- .../controllers/RoleRestControllerTestIT.java | 2 +- ...WorkspaceAssignmentRestControllerTest.java | 8 +++---- ...rkspaceAssignmentRestControllerTestIT.java | 2 +- ...WorkspacePermissionRestControllerTest.java | 8 +++---- ...rkspacePermissionRestControllerTestIT.java | 2 +- .../OperatorRestControllerTest.java | 12 +++++----- .../OperatorRestControllerTestIT.java | 2 +- .../onecx/permission/test/AbstractTest.java | 4 ++-- 76 files changed, 267 insertions(+), 273 deletions(-) rename src/main/java/{io/github => org/tkit}/onecx/permission/common/models/TokenConfig.java (93%) rename src/main/java/{io/github => org/tkit}/onecx/permission/common/services/ClaimService.java (88%) rename src/main/java/{io/github => org/tkit}/onecx/permission/common/services/TokenService.java (92%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/criteria/ApplicationSearchCriteria.java (80%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/criteria/AssignmentSearchCriteria.java (78%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/criteria/PermissionSearchCriteria.java (78%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/criteria/RoleSearchCriteria.java (80%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java (80%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java (80%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/daos/ApplicationDAO.java (92%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/daos/AssignmentDAO.java (89%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/daos/PermissionDAO.java (95%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/daos/RoleDAO.java (91%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java (93%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/daos/WorkspacePermissionDAO.java (95%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/di/PermissionDataImportV1.java (96%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/di/PermissionImportService.java (88%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/di/mappers/DataImportV1Mapper.java (96%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/models/Application.java (92%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/models/Assignment.java (95%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/models/Permission.java (94%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/models/Role.java (93%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/models/WorkspaceAssignment.java (95%) rename src/main/java/{io/github => org/tkit}/onecx/permission/domain/models/WorkspacePermission.java (95%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/controllers/PermissionRestController.java (77%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java (86%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/mappers/PermissionMapper.java (84%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/ApplicationRestController.java (67%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/AssignmentRestController.java (79%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/PermissionRestController.java (67%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/RoleRestController.java (80%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java (78%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java (79%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/log/InternalLogParam.java (94%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/ApplicationMapper.java (65%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/AssignmentMapper.java (67%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/ExceptionMapper.java (89%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/PermissionMapper.java (52%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/RoleMapper.java (86%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java (75%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java (87%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java (79%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/operator/v1/log/OperatorLogParam.java (72%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java (88%) rename src/main/java/{io/github => org/tkit}/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java (86%) rename src/test/java/{io/github => org/tkit}/onecx/permission/AfterStartPermissionDataImportTest.java (93%) rename src/test/java/{io/github => org/tkit}/onecx/permission/common/services/ClaimServiceTest.java (82%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/AbstractDAOTest.java (87%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/ApplicationDAOTest.java (92%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/AssignmentDAOTest.java (92%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/PermissionDAOTest.java (94%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/RoleDAOTest.java (91%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java (92%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java (94%) rename src/test/java/{io/github => org/tkit}/onecx/permission/domain/di/PermissionDataImportServiceTest.java (93%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java (94%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java (76%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/PermissionRestControllerTest.java (93%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java (75%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java (92%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java (72%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java (96%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java (72%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java (85%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java (87%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java (72%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java (97%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java (70%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java (96%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java (74%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java (97%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java (74%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java (91%) rename src/test/java/{io/github => org/tkit}/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java (70%) rename src/test/java/{io/github => org/tkit}/onecx/permission/test/AbstractTest.java (96%) diff --git a/pom.xml b/pom.xml index 30b8860..0c240ab 100644 --- a/pom.xml +++ b/pom.xml @@ -5,9 +5,9 @@ 4.0.0 - io.github.onecx + org.tkit.onecx onecx-quarkus3-parent - 0.29.0 + 0.31.0 onecx-permission-svc @@ -15,11 +15,11 @@ - io.github.onecx.quarkus + org.tkit.onecx.quarkus onecx-core - io.github.onecx.quarkus + org.tkit.onecx.quarkus onecx-tenant @@ -190,8 +190,8 @@ src/main/openapi/onecx-permission-di-v1.yaml - gen.io.github.onecx.permission.domain.di.v1 - gen.io.github.onecx.permission.domain.di.v1.model + gen.org.tkit.onecx.permission.domain.di.v1 + gen.org.tkit.onecx.permission.domain.di.v1.model DTOV1 false @@ -203,8 +203,8 @@ src/main/openapi/onecx-permission-internal-openapi.yaml - gen.io.github.onecx.permission.rs.internal - gen.io.github.onecx.permission.rs.internal.model + gen.org.tkit.onecx.permission.rs.internal + gen.org.tkit.onecx.permission.rs.internal.model DTO @@ -215,8 +215,8 @@ src/main/openapi/onecx-permission-operator-v1.yaml - gen.io.github.onecx.permission.rs.operator.v1 - gen.io.github.onecx.permission.rs.operator.v1.model + gen.org.tkit.onecx.permission.rs.operator.v1 + gen.org.tkit.onecx.permission.rs.operator.v1.model DTOV1 @@ -227,8 +227,8 @@ src/main/openapi/onecx-permission-v1.yaml - gen.io.github.onecx.permission.rs.external.v1 - gen.io.github.onecx.permission.rs.external.v1.model + gen.org.tkit.onecx.permission.rs.external.v1 + gen.org.tkit.onecx.permission.rs.external.v1.model DTOV1 ApiV1 diff --git a/src/main/java/io/github/onecx/permission/common/models/TokenConfig.java b/src/main/java/org/tkit/onecx/permission/common/models/TokenConfig.java similarity index 93% rename from src/main/java/io/github/onecx/permission/common/models/TokenConfig.java rename to src/main/java/org/tkit/onecx/permission/common/models/TokenConfig.java index 277726d..2b3a6be 100644 --- a/src/main/java/io/github/onecx/permission/common/models/TokenConfig.java +++ b/src/main/java/org/tkit/onecx/permission/common/models/TokenConfig.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.common.models; +package org.tkit.onecx.permission.common.models; import java.util.Optional; diff --git a/src/main/java/io/github/onecx/permission/common/services/ClaimService.java b/src/main/java/org/tkit/onecx/permission/common/services/ClaimService.java similarity index 88% rename from src/main/java/io/github/onecx/permission/common/services/ClaimService.java rename to src/main/java/org/tkit/onecx/permission/common/services/ClaimService.java index 19eea53..40aeb93 100644 --- a/src/main/java/io/github/onecx/permission/common/services/ClaimService.java +++ b/src/main/java/org/tkit/onecx/permission/common/services/ClaimService.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.common.services; +package org.tkit.onecx.permission.common.services; import java.util.regex.Pattern; @@ -6,7 +6,7 @@ import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; -import io.github.onecx.permission.common.models.TokenConfig; +import org.tkit.onecx.permission.common.models.TokenConfig; @ApplicationScoped public class ClaimService { diff --git a/src/main/java/io/github/onecx/permission/common/services/TokenService.java b/src/main/java/org/tkit/onecx/permission/common/services/TokenService.java similarity index 92% rename from src/main/java/io/github/onecx/permission/common/services/TokenService.java rename to src/main/java/org/tkit/onecx/permission/common/services/TokenService.java index 5407950..70b8412 100644 --- a/src/main/java/io/github/onecx/permission/common/services/TokenService.java +++ b/src/main/java/org/tkit/onecx/permission/common/services/TokenService.java @@ -1,15 +1,15 @@ -package io.github.onecx.permission.common.services; +package org.tkit.onecx.permission.common.services; import java.util.List; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; +import org.tkit.onecx.permission.common.models.TokenConfig; import org.tkit.quarkus.rs.context.token.TokenClaimUtility; import org.tkit.quarkus.rs.context.token.TokenParserRequest; import org.tkit.quarkus.rs.context.token.TokenParserService; -import io.github.onecx.permission.common.models.TokenConfig; import lombok.extern.slf4j.Slf4j; @Slf4j diff --git a/src/main/java/io/github/onecx/permission/domain/criteria/ApplicationSearchCriteria.java b/src/main/java/org/tkit/onecx/permission/domain/criteria/ApplicationSearchCriteria.java similarity index 80% rename from src/main/java/io/github/onecx/permission/domain/criteria/ApplicationSearchCriteria.java rename to src/main/java/org/tkit/onecx/permission/domain/criteria/ApplicationSearchCriteria.java index 3fc9832..ee510fc 100644 --- a/src/main/java/io/github/onecx/permission/domain/criteria/ApplicationSearchCriteria.java +++ b/src/main/java/org/tkit/onecx/permission/domain/criteria/ApplicationSearchCriteria.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.criteria; +package org.tkit.onecx.permission.domain.criteria; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/io/github/onecx/permission/domain/criteria/AssignmentSearchCriteria.java b/src/main/java/org/tkit/onecx/permission/domain/criteria/AssignmentSearchCriteria.java similarity index 78% rename from src/main/java/io/github/onecx/permission/domain/criteria/AssignmentSearchCriteria.java rename to src/main/java/org/tkit/onecx/permission/domain/criteria/AssignmentSearchCriteria.java index 2a9bfab..1595f59 100644 --- a/src/main/java/io/github/onecx/permission/domain/criteria/AssignmentSearchCriteria.java +++ b/src/main/java/org/tkit/onecx/permission/domain/criteria/AssignmentSearchCriteria.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.criteria; +package org.tkit.onecx.permission.domain.criteria; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/io/github/onecx/permission/domain/criteria/PermissionSearchCriteria.java b/src/main/java/org/tkit/onecx/permission/domain/criteria/PermissionSearchCriteria.java similarity index 78% rename from src/main/java/io/github/onecx/permission/domain/criteria/PermissionSearchCriteria.java rename to src/main/java/org/tkit/onecx/permission/domain/criteria/PermissionSearchCriteria.java index f7bca5a..a912317 100644 --- a/src/main/java/io/github/onecx/permission/domain/criteria/PermissionSearchCriteria.java +++ b/src/main/java/org/tkit/onecx/permission/domain/criteria/PermissionSearchCriteria.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.criteria; +package org.tkit.onecx.permission.domain.criteria; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/io/github/onecx/permission/domain/criteria/RoleSearchCriteria.java b/src/main/java/org/tkit/onecx/permission/domain/criteria/RoleSearchCriteria.java similarity index 80% rename from src/main/java/io/github/onecx/permission/domain/criteria/RoleSearchCriteria.java rename to src/main/java/org/tkit/onecx/permission/domain/criteria/RoleSearchCriteria.java index 90dd3fa..be8a760 100644 --- a/src/main/java/io/github/onecx/permission/domain/criteria/RoleSearchCriteria.java +++ b/src/main/java/org/tkit/onecx/permission/domain/criteria/RoleSearchCriteria.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.criteria; +package org.tkit.onecx.permission.domain.criteria; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/io/github/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java b/src/main/java/org/tkit/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java similarity index 80% rename from src/main/java/io/github/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java rename to src/main/java/org/tkit/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java index bf4ca66..4594664 100644 --- a/src/main/java/io/github/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java +++ b/src/main/java/org/tkit/onecx/permission/domain/criteria/WorkspaceAssignmentSearchCriteria.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.criteria; +package org.tkit.onecx.permission.domain.criteria; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/io/github/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java b/src/main/java/org/tkit/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java similarity index 80% rename from src/main/java/io/github/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java rename to src/main/java/org/tkit/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java index 852861a..1b0aac0 100644 --- a/src/main/java/io/github/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java +++ b/src/main/java/org/tkit/onecx/permission/domain/criteria/WorkspacePermissionSearchCriteria.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.criteria; +package org.tkit.onecx.permission.domain.criteria; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/io/github/onecx/permission/domain/daos/ApplicationDAO.java b/src/main/java/org/tkit/onecx/permission/domain/daos/ApplicationDAO.java similarity index 92% rename from src/main/java/io/github/onecx/permission/domain/daos/ApplicationDAO.java rename to src/main/java/org/tkit/onecx/permission/domain/daos/ApplicationDAO.java index e147881..c77c0ac 100644 --- a/src/main/java/io/github/onecx/permission/domain/daos/ApplicationDAO.java +++ b/src/main/java/org/tkit/onecx/permission/domain/daos/ApplicationDAO.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import static org.tkit.quarkus.jpa.utils.QueryCriteriaUtil.addSearchStringPredicate; @@ -10,14 +10,13 @@ import jakarta.persistence.criteria.Predicate; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.criteria.ApplicationSearchCriteria; +import org.tkit.onecx.permission.domain.models.*; import org.tkit.quarkus.jpa.daos.AbstractDAO; import org.tkit.quarkus.jpa.daos.Page; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.jpa.exceptions.DAOException; -import io.github.onecx.permission.domain.criteria.ApplicationSearchCriteria; -import io.github.onecx.permission.domain.models.*; - @ApplicationScoped public class ApplicationDAO extends AbstractDAO { diff --git a/src/main/java/io/github/onecx/permission/domain/daos/AssignmentDAO.java b/src/main/java/org/tkit/onecx/permission/domain/daos/AssignmentDAO.java similarity index 89% rename from src/main/java/io/github/onecx/permission/domain/daos/AssignmentDAO.java rename to src/main/java/org/tkit/onecx/permission/domain/daos/AssignmentDAO.java index 7ba9bbf..e27b335 100644 --- a/src/main/java/io/github/onecx/permission/domain/daos/AssignmentDAO.java +++ b/src/main/java/org/tkit/onecx/permission/domain/daos/AssignmentDAO.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import static org.tkit.quarkus.jpa.utils.QueryCriteriaUtil.addSearchStringPredicate; @@ -10,6 +10,10 @@ import jakarta.persistence.criteria.Predicate; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.criteria.AssignmentSearchCriteria; +import org.tkit.onecx.permission.domain.models.Assignment; +import org.tkit.onecx.permission.domain.models.Assignment_; +import org.tkit.onecx.permission.domain.models.Permission_; import org.tkit.quarkus.jpa.daos.AbstractDAO; import org.tkit.quarkus.jpa.daos.Page; import org.tkit.quarkus.jpa.daos.PageResult; @@ -17,11 +21,6 @@ import org.tkit.quarkus.jpa.models.AbstractTraceableEntity_; import org.tkit.quarkus.jpa.models.TraceableEntity_; -import io.github.onecx.permission.domain.criteria.AssignmentSearchCriteria; -import io.github.onecx.permission.domain.models.Assignment; -import io.github.onecx.permission.domain.models.Assignment_; -import io.github.onecx.permission.domain.models.Permission_; - @ApplicationScoped public class AssignmentDAO extends AbstractDAO { diff --git a/src/main/java/io/github/onecx/permission/domain/daos/PermissionDAO.java b/src/main/java/org/tkit/onecx/permission/domain/daos/PermissionDAO.java similarity index 95% rename from src/main/java/io/github/onecx/permission/domain/daos/PermissionDAO.java rename to src/main/java/org/tkit/onecx/permission/domain/daos/PermissionDAO.java index 5b8ee44..6af98d7 100644 --- a/src/main/java/io/github/onecx/permission/domain/daos/PermissionDAO.java +++ b/src/main/java/org/tkit/onecx/permission/domain/daos/PermissionDAO.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import static org.tkit.quarkus.jpa.utils.QueryCriteriaUtil.addSearchStringPredicate; @@ -10,15 +10,14 @@ import jakarta.persistence.criteria.Subquery; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.criteria.PermissionSearchCriteria; +import org.tkit.onecx.permission.domain.models.*; import org.tkit.quarkus.jpa.daos.AbstractDAO; import org.tkit.quarkus.jpa.daos.Page; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.jpa.exceptions.DAOException; import org.tkit.quarkus.jpa.models.TraceableEntity_; -import io.github.onecx.permission.domain.criteria.PermissionSearchCriteria; -import io.github.onecx.permission.domain.models.*; - @ApplicationScoped public class PermissionDAO extends AbstractDAO { diff --git a/src/main/java/io/github/onecx/permission/domain/daos/RoleDAO.java b/src/main/java/org/tkit/onecx/permission/domain/daos/RoleDAO.java similarity index 91% rename from src/main/java/io/github/onecx/permission/domain/daos/RoleDAO.java rename to src/main/java/org/tkit/onecx/permission/domain/daos/RoleDAO.java index e3a6de1..29200b3 100644 --- a/src/main/java/io/github/onecx/permission/domain/daos/RoleDAO.java +++ b/src/main/java/org/tkit/onecx/permission/domain/daos/RoleDAO.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import static org.tkit.quarkus.jpa.utils.QueryCriteriaUtil.addSearchStringPredicate; @@ -10,16 +10,15 @@ import jakarta.persistence.criteria.Predicate; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.criteria.RoleSearchCriteria; +import org.tkit.onecx.permission.domain.models.Role; +import org.tkit.onecx.permission.domain.models.Role_; import org.tkit.quarkus.jpa.daos.AbstractDAO; import org.tkit.quarkus.jpa.daos.Page; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.jpa.exceptions.DAOException; import org.tkit.quarkus.jpa.models.TraceableEntity_; -import io.github.onecx.permission.domain.criteria.RoleSearchCriteria; -import io.github.onecx.permission.domain.models.Role; -import io.github.onecx.permission.domain.models.Role_; - @ApplicationScoped public class RoleDAO extends AbstractDAO { diff --git a/src/main/java/io/github/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java b/src/main/java/org/tkit/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java similarity index 93% rename from src/main/java/io/github/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java rename to src/main/java/org/tkit/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java index 37e20cc..ff20e1e 100644 --- a/src/main/java/io/github/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java +++ b/src/main/java/org/tkit/onecx/permission/domain/daos/WorkspaceAssignmentDAO.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import static org.tkit.quarkus.jpa.utils.QueryCriteriaUtil.addSearchStringPredicate; @@ -10,6 +10,8 @@ import jakarta.persistence.criteria.Predicate; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.criteria.WorkspaceAssignmentSearchCriteria; +import org.tkit.onecx.permission.domain.models.*; import org.tkit.quarkus.jpa.daos.AbstractDAO; import org.tkit.quarkus.jpa.daos.Page; import org.tkit.quarkus.jpa.daos.PageResult; @@ -17,9 +19,6 @@ import org.tkit.quarkus.jpa.models.AbstractTraceableEntity_; import org.tkit.quarkus.jpa.models.TraceableEntity_; -import io.github.onecx.permission.domain.criteria.WorkspaceAssignmentSearchCriteria; -import io.github.onecx.permission.domain.models.*; - @ApplicationScoped public class WorkspaceAssignmentDAO extends AbstractDAO { diff --git a/src/main/java/io/github/onecx/permission/domain/daos/WorkspacePermissionDAO.java b/src/main/java/org/tkit/onecx/permission/domain/daos/WorkspacePermissionDAO.java similarity index 95% rename from src/main/java/io/github/onecx/permission/domain/daos/WorkspacePermissionDAO.java rename to src/main/java/org/tkit/onecx/permission/domain/daos/WorkspacePermissionDAO.java index a3ef560..4edfbc0 100644 --- a/src/main/java/io/github/onecx/permission/domain/daos/WorkspacePermissionDAO.java +++ b/src/main/java/org/tkit/onecx/permission/domain/daos/WorkspacePermissionDAO.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import static org.tkit.quarkus.jpa.utils.QueryCriteriaUtil.addSearchStringPredicate; @@ -11,15 +11,14 @@ import jakarta.persistence.criteria.Subquery; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.criteria.WorkspacePermissionSearchCriteria; +import org.tkit.onecx.permission.domain.models.*; import org.tkit.quarkus.jpa.daos.AbstractDAO; import org.tkit.quarkus.jpa.daos.Page; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.jpa.exceptions.DAOException; import org.tkit.quarkus.jpa.models.TraceableEntity_; -import io.github.onecx.permission.domain.criteria.WorkspacePermissionSearchCriteria; -import io.github.onecx.permission.domain.models.*; - @ApplicationScoped public class WorkspacePermissionDAO extends AbstractDAO { diff --git a/src/main/java/io/github/onecx/permission/domain/di/PermissionDataImportV1.java b/src/main/java/org/tkit/onecx/permission/domain/di/PermissionDataImportV1.java similarity index 96% rename from src/main/java/io/github/onecx/permission/domain/di/PermissionDataImportV1.java rename to src/main/java/org/tkit/onecx/permission/domain/di/PermissionDataImportV1.java index b980c98..5feb603 100644 --- a/src/main/java/io/github/onecx/permission/domain/di/PermissionDataImportV1.java +++ b/src/main/java/org/tkit/onecx/permission/domain/di/PermissionDataImportV1.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.di; +package org.tkit.onecx.permission.domain.di; import java.util.function.Consumer; @@ -12,7 +12,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportDTOV1; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportDTOV1; @DataImport("permission") public class PermissionDataImportV1 implements DataImportService { diff --git a/src/main/java/io/github/onecx/permission/domain/di/PermissionImportService.java b/src/main/java/org/tkit/onecx/permission/domain/di/PermissionImportService.java similarity index 88% rename from src/main/java/io/github/onecx/permission/domain/di/PermissionImportService.java rename to src/main/java/org/tkit/onecx/permission/domain/di/PermissionImportService.java index 97c50a3..85c2b58 100644 --- a/src/main/java/io/github/onecx/permission/domain/di/PermissionImportService.java +++ b/src/main/java/org/tkit/onecx/permission/domain/di/PermissionImportService.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.di; +package org.tkit.onecx.permission.domain.di; import java.util.Map; import java.util.stream.Collectors; @@ -7,15 +7,15 @@ import jakarta.inject.Inject; import jakarta.transaction.Transactional; +import org.tkit.onecx.permission.domain.daos.*; +import org.tkit.onecx.permission.domain.di.mappers.DataImportV1Mapper; +import org.tkit.onecx.permission.domain.models.Permission; +import org.tkit.onecx.permission.domain.models.Role; import org.tkit.quarkus.context.ApplicationContext; import org.tkit.quarkus.context.Context; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportApplicationWrapperValueDTOV1; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportTenantWrapperDTOV1; -import io.github.onecx.permission.domain.daos.*; -import io.github.onecx.permission.domain.di.mappers.DataImportV1Mapper; -import io.github.onecx.permission.domain.models.Permission; -import io.github.onecx.permission.domain.models.Role; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportApplicationWrapperValueDTOV1; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportTenantWrapperDTOV1; @ApplicationScoped public class PermissionImportService { diff --git a/src/main/java/io/github/onecx/permission/domain/di/mappers/DataImportV1Mapper.java b/src/main/java/org/tkit/onecx/permission/domain/di/mappers/DataImportV1Mapper.java similarity index 96% rename from src/main/java/io/github/onecx/permission/domain/di/mappers/DataImportV1Mapper.java rename to src/main/java/org/tkit/onecx/permission/domain/di/mappers/DataImportV1Mapper.java index 9f08668..2a3ea55 100644 --- a/src/main/java/io/github/onecx/permission/domain/di/mappers/DataImportV1Mapper.java +++ b/src/main/java/org/tkit/onecx/permission/domain/di/mappers/DataImportV1Mapper.java @@ -1,12 +1,12 @@ -package io.github.onecx.permission.domain.di.mappers; +package org.tkit.onecx.permission.domain.di.mappers; import java.util.*; import org.mapstruct.*; +import org.tkit.onecx.permission.domain.models.*; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportApplicationWrapperValueDTOV1; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportRoleDTOV1; -import io.github.onecx.permission.domain.models.*; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportApplicationWrapperValueDTOV1; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportRoleDTOV1; @Mapper public interface DataImportV1Mapper { diff --git a/src/main/java/io/github/onecx/permission/domain/models/Application.java b/src/main/java/org/tkit/onecx/permission/domain/models/Application.java similarity index 92% rename from src/main/java/io/github/onecx/permission/domain/models/Application.java rename to src/main/java/org/tkit/onecx/permission/domain/models/Application.java index 66e2853..ee08774 100644 --- a/src/main/java/io/github/onecx/permission/domain/models/Application.java +++ b/src/main/java/org/tkit/onecx/permission/domain/models/Application.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.models; +package org.tkit.onecx.permission.domain.models; import jakarta.persistence.*; diff --git a/src/main/java/io/github/onecx/permission/domain/models/Assignment.java b/src/main/java/org/tkit/onecx/permission/domain/models/Assignment.java similarity index 95% rename from src/main/java/io/github/onecx/permission/domain/models/Assignment.java rename to src/main/java/org/tkit/onecx/permission/domain/models/Assignment.java index 85c013a..9071774 100644 --- a/src/main/java/io/github/onecx/permission/domain/models/Assignment.java +++ b/src/main/java/org/tkit/onecx/permission/domain/models/Assignment.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.models; +package org.tkit.onecx.permission.domain.models; import jakarta.persistence.*; diff --git a/src/main/java/io/github/onecx/permission/domain/models/Permission.java b/src/main/java/org/tkit/onecx/permission/domain/models/Permission.java similarity index 94% rename from src/main/java/io/github/onecx/permission/domain/models/Permission.java rename to src/main/java/org/tkit/onecx/permission/domain/models/Permission.java index bd9c60b..db17350 100644 --- a/src/main/java/io/github/onecx/permission/domain/models/Permission.java +++ b/src/main/java/org/tkit/onecx/permission/domain/models/Permission.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.models; +package org.tkit.onecx.permission.domain.models; import jakarta.persistence.*; diff --git a/src/main/java/io/github/onecx/permission/domain/models/Role.java b/src/main/java/org/tkit/onecx/permission/domain/models/Role.java similarity index 93% rename from src/main/java/io/github/onecx/permission/domain/models/Role.java rename to src/main/java/org/tkit/onecx/permission/domain/models/Role.java index 633c706..5f1829f 100644 --- a/src/main/java/io/github/onecx/permission/domain/models/Role.java +++ b/src/main/java/org/tkit/onecx/permission/domain/models/Role.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.models; +package org.tkit.onecx.permission.domain.models; import jakarta.persistence.*; diff --git a/src/main/java/io/github/onecx/permission/domain/models/WorkspaceAssignment.java b/src/main/java/org/tkit/onecx/permission/domain/models/WorkspaceAssignment.java similarity index 95% rename from src/main/java/io/github/onecx/permission/domain/models/WorkspaceAssignment.java rename to src/main/java/org/tkit/onecx/permission/domain/models/WorkspaceAssignment.java index 0a9cd2c..8228836 100644 --- a/src/main/java/io/github/onecx/permission/domain/models/WorkspaceAssignment.java +++ b/src/main/java/org/tkit/onecx/permission/domain/models/WorkspaceAssignment.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.models; +package org.tkit.onecx.permission.domain.models; import jakarta.persistence.*; diff --git a/src/main/java/io/github/onecx/permission/domain/models/WorkspacePermission.java b/src/main/java/org/tkit/onecx/permission/domain/models/WorkspacePermission.java similarity index 95% rename from src/main/java/io/github/onecx/permission/domain/models/WorkspacePermission.java rename to src/main/java/org/tkit/onecx/permission/domain/models/WorkspacePermission.java index 9f4b839..677f139 100644 --- a/src/main/java/io/github/onecx/permission/domain/models/WorkspacePermission.java +++ b/src/main/java/org/tkit/onecx/permission/domain/models/WorkspacePermission.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.models; +package org.tkit.onecx.permission.domain.models; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/src/main/java/io/github/onecx/permission/rs/external/v1/controllers/PermissionRestController.java b/src/main/java/org/tkit/onecx/permission/rs/external/v1/controllers/PermissionRestController.java similarity index 77% rename from src/main/java/io/github/onecx/permission/rs/external/v1/controllers/PermissionRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/external/v1/controllers/PermissionRestController.java index cb62ed4..60c95cd 100644 --- a/src/main/java/io/github/onecx/permission/rs/external/v1/controllers/PermissionRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/external/v1/controllers/PermissionRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.external.v1.controllers; +package org.tkit.onecx.permission.rs.external.v1.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -7,17 +7,17 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.common.services.TokenService; +import org.tkit.onecx.permission.domain.daos.PermissionDAO; +import org.tkit.onecx.permission.domain.daos.WorkspacePermissionDAO; +import org.tkit.onecx.permission.rs.external.v1.mappers.ExceptionMapper; +import org.tkit.onecx.permission.rs.external.v1.mappers.PermissionMapper; import org.tkit.quarkus.log.cdi.LogExclude; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.external.v1.PermissionApiV1; -import gen.io.github.onecx.permission.rs.external.v1.model.PermissionRequestDTOV1; -import gen.io.github.onecx.permission.rs.external.v1.model.ProblemDetailResponseDTOV1; -import io.github.onecx.permission.common.services.TokenService; -import io.github.onecx.permission.domain.daos.PermissionDAO; -import io.github.onecx.permission.domain.daos.WorkspacePermissionDAO; -import io.github.onecx.permission.rs.external.v1.mappers.ExceptionMapper; -import io.github.onecx.permission.rs.external.v1.mappers.PermissionMapper; +import gen.org.tkit.onecx.permission.rs.external.v1.PermissionApiV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.PermissionRequestDTOV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.ProblemDetailResponseDTOV1; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java similarity index 86% rename from src/main/java/io/github/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java index 713a58d..46c6bcc 100644 --- a/src/main/java/io/github/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/external/v1/mappers/ExceptionMapper.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.external.v1.mappers; +package org.tkit.onecx.permission.rs.external.v1.mappers; import java.util.List; import java.util.Map; @@ -13,9 +13,9 @@ import org.mapstruct.Mapper; import org.mapstruct.Mapping; -import gen.io.github.onecx.permission.rs.external.v1.model.ProblemDetailInvalidParamDTOV1; -import gen.io.github.onecx.permission.rs.external.v1.model.ProblemDetailParamDTOV1; -import gen.io.github.onecx.permission.rs.external.v1.model.ProblemDetailResponseDTOV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.ProblemDetailInvalidParamDTOV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.ProblemDetailParamDTOV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.ProblemDetailResponseDTOV1; @Mapper public abstract class ExceptionMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/external/v1/mappers/PermissionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/external/v1/mappers/PermissionMapper.java similarity index 84% rename from src/main/java/io/github/onecx/permission/rs/external/v1/mappers/PermissionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/external/v1/mappers/PermissionMapper.java index c3f5b00..6be1430 100644 --- a/src/main/java/io/github/onecx/permission/rs/external/v1/mappers/PermissionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/external/v1/mappers/PermissionMapper.java @@ -1,14 +1,14 @@ -package io.github.onecx.permission.rs.external.v1.mappers; +package org.tkit.onecx.permission.rs.external.v1.mappers; import java.util.*; import org.mapstruct.Mapper; +import org.tkit.onecx.permission.domain.models.Permission; +import org.tkit.onecx.permission.domain.models.WorkspacePermission; -import gen.io.github.onecx.permission.rs.external.v1.model.ApplicationPermissionsDTOV1; -import gen.io.github.onecx.permission.rs.external.v1.model.WorkspacePermissionApplicationsDTOV1; -import gen.io.github.onecx.permission.rs.external.v1.model.WorkspacePermissionsDTOV1; -import io.github.onecx.permission.domain.models.Permission; -import io.github.onecx.permission.domain.models.WorkspacePermission; +import gen.org.tkit.onecx.permission.rs.external.v1.model.ApplicationPermissionsDTOV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.WorkspacePermissionApplicationsDTOV1; +import gen.org.tkit.onecx.permission.rs.external.v1.model.WorkspacePermissionsDTOV1; @Mapper public interface PermissionMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestController.java b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestController.java similarity index 67% rename from src/main/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestController.java index d42e669..4f9da73 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -7,14 +7,14 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.ApplicationDAO; +import org.tkit.onecx.permission.rs.internal.mappers.ApplicationMapper; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.internal.ApplicationInternalApi; -import gen.io.github.onecx.permission.rs.internal.model.ApplicationSearchCriteriaDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import io.github.onecx.permission.domain.daos.ApplicationDAO; -import io.github.onecx.permission.rs.internal.mappers.ApplicationMapper; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; +import gen.org.tkit.onecx.permission.rs.internal.ApplicationInternalApi; +import gen.org.tkit.onecx.permission.rs.internal.model.ApplicationSearchCriteriaDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestController.java b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestController.java similarity index 79% rename from src/main/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestController.java index be202ac..9d0debe 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -10,18 +10,18 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.AssignmentDAO; +import org.tkit.onecx.permission.domain.daos.PermissionDAO; +import org.tkit.onecx.permission.domain.daos.RoleDAO; +import org.tkit.onecx.permission.rs.internal.mappers.AssignmentMapper; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; import org.tkit.quarkus.jpa.exceptions.ConstraintException; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.internal.AssignmentInternalApi; -import gen.io.github.onecx.permission.rs.internal.model.AssignmentSearchCriteriaDTO; -import gen.io.github.onecx.permission.rs.internal.model.CreateAssignmentRequestDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import io.github.onecx.permission.domain.daos.AssignmentDAO; -import io.github.onecx.permission.domain.daos.PermissionDAO; -import io.github.onecx.permission.domain.daos.RoleDAO; -import io.github.onecx.permission.rs.internal.mappers.AssignmentMapper; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; +import gen.org.tkit.onecx.permission.rs.internal.AssignmentInternalApi; +import gen.org.tkit.onecx.permission.rs.internal.model.AssignmentSearchCriteriaDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.CreateAssignmentRequestDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestController.java b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestController.java similarity index 67% rename from src/main/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestController.java index fe73a2a..3c9e556 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -7,14 +7,14 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.PermissionDAO; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.rs.internal.mappers.PermissionMapper; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.internal.PermissionInternalApi; -import gen.io.github.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import io.github.onecx.permission.domain.daos.PermissionDAO; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.rs.internal.mappers.PermissionMapper; +import gen.org.tkit.onecx.permission.rs.internal.PermissionInternalApi; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/internal/controllers/RoleRestController.java b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestController.java similarity index 80% rename from src/main/java/io/github/onecx/permission/rs/internal/controllers/RoleRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestController.java index f54ac19..516ea28 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/controllers/RoleRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -10,17 +10,17 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.RoleDAO; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.rs.internal.mappers.RoleMapper; import org.tkit.quarkus.jpa.exceptions.ConstraintException; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.internal.RoleInternalApi; -import gen.io.github.onecx.permission.rs.internal.model.CreateRoleRequestDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import gen.io.github.onecx.permission.rs.internal.model.RoleSearchCriteriaDTO; -import gen.io.github.onecx.permission.rs.internal.model.UpdateRoleRequestDTO; -import io.github.onecx.permission.domain.daos.RoleDAO; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.rs.internal.mappers.RoleMapper; +import gen.org.tkit.onecx.permission.rs.internal.RoleInternalApi; +import gen.org.tkit.onecx.permission.rs.internal.model.CreateRoleRequestDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.RoleSearchCriteriaDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.UpdateRoleRequestDTO; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java similarity index 78% rename from src/main/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java index a0d1e12..a3e9e24 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -9,18 +9,18 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.RoleDAO; +import org.tkit.onecx.permission.domain.daos.WorkspaceAssignmentDAO; +import org.tkit.onecx.permission.domain.daos.WorkspacePermissionDAO; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.rs.internal.mappers.WorkspaceAssignmentMapper; import org.tkit.quarkus.jpa.exceptions.ConstraintException; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.internal.WorkspaceAssignmentInternalApi; -import gen.io.github.onecx.permission.rs.internal.model.CreateWorkspaceAssignmentRequestDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import gen.io.github.onecx.permission.rs.internal.model.WorkspaceAssignmentSearchCriteriaDTO; -import io.github.onecx.permission.domain.daos.RoleDAO; -import io.github.onecx.permission.domain.daos.WorkspaceAssignmentDAO; -import io.github.onecx.permission.domain.daos.WorkspacePermissionDAO; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.rs.internal.mappers.WorkspaceAssignmentMapper; +import gen.org.tkit.onecx.permission.rs.internal.WorkspaceAssignmentInternalApi; +import gen.org.tkit.onecx.permission.rs.internal.model.CreateWorkspaceAssignmentRequestDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.WorkspaceAssignmentSearchCriteriaDTO; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java similarity index 79% rename from src/main/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java index 2778f9a..ba96184 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; @@ -9,17 +9,17 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.WorkspacePermissionDAO; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.rs.internal.mappers.WorkspacePermissionMapper; import org.tkit.quarkus.jpa.exceptions.ConstraintException; import org.tkit.quarkus.log.cdi.LogService; -import gen.io.github.onecx.permission.rs.internal.WorkspacePermissionInternalApi; -import gen.io.github.onecx.permission.rs.internal.model.CreateWorkspacePermissionRequestDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import gen.io.github.onecx.permission.rs.internal.model.UpdateWorkspacePermissionRequestDTO; -import gen.io.github.onecx.permission.rs.internal.model.WorkspacePermissionSearchCriteriaDTO; -import io.github.onecx.permission.domain.daos.WorkspacePermissionDAO; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.rs.internal.mappers.WorkspacePermissionMapper; +import gen.org.tkit.onecx.permission.rs.internal.WorkspacePermissionInternalApi; +import gen.org.tkit.onecx.permission.rs.internal.model.CreateWorkspacePermissionRequestDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.UpdateWorkspacePermissionRequestDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.WorkspacePermissionSearchCriteriaDTO; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/internal/log/InternalLogParam.java b/src/main/java/org/tkit/onecx/permission/rs/internal/log/InternalLogParam.java similarity index 94% rename from src/main/java/io/github/onecx/permission/rs/internal/log/InternalLogParam.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/log/InternalLogParam.java index b47759d..165d1e7 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/log/InternalLogParam.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/log/InternalLogParam.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.log; +package org.tkit.onecx.permission.rs.internal.log; import java.util.List; @@ -6,7 +6,7 @@ import org.tkit.quarkus.log.cdi.LogParam; -import gen.io.github.onecx.permission.rs.internal.model.*; +import gen.org.tkit.onecx.permission.rs.internal.model.*; @ApplicationScoped public class InternalLogParam implements LogParam { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/ApplicationMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/ApplicationMapper.java similarity index 65% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/ApplicationMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/ApplicationMapper.java index 0fa1f02..7cd0321 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/ApplicationMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/ApplicationMapper.java @@ -1,13 +1,13 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.tkit.onecx.permission.domain.criteria.ApplicationSearchCriteria; +import org.tkit.onecx.permission.domain.models.Application; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.domain.criteria.ApplicationSearchCriteria; -import io.github.onecx.permission.domain.models.Application; +import gen.org.tkit.onecx.permission.rs.internal.model.*; @Mapper(uses = { OffsetDateTimeMapper.class }) public interface ApplicationMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/AssignmentMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/AssignmentMapper.java similarity index 67% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/AssignmentMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/AssignmentMapper.java index b00b583..11e618c 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/AssignmentMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/AssignmentMapper.java @@ -1,17 +1,17 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.tkit.onecx.permission.domain.criteria.AssignmentSearchCriteria; +import org.tkit.onecx.permission.domain.models.Assignment; +import org.tkit.onecx.permission.domain.models.Permission; +import org.tkit.onecx.permission.domain.models.Role; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.AssignmentDTO; -import gen.io.github.onecx.permission.rs.internal.model.AssignmentPageResultDTO; -import gen.io.github.onecx.permission.rs.internal.model.AssignmentSearchCriteriaDTO; -import io.github.onecx.permission.domain.criteria.AssignmentSearchCriteria; -import io.github.onecx.permission.domain.models.Assignment; -import io.github.onecx.permission.domain.models.Permission; -import io.github.onecx.permission.domain.models.Role; +import gen.org.tkit.onecx.permission.rs.internal.model.AssignmentDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.AssignmentPageResultDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.AssignmentSearchCriteriaDTO; @Mapper(uses = { OffsetDateTimeMapper.class }) public interface AssignmentMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/ExceptionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/ExceptionMapper.java similarity index 89% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/ExceptionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/ExceptionMapper.java index 7badaea..af0d0e5 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/ExceptionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/ExceptionMapper.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import java.util.List; import java.util.Map; @@ -15,9 +15,9 @@ import org.tkit.quarkus.jpa.exceptions.ConstraintException; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailInvalidParamDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailParamDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailInvalidParamDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailParamDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; @Mapper(uses = { OffsetDateTimeMapper.class }) public abstract class ExceptionMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/PermissionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/PermissionMapper.java similarity index 52% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/PermissionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/PermissionMapper.java index d377718..c6a0d1e 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/PermissionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/PermissionMapper.java @@ -1,15 +1,15 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.tkit.onecx.permission.domain.criteria.PermissionSearchCriteria; +import org.tkit.onecx.permission.domain.models.Permission; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.PermissionDTO; -import gen.io.github.onecx.permission.rs.internal.model.PermissionPageResultDTO; -import gen.io.github.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; -import io.github.onecx.permission.domain.criteria.PermissionSearchCriteria; -import io.github.onecx.permission.domain.models.Permission; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionPageResultDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; @Mapper(uses = { OffsetDateTimeMapper.class }) public interface PermissionMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/RoleMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/RoleMapper.java similarity index 86% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/RoleMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/RoleMapper.java index d6c4bb4..4e5aeed 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/RoleMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/RoleMapper.java @@ -1,14 +1,14 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.MappingTarget; +import org.tkit.onecx.permission.domain.criteria.RoleSearchCriteria; +import org.tkit.onecx.permission.domain.models.Role; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.domain.criteria.RoleSearchCriteria; -import io.github.onecx.permission.domain.models.Role; +import gen.org.tkit.onecx.permission.rs.internal.model.*; @Mapper(uses = { OffsetDateTimeMapper.class }) public interface RoleMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java similarity index 75% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java index fef7a98..1fa5c09 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/WorkspaceAssignmentMapper.java @@ -1,15 +1,15 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.tkit.onecx.permission.domain.criteria.WorkspaceAssignmentSearchCriteria; +import org.tkit.onecx.permission.domain.models.Role; +import org.tkit.onecx.permission.domain.models.WorkspaceAssignment; +import org.tkit.onecx.permission.domain.models.WorkspacePermission; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.domain.criteria.WorkspaceAssignmentSearchCriteria; -import io.github.onecx.permission.domain.models.Role; -import io.github.onecx.permission.domain.models.WorkspaceAssignment; -import io.github.onecx.permission.domain.models.WorkspacePermission; +import gen.org.tkit.onecx.permission.rs.internal.model.*; @Mapper(uses = { OffsetDateTimeMapper.class }) public interface WorkspaceAssignmentMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java similarity index 87% rename from src/main/java/io/github/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java index bdc042d..9cd0205 100644 --- a/src/main/java/io/github/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/internal/mappers/WorkspacePermissionMapper.java @@ -1,14 +1,14 @@ -package io.github.onecx.permission.rs.internal.mappers; +package org.tkit.onecx.permission.rs.internal.mappers; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.MappingTarget; +import org.tkit.onecx.permission.domain.criteria.WorkspacePermissionSearchCriteria; +import org.tkit.onecx.permission.domain.models.WorkspacePermission; import org.tkit.quarkus.jpa.daos.PageResult; import org.tkit.quarkus.rs.mappers.OffsetDateTimeMapper; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.domain.criteria.WorkspacePermissionSearchCriteria; -import io.github.onecx.permission.domain.models.WorkspacePermission; +import gen.org.tkit.onecx.permission.rs.internal.model.*; @Mapper(uses = { OffsetDateTimeMapper.class }) public interface WorkspacePermissionMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java similarity index 79% rename from src/main/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java rename to src/main/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java index 7232e2e..b66441f 100644 --- a/src/main/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java +++ b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestController.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.operator.v1.controllers; +package org.tkit.onecx.permission.rs.operator.v1.controllers; import java.util.stream.Collectors; @@ -10,18 +10,18 @@ import org.jboss.resteasy.reactive.RestResponse; import org.jboss.resteasy.reactive.server.ServerExceptionMapper; +import org.tkit.onecx.permission.domain.daos.ApplicationDAO; +import org.tkit.onecx.permission.domain.daos.PermissionDAO; +import org.tkit.onecx.permission.domain.models.Permission; +import org.tkit.onecx.permission.rs.operator.v1.mappers.ExceptionMapper; +import org.tkit.onecx.permission.rs.operator.v1.mappers.OperatorPermissionMapper; import org.tkit.quarkus.jpa.exceptions.ConstraintException; import org.tkit.quarkus.log.cdi.LogService; import org.tkit.quarkus.rs.context.tenant.TenantExclude; -import gen.io.github.onecx.permission.rs.operator.v1.PermissionOperatorApi; -import gen.io.github.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; -import gen.io.github.onecx.permission.rs.operator.v1.model.ProblemDetailResponseDTOV1; -import io.github.onecx.permission.domain.daos.ApplicationDAO; -import io.github.onecx.permission.domain.daos.PermissionDAO; -import io.github.onecx.permission.domain.models.Permission; -import io.github.onecx.permission.rs.operator.v1.mappers.ExceptionMapper; -import io.github.onecx.permission.rs.operator.v1.mappers.OperatorPermissionMapper; +import gen.org.tkit.onecx.permission.rs.operator.v1.PermissionOperatorApi; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.ProblemDetailResponseDTOV1; @LogService @ApplicationScoped diff --git a/src/main/java/io/github/onecx/permission/rs/operator/v1/log/OperatorLogParam.java b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/log/OperatorLogParam.java similarity index 72% rename from src/main/java/io/github/onecx/permission/rs/operator/v1/log/OperatorLogParam.java rename to src/main/java/org/tkit/onecx/permission/rs/operator/v1/log/OperatorLogParam.java index 555c910..3eb0a11 100644 --- a/src/main/java/io/github/onecx/permission/rs/operator/v1/log/OperatorLogParam.java +++ b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/log/OperatorLogParam.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.operator.v1.log; +package org.tkit.onecx.permission.rs.operator.v1.log; import java.util.List; @@ -6,7 +6,7 @@ import org.tkit.quarkus.log.cdi.LogParam; -import gen.io.github.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; @ApplicationScoped public class OperatorLogParam implements LogParam { diff --git a/src/main/java/io/github/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java similarity index 88% rename from src/main/java/io/github/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java index 4a7e5d7..68ebb9f 100644 --- a/src/main/java/io/github/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/mappers/ExceptionMapper.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.operator.v1.mappers; +package org.tkit.onecx.permission.rs.operator.v1.mappers; import java.util.List; import java.util.Map; @@ -14,9 +14,9 @@ import org.mapstruct.Mapping; import org.tkit.quarkus.jpa.exceptions.ConstraintException; -import gen.io.github.onecx.permission.rs.operator.v1.model.ProblemDetailInvalidParamDTOV1; -import gen.io.github.onecx.permission.rs.operator.v1.model.ProblemDetailParamDTOV1; -import gen.io.github.onecx.permission.rs.operator.v1.model.ProblemDetailResponseDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.ProblemDetailInvalidParamDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.ProblemDetailParamDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.ProblemDetailResponseDTOV1; @Mapper public abstract class ExceptionMapper { diff --git a/src/main/java/io/github/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java similarity index 86% rename from src/main/java/io/github/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java rename to src/main/java/org/tkit/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java index 8b4a69c..9562880 100644 --- a/src/main/java/io/github/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java +++ b/src/main/java/org/tkit/onecx/permission/rs/operator/v1/mappers/OperatorPermissionMapper.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.operator.v1.mappers; +package org.tkit.onecx.permission.rs.operator.v1.mappers; import java.util.ArrayList; import java.util.List; @@ -6,11 +6,11 @@ import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.MappingTarget; +import org.tkit.onecx.permission.domain.models.Application; +import org.tkit.onecx.permission.domain.models.Permission; -import gen.io.github.onecx.permission.rs.operator.v1.model.PermissionDTOV1; -import gen.io.github.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; -import io.github.onecx.permission.domain.models.Application; -import io.github.onecx.permission.domain.models.Permission; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.PermissionDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; @Mapper public interface OperatorPermissionMapper { diff --git a/src/test/java/io/github/onecx/permission/AfterStartPermissionDataImportTest.java b/src/test/java/org/tkit/onecx/permission/AfterStartPermissionDataImportTest.java similarity index 93% rename from src/test/java/io/github/onecx/permission/AfterStartPermissionDataImportTest.java rename to src/test/java/org/tkit/onecx/permission/AfterStartPermissionDataImportTest.java index ad7405e..64f6f97 100644 --- a/src/test/java/io/github/onecx/permission/AfterStartPermissionDataImportTest.java +++ b/src/test/java/org/tkit/onecx/permission/AfterStartPermissionDataImportTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission; +package org.tkit.onecx.permission; import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; @@ -6,11 +6,11 @@ import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.domain.daos.*; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.context.ApplicationContext; import org.tkit.quarkus.context.Context; -import io.github.onecx.permission.domain.daos.*; -import io.github.onecx.permission.test.AbstractTest; import io.quarkus.test.junit.QuarkusTest; @QuarkusTest diff --git a/src/test/java/io/github/onecx/permission/common/services/ClaimServiceTest.java b/src/test/java/org/tkit/onecx/permission/common/services/ClaimServiceTest.java similarity index 82% rename from src/test/java/io/github/onecx/permission/common/services/ClaimServiceTest.java rename to src/test/java/org/tkit/onecx/permission/common/services/ClaimServiceTest.java index 076e181..5271f98 100644 --- a/src/test/java/io/github/onecx/permission/common/services/ClaimServiceTest.java +++ b/src/test/java/org/tkit/onecx/permission/common/services/ClaimServiceTest.java @@ -1,10 +1,10 @@ -package io.github.onecx.permission.common.services; +package org.tkit.onecx.permission.common.services; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.test.AbstractTest; -import io.github.onecx.permission.test.AbstractTest; import io.quarkus.test.junit.QuarkusTest; @QuarkusTest diff --git a/src/test/java/io/github/onecx/permission/domain/daos/AbstractDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/AbstractDAOTest.java similarity index 87% rename from src/test/java/io/github/onecx/permission/domain/daos/AbstractDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/AbstractDAOTest.java index 098ccf9..a1fc407 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/AbstractDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/AbstractDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.persistence.EntityManager; @@ -6,9 +6,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.function.Executable; import org.mockito.Mockito; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.jpa.exceptions.DAOException; -import io.github.onecx.permission.test.AbstractTest; import io.quarkus.test.InjectMock; abstract class AbstractDAOTest extends AbstractTest { diff --git a/src/test/java/io/github/onecx/permission/domain/daos/ApplicationDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/ApplicationDAOTest.java similarity index 92% rename from src/test/java/io/github/onecx/permission/domain/daos/ApplicationDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/ApplicationDAOTest.java index 84cfa1b..a349222 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/ApplicationDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/ApplicationDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.inject.Inject; diff --git a/src/test/java/io/github/onecx/permission/domain/daos/AssignmentDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/AssignmentDAOTest.java similarity index 92% rename from src/test/java/io/github/onecx/permission/domain/daos/AssignmentDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/AssignmentDAOTest.java index 2c4dc38..687751a 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/AssignmentDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/AssignmentDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.inject.Inject; diff --git a/src/test/java/io/github/onecx/permission/domain/daos/PermissionDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/PermissionDAOTest.java similarity index 94% rename from src/test/java/io/github/onecx/permission/domain/daos/PermissionDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/PermissionDAOTest.java index f8f061d..dbbbb79 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/PermissionDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/PermissionDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.inject.Inject; diff --git a/src/test/java/io/github/onecx/permission/domain/daos/RoleDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/RoleDAOTest.java similarity index 91% rename from src/test/java/io/github/onecx/permission/domain/daos/RoleDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/RoleDAOTest.java index a65972d..fcad5be 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/RoleDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/RoleDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.inject.Inject; diff --git a/src/test/java/io/github/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java similarity index 92% rename from src/test/java/io/github/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java index f09df75..572ac8f 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/WorkspaceAssignmentDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.inject.Inject; diff --git a/src/test/java/io/github/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java b/src/test/java/org/tkit/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java similarity index 94% rename from src/test/java/io/github/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java rename to src/test/java/org/tkit/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java index f9fe9ef..289f798 100644 --- a/src/test/java/io/github/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/daos/WorkspacePermissionDAOTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.daos; +package org.tkit.onecx.permission.domain.daos; import jakarta.inject.Inject; diff --git a/src/test/java/io/github/onecx/permission/domain/di/PermissionDataImportServiceTest.java b/src/test/java/org/tkit/onecx/permission/domain/di/PermissionDataImportServiceTest.java similarity index 93% rename from src/test/java/io/github/onecx/permission/domain/di/PermissionDataImportServiceTest.java rename to src/test/java/org/tkit/onecx/permission/domain/di/PermissionDataImportServiceTest.java index 43d76f5..9ce9628 100644 --- a/src/test/java/io/github/onecx/permission/domain/di/PermissionDataImportServiceTest.java +++ b/src/test/java/org/tkit/onecx/permission/domain/di/PermissionDataImportServiceTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.domain.di; +package org.tkit.onecx.permission.domain.di; import static org.assertj.core.api.Assertions.assertThat; @@ -10,16 +10,16 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.domain.daos.PermissionDAO; +import org.tkit.onecx.permission.domain.models.Permission; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.dataimport.DataImportConfig; import org.tkit.quarkus.test.WithDBData; import com.fasterxml.jackson.databind.ObjectMapper; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportDTOV1; -import gen.io.github.onecx.permission.domain.di.v1.model.DataImportTenantWrapperDTOV1; -import io.github.onecx.permission.domain.daos.PermissionDAO; -import io.github.onecx.permission.domain.models.Permission; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportDTOV1; +import gen.org.tkit.onecx.permission.domain.di.v1.model.DataImportTenantWrapperDTOV1; import io.quarkus.test.junit.QuarkusTest; @QuarkusTest diff --git a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java similarity index 94% rename from src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java rename to src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java index 544836d..353f256 100644 --- a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTenantTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.external.v1; +package org.tkit.onecx.permission.rs.external.v1; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -8,11 +8,11 @@ import java.util.List; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.external.v1.controllers.PermissionRestController; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.external.v1.model.*; -import io.github.onecx.permission.rs.external.v1.controllers.PermissionRestController; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.external.v1.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java similarity index 76% rename from src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java index 9f39bb2..8eac186 100644 --- a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTenantTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.external.v1; +package org.tkit.onecx.permission.rs.external.v1; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTest.java similarity index 93% rename from src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTest.java index 25b0949..b3a34af 100644 --- a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.external.v1; +package org.tkit.onecx.permission.rs.external.v1; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -12,12 +12,12 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; +import org.tkit.onecx.permission.rs.external.v1.controllers.PermissionRestController; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.external.v1.model.*; -import io.github.onecx.permission.rs.external.v1.controllers.PermissionRestController; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.external.v1.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java similarity index 75% rename from src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java index 0ba63fd..29f3a0f 100644 --- a/src/test/java/io/github/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/external/v1/PermissionRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.external.v1; +package org.tkit.onecx.permission.rs.external.v1; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java similarity index 92% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java index 146bbec..b227506 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -7,11 +7,11 @@ import static org.jboss.resteasy.reactive.RestResponse.Status.OK; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java similarity index 72% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java index 280bcde..77068f3 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/ApplicationRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java similarity index 96% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java index 36d046e..a7871ef 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -10,11 +10,11 @@ import jakarta.ws.rs.core.HttpHeaders; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java similarity index 72% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java index 86b8ea7..d2038a7 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/AssignmentRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java similarity index 85% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java index 2b304f9..18c6ece 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerExceptionTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -8,11 +8,11 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; +import org.tkit.onecx.permission.domain.daos.PermissionDAO; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.jpa.exceptions.DAOException; -import gen.io.github.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; -import io.github.onecx.permission.domain.daos.PermissionDAO; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; import io.quarkus.test.InjectMock; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java similarity index 87% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java index 6af34bf..9d9842e 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -7,13 +7,13 @@ import static org.jboss.resteasy.reactive.RestResponse.Status.OK; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.internal.model.PermissionPageResultDTO; -import gen.io.github.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; -import gen.io.github.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionPageResultDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.PermissionSearchCriteriaDTO; +import gen.org.tkit.onecx.permission.rs.internal.model.ProblemDetailResponseDTO; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java similarity index 72% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java index 199d388..bf1a094 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/PermissionRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java similarity index 97% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java index 9d9d562..e5f8327 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -10,11 +10,11 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java similarity index 70% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java index 71ba0be..f65dd77 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/RoleRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java similarity index 96% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java index ccc910d..ee6a152 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -9,11 +9,11 @@ import jakarta.ws.rs.core.HttpHeaders; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java similarity index 74% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java index 217f1ce..61838c4 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspaceAssignmentRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java similarity index 97% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java index cb29d7c..f8267c0 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -10,11 +10,11 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.internal.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.internal.model.*; -import io.github.onecx.permission.rs.internal.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.internal.model.*; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java similarity index 74% rename from src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java index 63866fd..113acaf 100644 --- a/src/test/java/io/github/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/internal/controllers/WorkspacePermissionRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.internal.controllers; +package org.tkit.onecx.permission.rs.internal.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java similarity index 91% rename from src/test/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java rename to src/test/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java index 6f45a86..390fbc6 100644 --- a/src/test/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.operator.v1.controllers; +package org.tkit.onecx.permission.rs.operator.v1.controllers; import static io.restassured.RestAssured.given; import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; @@ -9,13 +9,13 @@ import java.util.List; import org.junit.jupiter.api.Test; +import org.tkit.onecx.permission.rs.operator.v1.mappers.ExceptionMapper; +import org.tkit.onecx.permission.test.AbstractTest; import org.tkit.quarkus.test.WithDBData; -import gen.io.github.onecx.permission.rs.operator.v1.model.PermissionDTOV1; -import gen.io.github.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; -import gen.io.github.onecx.permission.rs.operator.v1.model.ProblemDetailResponseDTOV1; -import io.github.onecx.permission.rs.operator.v1.mappers.ExceptionMapper; -import io.github.onecx.permission.test.AbstractTest; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.PermissionDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.PermissionRequestDTOV1; +import gen.org.tkit.onecx.permission.rs.operator.v1.model.ProblemDetailResponseDTOV1; import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; diff --git a/src/test/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java b/src/test/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java similarity index 70% rename from src/test/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java rename to src/test/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java index 21fcaae..3d81729 100644 --- a/src/test/java/io/github/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java +++ b/src/test/java/org/tkit/onecx/permission/rs/operator/v1/controllers/OperatorRestControllerTestIT.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.rs.operator.v1.controllers; +package org.tkit.onecx.permission.rs.operator.v1.controllers; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/src/test/java/io/github/onecx/permission/test/AbstractTest.java b/src/test/java/org/tkit/onecx/permission/test/AbstractTest.java similarity index 96% rename from src/test/java/io/github/onecx/permission/test/AbstractTest.java rename to src/test/java/org/tkit/onecx/permission/test/AbstractTest.java index 60dee1b..9e21fee 100644 --- a/src/test/java/io/github/onecx/permission/test/AbstractTest.java +++ b/src/test/java/org/tkit/onecx/permission/test/AbstractTest.java @@ -1,4 +1,4 @@ -package io.github.onecx.permission.test; +package org.tkit.onecx.permission.test; import static com.fasterxml.jackson.databind.SerializationFeature.WRITE_DATES_AS_TIMESTAMPS; import static io.restassured.RestAssured.config; @@ -16,11 +16,11 @@ import org.eclipse.microprofile.config.Config; import org.eclipse.microprofile.config.ConfigProvider; import org.eclipse.microprofile.jwt.Claims; +import org.tkit.onecx.permission.common.models.TokenConfig; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; -import io.github.onecx.permission.common.models.TokenConfig; import io.quarkus.test.Mock; import io.restassured.config.RestAssuredConfig; import io.smallrye.config.SmallRyeConfig;