Code used in the blog Microservices with Spring Boot and Spring Cloud Developer Tutorial (https://gorillalogic.com/blog/microservices-with-spring-boot-and-spring-cloud-developer-tutorial/)
Remember I used the Amazon Cognito JWT configuration that I previously explained in my Java Integration with Amazon Cognito blog post (https://gorillalogic.com/blog/java-integration-with-amazon-cognito/), but you can use any other JWT configuration.
- Apache Maven (http://maven.apache.org)
- Git Client (http://git-scm.com)
To clone and run this application, you'll need Git, Maven, Java 8. From your command line:
# Clone this repository
$ git clone https://github.com/ihuaylupo/gorilla-blog-microservice-code.git
# Go into the repository
$ cd gateway
$ cd eurekaServer
$ cd order
$ cd product
$ cd CognitoAuthentication
# Install dependencies
$ mvn install
# Run the app
mvn spring-boot:run
IMPORTANT If you are running the command from the command line, make sure you are in the root directory. The root directory is the one that contains the pom.xml file. Otherwise, you will run into the No plugin found for prefix 'spring-boot' in the current project and in the plugin groups error.
I'd like you to send me an email on [email protected] about anything you'd want to say about this software.
Feel free to file an issue if it doesn't work for your code sample. Thanks.