Skip to content

Improve ResourceStorage API #680

Description

@mcweba

In gateleen-core module the ResourceStorage (https://github.com/swisspost/gateleen/blob/develop/gateleen-core/src/main/java/org/swisspush/gateleen/core/storage/ResourceStorage.java) should be improved.

The actual endpoint like 

void get(String path, Handler<Buffer> bodyHandler);

does not provide error handling. In case of the EventBusResourceStorage implementation when there is no consumer on the configured EventBus address, only a warning is logged. The handler is never called.

See https://github.com/swisspost/gateleen/blob/develop/gateleen-core/src/main/java/org/swisspush/gateleen/core/storage/EventBusResourceStorage.java#L38

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions