OxalisCommunity/oxalis

Oxalis persistor plugin for Azure load error

lskuba opened this issue · 1 comments

lskuba commented

I am trying to add a plugin that will store messages and recipes in the Azure blob storage, I have tried to with my own implementation and also with one GitHub implementation:
https://github.com/data-altinn-no/oxalis-plugin-azureblob

I have made .jar file and placed into plugins ( jar appear in the docker under /oxalis/plugin/) :
COPY conf/oxalis-plugin-azureblob.jar /oxalis/plugin/

Added two lines to the con:
oxalis.persister.receipt = plugin oxalis.persister.payload = plugin

But still I am getting error message:
`Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:

  1. [Guice/ErrorInCustomProvider]: OxalisPluginException: Found 0 implementations of 'PayloadPersister'.
    at PersisterModule.getPluginPayloadPersister(PersisterModule.java:72)
    while locating PayloadPersister annotated with @nAmed(value="plugin")
    at PersisterModule.getPayloadPersister(PersisterModule.java:92)
    at DefaultPersisterHandler.(DefaultPersisterHandler.java:56)
    _ for 1st parameter
    at DefaultPersisterHandler.class(DefaultPersisterHandler.java:56)
    while locating DefaultPersisterHandler
    while locating PersisterHandler annotated with @nAmed(value="default")
    at PersisterModule.getPersisterHandler(PersisterModule.java:113)
    at As4FaultInHandler.(As4FaultInHandler.java:38)`

I have also added @nAmed(value="plugin") annotation to the (https://github.com/data-altinn-no/oxalis-plugin-azureblob/blob/master/src/main/java/no/nadobe/oxalis/plugin/azureblob/AzureBlobPersistor.java) but still the same result.

Any tip is welcome, thank you.

Not an issue.. Converting to discussion for further collaboration...