Spring Boot MicroServices Course: Implementing Catalog Service APIs

  Рет қаралды 3,122

SivaLabs

SivaLabs

Күн бұрын

Пікірлер: 34
@srikanthreddy6991
@srikanthreddy6991 6 ай бұрын
Please continue quality content like this sir. Awesome real world content.. rarely we see this kind of content
@prasanthsanjeevi2563
@prasanthsanjeevi2563 6 ай бұрын
Tons of thanks 🙏 for giving the valueable content for free
@Amarpatil-zg2tz
@Amarpatil-zg2tz 6 ай бұрын
Great Content! Ur All videos are full of knowledge. Thanks. Waiting for more content like this!!!
@reallylordofnothing
@reallylordofnothing 5 ай бұрын
I cannot repeat enough (as I have done in twitter too) This is great content. This is great content. This is great content. This was a great introduction to testing. This video will stand out for the focus on tests for those not used to testing frameworks in their firms. I will be more than happy to join and pay once I hit the paywall on video no 6 or 7. (sorry for these spam-like messages)
@hamzaouni3009
@hamzaouni3009 6 ай бұрын
Thanks a lot for this great content. I prefer the use of TDD as it offers a more engaging approach to software development
@BlankSlate5364
@BlankSlate5364 6 ай бұрын
Hi Siva, thanks for the valuable content. Can we use cucumber, karate & test containers to write integration test?. what's your thought on using this combination instead of rest assured & test containers
@sujayrj
@sujayrj 6 ай бұрын
The series is really good, please keep it coming. What is the code complete feature you are using in IntelliJ? Is there a separate plugin that is needed? Thanks again!
@sivalabs
@sivalabs 6 ай бұрын
I have GitHub Copilot plugin which gives me autocompletion suggestions. But it is a paid service. Recently Intellij IDEA also added Line Completion support, maybe you can try it also.
@geovannymendozagonzalez9119
@geovannymendozagonzalez9119 6 ай бұрын
Hi Siva excellent, this series of videos has really helped me a lot. I'm curious because you implemented the ProductNotFoundException in the Controller and not in the service. I have read in some books that it is better to leave that functionality to the service.
@sivalabs
@sivalabs 6 ай бұрын
From the Service, we can indicate to the client the absence of the Product for the given code in 2 ways. Either by returning Optional or by throwing ProductNotFoundException. I prefer to return Optional.empty() if the product doesn't exist because 1) It is not actually an Exceptional situation, you are looking up data that doesn't exist. 2) Returning Optional enables the client(in our case Controller) to use Java Streams API to take further actions in stream processing style using map(..) or orElse(..). If we throw an Exception we can't use stream processing style logic for further action.
@sakthinivas1840
@sakthinivas1840 6 ай бұрын
Thanks for your video! Test class for ProductService is not been created. Also, is unit/slice test required for controllers? currently there is integration test available for the same.
@sivalabs
@sivalabs 6 ай бұрын
There is no complex business logic in ProductService and the existing logic is already covered by the integration tests. So, didn't write any unit tests for ProductService class.
@sujayrj
@sujayrj 6 ай бұрын
@Siva - The Test written for Controller, was it Slice test or Integration test?
@sivalabs
@sivalabs 5 ай бұрын
The test written using @WebMvcTest is a slice test and @SpringBootTest annotated tests are integration tests.
@harshak1616
@harshak1616 5 ай бұрын
why are we passing repository or any service in constructor parameter instead of autowiring ?
@sivalabs
@sivalabs 5 ай бұрын
Because Field Injection is not recommended. To learn more see kzbin.info/www/bejne/oaDbpmhnmtZ3n7M
@harshitaahuja6870
@harshitaahuja6870 6 ай бұрын
Sir, Which K8s you'll use to deploy this project? I mean EKS, GKE, or Kubeadm at EC2? Will you use ingress and all with secret-manager/HarshicorpVault and certificate-manager for https? I want to know how much production ready course it'll be. Kindly reply. So far it is looking promising. Thanks anyway.
@sivalabs
@sivalabs 6 ай бұрын
In this fee course I am going to deploy on the local KinD cluster only.
@harshitaahuja6870
@harshitaahuja6870 6 ай бұрын
How many total videos it'll take sir? And in how many days? Can we complete the series by end of this April?
@sivalabs
@sivalabs 6 ай бұрын
@@harshitaahuja6870 There are still 12 to 15 videos to be recorded. Mostly by mid-May all the videos will be published.
@TheDummyHead
@TheDummyHead 5 ай бұрын
Hey. What would be the reason behind using a sequence that increments by 50? I've read that it's an optimization technique used in high concurrent scenarios to improve performance.
@sivalabs
@sivalabs 5 ай бұрын
Hi, this is an optimization done by Hibernate to reduce the nextval(sequence). For more detailed explanation see ntsim.uk/posts/how-to-use-hibernate-identifier-sequence-generators-properly
@TheDummyHead
@TheDummyHead 5 ай бұрын
@@sivalabs thank you, very good article
@AnuragMishra-ws4zc
@AnuragMishra-ws4zc 6 ай бұрын
Great ❤
@lts8683
@lts8683 6 ай бұрын
many thanks
@reallylordofnothing
@reallylordofnothing 5 ай бұрын
Are you using postman on web or desktop?
@sivalabs
@sivalabs 5 ай бұрын
I am using Postman Desktop Client.
@sakthinivas1840
@sakthinivas1840 6 ай бұрын
For some reason, the DML script V2__add_books_data.sql was not executed, only the create product table script was executed. Any idea how to solve this?
@sivalabs
@sivalabs 6 ай бұрын
Can you share the project on GitHub, I will check?
@sakthinivas1840
@sakthinivas1840 6 ай бұрын
@@sivalabs Never mind, I got it fixed, seems due to file naming convention, thanks
@bijeesraj007
@bijeesraj007 6 ай бұрын
This is Gold 🏆
Spring Boot MicroServices Course : Dockerizing Catalog Service
17:50
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 47 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 12 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 34 МЛН
Spring Boot testing: Zero to Hero by Daniel Garnier-Moiroux
2:42:32
Full Stack Spring Boot 3 API with Angular (ADVANCED)
5:09:33
Get Arrays
Рет қаралды 146 М.
Spring Boot Microservice Project Full Course in 6 Hours 🔥🔥🔥
6:06:44
Programming Techie
Рет қаралды 777 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 47 МЛН