Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
53 views

Different name for hypermedia links attribute in json response after using RestTemplateBuilder for the first time (links vs _links). We have adopted a legacy application which has several rest ...
0 votes
1 answer
104 views

Should all HATEOAS links of the data-transfer object (DTO) be placed on the root level? Or should they be coupled with the individual keys as sub-objects? For example: Option 1: separate links { &...
-1 votes
0 answers
81 views

I am working on Spring Hateos Json APi. I have a Get request import static com.toedter.spring.hateoas.jsonapi.MediaTypes.JSON_API_VALUE; import org.springframework.hateoas.EntityModel; import java....
1 vote
1 answer
50 views

Currently We have a Spring Hateoas (HAL) implementation in the backend and manually handle the communication with our angular client which is working fine. I started to look for libs (seems like no ...
0 votes
0 answers
28 views

I'm trying to migrate a project of mine to WebFlux from MVC and I'm having an issue when encoding links using the WebFluxLinkBuilder to a method that take in a LocalDate, the link shows the data as &...
0 votes
0 answers
35 views

I am working on using Spring Hateos Json APi as a replacement for crnk .I want to implement a post request ie to save the Book object import static com.toedter.spring.hateoas.jsonapi.MediaTypes....
0 votes
0 answers
50 views

I am working on using Spring Hateos Json APi as a replacement for crnk .As per the documentation. I was able to get the expected response when I retrieve a List of object ie when I did import static ...
0 votes
1 answer
52 views

I am working on using Spring Hateos Json api as a replacement for crnk. As per the documentation. I was able to get the expected response when I retrieve a object ie when I did import static com....
0 votes
0 answers
91 views

I am working on a project which has spring boot 2.7 . We are planning to migrate it to spring boot 3. Our current project uses CRNK as the json api specification implementation. Since CRNK is not ...
0 votes
0 answers
16 views

Spring Data Rest works with Spring Hateoas. Id like to replace it with spring-hateoas-jsonapi. Is it possible?
0 votes
1 answer
54 views

I use spring-data-rest to publish this entity, among others @Entity public class Activity { @Id private Long id; @ManyToOne private Customer customer; } Referenced entities such as ...
1 vote
1 answer
135 views

I have this Junit 5 test code: @InjectMocks ReportAssembler reportAssembler; private ReportingReturnResponse reportingReturnResponse; private ReturnReport returnReport; private StaticPathLinkBuilder ...
1 vote
1 answer
66 views

I have this Junit test with is using hateoas 1.0: @Test public void processUserExceptionThrown() { when(userService.processAccount(request, account)) .thenThrow(new RuntimeException()); try { ...
0 votes
1 answer
224 views

I want to mock a complex case of Java method response into JUnit 5 test which is using hateoas. The JUnit 5 test: @ExtendWith(MockitoExtension.class) public class ReportingATest { @Spy protected ...
0 votes
1 answer
71 views

I have a controller defines following methods. Mono<EntityModel<Some>> readSome(...) { // works, simply. } Flux<EntityModel<Other>> readOther(...) { ...

15 30 50 per page
1
2 3 4 5
...
53

AltStyle によって変換されたページ (->オリジナル) /