1
0
Commit Graph

157 Commits

Author SHA1 Message Date
2afdb3c3d7 add hs_admin_contact table and repository with findContactByOptionalLabelLike+save 2022-09-06 19:43:15 +02:00
af90fefd49 hs.admin.partner from API via Controller to Entity 2022-09-06 11:07:08 +02:00
2abe88eb15 experimental access code for RbacUserEntity 2022-09-03 12:31:56 +02:00
cd9be1db75 api-definition subdirectories rbac+test 2022-09-02 13:11:15 +02:00
3541b0c48c use /api/rbac/... instead of /api/rbac-... same for /api/test/... 2022-09-02 11:18:09 +02:00
df48bfc0da implements delete rbacuser 2022-09-01 16:57:16 +02:00
a06feff42e defineContext now requires an existing user name or null to create a new user 2022-08-31 16:26:31 +02:00
8731f4a7b2 migrate hs-api to test-api 2022-08-31 15:44:06 +02:00
84ce90b28f use customer/package/unixuser only as test data structure (Java part) 2022-08-31 09:47:35 +02:00
a33cb4ec29 use customer/package/unixuser only as test data structure (DB part) 2022-08-31 09:42:40 +02:00
8af93603d5 improve test code coverage and generic array return from native queries 2022-08-30 13:08:29 +02:00
a1c3e95032 introduce defineContext replacing explicit "set local current..." 2022-08-30 09:35:59 +02:00
4aa8b85bb6 use context.define(...) instead of setCurrent... 2022-08-28 20:39:44 +02:00
2124d448bf improve test code coverage and introduce context.register 2022-08-26 14:13:02 +02:00
1a18ba4a3d improve test code coverage 2022-08-25 20:35:31 +02:00
2531b9071f align create methods and improve and align acceptance tests 2022-08-25 14:46:05 +02:00
68dfadf0e2 set currentTask in addCustomer 2022-08-24 18:48:37 +02:00
6b4c9f6c51 use xxx, yyy and zzz for test customers, makes tests easier to read 2022-08-24 17:56:13 +02:00
258f8b1f66 split tx_audit_log into tx_context and tx_journal 2022-08-24 12:52:28 +02:00
e880a1c2c8 initial audit-log implementation 2022-08-24 12:01:54 +02:00
cb641eb8c6 introduce currentTask and ContextBasedTest 2022-08-24 11:48:31 +02:00
a04929453c implements optimistic locking for PackageEntity 2022-08-20 12:29:14 +02:00
5ea8069608 implements rbac-grants get-by-id 2022-08-19 17:39:41 +02:00
a66ed8e59f add jacoco test code coverage 2022-08-19 12:00:13 +02:00
86802a2aab use Spring Transactional annotation instead of JavaX 2022-08-19 08:26:30 +02:00
8a62d9802e implements REST API DELETE to /api/rbac-grants/{grantedRoleUuid}/{granteeUserUuid}: 2022-08-17 17:34:10 +02:00
787400c089 only use @Transactional from Spring (not JavaX) and use readOnly=true where possible 2022-08-17 16:38:03 +02:00
2cb9375d03 implements revoking role from user at repository level 2022-08-16 17:51:51 +02:00
c8e835f880 implements user granting roles to other users 2022-08-16 10:46:41 +02:00
322736cd01 creating and viewing grants 2022-08-13 16:47:36 +02:00
c03697ccd9 POST to /api/customers response 200 -> 201 2022-08-13 14:58:19 +02:00
8529ec9949 findByRoleName 2022-08-12 18:00:15 +02:00
41d3b678c4 implements create new rbac-user and transacted JpaAttemp 2022-08-12 17:56:39 +02:00
5ebed0f75d extract OptionalFromJson for JSON mapper bug 2022-08-09 18:30:06 +02:00
0e4602aac6 add updatePackage (description) using JsonNullableModule and HTTP-to-DB test with RestAssured 2022-08-09 17:51:50 +02:00
eeab68d63a API-first with openapiprocessor and modelmapper 2022-08-08 17:12:51 +02:00
86128f5994 test alignment and code cleanup 2022-08-05 15:39:23 +02:00
bef358eda6 add RbacUser* tests and improved http status codes 2022-08-05 14:31:54 +02:00
06996e4dc4 add RbacUserController/-Entity/-Repository 2022-08-04 17:23:10 +02:00
a2f2fdb6a4 add spotless 2022-08-04 10:11:35 +02:00
8605d4c4f1 PackageController+Repository with name search option 2022-08-04 09:26:01 +02:00
212b1077c8 adds RbacRoleControllerRestTest + RbacRoleRepositoryIntegrationTest + fix duplicate key 2022-08-04 09:11:11 +02:00
57cf316c00 for customer findAll()->findCustomerByOptionalPrefix(...) 2022-08-04 09:09:06 +02:00
dc6445544a add RbacRoleEntity.roleName as computed column 2022-08-03 08:52:45 +02:00
ece36209a5 add RbacRole... 2022-08-03 06:12:16 +02:00
bb05eb4ac4 refactoring packages, moving Hostsharing related entities etc. to hs package 2022-08-03 06:11:39 +02:00
142aac2bce add ArchUnitTest 2022-08-02 15:51:06 +02:00
2ac476d99b add-customer and introducing JpaAttempt test helper 2022-08-02 14:31:48 +02:00
27c5699c36 add CustomerRepositoryIntegrationTest, fix testcontainers liquibase context and improve error messages 2022-07-31 18:56:03 +02:00
08804bd45c use plural for /api/packages too 2022-07-30 18:23:02 +02:00