This is a mapper interface for mapping: @Mapper public interface DoctorMapper { DoctorMapper INSTANCE = Mappers.getMapper(DoctorMapper.class); DoctorDto toD
Java Code @Component @RequiredArgsConstructor public class WireInboundFileListener extends RouteBuilder { private final JwtWireTokenService jwtWireTokenSe
I am trying to migrate existing spring boot application to spring native. In this case, I have application.properties and application-dev.properties. package co
I'm trying to send simple message to a topic from sender Spring Boot app to a receiver Spring Boot app. But I keep getting two exceptions. First exception occur
I have an application with thousands of tests through MockMvc. The tests are running in band, so 1 at a time and whole process takes hours. I decided to try par
I have a Spring Boot Vaadin web app with Spring Security and keycloak-spring-security-adapter. This works fine on the root page. From the root page I can access
I currently have multi tennancy database working by implmenting AbstractDataSourceBasedMultiTenantConnectionProviderImpl. This is working great thankfully. Now
I have an object User and as part of validation I have provided something like below: import javax.validation.constraints.NotBlank; public class User { pr
I am developing web application backend with Spring where client and server talk through Restful APIs. There is a specific API where I assume the hit will be mu
Below is my pom.xml. I am getting exceptions while fetching the spring-starter-parent from maven repo. what is it that I should specify in my relative path : Wh
In a project I am working on we added a secondary data source. This meant adding the entity factory and the transaction manager at the @EnableJpaRepositories. W
Link for Authorization server: https://github.com/spring-projects/spring-authorization-server This project pretty much has everything in terms of OAuth and Iden
I'm trying to add the following statement to a Spring Boot service: @Autowired private ApELDatabasePublisherService eventPublisher; The dependency for eventPu
@DeleteMapping("/uri/{id}") public ResponseEntity<RestResponseBody> delete(@PathVariable Long id, Authentication auth) { return ResponseEntity.ok(new
Using <spring-boot.version>2.3.9.RELEASE</spring-boot.version> added following dependencies : <dependency> <groupId>org.springframew
I have spring boot application which starts H2 db with below URL jdbc:h2:~/data/test;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;TRACE_LEVEL_SYSTEM_OUT=3;AUTO_SERVE
I have a mounted folder and I download files into this folder through Spring boot application in docker container. File content is correct in my macbook's mount
I have a spring-boot server which only accepts https requests, the point is that I need it to be able to communicate with the client (android) using SSE. I have
I have an API that returns a parent with its children, I need to implement that in java 8 to be able to return them as below: A -> has B as Child, and C as C
I have this vanilla spring boot/azure/starter app, connecting to our internal azure service. https://docs.microsoft.com/de-de/azure/developer/java/spring-framew