Commit Graph
100 Commits
Author SHA1 Message Date
Michael Hoennig 86802a2aab use Spring Transactional annotation instead of JavaX 2022-08-19 08:26:30 +02:00
Michael Hoennig eebe2d40a6 refactor RbacGrantControllerAcceptanceTest introducing fixture classes for better readability 2022-08-18 13:47:22 +02:00
Michael Hoennig 8a62d9802e implements REST API DELETE to /api/rbac-grants/{grantedRoleUuid}/{granteeUserUuid}: 2022-08-17 17:34:10 +02:00
Michael Hoennig 787400c089 only use @Transactional from Spring (not JavaX) and use readOnly=true where possible 2022-08-17 16:38:03 +02:00
Michael Hoennig 6be5cfd923 arch unit test for @Accepts only in AcceptanceTests 2022-08-17 13:21:05 +02:00
Michael Hoennig 2cb9375d03 implements revoking role from user at repository level 2022-08-16 17:51:51 +02:00
Michael Hoennig c8e835f880 implements user granting roles to other users 2022-08-16 10:46:41 +02:00
Michael Hoennig 7869d07d30 add unixuser prototype as preparation for testability of grants 2022-08-14 16:44:26 +02:00
Michael Hoennig bc05fb1eeb improve + cleanup RbacRoleControllerAcceptanceTests 2022-08-13 17:24:56 +02:00
Michael Hoennig 322736cd01 creating and viewing grants 2022-08-13 16:47:36 +02:00
Michael Hoennig c03697ccd9 POST to /api/customers response 200 -> 201 2022-08-13 14:58:19 +02:00
Michael Hoennig 8529ec9949 findByRoleName 2022-08-12 18:00:15 +02:00
Michael Hoennig 41d3b678c4 implements create new rbac-user and transacted JpaAttemp 2022-08-12 17:56:39 +02:00
Michael Hoennig dfc7162675 fix references in api-definition 2022-08-11 12:43:29 +02:00
Michael Hoennig 1dd3b3e8e3 directly use repository in test fixture of PackageControllerAcceptanceTest 2022-08-11 12:42:41 +02:00
Michael Hoennig 4616bb133d avoid string concatenation in RestAssured API usage 2022-08-11 12:36:30 +02:00
Michael Hoennig 9aa86a1652 fix vulnerability in postgresql jdbc driver 41.3.6 and JDK 16 incompatibility 2022-08-11 12:35:19 +02:00
Michael Hoennig 5d63544a15 cleanup 2022-08-11 09:31:24 +02:00
Michael Hoennig cb84efe63d split api-definition.yaml 2022-08-11 09:29:15 +02:00
Michael Hoennig 5ebed0f75d extract OptionalFromJson for JSON mapper bug 2022-08-09 18:30:06 +02:00
Michael Hoennig 0e4602aac6 add updatePackage (description) using JsonNullableModule and HTTP-to-DB test with RestAssured 2022-08-09 17:51:50 +02:00
Michael Hoennig 0486dc3fae documentation of directory structure 2022-08-08 17:57:02 +02:00
Michael Hoennig c4cf6c4312 progress status as of 2022-08-07 2022-08-08 17:34:12 +02:00
Michael Hoennig eeab68d63a API-first with openapiprocessor and modelmapper 2022-08-08 17:12:51 +02:00
Michael Hoennig 80f342eeae add more allowed licenses 2022-08-08 12:12:02 +02:00
Michael Hoennig c4531cb217 add dependency license compatibility check 2022-08-08 10:03:26 +02:00
Michael Hoennig 86128f5994 test alignment and code cleanup 2022-08-05 15:39:23 +02:00
Michael Hoennig f16953877f add RbacUser* tests and improved http status codes 2022-08-05 15:00:29 +02:00
Michael Hoennig bef358eda6 add RbacUser* tests and improved http status codes 2022-08-05 14:31:54 +02:00
Michael Hoennig f2bc42bd85 replace GRP with PRM in requirements 2022-08-05 13:11:01 +02:00
Michael Hoennig 433d0e19f5 add Gradle Java toolchain and improve documentation 2022-08-05 13:10:11 +02:00
Michael Hoennig 06996e4dc4 add RbacUserController/-Entity/-Repository 2022-08-04 17:23:10 +02:00
Michael Hoennig 18f3234272 clickable link to markdown plugin settings for IntelliJ IDEA 2022-08-04 14:56:19 +02:00
Michael Hoennig e2bdb96e83 README: How to Run the Appplication on a Different Port 2022-08-04 13:07:16 +02:00
Michael Hoennig 58200eee1f cleanup IntelliJ DB run scripts, not needed anymore due to Liquibase 2022-08-04 12:34:51 +02:00
Michael Hoennig 507bee0953 fix gradle .gitignore 2022-08-04 12:30:14 +02:00
Michael Hoennig 80b1e0ff25 add OWASP dependencyCheck 2022-08-04 12:26:41 +02:00
Michael Hoennig d9ee0017dd set gradle wrapper version+distribution 2022-08-04 12:25:42 +02:00
Michael Hoennig 60f2af6404 remove gradle wrapper from JHipster + configure version 7.5 for "gradle wrapper" 2022-08-04 11:15:08 +02:00
Michael Hoennig 9945eddf7a Merge remote-tracking branch 'origin/spike/ATN+HST'
# Conflicts:
#	.gitignore
#	TODO.md
#	tools/todo-progress
#	tools/todo-progress.gnuplot
2022-08-04 11:08:26 +02:00
Michael Hoennig 45c1bed43b add TODO document + progress calculation 2022-08-04 11:06:07 +02:00
Michael Hoennig bf3da34d32 add adr for row-level-security 2022-08-04 10:51:21 +02:00
Michael Hoennig 2eb8b70517 add glossary 2022-08-04 10:49:31 +02:00
Michael Hoennig a2f2fdb6a4 add spotless 2022-08-04 10:11:35 +02:00
Michael Hoennig 8605d4c4f1 PackageController+Repository with name search option 2022-08-04 09:26:01 +02:00
Michael Hoennig 212b1077c8 adds RbacRoleControllerRestTest + RbacRoleRepositoryIntegrationTest + fix duplicate key 2022-08-04 09:11:11 +02:00
Michael Hoennig 57cf316c00 for customer findAll()->findCustomerByOptionalPrefix(...) 2022-08-04 09:09:06 +02:00
Michael Hoennig 8fb92f9978 remove hateoas and hal explorer for now 2022-08-03 09:07:02 +02:00
Michael Hoennig 5f08b41724 add SwaggerUI 2022-08-03 09:06:21 +02:00
Michael Hoennig dc6445544a add RbacRoleEntity.roleName as computed column 2022-08-03 08:52:45 +02:00
Michael Hoennig ece36209a5 add RbacRole... 2022-08-03 06:12:16 +02:00
Michael Hoennig bb05eb4ac4 refactoring packages, moving Hostsharing related entities etc. to hs package 2022-08-03 06:11:39 +02:00
Michael Hoennig 142aac2bce add ArchUnitTest 2022-08-02 15:51:06 +02:00
Michael Hoennig 2ac476d99b add-customer and introducing JpaAttempt test helper 2022-08-02 14:31:48 +02:00
Michael Hoennig 03ee2cfd62 add-customer and introducing JpaAttempt test helper 2022-08-02 11:51:36 +02:00
Michael Hoennig f58a68d1cc experimental CustomerRepositoryIntegrationTest with Given/When/Then classes 2022-08-01 12:53:09 +02:00
Michael Hoennig 27c5699c36 add CustomerRepositoryIntegrationTest, fix testcontainers liquibase context and improve error messages 2022-07-31 18:56:03 +02:00
Michael Hoennig 5d4fb85383 TODO tracking 2022-07-31 15:16:49 +02:00
Michael Hoennig 53d3d68021 introduce TestPackage.java 2022-07-30 18:37:32 +02:00
Michael Hoennig 1463807b89 initial test-concept documentation 2022-07-30 18:23:18 +02:00
Michael Hoennig 08804bd45c use plural for /api/packages too 2022-07-30 18:23:02 +02:00
Michael Hoennig fe4fef2752 add CustomerControllerRestTest and -UnitTest 2022-07-30 18:17:45 +02:00
Michael Hoennig 2610ecd311 add PackageControllerTest as WebMvcTest through the REST API 2022-07-30 16:35:26 +02:00
Michael Hoennig b20920d646 make package owner/admin/tenant roles assumable 2022-07-29 16:25:46 +02:00
Michael Hoennig 4721d1be23 PackagerEntity, -Repository and -Controller 2022-07-29 16:13:38 +02:00
Michael Hoennig 46957dc590 bugfix in pureIdentifier + findUuidByIdName and CustomerEntity+Repository 2022-07-29 15:53:20 +02:00
Michael Hoennig 5126514877 improved README.md with TOC 2022-07-29 15:39:35 +02:00
Michael Hoennig 414149f0a1 introduce Context service 2022-07-29 14:24:50 +02:00
Michael Hoennig 2b630aadbc hs-package SQL-Scripts in Liquibase and some bugfixes 2022-07-29 12:37:40 +02:00
Michael Hoennig 61c50c46ed hs-customer SQL-Scripts in Liquibase 2022-07-29 12:14:22 +02:00
Michael Hoennig 8ba952a41d hs-customer SQL-Scripts in Liquibase 2022-07-29 11:53:58 +02:00
Michael Hoennig a478fe4cf1 cleanup in Liquibase files, header, formatting etc. 2022-07-29 11:38:51 +02:00
Michael Hoennig 4edff1c2f0 move rbac.md to doc folder 2022-07-29 09:20:18 +02:00
Michael Hoennig 9beaf5e684 improved README.md for first steps 2022-07-29 09:12:52 +02:00
Michael Hoennig 4c403b0436 formatted SQL code 2022-07-29 08:46:04 +02:00
Michael Hoennig fb8862c37e convert rbac-statistics and rbac-role-builder*.sql files to Liquibase changesets 2022-07-28 17:17:22 +02:00
Michael Hoennig 583c45c85d add first integration test based on Testcontainers 2022-07-28 16:56:34 +02:00
Michael Hoennig d234ac3227 convert rbac*.sql files, except test-file, to Liquibase changesets 2022-07-28 16:55:21 +02:00
Michael Hoennig 6c33bbe780 add SpringBoot 2.7.x application 2022-07-28 16:51:36 +02:00
Michael Hoennig feff1b5794 RBAC documentation improved, but still WIP 2022-07-28 12:15:32 +02:00
Michael Hoennig 306f8d1fa8 improved README.md with aliases for pg-sql-... 2022-07-28 10:43:49 +02:00
Michael Hoennig 457641a2dd introduce referential integrity for role identification - part 2 assume 2022-07-28 10:43:23 +02:00
Michael Hoennig 1dde6b2609 introduce referential integrity for role identification - part 1 2022-07-27 19:54:05 +02:00
Michael Hoennig 6f6320565c the _rv query with WHERE IN was faster after all, removing the JOIN variant 2022-07-27 13:05:19 +02:00
Michael Hoennig bafae52ce5 _rv query performance experiments 2022-07-27 12:32:54 +02:00
Michael Hoennig e97022fb02 add documentation to backup+restore the database from PostgreSQL docker container 2022-07-26 13:19:17 +02:00
Michael Hoennig 190d39400a add users to customer+package role diagrams 2022-07-26 13:18:36 +02:00
Michael Hoennig 46c5f5e53e final performance tests as do block to measure total time 2022-07-26 13:18:03 +02:00
Michael Hoennig 04a3438182 improve documentation 2022-07-25 20:11:39 +02:00
Michael Hoennig 4814e7899c better layout for RBAC entity diagram 2022-07-25 17:15:01 +02:00
Michael Hoennig 16513f0786 remove generated pdf 2022-07-25 17:06:42 +02:00
Michael Hoennig d4eeb35e91 improved role structure including comprised tenant sub roles 2022-07-25 16:38:21 +02:00
Michael Hoennig 377b63ca3d RbacGrants with follow=false for customer.owner to customer.admin 2022-07-22 16:52:49 +02:00
Michael Hoennig f2d0fbe67a removing JHipster 2022-07-22 13:31:37 +02:00
Michael Hoennig 31cd92f3be #145 [Rights-Module] preparation for module specific roles / fix UserRoleAssignmentCriteria 2019-07-03 22:23:51 +02:00
Michael Hoennig f79c4bd7a1 #145 [Rights-Module] preparation for module specific roles / static init 2019-07-03 21:54:03 +02:00
Michael Hoennig 7db2c23de1 #145 [Rights-Module] preparation for module specific roles 2019-06-27 23:48:16 +02:00
Michael Hoennig 7983aa7e52 #145 [Rights-Module] documented the role system and some renaming 2019-05-25 19:43:29 +02:00
Michael Hoennig 57b6399950 historicization of JHI_USER_AUTHORITY table 2019-05-25 16:40:41 +02:00
Michael Hoennig 354cfbbebc historicization of JHI_USER table 2019-05-25 16:40:16 +02:00