cph-cachet / carp.core-kotlin

Infrastructure-agnostic framework for distributed data collection.
https://carp.cachet.dk/core/
MIT License
21 stars 3 forks source link

Support applying decorators to all application service requests #432

Closed Whathecode closed 1 year ago

Whathecode commented 1 year ago

This provides decorator functionality for all application services to apply crosscutting concerns on all requests. E.g., logging, authorization, etc.

The former ApplicationServiceLoggingProxy implementations per application service have been replaced by ApplicationServiceDecorator with a ApplicationServiceRequestLogger decorator applied.

xelahalo commented 1 year ago

I've added some comments, I didn't want to spend so much time on it. The comments are more like general inquires as I am not that familiar with the codebase.