Spring Boot Microservice Issues

Hi, I think anyone can help me. 1) I get 403 when I login and send any request in postman through API Gateway 2 ) I cannot handle with OrderControllerTest in order service. Here is the question : https://stackoverflow.com/questions/74449956/spring-boot-microservice-junit-test-how-to-write-a-test-method-with-adding-the Here is the repo : https://github.com/Rapter1990/microservicecoursedailybuffer To run the app, 1 ) Run Service Registery (Eureka Server) 2 ) Run config server 3 ) Run zipkin and redis through these commands shown below on docker docker run -d -p 9411:9411 openzipkin/zipkin docker run -d --name redis -p 6379:6379 redis 4 ) Run api gateway 5 ) Run other services
Stack Overflow
Spring Boot Microservice JUnit Test - How to write a test method wi...
I just want to add a @PreAuthorize("hasAuthority('ROLE_ADMIN')") and @PreAuthorize("hasAuthority('ROLE_USER')") in the methods of order controller and I also revise the controller
GitHub
GitHub - Rapter1990/microservicecoursedailybuffer: Spring Boot Micr...
Spring Boot Microservice Example. Contribute to Rapter1990/microservicecoursedailybuffer development by creating an account on GitHub.
10 Replies
dan1st
dan1st•3y ago
There is an answer on the StackOverflow question
direct_x_34
direct_x_34OP•3y ago
@dan1st | Daniel Yeah but answer cannot help me fix the issue.
dan1st
dan1st•3y ago
one question about that: Are https://stackoverflow.com/q/74445207/10871900 and https://stackoverflow.com/q/74425320/10871900 solved and your current one is a follow-up problem?
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
direct_x_34
direct_x_34OP•3y ago
I close it as soon as I get any answer from anyone. @exceptionee
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
direct_x_34
direct_x_34OP•3y ago
As I couldn't solve, I asked it here. @everyone
dan1st
dan1st•3y ago
Did you really think you 18.7k people like that?
direct_x_34
direct_x_34OP•3y ago
I asked it but there is no answer as you can see.
JavaBot
JavaBot•3y ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.
Want results from more Discord servers?
Add your server