Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [spring-boot]

The tag has no usage guidance.

-2
votes
0answers
18 views

Usage patterns for spring cloud gateway on aws

Consider this setup for a microservices application on AWS. The question is about the API gateway part. AWS has one for managing the API of microservices. It has an authentication mechanism built-in, ...
1
vote
0answers
35 views

OpenAPI 3.0 Code Generation APIs and Schema Models Best Practices [on hold]

Me and my team is starting to build a REST API based of Spring Boot and for documentation purposes it’s OpenAPI 3.0 with Yaml files. There was a discussion about generating both APIs and Models(Schema)...
-1
votes
1answer
77 views

Project design/structuring using DDD for an API with a lot of third party services integrated? [closed]

We have a Java/Spring Boot rest API project. This will be the first of several Microservices How do we structure based on Domain Driven approach for a microservice which has several third Party API ...
1
vote
1answer
43 views

Spring Boot Controller Unit Test Strategy

All of the controllers in our project are as dumb as we can make them. Rightfully so, they simply validate the incoming payload, hand the request over to a service layer, and return whatever response ...
2
votes
2answers
87 views

Should I validate dtos or entities? [closed]

I want to place validation in one layer for the reason of simple code maintenance. I was thinking of entity validation, cause this protects directly database. Am I right, or should I add validation ...
0
votes
1answer
71 views

Using Spring Boot's @ConfigurationProperties without violating Law of Demeter

My apps commonly have one or more prop holders. These holders contain config data used in the app such as: @Component @ConfigurationProperties(prefix="app.orders") @Data //lombok public class ...
2
votes
3answers
151 views

Is it a good idea to share repositories across microservices in Spring Boot Application?

We are migrating a desktop application into web based Spring Boot micro services application with a client imposed mandate of using their existing MySQL database, so all micro services share a common ...
-1
votes
2answers
125 views

Dealing with data download which could take days to download

I have a situation on the front end where a user clicks on “Download” button and the query behind the scenes is going to take over a day. I have a Spring boot web app running as far as web services ...
1
vote
0answers
29 views

How to build Spring Boot multimodule app build to separate WARs and shared library/dependencies?

Currently, I'm trying to migrate multimodule angular + spring 4 app build with ant and ivy to Spring Boot and build it with Gradle. The issue is that I don’t how to create build upon some custom ...
0
votes
1answer
116 views

Best approach for web service that calls other web services

The scenario is: client makes request to server A Server A makes potentially multiple requests to server B. Edit to clarify, server A makes the requests concurrently using Futures. Server A blocks ...