Commit Graph

696 Commits

Author SHA1 Message Date
Michael Hoennig
574fb92b9a HSADMINNG_CAS_SERVICE_ID + hsadmin-ng commands case insensitive 2024-12-23 09:36:44 +01:00
Michael Hoennig
88952bef7d add @Timed("app.cas.authenticate") 2024-12-21 18:33:01 +01:00
Michael Hoennig
178b3cc515 rename hsadmin-ng to cas-curl 2024-12-21 16:23:13 +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
1bfa404f92 improved help 2024-12-21 15:54:32 +01:00
Michael Hoennig
2ebf4ea618 read HSADMINNG_CAS_USERNAME + HSADMINNG_CAS_PASSWORD if missing in env 2024-12-21 15:51:17 +01:00
Michael Hoennig
3b9f48cfd6 add hsadmin-ng culr wrapper with CAS 2024-12-21 15:30:16 +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
57a710fc24 refactor to avoid dependency cycles 2024-12-20 17:19:09 +01:00
Michael Hoennig
3f7df2bc81 remove authentication from ScenarioTests 2024-12-20 16:54:42 +01:00
Michael Hoennig
2c1a5f5933 fetch username from CAS validation response 2024-12-20 16:44:06 +01:00
Michael Hoennig
07dcf96ee5 don't wire Wiremock in scenariotests 2024-12-20 15:46:35 +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
69ab43a01c add missing wiremock lib 2024-12-20 12:31:07 +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
695341c3dc add FIXMEs 2024-12-18 17:22:00 +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
7212c92fe2 Merge pull request 'fix spotless violation due to empty file after merge' (#131) from bugfix/fix-spotless-violation-due-to-merge into master
Reviewed-on: #131
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-05 13:28:07 +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
88e0adcea7 refactoring scenario-tests (#126)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #126
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-29 14:03:26 +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
cb8a5190ce fix allowed licenses, do version upgrades upgrade and improve test coverage (#112)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #112
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-10-10 09:31:43 +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