-
try {
trackService.saveTrack(track);
responseEntity = new ResponseEntity("Successfully created", HttpStatus.CREATED);
}
-
## What problem are you trying to solve?
In Spring Framework 5.3, `ResponseStatusException` had methods `getRawStatusCode()` and `getStatus()`:
https://docs.spring.io/spring-framework/docs/5.3…
-
1. Live Demo
2. Pull Requests!: https://github.com/Del-Norte-Farmers-Iowa-Hawkeyes-Fanclub/The-Del-Norte-Association-of-Farmers-Presents-Interactive-Sustainable-Farming-Initiative/pull/13
3. Scrum …
-
It should be helpful to assert a response to a test request fluently.
```java
@RegisterExtension
static ServerExtension server = ...;
@Test
void testRestApi() {
WebTestClient client = serv…
-
**Problem description:**
Currently we are trying to port our task applications to Spring Boot 3. Because we are using the `spring-cloud-dataflow-rest-client` in one of our task applications there are…
-
Consider this situation:
```
@retry(CustomError, tries=3, delay=1)
def do_something_with_retry(*args, **kwargs):
try:
return something()
except ApiError as e:
if e.statu…
-
Currently i have to rewrite the mock rule to verify the number of calls. I.e.:
```
mock.onPost().withPath(Matchers.containsString("/something")).doReturn(HttpStatus.SC_OK, "777");
[...]
mock.verif…
-
Hi,
Per your example within the README how would you extract the username URL/Path param. I've reviewed the code samples and read through the documentation and debugged through my own simulator and…
-
## Issue Description
Type: *bug report*
### Describe what happened
### Describe what you expected to happen
### How to reproduce it (as minimally and precisely as possible)
![im…
-
### Expected Behavior
OPTIONS preflight request should not fail
### Actual Behaviour
OPTIONS preflight request fails
### Steps To Reproduce
1) Enable cors on micronaut application using…