All Questions
Tagged with rest microservices
545
questions
0
votes
2
answers
74
views
kubernetes liveness prob with database / external connectivity
We have rest api based app deployed in kubernetes cluster, planning to implemnent the liveness-prob check (http based /healthz GET endpoint).
Our is app dependent on database, is it good practice to ...
0
votes
0
answers
11
views
Decoupling REST API processing to other microservices through MQ
I have a platform that has some requirements including the following:
Generating PDF/Image files from raw data in async.
Uploading these files to DB and/or AWS S3 Buckets
Complex RBAC verification ...
0
votes
1
answer
13
views
E2E tests for AWS eventbridge API destinations
We have an API to register a member for our e-commerce application and in the back of that API we have multiple eventbridge rules that are configured to target different API destinations.
One of the ...
0
votes
0
answers
65
views
In a microservice architecture, where to define and how to propagate enum definitions
We don't know where to implement a certain enum and how to propagate it throught our services, that need it. We need this enum "SampleType" in two of our microservices (for now). Our ...
1
vote
1
answer
47
views
How are we passing context while creating endpoint in go-kit
func MakeGetEndpoint(srv Service) endpoint.Endpoint {
return func(ctx context.Context, request interface{}) (interface{}, error) {
_ = request.(getRequest) // we really just need the ...
0
votes
0
answers
35
views
org.springframework.web.client.UnknownContentTypeException: Could not extract response: no suitable HttpMessageConverter found for responsetype
org.springframework.web.client.UnknownContentTypeException: Could not extract response: no suitable HttpMessageConverter found for response type [class java.lang.Integer] and content type [text/plain;...
0
votes
0
answers
157
views
Best Spring boot project structure with controller, service, entity and repository
Working on new project, it's a spring boot microservice application and I have a each controller, service and repository for each module like common, online and offline so I have created project ...
1
vote
0
answers
99
views
Validate Object while deserialization by using Custom ObjectMapper in spring boot
I have a class called Student. I want to validate the object. I have used few annotation in model class along with I have written custom validation logic. Still it is not working. But when I remove ...
0
votes
0
answers
46
views
Getting back 404 responses and 400 resposes for post and Get Http requests on Spring Boot Java Project. New to spring so any advice is Appreciated
https://github.com/mikedimeji/product-service
I have linked the entire project down below if anyone wants to look over my code or attempt running it themselves. Java 17 with a Mongodb backend and a ...
0
votes
1
answer
398
views
How to configure two microservices using Python (uvicorn/fastapi/requests) to call each other in one use case?
I have two microservices. Let's name them service1 and service2.
I have implemened an endpoint on service1 which calls an endpoint from service2. To fullfill this request, an endpoint from service2 ...
1
vote
2
answers
91
views
microservices' async communication for business transaction
Problem
Inside a microservice architecture, consider a service A which receives a request from an user and persist some data in to its database.
Once persisted, service A has to notify service B. This ...
0
votes
1
answer
80
views
What is a bare minimum microservice architecture [closed]
I am currently exploring the concept of microservices architecture and trying to understand the nuances of its definition, especially when compared to a monolithic architecture.
My specific question ...
0
votes
1
answer
112
views
How does E-commerce platforms with microservices architecture use Redis for Caching?
I am using Microservice architecture in my application.Whenever server gets the request,it has to fetch the data from Database,which takes hell lot of time (and inefficient too),So I want to implement ...
0
votes
0
answers
122
views
Consume a soap webservice in spring microservice with spring cloud gateway
I have a microservice for payment which I must consume a soap webservice in it. also each request is proxing by a spring cloud gateway which gets an authentication token from microservice and then ...
0
votes
1
answer
108
views
Communication between Micro-services using Generic Object layer for Request and Responses
I m designing a distributed system which is based on Spring boot and communication between them will be taken care by REST API calls.
Now number of services I have is greater than 8. I want to design ...