Link to the written tutorial: programmingtechie.com/articles/spring-boot-microservices-tutorial-part-7 Link to the Github repository: github.com/SaiUpadhyayula/microservices-shop-frontend
@prasanthsanjeevi25635 ай бұрын
Thank you so much, very useful.
@pritishdesai65374 ай бұрын
Hi Sai Amazing series Awaiting the remaining videos
@nawwintphyu18733 ай бұрын
Thank you so much!
@razatech225 ай бұрын
Thank you for this series
@aishwaryajaiswal92955 ай бұрын
Hi Sai, Excellent content. However could you please tell me how many videos are remaining in this playlist and which topics are you going to cover? Thanks a lot as this will help me in going through all the videos at once.
@ProgrammingTechie5 ай бұрын
Hi, There are 4 more videos that covers: Kafka integration, Observability, Dockerizing the project, Deploying to Kubernetes
@aishwaryajaiswal92955 ай бұрын
@@ProgrammingTechie Thank you 😊
@prasanthsanjeevi25635 ай бұрын
@@ProgrammingTechie please release weekly
@qii36423 ай бұрын
I added CORS settings in the API Gateway and I'm still getting a CORS error on the front end on the products page.
@ToToneYouАй бұрын
I met the same problem... did you solve it at the end?
@Nab-dh7bl3 ай бұрын
Help, someone can clarify my doubt please, We have the products in invectory service so why we call the path of product-service from the front-end, i followed with attention the tutorial many times but still searching some solution, im not able to make a order from front-end interface; Have a good one and thank you in advance
@mateuslevi13004 ай бұрын
When calling POST to create a product I am receiving an error. 401 Cors missign allow origin e ns error dom bad uri. What can it be? I configured cors config in services the same as in videos. Maybe I missed something. I checked this error by calling the routes at localhost:4200. login process using keycloak is working and etc
@nawwintphyu18732 ай бұрын
Same error
@nawwintphyu18732 ай бұрын
I can fix the error now by adding the following method in ApiGatewayApplication. @Bean public WebMvcConfigurer corsConfigurer() { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**").allowedOrigins("localhost:4200"); } }; }
@ToToneYouАй бұрын
I met this issue as well. Did you manage to solve it?
@tasos8230Ай бұрын
ensure that you have the correct security implementation on api-gateway service and your config.SecuritConfig.class is correct like this below, you have to add the corsConfigurationSource bean if you dont added it and : private final String[] freeResourceUrls = {"/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/swagger-resources/**", "/api-docs/**", "/aggregate/**", "/actuator/prometheus"}; @Bean public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws Exception { return httpSecurity.authorizeHttpRequests(authorize -> authorize .requestMatchers(freeResourceUrls) .permitAll() .anyRequest().authenticated()) .cors(cors -> cors.configurationSource(corsConfigurationSource())) .oauth2ResourceServer(oauth2 -> oauth2.jwt(Customizer.withDefaults())) .build(); } @Bean CorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); configuration.applyPermitDefaultValues(); configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD")); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); source.registerCorsConfiguration("/**", configuration); return source; } }
@ToToneYou29 күн бұрын
@@tasos8230 oh thank you buddy! You have saved my life!
@rishiraj25483 ай бұрын
17:00 code overview of angular app
@prasanthsanjeevi25634 ай бұрын
Hi @ProgrammingTechie please release next video
@movietrailer3616Ай бұрын
I don't know about angular is it okay to skip this video (part-10) and go to the next kafka (part-11) tutorial ?