Questions tagged [katharsis]

HATEOAS (Hypermedia as the Engine of Application State) for Java based on JSON API standard

About

The Katharsis library adds an additional layer on top of RESTful endpoint to provide easy HATEOAS support for Java by implementing JSON API standard.

Links

37 questions
0
votes
0 answers

Katharsis-servlet not invoking interceptor

I am using Spring security in my project now. I want to hook up Katharsis in my project. Added LAST filter to be KatharsisFilter. Problem is that my interceptors are not getting invoked. Instead hits the repository and serves the resource
0
votes
1 answer

Calling Katharsis JSONApi JsonApiFindAllWithIds

I am using Kathatrsis for my REST API. I am also new to the JSONApi spec. I for the life of me cant figure out the url pattern to call the @JsonApiFindAllWithIds method. For example, say it is annotated as: @JsonApiFindAllWithIds public…
user489041
  • 27,916
  • 55
  • 135
  • 204
0
votes
1 answer

Dropwizard + Katharsis: Preflight (OPTIONS) returns 404

I'm not sure how to configure these two libraries to correctly handle preflight requests (coming from Ember.js). Using the filter below works just fine with a standard Dropwizard/Jersey resource but does nothing when Katharsis is brought into play …
Chris
  • 3,437
  • 6
  • 40
  • 73
0
votes
1 answer

Katharsis Query Parameters Capabilities

My team is trying to use the query parameters for Katharsis and found that they really don't seem to do anything except on the presentation layer. Basically i want to side load data with an included parameter, but if i dont populate the returned…
mitch2na
  • 79
  • 8
0
votes
1 answer

katharsis collection of non primitives serialization

Trying to serialize a collection of non-primitive types using katharsis, but getting an empty collection all the time. Response example: { "data": { "type": "products", "id": "1", "attributes": { "simpleAttributes": [ …
Green A
  • 11
  • 4
0
votes
2 answers

Katharsis Json Api restrict PATCH

I am using Katharsis library in my Spring Boot server to build automatically JSON-API interface. Let's say I have an endpoint (resource) /resource, for which I would like to offer POST method (to create new resources) but restrict PATCH (to…
ppi
  • 86
  • 7
0
votes
1 answer

Dynamic attributes in katharsis resource

Is it possible to use a map to specify attributes in a katharsis model class. Ive tried adding a Map property with annotation @JsonAnyGetter but that just includes the map as an atrtribute rather than specifying the attributes themselves.
Rob Martin
  • 31
  • 3
1 2
3