Commit Graph

333 Commits

Author SHA1 Message Date
Michael Hoennig
d2b0f477f2 CustomerDTO: AccessFor/Rights-Configuration 2019-04-23 08:42:47 +02:00
Michael Hoennig
63bd602397 JSonDeserializerWithAccessFilter with working access rights validation 2019-04-23 08:31:26 +02:00
Michael Hoennig
bb0fb4aa78 parallel structure for JSonSerializer/DeserializerWithAccessFilter 2019-04-23 06:57:06 +02:00
Michael Hoennig
90316a262b JSonSerializerWithAccessFilter - idea for parallel structure with deserializer 2019-04-23 06:28:36 +02:00
Michael Hoennig
741e91bb78 JSonSerializerWithAccessFilter - idea for generalization of field types 2019-04-23 06:27:41 +02:00
Michael Hoennig
1dae396d99 JSonDeserializerWithAccessFilter 2019-04-23 06:17:55 +02:00
Michael Hoennig
1bc7044527 fixing pitest failure by excluding purely generated code etc.
also removed unused methods and added a unit test to improve coverage
and setting thresholds now to 90% each
2019-04-21 11:53:30 +02:00
Michael Hoennig
1ac8df5ed9 improving branch coverage for AssetValidator+ShareValidator 2019-04-20 14:47:45 +02:00
Michael Hoennig
7ba20b3687 improving branch coverage for AssetResourceIntTest 2019-04-20 10:47:01 +02:00
Michael Hoennig
9f95af7547 fixing the ShareServiceUnitTest as validation was moved to ShareValidator 2019-04-20 09:43:11 +02:00
Michael Hoennig
98f96a72b1 fixing the AssetResourceIntTest BigDecimal equals 2019-04-19 14:25:25 +02:00
Michael Hoennig
de439a1658 fixing the *IntTest regarding required related entities and unique constraints 2019-04-19 14:13:16 +02:00
Michael Hoennig
70db76b439 comment access rights on CustomerDTO 2019-04-19 14:13:15 +02:00
Michael Hierweck
a89967e91b Translations. 2019-04-19 14:11:54 +02:00
Michael Hierweck
bc1c94a364 Shares and Assets. 2019-04-19 13:44:52 +02:00
Michael Hoennig
998a5a8aa1 WIP JSonDeserializerWithAccessFilter 2019-04-19 12:08:30 +02:00
Michael Hoennig
0b7ebac472 first shot @AccessFor on MembershipDTO 2019-04-19 12:08:04 +02:00
Michael Hoennig
6e017aba49 removing orphaned specialized serializer from CustomerDTO 2019-04-19 11:01:52 +02:00
Michael Hoennig
a24ca35bd7 JSonSerializerWithAccessFilterUnitTest 2019-04-19 10:46:40 +02:00
Michael Hoennig
1ad74907bd RoleUnitTest + special case FINANCIAL_CUSTOMER_CONTACT 2019-04-19 09:13:19 +02:00
Michael Hoennig
d5a37ddfae JavaDoc for Role 2019-04-19 07:46:11 +02:00
Michael Hoennig
f4960f260e moving the JSonSerializer to a separate package 2019-04-19 07:18:20 +02:00
Michael Hoennig
6ab67995ff fixing tests after merging master 2019-04-18 18:11:56 +02:00
Michael Hoennig
16cf845015 Merge branch 'master' into spike/JSonSerializerDeserializerForDTOs
# Conflicts:
#	package-lock.json
#	src/main/java/org/hostsharing/hsadminng/service/dto/CustomerDTO.java
2019-04-18 17:36:35 +02:00
Michael Hoennig
ce083e928a comment access rights on CustomerDTO 2019-04-18 17:30:28 +02:00
Michael Hierweck
e3792d9570 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hsadmin-ng 2019-04-18 17:18:13 +02:00
Michael Hierweck
633ae1d7d1 Merge branch 'jhipster-generated' 2019-04-18 17:18:03 +02:00
Michael Hoennig
5287d78fcb JSON serializer generalized 2019-04-18 17:16:18 +02:00
Michael Hierweck
0e417fa772 Merge branch 'jhipster-generated' 2019-04-18 16:33:28 +02:00
Michael Hierweck
fa0ba61de3 Generated 2019-04-18 16:31:39 +02:00
Michael Hierweck
c6be30895e Customer JDL 2019-04-18 16:20:25 +02:00
Michael Hierweck
1dc03456b2 Merge branch 'jhipster-generated' 2019-04-18 15:25:44 +02:00
Michael Hoennig
bc87739d6f JSON serialiezr/deserializer for CustomerDTO - manually 2019-04-18 14:48:58 +02:00
Michael Hierweck
2459dd3b64 Model customers. 2019-04-18 12:12:25 +02:00
Michael Hierweck
bff4547d40 Merge branch 'jhipster-generated' 2019-04-18 10:51:02 +02:00
Michael Hierweck
7f0dfebaa4 Model customers. 2019-04-18 09:33:55 +02:00
Michael Hoennig
35565e1b43 comment access rights on CustomerDTO 2019-04-17 16:45:16 +02:00
Michael Hoennig
7b7598871b added sample data for memberships 2019-04-12 18:50:38 +02:00
Michael Hoennig
3e66a21805 added comment regarding potential race condition 2019-04-12 17:34:28 +02:00
Michael Hoennig
73969f5a40 using IntTests.createEntity() as generated by JHipster with required fields 2019-04-12 17:20:48 +02:00
Michael Hoennig
3fa514c982 Merge branch 'jhipster-generated'
# Conflicts:
#	src/main/java/org/hostsharing/hsadminng/domain/Asset.java
#	src/main/java/org/hostsharing/hsadminng/domain/Customer.java
#	src/main/java/org/hostsharing/hsadminng/domain/Membership.java
#	src/main/java/org/hostsharing/hsadminng/domain/Share.java
#	src/main/java/org/hostsharing/hsadminng/service/dto/CustomerCriteria.java
#	src/main/resources/config/liquibase/changelog/20190403083735_added_entity_Customer.xml
#	src/main/webapp/app/entities/customer/customer-detail.component.html
#	src/main/webapp/app/entities/customer/customer-update.component.html
#	src/main/webapp/app/entities/customer/customer.component.html
#	src/main/webapp/app/entities/entity.module.ts
#	src/test/java/org/hostsharing/hsadminng/web/rest/CustomerResourceIntTest.java
#	src/test/java/org/hostsharing/hsadminng/web/rest/ShareResourceIntTest.java
2019-04-12 16:47:18 +02:00
Michael Hoennig
bd5bb859d9 re-importing latest customer.jdl from master branch 2019-04-12 16:46:43 +02:00
Michael Hoennig
39950f0d69 several 'required' flags added to jdl and re-import 2019-04-12 16:43:16 +02:00
Michael Hoennig
4dbbd5ecde MembershipValidator using membershipRepository.hasUncancelledMembershipForCustomer 2019-04-12 14:43:23 +02:00
Michael Hoennig
ca9879db92 improved shouldValidateThatUntilDateIsAfterSinceDate test 2019-04-11 18:16:08 +02:00
Michael Hoennig
d1d6001842 introduced MembershipValidator 2019-04-11 18:06:12 +02:00
Michael Hoennig
c6bf856b34 prevent deleting memberhsip via service call 2019-04-11 16:52:50 +02:00
Michael Hoennig
4fdcf77e8e added mutation testing with pitest as a separate task (too slow because there are almost only IntTests) 2019-04-11 14:34:19 +02:00
Michael Hoennig
19c0049b0e added mutation testing with pitest as a separate task (too slow because there are almost only IntTests) 2019-04-11 12:51:07 +02:00
Michael Hoennig
e7e38f68b5 lowering jacoco branch cover ratio, so it should pass 2019-04-09 15:25:58 +02:00