Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Deploying JHipster
Microservices
Ephemeralization
Paul Graham
Ephemeralization
“more and more
with less and less
until eventually you can do
everything with nothing”
- Buckminster Full...
Measuring Distance
Watching a Movie
yo jhipster
@codefinger
Joe Kutner
git push heroku master
AGENDA
• What is JHipster?
• Create a JHipster microservices
• Run locally with Docker
• Deploy to Heroku
But first…
We need to get hip
Clip-on: Ephemeralization of the bowtie
What is JHipster?
$ yo jhipster
├── asks a bunch of questions
├── creates app scaffolding
├── ready to build
├── ready to test

└── ready to...
What’s in a JHipster app?
Spring Boot
AngularJSBootstrap
Docker, Maven, PhantomJS, Cucumber,
SonarQube, Jenkins
Netflix OSS
Spring Cloud
HikariCP
Let’s create a JHipster app!
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
create bower.json
create package.json
create README.md
create .gitignore
create .gitattributes
create .editorconfig
create...
create src/main/java/com/example/security/jwt/JWTFilter.java
create src/main/java/com/example/config/SecurityConfiguration...
create src/main/java/com/example/config/CloudDatabaseConfiguration.java
create src/main/java/com/example/config/DatabaseCo...
create src/main/java/com/example/web/rest/dto/package-info.java
create src/main/java/com/example/web/rest/dto/LoggerDTO.ja...
create src/main/webapp/app/components/language/language.service.js
create src/main/webapp/app/components/login/login.html
...
create src/main/java/com/example/security/jwt/JWTFilter.java
create src/main/java/com/example/config/SecurityConfiguration...
create src/main/java/com/example/config/CloudDatabaseConfiguration.java
create src/main/java/com/example/config/DatabaseCo...
create src/main/webapp/i18n/ca/password.json
create src/main/webapp/i18n/ca/register.json
create src/main/webapp/i18n/ca/s...
create src/main/webapp/i18n/ca/password.json
create src/main/webapp/i18n/ca/register.json
create src/main/webapp/i18n/ca/s...
create src/main/webapp/i18n/ca/password.json
create src/main/webapp/i18n/ca/register.json
create src/main/webapp/i18n/ca/s...
Microservices
- browser code, assets
- proxy microservices
- client-side load balancing
- fault tolerance
- service registry
- service m...
compose
docker-compose
./mvnw package docker:build$
...
[INFO] --- docker-maven-plugin:0.4.10:build (default-cli) @ java-one-demo —
...
Removing ...
docker-compose -f src/main/docker/app.yml up$
Creating jhipster-registry
Creating docker_javaonedemo-app_1
Creating javaon...
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
admin
*****
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
open http://${DOCKER_IP}:8080$
Think about all the things
you didn’t have to do!
cd ..$
mkdir book-service$
cd book-service$
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ █...
create README.md
create .gitignore
create .gitattributes
create .editorconfig
create .travis.yml
create Jenkinsfile
create...
create src/main/java/com/example/config/apidoc/package-info.java
create src/main/java/com/example/config/apidoc/SwaggerCon...
create src/main/java/com/example/web/rest/LogsResource.java
create src/main/java/com/example/web/rest/ProfileInfoResource....
Gateway BookService
We only want one guy spinning plates
cd ..$
mkdir docker-compose$
cd docker-compose$
yo jhipster:docker-compose$
Welcome to the JHipster Docker Compose Sub-Generator
Files will be generated in folder: /Users...
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Deploying JHipster Microservices
Upcoming SlideShare
Loading in …5
×

Deploying JHipster Microservices

2,409 views

Published on

Talk at JavaOne 2016 by Joe Kutner

Published in: Software

Deploying JHipster Microservices

  1. 1. Deploying JHipster Microservices
  2. 2. Ephemeralization
  3. 3. Paul Graham
  4. 4. Ephemeralization “more and more with less and less until eventually you can do everything with nothing” - Buckminster Fuller
  5. 5. Measuring Distance
  6. 6. Watching a Movie
  7. 7. yo jhipster
  8. 8. @codefinger Joe Kutner
  9. 9. git push heroku master
  10. 10. AGENDA • What is JHipster? • Create a JHipster microservices • Run locally with Docker • Deploy to Heroku
  11. 11. But first… We need to get hip
  12. 12. Clip-on: Ephemeralization of the bowtie
  13. 13. What is JHipster?
  14. 14. $ yo jhipster ├── asks a bunch of questions ├── creates app scaffolding ├── ready to build ├── ready to test
 └── ready to run Yeoman $ yo jhipster:entity ├── asks a bunch of questions ├── creates entity scaffolding └── creates tests for the entity $ yo jhipster:heroku ├── asks a bunch of questions ├── creates a Heroku app └── deploys to Heroku
  15. 15. What’s in a JHipster app?
  16. 16. Spring Boot AngularJSBootstrap Docker, Maven, PhantomJS, Cucumber, SonarQube, Jenkins Netflix OSS Spring Cloud HikariCP
  17. 17. Let’s create a JHipster app!
  18. 18. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.1.0 Application files will be generated in folder: /Users/jkutner/workspace/ ? (1/16) Which *type* of application would you like to create? (Use arrow keys) ❯ Monolithic application (recommended for simple projects) Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? (Use arrow keys) ❯ Monolithic application (recommended for simple projects) Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication)
  19. 19. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? (Use arrow keys) Monolithic application (recommended for simple projects) ❯ Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  20. 20. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? (Use arrow keys) Monolithic application (recommended for simple projects) Microservice application ❯ Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  21. 21. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? (jhipster) $ yo jhipster JavaOneDemo
  22. 22. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port would like your server to run? It should be unique to avoid port conflicts. (8080) $ yo jhipster
  23. 23. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8080 ? (4/13) What is your default Java package name? (com.example) $ yo jhipster
  24. 24. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? (Use arrow keys) ❯ JWT authentication (stateless, with a token) [BETA] Authentication with JHipster UAA server (the server must be generated separately) $ yo jhipster
  25. 25. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? (Use arrow keys) ❯ SQL (H2, MySQL, PostgreSQL, Oracle) MongoDB Cassandra $ yo jhipster
  26. 26. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? MySQL ❯ MariaDB PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) is not bundled because it is not ... $ yo jhipster
  27. 27. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? MySQL MariaDB ❯ PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) is not bundled because it is not ... $ yo jhipster
  28. 28. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? ❯ H2 with disk-based persistence H2 with in-memory persistence PostgreSQL $ yo jhipster
  29. 29. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? H2 with disk-based persistence H2 with in-memory persistence ❯ PostgreSQL $ yo jhipster
  30. 30. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No Yes, with ehcache (local cache, for a single node) ❯ Yes, with HazelCast (distributed cache, for multiple nodes) $ yo jhipster
  31. 31. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? ❯ No Yes, with ehcache (local cache, for a single node) Yes, with HazelCast (distributed cache, for multiple nodes) $ yo jhipster
  32. 32. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? (Use arrow keys) ❯ Maven Gradle $ yo jhipster
  33. 33. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ❯◯ Search engine using ElasticSearch ◯ Clustered HTTP sessions using Hazelcast ◯ WebSockets using Spring Websocket $ yo jhipster
  34. 34. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ◯ Search engine using ElasticSearch ❯◯ Clustered HTTP sessions using Hazelcast ◯ WebSockets using Spring Websocket $ yo jhipster
  35. 35. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ◯ Search engine using ElasticSearch ◯ Clustered HTTP sessions using Hazelcast ❯◯ WebSockets using Spring Websocket $ yo jhipster
  36. 36. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ◯ Search engine using ElasticSearch ◯ Clustered HTTP sessions using Hazelcast ❯◉ WebSockets using Spring Websocket $ yo jhipster
  37. 37. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? WebSockets using Spring Websocket ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? (y/N) $ yo jhipster
  38. 38. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? WebSockets using Spring Websocket ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? (Y/n) $ yo jhipster
  39. 39. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? WebSockets using Spring Websocket ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? (Use arrow keys) Czech Danish Dutch ❯ English French Galician German (Move up and down to reveal more choices) $ yo jhipster
  40. 40. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install (Press <space> to select) ❯◯ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech ◯ Danish ◯ Dutch ◯ French (Move up and down to reveal more choices) $ yo jhipster
  41. 41. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install (Press <space> to select) ❯◉ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech ◯ Danish ◯ Dutch ◯ French (Move up and down to reveal more choices) $ yo jhipster
  42. 42. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install (Press <space> to select) ❯◯ Tamil ◉ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech ◯ Danish ◯ Dutch (Move up and down to reveal more choices) $ yo jhipster
  43. 43. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install (Press <space> to select) ❯◯ Turkish ◯ Tamil ◉ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech ◯ Danish (Move up and down to reveal more choices) $ yo jhipster
  44. 44. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install (Press <space> to select) ❯◯ Swedish ◯ Turkish ◯ Tamil ◉ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech (Move up and down to reveal more choices) $ yo jhipster
  45. 45. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install (Press <space> to select) ❯◉ Swedish ◯ Turkish ◯ Tamil ◉ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech (Move up and down to reveal more choices) $ yo jhipster
  46. 46. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? JavaOneDemo ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install Catalan, Swedish ? (14/13) Which testing frameworks would you like to use? (Press <space> to select) ❯◉ Gatling ◯ Cucumber ◯ Protractor $ yo jhipster
  47. 47. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/16) Which *type* of application would you like to create? Microservice application ? (2/16) What is the base name of your application? JavaOneDemo ? (3/16) As you are running in a microservice architecture, on which port... 8081 ? (4/16) What is your default Java package name? com.example ? (5/16) Which *type* of authentication would you like to use? JWT authentication ... ? (6/16) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/16) Which *production* database would you like to use? PostgreSQL ? (8/16) Which *development* database would you like to use? PostgreSQL ? (9/16) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install Catalan, Swedish ? (14/13) Which testing frameworks would you like to use? (Press <space> to select) ❯◉ Gatling ◯ Cucumber ◯ Protractor $ yo jhipster Hold on to your butts!
  48. 48. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/gateway ? (1/16) Which *type* of application would you like to create? Microservice application ? (2/16) What is the base name of your application? JavaOneDemo ? (3/16) As you are running in a microservice architecture, on which port... 8081 ? (4/16) What is your default Java package name? com.example ? (5/16) Which *type* of authentication would you like to use? JWT authentication ... ? (6/16) Which *type* of database would you like to use? SQL (H2, MySQL, PostgreSQL... ? (7/16) Which *production* database would you like to use? PostgreSQL ? (8/16) Which *development* database would you like to use? PostgreSQL ? (9/16) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? Search engine using ElasticSearch ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? No ? (13/13) Would you like to enable internationalization support? Yes ? Please choose the native language of the application? English ? Please choose additional languages to install Catalan, Swedish ? (14/13) Which testing frameworks would you like to use? (Press <space> to select)Gatling Installing languages: en, ca, sv $ yo jhipster
  49. 49. create bower.json create package.json create README.md create .gitignore create .gitattributes create .editorconfig create .travis.yml create src/main/docker/Dockerfile create src/main/docker/cassandra/scripts/autoMigrate.sh create src/main/docker/cassandra/scripts/execute-cql.sh create src/main/docker/central-server-config/application.yml create src/main/docker/jhipster-registry.yml create src/main/docker/sonar.yml create mvnw create mvnw.cmd create .mvn/wrapper/maven-wrapper.jar create .mvn/wrapper/maven-wrapper.properties create pom.xml create src/main/resources/banner.txt create src/main/resources/templates/error.html create src/main/resources/logback-spring.xml create src/main/resources/config/application.yml create src/main/resources/config/application-dev.yml create src/main/resources/config/application-prod.yml create src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml create src/main/resources/config/liquibase/master.xml create src/main/resources/config/cql/create-keyspace-prod.cql create src/main/resources/config/cql/create-keyspace.cql create src/main/resources/config/cql/drop-keyspace.cql create src/main/resources/config/cql/changelog/README.md create src/main/resources/i18n/messages.properties create src/main/java/com/example/security/SpringSecurityAuditorAware.java create src/main/java/com/example/security/SecurityUtils.java create src/main/java/com/example/security/AuthoritiesConstants.java create src/main/java/com/example/security/jwt/TokenProvider.java create src/main/java/com/example/security/jwt/JWTConfigurer.java
  50. 50. create src/main/java/com/example/security/jwt/JWTFilter.java create src/main/java/com/example/config/SecurityConfiguration.java create src/main/java/com/example/security/Http401UnauthorizedEntryPoint.java create src/main/java/com/example/security/UserDetailsService.java create src/main/java/com/example/security/UserNotActivatedException.java create src/main/java/com/example/web/rest/UserJWTController.java create src/main/java/com/example/web/rest/JWTToken.java create src/main/java/com/example/security/package-info.java create src/main/java/com/example/config/GatewayConfiguration.java create src/main/java/com/example/config/apidoc/GatewaySwaggerResourcesProvider.java create src/main/java/com/example/gateway/ratelimiting/RateLimitingFilter.java create src/main/java/com/example/gateway/TokenRelayFilter.java create src/main/java/com/example/gateway/ratelimiting/RateLimitingRepository.java create src/main/java/com/example/gateway/accesscontrol/AccessControlFilter.java create src/main/java/com/example/gateway/responserewriting/SwaggerBasePathRewriting… create src/main/java/com/example/web/rest/dto/RouteDTO.java create src/main/java/com/example/web/rest/GatewayResource.java create src/main/resources/config/bootstrap-dev.yml create src/main/resources/config/bootstrap-prod.yml create src/main/java/com/example/config/metrics/SpectatorLogMetricWriter.java create src/main/java/com/example/JavaOneDemoApp.java create src/main/java/com/example/ApplicationWebXml.java create src/main/java/com/example/aop/logging/LoggingAspect.java create src/main/java/com/example/web/rest/dto/LoginDTO.java create src/main/java/com/example/config/DefaultProfileUtil.java create src/main/java/com/example/config/apidoc/package-info.java create src/main/java/com/example/config/apidoc/SwaggerConfiguration.java create src/main/java/com/example/config/apidoc/PageableParameterBuilderPlugin.java create src/main/java/com/example/async/package-info.java create src/main/java/com/example/async/ExceptionHandlingAsyncTaskExecutor.java create src/main/java/com/example/config/package-info.java create src/main/java/com/example/config/AsyncConfiguration.java create src/main/java/com/example/config/CacheConfiguration.java create src/main/java/com/example/config/Constants.java create src/main/java/com/example/config/LoggingConfiguration.java create src/main/java/com/example/config/CloudDatabaseConfiguration.java
  51. 51. create src/main/java/com/example/config/CloudDatabaseConfiguration.java create src/main/java/com/example/config/DatabaseConfiguration.java create src/main/java/com/example/config/audit/package-info.java create src/main/java/com/example/config/audit/AuditEventConverter.java create src/main/java/com/example/config/JacksonConfiguration.java create src/main/java/com/example/config/JHipsterProperties.java create src/main/java/com/example/config/LocaleConfiguration.java create src/main/java/com/example/config/LoggingAspectConfiguration.java create src/main/java/com/example/config/MetricsConfiguration.java create src/main/java/com/example/config/ThymeleafConfiguration.java create src/main/java/com/example/config/WebConfigurer.java create src/main/java/com/example/config/locale/package-info.java create src/main/java/com/example/config/locale/AngularCookieLocaleResolver.java create src/main/java/com/example/config/cassandra/CassandraConfiguration.java create src/main/java/com/example/config/cassandra/CustomZonedDateTimeCodec.java create src/main/java/com/example/config/cassandra/package-info.java create src/main/java/com/example/config/liquibase/AsyncSpringLiquibase.java create src/main/java/com/example/config/liquibase/package-info.java create src/main/java/com/example/domain/package-info.java create src/main/java/com/example/domain/util/JSR310DateConverters.java create src/main/java/com/example/domain/util/JSR310PersistenceConverters.java create src/main/java/com/example/domain/util/FixedH2Dialect.java create src/main/java/com/example/domain/util/FixedPostgreSQL82Dialect.java create src/main/java/com/example/domain/AbstractAuditingEntity.java create src/main/java/com/example/domain/PersistentAuditEvent.java create src/main/java/com/example/repository/package-info.java create src/main/java/com/example/service/package-info.java create src/main/java/com/example/service/util/RandomUtil.java create src/main/java/com/example/web/rest/errors/ErrorConstants.java create src/main/java/com/example/web/rest/errors/CustomParameterizedException.java create src/main/java/com/example/web/rest/errors/ErrorDTO.java create src/main/java/com/example/web/rest/errors/ExceptionTranslator.java create src/main/java/com/example/web/rest/errors/FieldErrorDTO.java create src/main/java/com/example/web/rest/errors/ParameterizedErrorDTO.java create src/main/java/com/example/web/filter/package-info.java create src/main/java/com/example/web/filter/CachingHttpHeadersFilter.java
  52. 52. create src/main/java/com/example/web/rest/dto/package-info.java create src/main/java/com/example/web/rest/dto/LoggerDTO.java create src/main/java/com/example/web/rest/util/HeaderUtil.java create src/main/java/com/example/web/rest/util/PaginationUtil.java create src/main/java/com/example/web/rest/package-info.java create src/main/java/com/example/web/rest/LogsResource.java create src/main/java/com/example/web/rest/ProfileInfoResource.java create src/test/java/com/example/web/rest/TestUtil.java create src/test/resources/config/application.yml create src/main/webapp/app/services/auth/register.service.js create src/main/webapp/app/services/user/user.service.js create src/main/webapp/app/services/profiles/profile.service.js create src/main/webapp/app/services/profiles/page-ribbon.directive.js create src/main/webapp/content/images/hipster.png create src/main/webapp/content/images/hipster2x.png create src/main/webapp/content/images/logo-jhipster.png create src/test/javascript/karma.conf.js create src/test/javascript/spec/helpers/module.js create src/test/javascript/spec/helpers/httpBackend.js create src/test/javascript/spec/app/admin/health/health.controller.spec.js create src/test/javascript/spec/app/account/password/password.controller.spec.js create src/test/javascript/spec/app/account/password/password-strength-bar.directive… create src/test/javascript/spec/app/account/settings/settings.controller.spec.js create src/test/javascript/spec/app/account/activate/activate.controller.spec.js create src/test/javascript/spec/app/account/register/register.controller.spec.js create src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js create src/test/javascript/spec/app/account/reset/request/reset.request.controller.spec.js create src/test/javascript/spec/app/services/auth/auth.services.spec.js create src/test/javascript/spec/app/components/login/login.controller.spec.js create src/main/webapp/i18n/en/activate.json create src/main/webapp/i18n/en/audits.json create src/main/webapp/i18n/en/configuration.json create src/main/webapp/i18n/ca/login.json create src/main/webapp/i18n/ca/logs.json create src/main/webapp/i18n/ca/home.json create src/main/webapp/i18n/ca/metrics.json
  53. 53. create src/main/webapp/app/components/language/language.service.js create src/main/webapp/app/components/login/login.html create src/main/webapp/app/components/login/login.service.js create src/main/webapp/app/components/login/login.controller.js create src/main/webapp/app/components/util/base64.service.js create src/main/webapp/app/components/util/capitalize.filter.js create src/main/webapp/app/components/util/parse-links.service.js create src/main/webapp/app/components/util/truncate-characters.filter.js create src/main/webapp/app/components/util/truncate-words.filter.js create src/main/webapp/app/components/util/date-util.service.js create src/main/webapp/app/components/util/data-util.service.js create src/main/webapp/app/components/util/pagination-util.service.js create src/main/webapp/app/components/util/sort.directive.js create src/main/webapp/app/components/util/sort-by.directive.js create src/main/webapp/app/components/util/jhi-item-count.directive.js create src/main/webapp/app/blocks/interceptor/auth.interceptor.js create src/main/webapp/app/blocks/interceptor/auth-expired.interceptor.js create src/main/webapp/app/blocks/interceptor/errorhandler.interceptor.js create src/main/webapp/app/blocks/interceptor/notification.interceptor.js create src/main/webapp/app/components/alert/alert.service.js create src/main/webapp/app/components/alert/alert.directive.js create src/main/webapp/app/components/alert/alert-error.directive.js create src/main/webapp/app/entities/entity.state.js create src/main/webapp/app/home/home.html create src/main/webapp/app/home/home.state.js create src/main/webapp/app/home/home.controller.js create src/main/webapp/app/layouts/navbar/active-link.directive.js create src/main/webapp/app/layouts/navbar/active-menu.directive.js create src/main/webapp/app/layouts/navbar/navbar.html create src/main/webapp/app/layouts/navbar/navbar.controller.js create src/main/webapp/app/layouts/error/error.html create src/main/webapp/app/layouts/error/accessdenied.html create src/main/webapp/app/layouts/error/error.state.js create src/main/webapp/app/services/auth/auth.service.js create src/main/webapp/app/services/auth/principal.service.js create src/main/webapp/app/services/auth/has-authority.directive.js
  54. 54. create src/main/java/com/example/security/jwt/JWTFilter.java create src/main/java/com/example/config/SecurityConfiguration.java create src/main/java/com/example/security/Http401UnauthorizedEntryPoint.java create src/main/java/com/example/security/UserDetailsService.java create src/main/java/com/example/security/UserNotActivatedException.java create src/main/java/com/example/web/rest/UserJWTController.java create src/main/java/com/example/web/rest/JWTToken.java create src/main/java/com/example/security/package-info.java create src/main/java/com/example/config/GatewayConfiguration.java create src/main/java/com/example/config/apidoc/GatewaySwaggerResourcesProvider.java create src/main/java/com/example/gateway/ratelimiting/RateLimitingFilter.java create src/main/java/com/example/gateway/TokenRelayFilter.java create src/main/java/com/example/gateway/ratelimiting/RateLimitingRepository.java create src/main/java/com/example/gateway/accesscontrol/AccessControlFilter.java create src/main/java/com/example/gateway/responserewriting/SwaggerBasePathRewriting… create src/main/java/com/example/web/rest/dto/RouteDTO.java create src/main/java/com/example/web/rest/GatewayResource.java create src/main/resources/config/bootstrap-dev.yml create src/main/resources/config/bootstrap-prod.yml create src/main/java/com/example/config/metrics/SpectatorLogMetricWriter.java create src/main/java/com/example/JavaOneDemoApp.java create src/main/java/com/example/ApplicationWebXml.java create src/main/java/com/example/aop/logging/LoggingAspect.java create src/main/java/com/example/web/rest/dto/LoginDTO.java create src/main/java/com/example/config/DefaultProfileUtil.java create src/main/java/com/example/config/apidoc/package-info.java create src/main/java/com/example/config/apidoc/SwaggerConfiguration.java create src/main/java/com/example/config/apidoc/PageableParameterBuilderPlugin.java create src/main/java/com/example/async/package-info.java create src/main/java/com/example/async/ExceptionHandlingAsyncTaskExecutor.java create src/main/java/com/example/config/package-info.java create src/main/java/com/example/config/AsyncConfiguration.java create src/main/java/com/example/config/CacheConfiguration.java create src/main/java/com/example/config/Constants.java create src/main/java/com/example/config/LoggingConfiguration.java create src/main/java/com/example/config/CloudDatabaseConfiguration.java
  55. 55. create src/main/java/com/example/config/CloudDatabaseConfiguration.java create src/main/java/com/example/config/DatabaseConfiguration.java create src/main/java/com/example/config/audit/package-info.java create src/main/java/com/example/config/audit/AuditEventConverter.java create src/main/java/com/example/config/JacksonConfiguration.java create src/main/java/com/example/config/JHipsterProperties.java create src/main/java/com/example/config/LocaleConfiguration.java create src/main/java/com/example/config/LoggingAspectConfiguration.java create src/main/java/com/example/config/MetricsConfiguration.java create src/main/java/com/example/config/ThymeleafConfiguration.java create src/main/java/com/example/config/WebConfigurer.java create src/main/java/com/example/config/locale/package-info.java create src/main/java/com/example/config/locale/AngularCookieLocaleResolver.java create src/main/java/com/example/config/cassandra/CassandraConfiguration.java create src/main/java/com/example/config/cassandra/CustomZonedDateTimeCodec.java create src/main/java/com/example/config/cassandra/package-info.java create src/main/java/com/example/config/liquibase/AsyncSpringLiquibase.java create src/main/java/com/example/config/liquibase/package-info.java create src/main/java/com/example/domain/package-info.java create src/main/java/com/example/domain/util/JSR310DateConverters.java create src/main/java/com/example/domain/util/JSR310PersistenceConverters.java create src/main/java/com/example/domain/util/FixedH2Dialect.java create src/main/java/com/example/domain/util/FixedPostgreSQL82Dialect.java create src/main/java/com/example/domain/AbstractAuditingEntity.java create src/main/java/com/example/domain/PersistentAuditEvent.java create src/main/java/com/example/repository/package-info.java create src/main/java/com/example/service/package-info.java create src/main/java/com/example/service/util/RandomUtil.java create src/main/java/com/example/web/rest/errors/ErrorConstants.java create src/main/java/com/example/web/rest/errors/CustomParameterizedException.java create src/main/java/com/example/web/rest/errors/ErrorDTO.java create src/main/java/com/example/web/rest/errors/ExceptionTranslator.java create src/main/java/com/example/web/rest/errors/FieldErrorDTO.java create src/main/java/com/example/web/rest/errors/ParameterizedErrorDTO.java create src/main/java/com/example/web/filter/package-info.java create src/main/java/com/example/web/filter/CachingHttpHeadersFilter.java
  56. 56. create src/main/webapp/i18n/ca/password.json create src/main/webapp/i18n/ca/register.json create src/main/webapp/i18n/ca/sessions.json create src/main/webapp/i18n/ca/settings.json create src/main/webapp/i18n/ca/reset.json create src/main/webapp/i18n/ca/user-management.json create src/main/webapp/i18n/ca/global.json create src/main/webapp/i18n/ca/health.json create src/main/resources/i18n/messages_ca.properties I'm all done. Running npm install & bower install for you to install the required dependencies. If this fails, try running the command yourself.
  57. 57. create src/main/webapp/i18n/ca/password.json create src/main/webapp/i18n/ca/register.json create src/main/webapp/i18n/ca/sessions.json create src/main/webapp/i18n/ca/settings.json create src/main/webapp/i18n/ca/reset.json create src/main/webapp/i18n/ca/user-management.json create src/main/webapp/i18n/ca/global.json create src/main/webapp/i18n/ca/health.json create src/main/resources/i18n/messages_ca.properties I'm all done. Running npm install & bower install for you to install the required dependencies. If this fails, try running the command yourself. ⸨ ░░░░░░░░░░░░░░░⸩ ⠦ cloneCurrentTree: sill cloneCurrentTree Finish usually the worst part of my day
  58. 58. create src/main/webapp/i18n/ca/password.json create src/main/webapp/i18n/ca/register.json create src/main/webapp/i18n/ca/sessions.json create src/main/webapp/i18n/ca/settings.json create src/main/webapp/i18n/ca/reset.json create src/main/webapp/i18n/ca/user-management.json create src/main/webapp/i18n/ca/global.json create src/main/webapp/i18n/ca/health.json create src/main/resources/i18n/messages_ca.properties I'm all done. Running npm install & bower install for you to install the required dependencies. If this fails, try running the command yourself. Server app generated successfully. Client app generated successfully. [09:10:45] Using gulpfile ~/workspace/gateway/gulpfile.js [09:10:45] Starting 'install'... ... [09:10:45] gulp-inject 1 files into index.html. [09:10:45] Finished 'inject:troubleshoot' after 4.89 ms
  59. 59. Microservices
  60. 60. - browser code, assets - proxy microservices - client-side load balancing - fault tolerance - service registry - service metadata - service health - phonebook for microservices - RESTful services - JPA Entities - Business logic +
  61. 61. compose
  62. 62. docker-compose
  63. 63. ./mvnw package docker:build$ ... [INFO] --- docker-maven-plugin:0.4.10:build (default-cli) @ java-one-demo — ... Removing intermediate container 391b5792ee80 Successfully built daa78f2d9534 [INFO] Built javaonedemo [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:13 min [INFO] Finished at: 2016-08-08T08:02:30-05:00 [INFO] Final Memory: 76M/592M [INFO] ------------------------------------------------------------------------
  64. 64. docker-compose -f src/main/docker/app.yml up$ Creating jhipster-registry Creating docker_javaonedemo-app_1 Creating javaonedemo-postgresql Attaching to jhipster-registry, docker_javaonedemo-app_1, javaonedemo-postgresql javaonedemo-app_1 | The application will start in 30s... javaonedemo-postgresql | ... javaonedemo-postgresql | selecting default max_connections ... 100 javaonedemo-postgresql | selecting default shared_buffers ... 128MB javaonedemo-postgresql | selecting dynamic shared memory implementation ... posix jhipster-registry | 13:07:54.871 [main] DEBUG org.springframework.beans.factory... jhipster-registry | ... javaonedemo-app_1 | ... javaonedemo-app_1 | ---------------------------------------------------------- javaonedemo-app_1 | Application 'JavaOneDemo' is running! Access URLs: javaonedemo-app_1 | Local: http://127.0.0.1:8080 javaonedemo-app_1 | External: http://172.22.0.3:8080 javaonedemo-app_1 | ---------------------------------------------------------- javaonedemo-app_1 | ... javaonedemo-app_1 | ---------------------------------------------------------- javaonedemo-app_1 | Config Server: Connected to the JHipster Registry ... javaonedemo-app_1 | ----------------------------------------------------------
  65. 65. open http://${DOCKER_IP}:8080$
  66. 66. open http://${DOCKER_IP}:8080$ admin *****
  67. 67. open http://${DOCKER_IP}:8080$
  68. 68. open http://${DOCKER_IP}:8080$
  69. 69. open http://${DOCKER_IP}:8080$
  70. 70. open http://${DOCKER_IP}:8080$
  71. 71. open http://${DOCKER_IP}:8080$
  72. 72. open http://${DOCKER_IP}:8080$
  73. 73. open http://${DOCKER_IP}:8080$
  74. 74. open http://${DOCKER_IP}:8080$
  75. 75. Think about all the things you didn’t have to do!
  76. 76. cd ..$ mkdir book-service$ cd book-service$
  77. 77. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? (Use arrow keys) ❯ Monolithic application (recommended for simple projects) Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  78. 78. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? (Use arrow keys) Monolithic application (recommended for simple projects) ❯ Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  79. 79. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? (jhipster) $ yo jhipster BookService
  80. 80. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port would like your server to run? It should be unique to avoid port conflicts. (8081) $ yo jhipster
  81. 81. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? (com.example) $ yo jhipster
  82. 82. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? (Use arrow keys) ❯ JWT authentication (stateless, with a token) [BETA] Authentication with JHipster UAA server (the server must be generated separately) $ yo jhipster
  83. 83. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? (Use arrow keys) No database ❯ SQL (H2, MySQL, PostgreSQL, Oracle) MongoDB Cassandra $ yo jhipster
  84. 84. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? MySQL ❯ MariaDB PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) $ yo jhipster
  85. 85. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? MySQL MariaDB ❯ PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) $ yo jhipster
  86. 86. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? ❯ H2 with disk-based persistence H2 with in-memory persistence PostgreSQL $ yo jhipster
  87. 87. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? H2 with disk-based persistence H2 with in-memory persistence ❯ PostgreSQL $ yo jhipster
  88. 88. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? (Use arrow keys) No Yes, with ehcache (local cache, for a single node) ❯ Yes, with HazelCast (distributed cache, for multiple nodes) $ yo jhipster
  89. 89. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? (Use arrow keys) ❯ No Yes, with ehcache (local cache, for a single node) Yes, with HazelCast (distributed cache, for multiple nodes) $ yo jhipster
  90. 90. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? (Use arrow keys) ❯ Maven Gradle $ yo jhipster
  91. 91. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ❯◯ Search engine using ElasticSearch $ yo jhipster
  92. 92. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ? (12/13) Would you like to enable internationalization support? (Y/n) $ yo jhipster
  93. 93. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ http://jhipster.github.io Welcome to the JHipster Generator v3.7.0 Application files will be generated in folder: /Users/jkutner/workspace/book-service ? (1/13) Which *type* of application would you like to create? Microservice application ? (2/13) What is the base name of your application? BookService ? (3/13) As you are running in a microservice architecture, on which port... 8081 ? (4/13) What is your default Java package name? com.example ? (5/13) Which *type* of authentication would you like to use? JWT authentication ... ? (6/13) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, ... ? (7/13) Which *production* database would you like to use? PostgreSQL ? (8/13) Which *development* database would you like to use? PostgreSQL ? (9/13) Do you want to use Hibernate 2nd level cache? No ? (10/13) Would you like to use Maven or Gradle for building the backend? Maven ? (11/13) Which other technologies would you like to use? (Press <space> to select) ? (12/13) Would you like to enable internationalization support? No ? (13/13) Which testing frameworks would you like to use? (Press <space> to select) ❯◉ Gatling ◯ Cucumber $ yo jhipster
  94. 94. create README.md create .gitignore create .gitattributes create .editorconfig create .travis.yml create Jenkinsfile create src/main/docker/Dockerfile create src/main/docker/app.yml create src/main/docker/central-server-config/application.yml create src/main/docker/jhipster-registry.yml create src/main/docker/sonar.yml create mvnw create mvnw.cmd create .mvn/wrapper/maven-wrapper.jar create .mvn/wrapper/maven-wrapper.properties create pom.xml create src/main/resources/banner.txt create src/main/resources/templates/error.html create src/main/resources/logback-spring.xml create src/main/resources/config/application.yml create src/main/resources/config/application-dev.yml create src/main/resources/config/application-prod.yml create src/main/resources/i18n/messages.properties create src/main/java/com/example/security/SecurityUtils.java create src/main/java/com/example/security/AuthoritiesConstants.java create src/main/java/com/example/security/jwt/TokenProvider.java create src/main/java/com/example/security/jwt/JWTConfigurer.java create src/main/java/com/example/security/jwt/JWTFilter.java create src/main/java/com/example/config/MicroserviceSecurityConfiguration.java create src/main/resources/config/bootstrap-dev.yml create src/main/resources/config/bootstrap-prod.yml create src/main/java/com/example/config/metrics/SpectatorLogMetricWriter.java create src/main/java/com/example/Application.java create src/main/java/com/example/ApplicationWebXml.java create src/main/java/com/example/aop/logging/LoggingAspect.java create src/main/java/com/example/config/DefaultProfileUtil.java
  95. 95. create src/main/java/com/example/config/apidoc/package-info.java create src/main/java/com/example/config/apidoc/SwaggerConfiguration.java create src/main/java/com/example/config/apidoc/PageableParameterBuilderPlugin.java create src/main/java/com/example/async/package-info.java create src/main/java/com/example/async/ExceptionHandlingAsyncTaskExecutor.java create src/main/java/com/example/config/package-info.java create src/main/java/com/example/config/AsyncConfiguration.java create src/main/java/com/example/config/CacheConfiguration.java create src/main/java/com/example/config/Constants.java create src/main/java/com/example/config/LoggingConfiguration.java create src/main/java/com/example/config/JacksonConfiguration.java create src/main/java/com/example/config/JHipsterProperties.java create src/main/java/com/example/config/LocaleConfiguration.java create src/main/java/com/example/config/LoggingAspectConfiguration.java create src/main/java/com/example/config/MetricsConfiguration.java create src/main/java/com/example/config/ThymeleafConfiguration.java create src/main/java/com/example/config/WebConfigurer.java create src/main/java/com/example/config/locale/package-info.java create src/main/java/com/example/config/locale/AngularCookieLocaleResolver.java create src/main/java/com/example/domain/package-info.java create src/main/java/com/example/domain/util/JSR310DateConverters.java create src/main/java/com/example/repository/package-info.java create src/main/java/com/example/service/package-info.java create src/main/java/com/example/web/rest/errors/ErrorConstants.java create src/main/java/com/example/web/rest/errors/CustomParameterizedException.java create src/main/java/com/example/web/rest/errors/ErrorVM.java create src/main/java/com/example/web/rest/errors/ExceptionTranslator.java create src/main/java/com/example/web/rest/errors/FieldErrorVM.java create src/main/java/com/example/web/rest/errors/ParameterizedErrorVM.java create src/main/java/com/example/web/filter/package-info.java create src/main/java/com/example/web/filter/CachingHttpHeadersFilter.java create src/main/java/com/example/web/rest/vm/package-info.java create src/main/java/com/example/web/rest/vm/LoggerVM.java create src/main/java/com/example/web/rest/util/HeaderUtil.java create src/main/java/com/example/web/rest/util/PaginationUtil.java create src/main/java/com/example/web/rest/package-info.java
  96. 96. create src/main/java/com/example/web/rest/LogsResource.java create src/main/java/com/example/web/rest/ProfileInfoResource.java create src/test/java/com/example/web/rest/TestUtil.java create src/test/resources/config/application.yml create src/test/resources/logback-test.xml create src/test/gatling/conf/gatling.conf Server app generated successfully. [INFO] Scanning for projects... ... Removing intermediate container ebaad5314c62 Successfully built 62e562845b4d [INFO] Built bookservice[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:00.217s [INFO] Finished at: Thu Jul 28 20:18:02 CDT 2016 [INFO] Final Memory: 72M/515M [INFO] ------------------------------------------------------------------------ ./mvnw package docker:build$
  97. 97. Gateway BookService We only want one guy spinning plates
  98. 98. cd ..$ mkdir docker-compose$ cd docker-compose$
  99. 99. yo jhipster:docker-compose$ Welcome to the JHipster Docker Compose Sub-Generator Files will be generated in folder: /Users/jkutner/workspace/docker-compose ? Enter the root directory where your gateway(s) and microservices are located (../)

×