Этот курс предназначен для начинающих, которые никогда раньше не создавали RESTful веб сервисов и микросервисов. Он шаг за шагом проведет вас по основам и поможет вам создавать и запускать RESTful микросервисы с нуля. Вы узнаете, как запускать микросервисы на собственном компьютере , а также в контейнерах Docker на компьютерах AWS EC2 Linux. К концу курса у вас будут собственные микросервисы RESTful Spring Boot, созданные и работающие в Spring Cloud.
Вы научитесь создавать и запускать:
RESTful микросервисы
Сервис Eureka Discovery
Шлюз Zuul API
Шлюз Spring Cloud API
Балансировщик нагрузки
Сервер конфигураций Spring Cloud.
Вы научитесь использовать:
Шину Spring Cloud and Rabbit MQ,
Actuator Spring Boot
Вы узнаете, как реализовать такие функции REST API, как:
User Authentication(Login)
User Authorization(Registration)
Вы научитесь использовать:
Spring Security и JWT
Вы научитесь использовать:
Spring Data JPA для хранения сведений о пользователе в базе данных,
Сервер базы данных MySQL,
Postman HTTP Client,
Набор инструментов Spring
Инициализатор Spring
Этот курс также охватывает:
Отслеживание HTTP-запросов с помощью Spring Cloud Sleuth и Zipkin (распределенная трассировка)
Совокупные файлы журналов в одном месте (централизованное ведение журнала) с помощью стека ELK (Logstash, Elasticsearch, Kibana)
Вы также узнаете, как:
Запустить машину AWS EC2 Linux
Установить Docker
Создавать образы Docker
Запускать микросервисы в контейнерах Docker на нескольких компьютерах EC2 Linux в облаке Amazon AWS
Посмотреть больше
Это пробный урок. Оформите подписку, чтобы получить доступ ко всем материалам курса. Премиум
Ограничение времени просмотра
Вы можете просматривать пробный урок только 10 минут. Получите полный доступ, чтобы смотреть без ограничений.
Udemy - одна из самых больших площадок в мире по доставке обучающего контента от разных авторов всего мира. Присутсвуют курсы практически на любую тему.
Можете обновить? Добавилось
34) Role-based Access Control in Microservice
35) Role-based Access Control Exercise: Albums Microservice
36) Role-based Access Control at the Spring Cloud API Gateway level
37) Eureka Server Cluster
hazartilirot
If you have come so far my brother and reached 133-d lesson, here is a bonus for you! Just stay relaxed, enjoy the learning process. :D
Omg... so much pain with the course. I like so much Sergey for those courses, but there is a mistake he keeps making. Just stop using all those 100500 instruments for the development. All may be accomplished within the IntelliJ IDEA. There is a 30-days evaluation period - it's more than enough. Moreover, if you're a student you're eligible to get a free period from the JetBrains.
Bloody hell!
I have written my previous message in Russian, I hope Google Translate helps you to figure out what it actually means.
Basically, if you work with the project in the IntelliJ IDEA - read the article I shared with you to gain a better understanding of how to run multiple projects (mutliservices) within one project.
hazartilirot
Короче, народ, если Вы как и я смотрите этот курс с IntelliJ IDEA 2023+, подошли к Eureka, DiscoveryService и прочее, вместо использования Spring Tool Suite 4, делаете так как написано в статье
Если коротко, когда создали два проекта по-отельности, создаёте третий, пустой, называете его микросервисы, и дальше начинаете импортировать два проекта, которые создали до него. Прилагаю сразу два конфига, переименуйте application.properties -> application.yml
Очень хороший курс. Да! Я бы даже опять по нему пробежался. Сергей очень хороший тьютор. Мне понравился. Рекомендую. Хочу посмотреть ещё несколько его курсов.
34) Role-based Access Control in Microservice
35) Role-based Access Control Exercise: Albums Microservice
36) Role-based Access Control at the Spring Cloud API Gateway level
37) Eureka Server Cluster
https://github.com/simplyi/SpringCloudVideoCourse/issues/8
Using Header Predicate - status 403 at "/users-ws/users/status/check" with Bearer abc
https://github.com/simplyi/SpringCloudVideoCourse/issues/7
If you have followed up until now and you have made sure that there is no mistake on your side. The problem is at the 00:30.
He uses a filter it doesn't exist AuthenticationHeaderFilter. Delete the line or add the class
https://github.com/simplyi/SpringCloudAPIGateway/blob/main/src/main/java/com/appsdeveloperblog/photoapp/api/gateway/AuthorizationHeaderFilter.java
Mind the PATH!!!!!! to the class.
However, as a first step to solve the problem I suggest that you delete the parameter
spring.cloud.gateway.routes[0].filters[2]=AuthorizationHeaderFilter
If it works - than you know the reason, create the class, copy the code, return the line of the code.
Now, I use application.yml file therefore if you need my help feel free to copy the text:
spring:
application:
name: api-gateway
cloud:
gateway:
routes:
- id: users-status-check
uri: lb://users-ws
predicates:
- Path=/users/status/check
- Method=GET
- Header=Authorization, Bearer (.*)
filters:
- RemoveRequestHeader=Cookie
- RewritePath=/users-ws/(?.*), /$\{segment}
- AuthorizationHeaderFilter
- id: users-ws
uri: lb://users-ws
predicates:
- Path=/users-ws/users
- Method=POST
filters:
- RemoveRequestHeader=Cookie
- RewritePath=/users-ws/(?.*), /$\{segment}
- id: users-ws-2h-console
uri: lb://users-ws
predicates:
- Path=/users-ws/h2-console
- Method=GET
filters:
- RemoveRequestHeader=Cookie
- RewritePath=/users-ws/(?.*), /$\{segment}
- id: users-ws-2h-login
uri: lb://users-ws
predicates:
- Path=/users-ws/login
- Method=POST
filters:
- RemoveRequestHeader=Cookie
- RewritePath=/users-ws/(?.*), /$\{segment}
discovery:
locator:
enabled: true
lower-case-service-id: true
server:
port: 8082
eureka:
client:
service-url:
defaultZone: http://localhost:8010/eureka
Bloody hell!
I have written my previous message in Russian, I hope Google Translate helps you to figure out what it actually means.
Basically, if you work with the project in the IntelliJ IDEA - read the article I shared with you to gain a better understanding of how to run multiple projects (mutliservices) within one project.
https://medium.com/backend-habit/intellij-idea-running-multiple-project-microservices-in-one-workspace-d61126fe0eef
Если коротко, когда создали два проекта по-отельности, создаёте третий, пустой, называете его микросервисы, и дальше начинаете импортировать два проекта, которые создали до него. Прилагаю сразу два конфига, переименуйте application.properties -> application.yml
PhotoAppApiUsers
application.yml
server:
port: 0
spring:
devtools:
restart:
enabled: true
application:
name: users-ws
eureka:
client:
service-url:
defaultZone: http://localhost:8010/eureka
PhotoAppDiscoveryService
application.yml
spring:
application:
name: discovery_service
server:
port: 8010
eureka:
instance:
prefer-ip-address: true
client:
serviceUrl:
defaultZone: http://localhost:8010/eureka
register-with-eureka: false
fetch-registry: false