Commit Graph

477 Commits

Author SHA1 Message Date
Michael Hoennig
88952bef7d add @Timed("app.cas.authenticate") 2024-12-21 18:33:01 +01:00
Michael Hoennig
f11b0c93e1 remove hardcoded CAS user and add --fail-with-body to curl 2024-12-21 16:04:40 +01:00
Michael Hoennig
6c38a328f3 disable CSRF 2024-12-21 15:17:20 +01:00
Michael Hoennig
3a4f068528 implement bypassing CAS-authentication and adding admin accounts 2024-12-21 14:24:41 +01:00
Michael Hoennig
2c1a5f5933 fetch username from CAS validation response 2024-12-20 16:44:06 +01:00
Michael Hoennig
a41430eea9 fi most tests 2024-12-20 14:22:52 +01:00
Michael Hoennig
9ed2b79fe3 fix ping test 2024-12-20 13:14:30 +01:00
Michael Hoennig
d359ae1693 introduce interface Authenticator 2024-12-20 12:30:50 +01:00
Michael Hoennig
ee001b520c fix most tests with improved fake CAS-validator and use WireMock 2024-12-20 11:18:35 +01:00
Michael Hoennig
2338c3cc57 do not require CAS service ticket for tests 2024-12-18 17:20:33 +01:00
Michael Hoennig
2ec44f1a43 fake-CAS integration for tests 2024-12-18 17:14:48 +01:00
87c7d2f531 feature/add-scenario-test-for-deceased-partner-with-community-of-heirs (#137)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #137
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-18 10:49:05 +01:00
20fa27194b create relation with holder- and contact-data, and search for contact emailAddress + relation mark (#136)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #136
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-13 14:09:01 +01:00
19fac6b5e1 http-get endpoints for partner, debitor and memberhip-number (#135)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #135
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-11 11:35:51 +01:00
c7b17ee546 bugfix: permit access to Swagger UI (#134)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #134
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-11 10:55:15 +01:00
a05430a54b more scenario tests for coop-assets (#133)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #133
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-06 10:59:02 +01:00
6464d6f1ec linked metrics-endpoint (#132)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #132
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-06 10:08:26 +01:00
Michael Hoennig
6ee2b0e81f fix spotless violation due to empty file after merge 2024-12-05 11:30:06 +01:00
ee627cc246 split PersonEntity/Repo into Rbac and Real Entity/Repo and use in Relation for faster lazy loading (#130)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #130
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-05 10:39:25 +01:00
ddba946d72 add micrometer @Timing annotations to Controllers+Repositories + ArchTest (#128)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #128
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-05 10:32:34 +01:00
0832c90c82 TP-20241126-znuny-view-customer_company (#129)
Co-authored-by: Dev und Test fuer hsadminng <hsh03-hsngdev@h50.hostsharing.net>
Reviewed-on: #129
Reviewed-by: Michael Hoennig <michael.hoennig@hostsharing.net>
2024-12-05 10:22:42 +01:00
d06512f0a0 working hasGlobalAdminRole and prepare for Micrometer metrics with Spring Security (#127)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #127
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-03 12:39:19 +01:00
b36712076d implement coop-asset-TRANSFER-transaction reversal (#125)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #125
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-28 07:10:31 +01:00
3532e3a46c add advanced scenario-tests for coop-assets (#123)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #123
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-25 16:06:24 +01:00
7883052864 optimize RBAC SELECT-queries for global-admins without assumed role (#124)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #124
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-25 10:56:16 +01:00
d7caf3b0f8 TP-20240927-importfixes (#115)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Co-authored-by: Dev und Test fuer hsadminng <hsh03-hsngdev@h50.hostsharing.net>
Reviewed-on: #115
Reviewed-by: Michael Hoennig <michael.hoennig@hostsharing.net>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Co-committed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-11-21 10:27:34 +01:00
35db9aad43 feature/prefixes-for-partner-member-debitor-in-api (#122)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #122
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-11-18 12:11:16 +01:00
c98a5acb38 OfficeScenarioTests CoopShares+Assets (#121)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #121
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-15 11:54:18 +01:00
8f410198e9 feature/use-dot-uuid-in-api (#120)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #120
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-11 11:25:42 +01:00
e97b177a92 feature/use-case-acceptance-tests-3 (#119)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #119
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-07 10:11:46 +01:00
6191bf16e0 feature/split-up-postalAddress (#118)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #118
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-06 12:24:37 +01:00
63af33d003 feature/use-case-acceptance-tests-2 (#117)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #117
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-05 13:58:31 +01:00
3b94f117fb feature/use-case-acceptance-tests (#116)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #116
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-10-30 11:40:36 +01:00
c181500a1d feature/add-jenkinsfile (#114)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Michael Hönnig <michael@hoennig.de>
Reviewed-on: #114
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-10-14 10:36:50 +02:00
c26ae77a09 feature/api-for-email-address-search-in-contacts (#113)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Michael Hönnig <michael@hoennig.de>
Reviewed-on: #113
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-10-11 17:06:44 +02:00
60341bf644 add DomainSetup-HostingAssets for new BookingItem via created-event (#111)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #111
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-10-08 11:48:31 +02:00
cc2b04472f application-event for booking-item-created with domain-setup-example (#110)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #110
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-27 11:19:01 +02:00
4811c0328c fix Error code 500 in Relation.find without type (NullPointerException) (#109)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #109
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-27 11:00:58 +02:00
cb4aecb9c8 refactoring for implicit creation of dependend hosting-assets (#108)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #108
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-09-26 10:51:27 +02:00
d949604d70 unique identifers for hosting assets per type (#107)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #107
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-25 10:53:43 +02:00
f33a3a2df7 introduce-separate-database-schemas-hs-booking-and-hosting (#106)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #106
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-23 10:52:37 +02:00
23b60641e3 introduce-separate-database-schema-hs-office-and-amend-generators (#105)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #105
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-18 10:28:21 +02:00
285e6fbeb5 introduce separate database schema-test and amend RBAC generators for schema-generation (#104)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #104
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-17 14:21:43 +02:00
1eed0e9b21 introduce separate database-schemas base+rbac (#103)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Michael Hönnig <michael@hoennig.de>
Reviewed-on: #103
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-16 15:36:37 +02:00
80d79de5f4 import-legacy-ids-of-booking-items-and-hosting-assets (#101)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #101
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-16 10:00:41 +02:00
860df4c69f user-definable verificationCode and more business-level-validation-tests (#100)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #100
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-12 10:52:44 +02:00
b1ab1afbb6 test deep patch into properties and fix typing while patching array properties (#99)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #99
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-11 18:16:50 +02:00
13f258fb90 fix import with domain setup dns verification (#98)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #98
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-11 13:32:49 +02:00
a7d586f0f7 check-domain-setup-permission (#97)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #97
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-10 13:15:03 +02:00
8e02610679 fix salt problem for yescrypt hashes in HashGenerator (#96)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #96
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-09-10 10:31:49 +02:00