Spring Boot Microservices Tutorial - Part 4 - Spring Cloud OpenFeign & Testing with Wiremock

  Рет қаралды 13,473

Programming Techie

Programming Techie

Күн бұрын

Пікірлер: 34
@ProgrammingTechie
@ProgrammingTechie 9 ай бұрын
Link to the written tutorial: programmingtechie.com/articles/spring-boot-microservices-tutorial-part-3
@parttime-teach
@parttime-teach 3 ай бұрын
Not working the above link.
@ProgrammingTechie
@ProgrammingTechie 3 ай бұрын
@@parttime-teach Fixed it now
@GopalaKrishna-ns2lb
@GopalaKrishna-ns2lb 9 ай бұрын
waiting for more vedios on Spring Boot Microservices Tutorial's
@sanketkadam4716
@sanketkadam4716 9 ай бұрын
Thanks for the videos, please increase the font size of code and change the background of IDE bcoz code is not visible properly.
@ProgrammingTechie
@ProgrammingTechie 9 ай бұрын
Yes I am already working on it, the new videos will have increased font
@OG_241
@OG_241 7 ай бұрын
Hi Sai , Can we try to implement asynchronous communication in this setup by referring to your previous microservices tutorial?
@waterfire2640
@waterfire2640 9 ай бұрын
I have the question: If we have four services A, B, C, D in our project and B, C, D services needs to call API of A service. So, we need to define Feign client for service A in B, C, D services and that is duplicate 3 times, right? Is there anyway to define Feign client for A service one time only and it can be shared among 3 services B, C, D?
@raghavanaliassaravananm1546
@raghavanaliassaravananm1546 9 ай бұрын
Yes it is because that’s a contract of each service . How come it becomes duplicate if these are supposed to be loosely coupled , independently deployed units ? Think in that way !
@waterfire2640
@waterfire2640 9 ай бұрын
@@raghavanaliassaravananm1546 Yeah, maybe i was too focused on re-use code problem.
@Rajnish089
@Rajnish089 9 ай бұрын
When are you launching your course?
@ProgrammingTechie
@ProgrammingTechie 9 ай бұрын
Unfortunately I cannot provide you the date yet, please subscribe to the waitlist to get updates about the release date when it's ready. You can find the link to it in the Community Post.
@diptapanda8192
@diptapanda8192 7 ай бұрын
the order-service starts up fine but running the post query on postman gives me a error code 500: "java.net.ConnectException: Connection refused: no further information" i tried changing the ports but still not able to fix the issue
@supremeleader7695
@supremeleader7695 5 ай бұрын
I am facing the same issue, Did you get any solution for this?
@ishasingh1039
@ishasingh1039 3 ай бұрын
@@supremeleader7695 did u solve the issue
@supremeleader7695
@supremeleader7695 3 ай бұрын
Yes I solved it, but i dont remember it now, Need to check the code ​@@ishasingh1039
@tasos8230
@tasos8230 3 ай бұрын
congrats to indian-like guys to give free creative knowledge to the people arround the world
@nailtagiyev6340
@nailtagiyev6340 9 ай бұрын
Waiting for the next video
@SunilKumar-gz2kt
@SunilKumar-gz2kt 3 ай бұрын
While runnning OrderServiceApplicationTests class I am getting the following error: java.sql.SQLSyntaxErrorException: Table 'test.orders' doesn't exist. Not sure why it is taking database name as 'test'
@danielsundersingh1
@danielsundersingh1 6 ай бұрын
Why is the mysql test container initialized in a static block instead of inside a @BeforeAll method?
@Hemant._.Dhiman
@Hemant._.Dhiman 5 ай бұрын
I thinks its suggested by name of the annotation Before all, it will executed piece of code before each test run. And on other hand static block get executed only once before the main method execution.( its a traditional way of initialising the bean, vars, objects etc).
@ayusharyan2165
@ayusharyan2165 9 ай бұрын
I think we missed a part here, after placing an order we must subtract the inventory item against that skuCode.
@ProgrammingTechie
@ProgrammingTechie 9 ай бұрын
Yes as I mentioned in the course, I won't cover all the use cases, but I was planning to give this task as an exercise after the Event Driven Microservices tutorial is out. Basically when the order is placed we can send out an event through Kafka, the inventory service then listens to this message and then subtracts the inventory. Of course in the real world this is much more complex but again we are only learning about microservices here not building a full blown e-commerce system!
@ayusharyan2165
@ayusharyan2165 9 ай бұрын
@@ProgrammingTechie Yes, I get it. Thank you so much. I'm already learning a lot through it.
@adityaraj-zm7zk
@adityaraj-zm7zk 2 ай бұрын
how we can eureka client issue
@aadiraj6126
@aadiraj6126 9 ай бұрын
Which K8s we are going to use? I mean EKS, ECS, GKE, AKS, Kubeadm in EC2, microK8s, etc?
@ProgrammingTechie
@ProgrammingTechie 9 ай бұрын
I won't be deploying to Cloud, only on local kubernetes cluster
@tusharrai9762
@tusharrai9762 8 ай бұрын
did you bought the IntelliJ ultimate
@ProgrammingTechie
@ProgrammingTechie 8 ай бұрын
Yes I have ultimate edition
@mateuslevi1300
@mateuslevi1300 8 ай бұрын
I had set the line server.servlet.context-path=/api in my main .properties file. However, when running the tests and configuring them to handle WireMock, it was giving the following error: { "type": "about:blank", "title": "Not Found", "status": 404, "detail": "No static resource api/order.", "instance": "/api/order" } java.lang.AssertionError: 1 expectation failed. Expected status code but was . I removed the line from the properties file and added @RequestMapping("/api/order"). i was using just /order. to the controller, and it worked. Do you know why? Since there isn't much difference.
@ProgrammingTechie
@ProgrammingTechie 8 ай бұрын
Is this happening only while running the tests or also while running the application locally ?
@mateuslevi1300
@mateuslevi1300 8 ай бұрын
@@ProgrammingTechie while running tests. As I said, I removed the context path in the .properties file and set the path to /api/order in the controller as usual, and it worked. Before dealing with the OpenFeign issue, the tests were running smoothly, but it worked. need to check later what might be causing this problem. That said, your content is excellent
@vind190
@vind190 6 ай бұрын
java.sql.SQLException: Access denied for user 'root'@'172.24.0.1' (using password: YES) How to fix this issue?
Spring Boot Microservices Tutorial - Part 5 - Spring Cloud Gateway MVC
13:17
Spring Boot Microservices Tutorial - Part 1 - Building Services
39:00
Programming Techie
Рет қаралды 56 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 735 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 160 М.
Топ 5 ОШИБОК Новичков в REACT
13:07
gorbatkoff
Рет қаралды 8 М.
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 181 М.
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 208 М.
Infosys | Java | Spring Boot | Microservices | Mock Interview
26:55
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 120 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 909 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН