Spring Boot MicroServices Course: Catalog Service Walking Skeleton Setup

  Рет қаралды 4,257

SivaLabs

SivaLabs

Күн бұрын

Пікірлер: 43
@pavithravasudevan5089
@pavithravasudevan5089 6 ай бұрын
This video has wealth of information. I feel this series is going to be very useful for both senior and junior developers and will be a great guide for best practices to be followed when developing application. Planning to use the tools you shared in my future projects. Thank you!
@akumarsingh85
@akumarsingh85 5 ай бұрын
This is a superbly informative tutorial. Cheers to all your efforts.
@Poisonedyouth79
@Poisonedyouth79 6 ай бұрын
Fantastic video ❤ You explained everything in such a way that I can follow it step by step.
@kumartanay3566
@kumartanay3566 6 ай бұрын
Great series, Love it, I'll definitely follow your this series
@OneClickLabs
@OneClickLabs 6 ай бұрын
Great video. Learnt some new things. Looking forward to the next one.
@prasanthsanjeevi2563
@prasanthsanjeevi2563 6 ай бұрын
Much awaited series sir.
@suryadev99
@suryadev99 5 ай бұрын
Superb video Siva! Learnt many new things! Thank you
@Anonymous-x6b
@Anonymous-x6b 3 ай бұрын
springboot-micros-service is that the directory you created manually. If you create a project using maven then src folder will also be there.
@felipedossantos7246
@felipedossantos7246 6 ай бұрын
Great content, Siva! Thank you so much
@VK55837
@VK55837 3 ай бұрын
Expanding on Siva's points at 32:09, using Test Container's main method necessitates stopping and starting Docker containers for every (application) code change requiring a restart. This is inefficient (time consuming, I mean) and can be optimized by pre-defining necessary containers in a Docker Compose file so that they are decoupled, allowing us to restart either containers/app or both whenever needed.
@TheDummyHead
@TheDummyHead 5 ай бұрын
Cool video! I was wondering how would you approach the versioning of services? Is there an automated way to increment the version in pom.xml? Something similar to semantic-release in node.js.
@sivalabs
@sivalabs 5 ай бұрын
AFAIK, there is no automated way to handle API version upgrade. The usual approaches are using version number in the url, or as a header or using custom Accept header. Mostly I used the approach of using version number in the url. We can configure the common prefeix such as/api/v1 in the application.properties file.
@TheDummyHead
@TheDummyHead 5 ай бұрын
@@sivalabs Sorry, I didn't explain correctly. I mean 0.0.1-SNAPSHOT type of version of the app itself.
@sivalabs
@sivalabs 5 ай бұрын
You can follow the approach described in this article to increment the version www.codecentric.de/wissens-hub/blog/increment-versions-maven-build-helper-versions-plugin
@TheDummyHead
@TheDummyHead 5 ай бұрын
Another question similar to incrementing the version. How would you approach generating a changelog for each service? In a project we use semantic-release, but it requires node.js as an extra dependency in our gitlab pipeline.
@sivalabs
@sivalabs 5 ай бұрын
I haven't done this myself but I see people using some GitHub Actions feature to generate the changelog upon releasing a new version. I don't know how to do it in gitlab. I guess something similar might exist for GitLab as well because this is a common requirement for libraries release process.
@bwest-dev6241
@bwest-dev6241 5 ай бұрын
Out of curiosity do you have an articles or planned tutorials on developing to hexagonal architecture. or attempting to do this using that architecture
@sivalabs
@sivalabs 5 ай бұрын
I have plans to make video on Hex Arch. Stay tuned.
@adityakulkarni4836
@adityakulkarni4836 6 ай бұрын
I performed the steps mentioned till loading the catalog-service. While explaining testContainer, you executed the 'docker ps' command before executing the testcontainer class. The output shows there is already a running portanier. However, I don't see any output when I execute the docker ps command. How can we load the portainer container running on docker? Could you please explain how you created the portainer and connected it to the project?
@sivalabs
@sivalabs 6 ай бұрын
Portainer is a utility that I am using to manage Docker container via GUI, it is not required for this project. But if you are interested to explore Portainer, I have made a video on how to use Portainer kzbin.info/www/bejne/o6nNZn-DpapqjbM
@hy32906
@hy32906 2 ай бұрын
@@sivalabs Can we use docker desktop instead of Portainer.
@jorgetovar621
@jorgetovar621 6 ай бұрын
This is pure gold
@bwest-dev6241
@bwest-dev6241 5 ай бұрын
thanks for the great content
@hy32906
@hy32906 Ай бұрын
Hi Siva, I run docker compose command in local and i could see catalog-db running in my docker desktop. I was able to run the application in local. But when i check in the code in remote branch and github action workflow starts, it fails with below error. Connection to localhost:15432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
@sivalabs
@sivalabs Ай бұрын
Can you ping me the GitHub Action execution flow URL?
@hy32906
@hy32906 Ай бұрын
@@sivalabs HI Siva, sorry unfortunately using my org github account. So not able to share. I think i understand where the problem is. when we start the app, it will look to connect to db given in application.properties. spring.datasource.url=${DB_URL:jdbc:postgresql://localhost:15432/postgres} Where do we define db_url. I can see my catalog-db is up in my docer desktop. But how do i point to it. Need to find how to find the URL for this catalog-db image.
@hy32906
@hy32906 29 күн бұрын
@@sivalabs its working fine. It must be some firewall issue on my company PC. works on my new macbook.
@jorgetovar621
@jorgetovar621 6 ай бұрын
Whats the artifact that you are using to generate the initial maven structure ?
@sivalabs
@sivalabs 6 ай бұрын
The root Maven project is created from Intellij IDEA and catalog service is created from start.spring.io and copied the downloaded code into root project.
@gigasetc1
@gigasetc1 6 ай бұрын
Great course! I get the following error in my Github Action: ./mvnw: Permission denied. I had to solve this by setting the permission right in my Github action. - name: Set execute permission for mvnw run: chmod +x ./mvnw
@sivalabs
@sivalabs 6 ай бұрын
Added this step in the pipeline definitions. Thanks for letting me know.
@attrayadas8067
@attrayadas8067 5 ай бұрын
You seems to use a lot of IntelliJ plugins. Could you pls share the names?
@jayasekharredditelluri1600
@jayasekharredditelluri1600 6 ай бұрын
What is the pre requisite for these course and for whom these course is helpfull ?
@sivalabs
@sivalabs 6 ай бұрын
This course is designed for Java developers with basic Spring Boot knowledge who are interested to learn building Microservices. Also, basic knowledge of Docker and Docker Compose is required
@kumartanay3566
@kumartanay3566 6 ай бұрын
Not able to open all the videos, Its private??
@sakthinivas1840
@sakthinivas1840 6 ай бұрын
May I know how to install portainer tool in local?
@sivalabs
@sivalabs 6 ай бұрын
Here is a detailed video of how to install and use Portainer kzbin.info/www/bejne/o6nNZn-DpapqjbMsi=u85S6PxbWnYVeSRw
@healthiswealth9520
@healthiswealth9520 6 ай бұрын
How did you generate starter code?
@sivalabs
@sivalabs 6 ай бұрын
The catalog-service project is created using start.spring.io and is explained at 9:32 in this video.
@healthiswealth9520
@healthiswealth9520 6 ай бұрын
Thanks for the reply
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 24 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 64 МЛН
Learn GitLab in 3 Hours | GitLab Complete Tutorial For Beginners
3:26:43
WiremockLlive! launch of gRPC with WireMock cloud
25:38
Homelab Setup Guide - Proxmox / TrueNAS / Docker Services
2:44:39
Matthias Benaets
Рет қаралды 191 М.
Spring Boot MicroServices Course: Implementing Create Order API
48:48
I Wanna Learn Golang - Day 5
3:58:38
seyLuVODS
Рет қаралды 7 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 24 МЛН