I am trying to write a simple Java program that displays Hello World as a microservice. I am using Spring Boot, but due to security reasons at my company, I am unable to use Maven. Therefore, I have no option but to download the jar files and add them to my project. I have done so, and made sure I
Tag: microservices
EnableConfigServer is not working for native location in spring boot
I am trying to configure a configuration server for all the properties in our application using @EnableConfigServer in spring boot. Please see the code below : pom.xml application.properties Copied all the property files to : /Users/Sankest/StarterProjects/MicroServices/AllConfigurations/ But when I try to access url at http://localhost:9090/config-server/default I am not seeing any property files and getting the following response: Answer Correct value
How to connect to DynamoDB on AWS using a Spring Boot application running on local system?
I’m working on Spring Boot microservice REST based application and backedn database is currently local Dynamodb database. I can make REST calls using Postman to my application running locally and can perform CRUD operation with the local dynamodb database. Now I want to make changes in the configuration so that whenever I make similar CRUD operations on my application running
Netflix Feign – Propagate Status and Exception through Microservices
I’m using Netflix Feign to call to one operation of a Microservice A to other other operation of a Microservice B which validates a code using Spring Boot. The operation of Microservice B throws an exception in case of the validation has been bad. Then I handled in the Microservices and return a HttpStatus.UNPROCESSABLE_ENTITY (422) like next: So, when Microservice