jglatre
jglatre

Reputation: 953

How to setup repository decorators in katharsis

I'm trying to use repository decorators in katharsis (version 2.8.2) but the thing isn't working so far. I've extended ResourceRepositoryDecoratorBase, implemented RepositoryDecoratorFactory and provided them thru a SimpleModule to KatharsisInvokerBuilder instance.

The module and all its stuff it's being picked by katharisis, but when I do an HTTP request the decorators seem absent (no log traces) and the underlying repository receives the request, doing its work properly.

In a debugging session I've found that the list of repositories in method ModuleRegistry.applyRepositoryRegistration() is empty, so obviously at that point there is nothing to decorate (but it's quite strange, because regular repositories are working).

Am I missing something?

Upvotes: 0

Views: 137

Answers (1)

Christian Bongiorno
Christian Bongiorno

Reputation: 5648

You could try posting the issue on the katharsis github

Upvotes: -1

Related Questions