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
3
votes
2 answers

Katharsis in combination with Spring Boot

I have implemented a REST API using Spring Boot (version 1.3.6.RELEASE), which is working as expected. However I would like to add JSON API support to my application. The problem is that I get a 404 when trying to execute a GET on a Katharsis…
Navid
  • 41
  • 5
3
votes
0 answers

How to create ServletRequest programmatically targeting a different response URL?

To give you a background, upon receiving a request we want to extract the payload along with other information like request URI, query parameters, etc. and put it as a message in a Message Queue. Another service will then pick messages and invoke…
xbmono
  • 2,084
  • 2
  • 30
  • 50
2
votes
2 answers

Implementation JsonApi with Spring Boot

I worked with standard Rest API Spring Boot applications 2 years. For my next project I need to use JsonApi. I made little research and see few…
faroali
  • 21
  • 2
2
votes
0 answers

Json-API : format custom Rest endPoint in SpringBoot

Don't hesitate to tell me if I am not going in the right direction. In my project, we provide several endpoints for custom objects that contain part of different entities. I would like these endpoints response and request parameter if any, to…
RPresle
  • 2,436
  • 3
  • 24
  • 28
2
votes
0 answers

Katharsis with SpringBootTest

I am having an interesting issue where API exposed by Katharsis are not found when I am trying to call them under SpringBootTest. I am able to connect to Spring MVC APIs using the same approach but Kartharsis end points are returning HTTP 404 inside…
ninux
  • 31
  • 2
2
votes
0 answers

Adding a "remote" relationship in Katharsis?

I'm evaluating JSON-API and using Katharsis to implement a set of related API's as microservices, where one resource is in it's own deployable unit, and it may relate to other resources in other microservices or even external API's out of my…
Jason Royals
  • 231
  • 1
  • 4
2
votes
1 answer

Katharsis with standard spring mvc controller for posting JSON returns 400

I've integrated Katharsis with spring-boot (MVC + Security) and I'm realy happy about it. @SpringBootApplication @Import(KatharsisConfigV2.class) @Configuration public class Application { public static void main(String[] args) { …
Fiftoine
  • 271
  • 5
  • 17
2
votes
0 answers

How to integrate swagger and Katharsis?

How to integrate swagger and Katharsis? I don't know how to put swagger annotation in Katharsis Katharsis website: http://katharsis.io/. Thanks. @GET @Path("/{id}") @RolesAllowed({Roles.SYSTEM_USER}) @ApiOperation( value = "Get a…
Bensson
  • 4,509
  • 4
  • 19
  • 24
2
votes
1 answer

How to get resource link for pagination in katharsis

I'm trying to do pagination. What I have works, but I have some doubts about the way I get a Resource URL. In my Resource Repository, I inject a ResourceRegistry in a Lazy way (I know it's a circular dependency) to get a URL for my Resource that I…
user2793390
  • 741
  • 7
  • 29
2
votes
1 answer

Testing Katharsis JsonApi with MockMvc and Mockito

I would like to test the behaviour configured by my Katharsis ResourceRepository (katharsis-spring 2.1.7): import io.katharsis.queryParams.QueryParams; import io.katharsis.repository.ResourceRepository; import…
ppi
  • 86
  • 7
1
vote
0 answers

Katharsis: String sorting case insensitive

We're using Katharsis to implement the JSON API spec and have a question regarding sorting. It looks Katharsis uses an objects natural order when getting sorting, but is there anyway to override this for a given field? We would like to be able to…
djdick
  • 189
  • 1
  • 2
  • 12
1
vote
0 answers

Katharsis: How to set resource type for jpa entity?

I'm using Katharsis with spring boot for my project, and my problem is with Katharsis-jpa. It seems katharsis ignore @JsonApiResource annotations or does not apply mapping for the type specified. I've currently two classes : One is my entity…
1
vote
0 answers

Katharsis-Client where to set request headers?

I want to set request headers in my Katharsis Client which is connecting to one of the JSONP based API. I dont see options for the same any where.
ninux
  • 31
  • 2
1
vote
1 answer

Spring boot katharsis APIs with OAuth2 Configuration not working

We implemented most of the APIs using katharsis library using spring boot project and all APIs were working successfully, but after we added spring OAuth2 configuration to the project the APIs are not working any more and always return 404. Please…
1
vote
1 answer

katharsis-rs URL decoding

I am using Katharsis libraries katharsis-core and katharsis-rs for JAX-RS Integration of Katharsis. Version I am using is 2.4.0. Is there any updates on these libraries, where Katharsis automatically performs URL Decoding before parsing the filter…
Mathangi
  • 28
  • 2
1
2 3