Michael Hoennig
|
53ffe9e738
|
fix SwaggerUI issue with duplicate method name
|
2024-01-02 13:03:15 +01:00 |
|
Timotheus Pokorra
|
1c19afefa6
|
avoid error in openapi for ambigous mapping for findRelationshipRelatedToPersonUuid
|
2023-09-04 20:37:40 +02:00 |
|
Michael Hoennig
|
ddfabef9b7
|
hs_office_sepamandate_rv: fix missing update column reference
|
2022-10-29 11:42:03 +02:00 |
|
Michael Hoennig
|
b69af8fa57
|
remove spurious grant from debitor RBAC diagram
|
2022-10-28 17:11:12 +02:00 |
|
Michael Hoennig
|
cdc21f05ba
|
SpringBoot 3 upgrade
|
2022-10-28 15:57:06 +02:00 |
|
Michael Hoennig
|
64461fc4da
|
SEPA-Mandate signed date and patcher
|
2022-10-28 13:44:48 +02:00 |
|
Michael Hoennig
|
3b340a92ed
|
final ContextUnitTest.defineContextQueryString
|
2022-10-27 18:24:28 +02:00 |
|
Michael Hoennig
|
909312a8a1
|
test class naming convention
|
2022-10-27 11:45:53 +02:00 |
|
Michael Hoennig
|
dc1a17e915
|
use @PersistenceContext for EntityManager, not @Autowired
|
2022-10-27 11:00:12 +02:00 |
|
Michael Hoennig
|
1d0d2372ea
|
use simple @GeneratedValue and some code cleanup
|
2022-10-27 09:42:18 +02:00 |
|
Michael Hoennig
|
09c19649e4
|
avoid select before insert and map sub-entities in mapper
|
2022-10-26 16:44:51 +02:00 |
|
Michael Hoennig
|
d7eed08420
|
always run tests with locale en_US, no matter of system settings
|
2022-10-25 13:08:17 +02:00 |
|
Michael Hoennig
|
e5ec867819
|
get endpoints for coopassets+coopshares
|
2022-10-25 10:32:57 +02:00 |
|
Michael Hoennig
|
6f3c03e6b6
|
ModelMapper as Spring Bean
|
2022-10-23 13:00:00 +02:00 |
|
Michael Hoennig
|
0b0f57c176
|
map HsOfficeMembershipInsertResource via ModelMapper and Entity.setValidTo/From
|
2022-10-22 12:38:36 +02:00 |
|
Michael Hoennig
|
b3b70aaaf4
|
add HsOfficeMembershipEntityPatcher
|
2022-10-22 10:40:59 +02:00 |
|
Michael Hoennig
|
8eab3b7cd5
|
add HsOfficeMembershipControllerRestTest and make mainDebitorUuid mandatory
|
2022-10-21 18:43:15 +02:00 |
|
Michael Hoennig
|
7d200efbb5
|
TODO cleanup in HsOfficeContactRepository
|
2022-10-21 17:31:49 +02:00 |
|
Michael Hoennig
|
97fa23165c
|
simplified deletion of temp data in HsOfficeBankAccountControllerAcceptanceTest
|
2022-10-21 17:30:28 +02:00 |
|
Michael Hoennig
|
a39cf73cf0
|
hs-office-coopassets, no get API endpoints yet
|
2022-10-21 17:12:55 +02:00 |
|
Michael Hoennig
|
5ada0dae35
|
fixes instable debitor temp test data deletion and code coverage exclusions
|
2022-10-21 17:05:28 +02:00 |
|
Michael Hoennig
|
8864a17b2b
|
hs-office-debitor: test update of partner and bankaccount and fix null cases
|
2022-10-21 11:38:31 +02:00 |
|
Michael Hoennig
|
5a296e0a9f
|
improved ArchitectureTest rules and package refactoring
|
2022-10-21 08:01:17 +02:00 |
|
Michael Hoennig
|
e1895e3735
|
hs-office-partner-details
|
2022-10-20 20:11:31 +02:00 |
|
Michael Hoennig
|
dc0835fa25
|
hs-office-coopshares: add non-negative validation
|
2022-10-20 14:08:19 +02:00 |
|
Michael Hoennig
|
22bca20c49
|
code cleanup: remove unnecessary "raise notice"
|
2022-10-20 10:53:47 +02:00 |
|
Michael Hoennig
|
e2b6986d2b
|
hs-office-coopshares: refactored RestTest
|
2022-10-20 08:15:47 +02:00 |
|
Michael Hoennig
|
5f4f50a325
|
hs-office-coopshares: add validation + RestTest for Controller + improve test data
|
2022-10-20 07:41:48 +02:00 |
|
Michael Hoennig
|
ca0589d084
|
hs-office-coopshares: use only membership uuid in filter
|
2022-10-19 18:15:21 +02:00 |
|
Michael Hoennig
|
5764accbc5
|
add hs-office-coopshares API+controller
|
2022-10-19 17:14:27 +02:00 |
|
Michael Hoennig
|
c2dd3d8de9
|
add hs-office-coopshares entity+repository
|
2022-10-19 07:55:51 +02:00 |
|
Michael Hoennig
|
7376301ed4
|
use lower case in audit-log and rbac tables
|
2022-10-19 07:39:10 +02:00 |
|
Michael Hoennig
|
ea2d2c9100
|
add TestHsMembership instance
|
2022-10-18 18:53:18 +02:00 |
|
Michael Hoennig
|
cb47d526ac
|
add hs-office-coopshares rbac + test-data
|
2022-10-18 17:29:36 +02:00 |
|
Michael Hoennig
|
bec559c9c3
|
generateRbacRestrictedView for non-updateable tables
|
2022-10-18 17:29:10 +02:00 |
|
Michael Hoennig
|
61473abf68
|
add hs_office_coopsharestransaction table SQL
|
2022-10-18 14:44:10 +02:00 |
|
Michael Hoennig
|
c862df7846
|
add hs-office-membership API and controller
|
2022-10-18 13:57:35 +02:00 |
|
Michael Hoennig
|
27f29ef665
|
hs-office-sepamandate simplyfied controller code
|
2022-10-18 12:30:26 +02:00 |
|
Michael Hoennig
|
0232ff078d
|
just a single find method in hs-office-membership repo
|
2022-10-18 09:14:35 +02:00 |
|
Michael Hoennig
|
e6f9484f99
|
add hs-office-membership entity+repo + fix rbac
|
2022-10-17 19:42:14 +02:00 |
|
Michael Hoennig
|
28bdd9220d
|
add hs-office-membership test-data
|
2022-10-17 13:23:10 +02:00 |
|
Michael Hoennig
|
63db939583
|
hoist select queryAccessibleObjectUuidsOfSubjectIds(...) into WITH CTE for better performance
|
2022-10-17 12:18:12 +02:00 |
|
Michael Hoennig
|
368da1cc95
|
add hs-office-membership RBAC rules (yet without mainDebitor update)
|
2022-10-17 08:14:09 +02:00 |
|
Michael Hoennig
|
080f9279b3
|
code cleanup
|
2022-10-17 08:11:51 +02:00 |
|
Michael Hoennig
|
221889e6ca
|
add hs-office-membership table
|
2022-10-17 07:53:25 +02:00 |
|
Michael Hoennig
|
77ef126a7e
|
improved REST-API error handling for broken request body JSON
|
2022-10-16 10:08:42 +02:00 |
|
Michael Hoennig
|
e305c3c935
|
add SEPA-mandate API+Controller
|
2022-10-15 15:32:32 +02:00 |
|
Michael Hoennig
|
67e850f9b2
|
add API validation
|
2022-10-15 11:29:56 +02:00 |
|
Michael Hoennig
|
4f22dffe5d
|
use "YYYY-MM-DD" format when writing LocalDate to JSON
|
2022-10-14 12:37:59 +02:00 |
|
Michael Hoennig
|
c6d92e271f
|
improved SQL query logging via net.ttddyy.dsproxy.listener for test
|
2022-10-14 08:33:59 +02:00 |
|
Michael Hoennig
|
d666e22297
|
add SEPA-Mandate entity+repository
|
2022-10-13 18:54:56 +02:00 |
|
Michael Hoennig
|
bece972a4e
|
add SEPA-Mandate entity+repository
|
2022-10-13 18:53:38 +02:00 |
|
Michael Hoennig
|
7f5b2358d3
|
add SEPA-Mandate SQL changesets
|
2022-10-13 13:35:50 +02:00 |
|
Michael Hoennig
|
560cd9cf9f
|
audit log with context per task instead of just transaction
|
2022-10-13 10:36:20 +02:00 |
|
Michael Hoennig
|
2506acc531
|
add audit journal log for hs_office_debitor
|
2022-10-13 09:02:09 +02:00 |
|
Michael Hoennig
|
64fbabf606
|
add audit journal log for hs_office_relationship
|
2022-10-13 08:47:17 +02:00 |
|
Michael Hoennig
|
d77d853c80
|
add audit journal log for hs_office_partner
|
2022-10-13 08:34:04 +02:00 |
|
Michael Hoennig
|
472734a516
|
add audit journal log for hs_office_person
|
2022-10-13 08:23:08 +02:00 |
|
Michael Hoennig
|
df493e40d7
|
add audit journal log for hs_office_bankaccount
|
2022-10-13 08:03:48 +02:00 |
|
Michael Hoennig
|
a56af5af25
|
add audit journal log for hs_office_contact
|
2022-10-13 07:57:19 +02:00 |
|
Michael Hoennig
|
0b60b9f0ff
|
introduces agent+guest role for role-system around debitor+partner
|
2022-10-12 15:48:56 +02:00 |
|
Michael Hoennig
|
de0c8dcfbc
|
Array.fromFormatted
|
2022-10-10 09:33:17 +02:00 |
|
Michael Hoennig
|
639925e834
|
fix debitor update trigger
|
2022-10-06 11:12:18 +02:00 |
|
Michael Hoennig
|
6b6f8127bb
|
add refundBankAccount to hs_office_debitor
|
2022-10-05 17:22:33 +02:00 |
|
Michael Hoennig
|
d98b8feaad
|
add IBAN+BIC validation
|
2022-10-05 08:04:44 +02:00 |
|
Michael Hoennig
|
a93143ff00
|
add HsOfficeBankAccount*
|
2022-10-04 19:09:37 +02:00 |
|
Michael Hoennig
|
c3195662dd
|
adds HsOfficePartner
|
2022-10-03 11:09:36 +02:00 |
|
Michael Hoennig
|
d3312c4444
|
improved Stringify
|
2022-09-30 16:27:18 +02:00 |
|
Michael Hoennig
|
31854bb838
|
ArchTest->Architecture test for shorter @ArchTest annotations and disallow JUnit 4 classes
|
2022-09-30 14:06:06 +02:00 |
|
Michael Hoennig
|
16d1372d41
|
shorter person names to make tests easier to read
|
2022-09-30 13:11:34 +02:00 |
|
Michael Hoennig
|
956ee581c6
|
implements table hs_office_relationship to HsOfficeRelationshipController
|
2022-09-30 09:44:24 +02:00 |
|
Michael Hoennig
|
49ba141ca5
|
Merge branch 'patch-with-getReference'
|
2022-09-26 13:32:54 +02:00 |
|
Marc O. Sandlus
|
89415067ef
|
patch-with-getReference, no need for fetch anymore
|
2022-09-26 13:32:30 +02:00 |
|
Michael Hoennig
|
21a4519743
|
code cleanup in partner sql files
|
2022-09-26 09:26:22 +02:00 |
|
Michael Hoennig
|
d13f0cbcdf
|
refactor HsOfficeContactEntityPatcherUnitTest to PatchUnitTestBase
|
2022-09-25 11:37:46 +02:00 |
|
Michael Hoennig
|
b431a6653d
|
refactor HsOfficePersonEntityPatchUnitTest to PatchUnitTestBase
|
2022-09-25 11:24:29 +02:00 |
|
Michael Hoennig
|
3e6da45302
|
refactor HsOfficePartnerEntityPatchUnitTest to PatchUnitTestBase
|
2022-09-24 12:43:42 +02:00 |
|
Michael Hoennig
|
00174e4c4a
|
implements HsOfficePersonController
|
2022-09-21 09:44:09 +02:00 |
|
Michael Hoennig
|
0bab27d723
|
add missing HsOfficeContactEntityPatchUnitTest
|
2022-09-20 16:32:56 +02:00 |
|
Michael Hoennig
|
863f0e2811
|
implements HsOfficeContactController
|
2022-09-20 14:17:12 +02:00 |
|
Michael Hoennig
|
44eb59c918
|
introduces generateRbacRestrictedView to generate restricted view + triggers
|
2022-09-19 20:43:14 +02:00 |
|
Michael Hoennig
|
2cae17a045
|
introduces generateRbacIdentityView to generate identity views
|
2022-09-16 16:14:39 +02:00 |
|
Michael Hoennig
|
d63e3f31e9
|
introduce 058-rbac-generators.sql with generateRelatedRbacObject+generateRbacRoleDescriptors
|
2022-09-16 15:25:58 +02:00 |
|
Michael Hoennig
|
1dd63161ab
|
properly implement update for hs_office_partner_rv
|
2022-09-15 13:32:01 +02:00 |
|
Michael Hoennig
|
bad7d146fa
|
implements HsOfficePartnerController.patch
|
2022-09-14 17:51:04 +02:00 |
|
Michael Hoennig
|
68c3375a08
|
implements HsOfficePartnerController.deletePartnerByUuid
|
2022-09-14 13:47:25 +02:00 |
|
Michael Hoennig
|
9cd4525e2b
|
create partner now taking existing contact+person uuids instead of complete (new) objects
|
2022-09-14 12:16:44 +02:00 |
|
Michael Hoennig
|
3fa02d4a10
|
prefix alex+fran with superuser- to make tests easier to understand
|
2022-09-14 09:56:22 +02:00 |
|
Michael Hoennig
|
a3d2dd3db1
|
HsOfficePartnerControllerAcceptanceTest against real repo+db
|
2022-09-14 09:24:19 +02:00 |
|
Michael Hoennig
|
bc27e6dc89
|
refactor name extractors into entity classes
|
2022-09-13 15:00:10 +02:00 |
|
Michael Hoennig
|
8041553734
|
always use role+grant names in create+delete role+grants tests
|
2022-09-13 14:17:30 +02:00 |
|
Michael Hoennig
|
4e90f53bf3
|
rename hs-admin to hs-office regarding the module name
|
2022-09-13 13:27:52 +02:00 |
|
Michael Hoennig
|
0b48e8d1b7
|
consolidating role deletion from business objects to rbac system
|
2022-09-13 12:35:46 +02:00 |
|
Michael Hoennig
|
ac5f19e399
|
improve Contact/Partner/Contact Repository integration tests with Raw...Repos
|
2022-09-12 16:27:17 +02:00 |
|
Michael Hoennig
|
3eec8a4138
|
improved rbacroles_ev view and raw access for testing purposes
|
2022-09-10 14:49:01 +02:00 |
|
Michael Hoennig
|
2c5ad094f1
|
add partner business object at repo level (WIP)
|
2022-09-09 17:43:43 +02:00 |
|
Michael Hoennig
|
2f0f18182c
|
add partner business object at db level
|
2022-09-09 10:40:05 +02:00 |
|
Michael Hoennig
|
35efa40ebb
|
fix role generation for contact+person
|
2022-09-09 09:58:36 +02:00 |
|
Michael Hoennig
|
765d3c689e
|
test role-creation, grant+revoke for contact+person
|
2022-09-08 11:21:54 +02:00 |
|
Michael Hoennig
|
ec00e445a0
|
improve code + mutation coverage in HsAdminPersonEntity
|
2022-09-08 09:47:19 +02:00 |
|
Michael Hoennig
|
37e7b5179d
|
add person business object at db level
|
2022-09-07 20:24:35 +02:00 |
|
Michael Hoennig
|
9720b37d85
|
prepare hs-admin-customer files to be used as template + generate script v1
|
2022-09-07 14:09:33 +02:00 |
|
Michael Hoennig
|
23796c56f9
|
cleanup+categorization of TODOs
|
2022-09-07 12:25:12 +02:00 |
|
Michael Hoennig
|
756d5e1ae6
|
implements delete for hs_admin_contact
|
2022-09-07 10:32:49 +02:00 |
|
Michael Hoennig
|
18a3718c75
|
better error message in assumeSuccessful+assertSuccessful
|
2022-09-07 10:24:51 +02:00 |
|
Michael Hoennig
|
2afdb3c3d7
|
add hs_admin_contact table and repository with findContactByOptionalLabelLike+save
|
2022-09-06 19:43:15 +02:00 |
|
Michael Hoennig
|
da793ee546
|
refactor to only a single global admin object global#global.admin
|
2022-09-06 13:48:30 +02:00 |
|
Michael Hoennig
|
af90fefd49
|
hs.admin.partner from API via Controller to Entity
|
2022-09-06 11:07:08 +02:00 |
|
Michael Hoennig
|
2abe88eb15
|
experimental access code for RbacUserEntity
|
2022-09-03 12:31:56 +02:00 |
|
Michael Hoennig
|
1451e7b661
|
add missing linked yaml files to test api-definition
|
2022-09-02 13:56:21 +02:00 |
|
Michael Hoennig
|
cd9be1db75
|
api-definition subdirectories rbac+test
|
2022-09-02 13:11:15 +02:00 |
|
Michael Hoennig
|
3541b0c48c
|
use /api/rbac/... instead of /api/rbac-... same for /api/test/...
|
2022-09-02 11:18:09 +02:00 |
|
Michael Hoennig
|
df48bfc0da
|
implements delete rbacuser
|
2022-09-01 16:57:16 +02:00 |
|
Michael Hoennig
|
a06feff42e
|
defineContext now requires an existing user name or null to create a new user
|
2022-08-31 16:26:31 +02:00 |
|
Michael Hoennig
|
8731f4a7b2
|
migrate hs-api to test-api
|
2022-08-31 15:44:06 +02:00 |
|
Michael Hoennig
|
a117258085
|
replace unixuser test entities with domain
|
2022-08-31 15:07:25 +02:00 |
|
Michael Hoennig
|
84ce90b28f
|
use customer/package/unixuser only as test data structure (Java part)
|
2022-08-31 09:47:35 +02:00 |
|
Michael Hoennig
|
a33cb4ec29
|
use customer/package/unixuser only as test data structure (DB part)
|
2022-08-31 09:42:40 +02:00 |
|
Michael Hoennig
|
817c1a9e58
|
split off rbac-global from hs-base and allow multiple global objects
|
2022-08-30 14:21:24 +02:00 |
|
Michael Hoennig
|
7f6e363c8f
|
store http request in audit log
|
2022-08-30 13:38:12 +02:00 |
|
Michael Hoennig
|
8af93603d5
|
improve test code coverage and generic array return from native queries
|
2022-08-30 13:08:29 +02:00 |
|
Michael Hoennig
|
a1c3e95032
|
introduce defineContext replacing explicit "set local current..."
|
2022-08-30 09:35:59 +02:00 |
|
Michael Hoennig
|
8045b66324
|
rename currentUserId->currentUserUuid + currentSubjectIds->currentSubjectsUuids
|
2022-08-30 09:18:52 +02:00 |
|
Michael Hoennig
|
1c45443da6
|
add enhanced views for users, roles and grants
|
2022-08-30 08:58:33 +02:00 |
|
Michael Hoennig
|
4aa8b85bb6
|
use context.define(...) instead of setCurrent...
|
2022-08-28 20:39:44 +02:00 |
|
Michael Hoennig
|
9fb6610ec8
|
configured pitest mutation testing
|
2022-08-26 16:06:27 +02:00 |
|
Michael Hoennig
|
2124d448bf
|
improve test code coverage and introduce context.register
|
2022-08-26 14:13:02 +02:00 |
|
Michael Hoennig
|
1a18ba4a3d
|
improve test code coverage
|
2022-08-25 20:35:31 +02:00 |
|
Michael Hoennig
|
2531b9071f
|
align create methods and improve and align acceptance tests
|
2022-08-25 14:46:05 +02:00 |
|
Michael Hoennig
|
68dfadf0e2
|
set currentTask in addCustomer
|
2022-08-24 18:48:37 +02:00 |
|
Michael Hoennig
|
6b4c9f6c51
|
use xxx, yyy and zzz for test customers, makes tests easier to read
|
2022-08-24 17:56:13 +02:00 |
|
Michael Hoennig
|
258f8b1f66
|
split tx_audit_log into tx_context and tx_journal
|
2022-08-24 12:52:28 +02:00 |
|
Michael Hoennig
|
e880a1c2c8
|
initial audit-log implementation
|
2022-08-24 12:01:54 +02:00 |
|
Michael Hoennig
|
cb641eb8c6
|
introduce currentTask and ContextBasedTest
|
2022-08-24 11:48:31 +02:00 |
|
Michael Hoennig
|
81cfbc62e4
|
re-numbering rbac db-migration scripts while extracting context (currentUser etc.)
|
2022-08-24 11:10:34 +02:00 |
|
Michael Hoennig
|
661f23e1e2
|
archrule to disallow JUnit 4, dependency exclude not possible as it's still needed for testcontainers
|
2022-08-23 14:31:54 +02:00 |
|
Michael Hoennig
|
a7f669a1f9
|
removes logging from jsonb-changes-delta
|
2022-08-23 10:18:14 +02:00 |
|
Michael Hoennig
|
d0b201aff9
|
implements jsonb-changes-delta
|
2022-08-23 10:17:32 +02:00 |
|
Michael Hoennig
|
2022492f21
|
implements jsonb-changes-delta
|
2022-08-23 09:36:39 +02:00 |
|
Michael Hoennig
|
dd4f39902f
|
cleaning up database migration files, removing date prefix, renumbering etc.
|
2022-08-23 09:25:10 +02:00 |
|
Michael Hoennig
|
a04929453c
|
implements optimistic locking for PackageEntity
|
2022-08-20 12:29:14 +02:00 |
|
Michael Hoennig
|
5ea8069608
|
implements rbac-grants get-by-id
|
2022-08-19 17:39:41 +02:00 |
|
Michael Hoennig
|
a66ed8e59f
|
add jacoco test code coverage
|
2022-08-19 12:00:13 +02:00 |
|
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 |
|