1
0
Commit Graph

6 Commits

Author SHA1 Message Date
Yury Bondarenko
68def61f20 Test invalidation of dependent requests 2022-09-21 19:20:49 +02:00
Yury Bondarenko
551365a0a8 Merge remote-tracking branch 'atmire/w2p-94207_Fix-resource-policy-cache-issues' into w2p-94273_Track-dependencies-in-order-to-invalidate-them-when-an-object-is-invalidated 2022-09-21 19:18:22 +02:00
Yury Bondarenko
abc9bbeae3 Revert "93803: Update DataService constructor signatures"
This reverts commit a6fb4a6303.
2022-09-12 12:29:04 +02:00
Yura Bondarenko
a6fb4a6303 93803: Update DataService constructor signatures
Override linkPath/responseMsToLive/constructIdEndpoint
  - in class body for inheritable classes (for clarity: it's the first thing you'd read, variable name is right there)
  - in constructor for composable classes
    * wrapped services must be 'synchronized' with their wrapper
    * moved these overrides up in the argument list for emphasis (implementing a new composable feature? first thing is to use the same endpoint!)
2022-09-05 12:30:41 +02:00
Yura Bondarenko
05b131edb9 93803: Rename findAllByHref to findListByHref
To avoid confusion with FindAllData:
- findAll is a "feature" to retrieve all resources from the endpoint itself ~ a plain GET
- findAllByHref is retrieves lists of resources in general
2022-08-25 10:28:45 +02:00
Yura Bondarenko
8f4b3b58fb 93803: Make data services composable
Data services should extend BaseDataService (or IdentifiableDataService) for low-level functionality and optionally wrap "data service feature" classes for
- create
- findAll
- patch / update
- put
- delete
2022-08-24 19:03:18 +02:00