SlideShare ist ein Scribd-Unternehmen logo
1 von 170
Downloaden Sie, um offline zu lesen
Deploying JHipster
Microservices
Ephemeralization
Paul Graham
Ephemeralization
“more and more
with less and less
until eventually you can do
everything with nothing”
- Buckminster Fuller
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 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
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!
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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)
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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!
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
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
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
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
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
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
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
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
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.
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
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
Microservices
- 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
+
compose
docker-compose
./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] ------------------------------------------------------------------------
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 | ----------------------------------------------------------
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$
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████████ ██ ███████ █████ ██ ██████ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██
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
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
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
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$
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/jkutner/workspace/docker-compose
? Enter the root directory where your gateway(s) and microservices are located (../)
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

Weitere ähnliche Inhalte

Was ist angesagt?

Евгений Жарков "React Native: Hurdle Race"
Евгений Жарков "React Native: Hurdle Race"Евгений Жарков "React Native: Hurdle Race"
Евгений Жарков "React Native: Hurdle Race"Fwdays
 
Philip Shurpik "Architecting React Native app"
Philip Shurpik "Architecting React Native app"Philip Shurpik "Architecting React Native app"
Philip Shurpik "Architecting React Native app"Fwdays
 
Jenkins 101: Getting Started
Jenkins 101: Getting StartedJenkins 101: Getting Started
Jenkins 101: Getting StartedR Geoffrey Avery
 
Роман Лютиков "Web Apps Performance & JavaScript Compilers"
Роман Лютиков "Web Apps Performance & JavaScript Compilers"Роман Лютиков "Web Apps Performance & JavaScript Compilers"
Роман Лютиков "Web Apps Performance & JavaScript Compilers"Fwdays
 
Lifthub (rpscala #31)
Lifthub (rpscala #31)Lifthub (rpscala #31)
Lifthub (rpscala #31)k4200
 
少し幸せになる技術
少し幸せになる技術少し幸せになる技術
少し幸せになる技術kamedon39
 
Grooving with Jenkins
Grooving with JenkinsGrooving with Jenkins
Grooving with JenkinsAnton Weiss
 
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with JenkinsJenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with JenkinsAll Things Open
 
Mobile developer is Software developer
Mobile developer is Software developerMobile developer is Software developer
Mobile developer is Software developerEugen Martynov
 
Bootiful Development with Spring Boot and React - RWX 2017
Bootiful Development with Spring Boot and React - RWX 2017Bootiful Development with Spring Boot and React - RWX 2017
Bootiful Development with Spring Boot and React - RWX 2017Matt Raible
 
Das kannste schon so machen
Das kannste schon so machenDas kannste schon so machen
Das kannste schon so machenAndré Goliath
 
Javaland 2017: "You´ll do microservices now". Now what?
Javaland 2017: "You´ll do microservices now". Now what?Javaland 2017: "You´ll do microservices now". Now what?
Javaland 2017: "You´ll do microservices now". Now what?André Goliath
 
GWTcon 2015 - Beyond GWT 3.0 Panic
GWTcon 2015 - Beyond GWT 3.0 PanicGWTcon 2015 - Beyond GWT 3.0 Panic
GWTcon 2015 - Beyond GWT 3.0 PanicCristiano Costantini
 
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...André Goliath
 
Turducken - Divide and Conquer large GWT apps with multiple teams
Turducken - Divide and Conquer large GWT apps with multiple teamsTurducken - Divide and Conquer large GWT apps with multiple teams
Turducken - Divide and Conquer large GWT apps with multiple teamsRobert Keane
 
Aug penguin16
Aug penguin16Aug penguin16
Aug penguin16alhino
 
Implementing Quality on Java projects
Implementing Quality on Java projectsImplementing Quality on Java projects
Implementing Quality on Java projectsVincent Massol
 
OSDC 2017 - Julien Pivotto - Automating Jenkins
OSDC 2017 - Julien Pivotto - Automating JenkinsOSDC 2017 - Julien Pivotto - Automating Jenkins
OSDC 2017 - Julien Pivotto - Automating JenkinsNETWAYS
 
OpenDaylight Developer Experience 2.0
 OpenDaylight Developer Experience 2.0 OpenDaylight Developer Experience 2.0
OpenDaylight Developer Experience 2.0Michael Vorburger
 

Was ist angesagt? (20)

Евгений Жарков "React Native: Hurdle Race"
Евгений Жарков "React Native: Hurdle Race"Евгений Жарков "React Native: Hurdle Race"
Евгений Жарков "React Native: Hurdle Race"
 
Philip Shurpik "Architecting React Native app"
Philip Shurpik "Architecting React Native app"Philip Shurpik "Architecting React Native app"
Philip Shurpik "Architecting React Native app"
 
Jenkins 101: Getting Started
Jenkins 101: Getting StartedJenkins 101: Getting Started
Jenkins 101: Getting Started
 
Роман Лютиков "Web Apps Performance & JavaScript Compilers"
Роман Лютиков "Web Apps Performance & JavaScript Compilers"Роман Лютиков "Web Apps Performance & JavaScript Compilers"
Роман Лютиков "Web Apps Performance & JavaScript Compilers"
 
Lifthub (rpscala #31)
Lifthub (rpscala #31)Lifthub (rpscala #31)
Lifthub (rpscala #31)
 
少し幸せになる技術
少し幸せになる技術少し幸せになる技術
少し幸せになる技術
 
Grooving with Jenkins
Grooving with JenkinsGrooving with Jenkins
Grooving with Jenkins
 
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with JenkinsJenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with Jenkins
 
Mobile developer is Software developer
Mobile developer is Software developerMobile developer is Software developer
Mobile developer is Software developer
 
Bootiful Development with Spring Boot and React - RWX 2017
Bootiful Development with Spring Boot and React - RWX 2017Bootiful Development with Spring Boot and React - RWX 2017
Bootiful Development with Spring Boot and React - RWX 2017
 
Das kannste schon so machen
Das kannste schon so machenDas kannste schon so machen
Das kannste schon so machen
 
Javaland 2017: "You´ll do microservices now". Now what?
Javaland 2017: "You´ll do microservices now". Now what?Javaland 2017: "You´ll do microservices now". Now what?
Javaland 2017: "You´ll do microservices now". Now what?
 
GWTcon 2015 - Beyond GWT 3.0 Panic
GWTcon 2015 - Beyond GWT 3.0 PanicGWTcon 2015 - Beyond GWT 3.0 Panic
GWTcon 2015 - Beyond GWT 3.0 Panic
 
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
Von JavaEE auf Microservice in 6 Monaten - The Good, the Bad, and the wtfs...
 
Turducken - Divide and Conquer large GWT apps with multiple teams
Turducken - Divide and Conquer large GWT apps with multiple teamsTurducken - Divide and Conquer large GWT apps with multiple teams
Turducken - Divide and Conquer large GWT apps with multiple teams
 
Aug penguin16
Aug penguin16Aug penguin16
Aug penguin16
 
Ant, Maven and Jenkins
Ant, Maven and JenkinsAnt, Maven and Jenkins
Ant, Maven and Jenkins
 
Implementing Quality on Java projects
Implementing Quality on Java projectsImplementing Quality on Java projects
Implementing Quality on Java projects
 
OSDC 2017 - Julien Pivotto - Automating Jenkins
OSDC 2017 - Julien Pivotto - Automating JenkinsOSDC 2017 - Julien Pivotto - Automating Jenkins
OSDC 2017 - Julien Pivotto - Automating Jenkins
 
OpenDaylight Developer Experience 2.0
 OpenDaylight Developer Experience 2.0 OpenDaylight Developer Experience 2.0
OpenDaylight Developer Experience 2.0
 

Ähnlich wie Deploying JHipster Microservices

Gluster Cloud Night in Tokyo 2013 -- Tips for getting started
Gluster Cloud Night in Tokyo 2013 -- Tips for getting startedGluster Cloud Night in Tokyo 2013 -- Tips for getting started
Gluster Cloud Night in Tokyo 2013 -- Tips for getting startedKeisuke Takahashi
 
Javascript Stacktrace Ignite
Javascript Stacktrace IgniteJavascript Stacktrace Ignite
Javascript Stacktrace IgniteEric Wendelin
 
Build Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGBuild Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGMatthew McCullough
 
Eight Rules for Making Your First Great Game
Eight Rules for Making Your First Great GameEight Rules for Making Your First Great Game
Eight Rules for Making Your First Great GameNick Pruehs
 
Defcon CTF quals
Defcon CTF qualsDefcon CTF quals
Defcon CTF qualssnyff
 
Android game development
Android game developmentAndroid game development
Android game developmentdmontagni
 
44 con slides
44 con slides44 con slides
44 con slidesgeeksec80
 
44 con slides (1)
44 con slides (1)44 con slides (1)
44 con slides (1)geeksec80
 
Build your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto projectBuild your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto projectYen-Chin Lee
 
Why use JavaScript in Hardware? GoTo Conf - Berlin
Why use JavaScript in Hardware? GoTo Conf - Berlin Why use JavaScript in Hardware? GoTo Conf - Berlin
Why use JavaScript in Hardware? GoTo Conf - Berlin TechnicalMachine
 
Nodejs and WebSockets
Nodejs and WebSocketsNodejs and WebSockets
Nodejs and WebSocketsGonzalo Ayuso
 
Game programming with Groovy
Game programming with GroovyGame programming with Groovy
Game programming with GroovyJames Williams
 
Slides Aquarium Paris 2008
Slides Aquarium Paris 2008Slides Aquarium Paris 2008
Slides Aquarium Paris 2008julien.ponge
 
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...44CON
 
A million ways to provision embedded linux devices
A million ways to provision embedded linux devicesA million ways to provision embedded linux devices
A million ways to provision embedded linux devicesMender.io
 
Javascript in Linux Desktop
Javascript in Linux DesktopJavascript in Linux Desktop
Javascript in Linux DesktopYuren Ju
 

Ähnlich wie Deploying JHipster Microservices (20)

Gluster Cloud Night in Tokyo 2013 -- Tips for getting started
Gluster Cloud Night in Tokyo 2013 -- Tips for getting startedGluster Cloud Night in Tokyo 2013 -- Tips for getting started
Gluster Cloud Night in Tokyo 2013 -- Tips for getting started
 
Javascript Stacktrace Ignite
Javascript Stacktrace IgniteJavascript Stacktrace Ignite
Javascript Stacktrace Ignite
 
Build Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGBuild Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUG
 
Eight Rules for Making Your First Great Game
Eight Rules for Making Your First Great GameEight Rules for Making Your First Great Game
Eight Rules for Making Your First Great Game
 
Defcon CTF quals
Defcon CTF qualsDefcon CTF quals
Defcon CTF quals
 
Android game development
Android game developmentAndroid game development
Android game development
 
44 con slides
44 con slides44 con slides
44 con slides
 
44 con slides (1)
44 con slides (1)44 con slides (1)
44 con slides (1)
 
MateriApps LIVE! の設定
MateriApps LIVE! の設定MateriApps LIVE! の設定
MateriApps LIVE! の設定
 
Build your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto projectBuild your own embedded linux distributions by yocto project
Build your own embedded linux distributions by yocto project
 
Why use JavaScript in Hardware? GoTo Conf - Berlin
Why use JavaScript in Hardware? GoTo Conf - Berlin Why use JavaScript in Hardware? GoTo Conf - Berlin
Why use JavaScript in Hardware? GoTo Conf - Berlin
 
Grizzly 20080925 V2
Grizzly 20080925 V2Grizzly 20080925 V2
Grizzly 20080925 V2
 
Nodejs and WebSockets
Nodejs and WebSocketsNodejs and WebSockets
Nodejs and WebSockets
 
Vulpes tribes backend
Vulpes tribes backendVulpes tribes backend
Vulpes tribes backend
 
Game programming with Groovy
Game programming with GroovyGame programming with Groovy
Game programming with Groovy
 
Slides Aquarium Paris 2008
Slides Aquarium Paris 2008Slides Aquarium Paris 2008
Slides Aquarium Paris 2008
 
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
 
A million ways to provision embedded linux devices
A million ways to provision embedded linux devicesA million ways to provision embedded linux devices
A million ways to provision embedded linux devices
 
Javascript in Linux Desktop
Javascript in Linux DesktopJavascript in Linux Desktop
Javascript in Linux Desktop
 
Beyond Unit Testing
Beyond Unit TestingBeyond Unit Testing
Beyond Unit Testing
 

Mehr von Joe Kutner

Fantastic Buildpacks and Where to Find Them
Fantastic Buildpacks and Where to Find ThemFantastic Buildpacks and Where to Find Them
Fantastic Buildpacks and Where to Find ThemJoe Kutner
 
2019 Texas Star Party
2019 Texas Star Party2019 Texas Star Party
2019 Texas Star PartyJoe Kutner
 
10 Mistakes Hackers Want You to Make
10 Mistakes Hackers Want You to Make10 Mistakes Hackers Want You to Make
10 Mistakes Hackers Want You to MakeJoe Kutner
 
NASA Space Apps Expo
NASA Space Apps ExpoNASA Space Apps Expo
NASA Space Apps ExpoJoe Kutner
 
NASA Space Apps
NASA Space AppsNASA Space Apps
NASA Space AppsJoe Kutner
 
Why Heroku Loves JHipster
Why Heroku Loves JHipsterWhy Heroku Loves JHipster
Why Heroku Loves JHipsterJoe Kutner
 
What the Struts?
What the Struts?What the Struts?
What the Struts?Joe Kutner
 
Async and Non-blocking IO w/ JRuby
Async and Non-blocking IO w/ JRubyAsync and Non-blocking IO w/ JRuby
Async and Non-blocking IO w/ JRubyJoe Kutner
 
I can't believe it's not a queue: Kafka and Spring
I can't believe it's not a queue: Kafka and SpringI can't believe it's not a queue: Kafka and Spring
I can't believe it's not a queue: Kafka and SpringJoe Kutner
 
Measuring doubles with 8&quot; neaf copy
Measuring doubles with 8&quot; neaf copyMeasuring doubles with 8&quot; neaf copy
Measuring doubles with 8&quot; neaf copyJoe Kutner
 
4 JVM Web Frameworks
4 JVM Web Frameworks4 JVM Web Frameworks
4 JVM Web FrameworksJoe Kutner
 
JavaOne 2015: 12 Factor App
JavaOne 2015: 12 Factor AppJavaOne 2015: 12 Factor App
JavaOne 2015: 12 Factor AppJoe Kutner
 
12-factor-jruby
12-factor-jruby12-factor-jruby
12-factor-jrubyJoe Kutner
 
12 Factor Scala
12 Factor Scala12 Factor Scala
12 Factor ScalaJoe Kutner
 
Programming JVM Bytecode with Jitescript
Programming JVM Bytecode with JitescriptProgramming JVM Bytecode with Jitescript
Programming JVM Bytecode with JitescriptJoe Kutner
 
Programming JVM Bytecode
Programming JVM BytecodeProgramming JVM Bytecode
Programming JVM BytecodeJoe Kutner
 
12 Factor App: Best Practices for JVM Deployment
12 Factor App: Best Practices for JVM Deployment12 Factor App: Best Practices for JVM Deployment
12 Factor App: Best Practices for JVM DeploymentJoe Kutner
 
Creating Scalable JVM/Java Apps on Heroku
Creating Scalable JVM/Java Apps on HerokuCreating Scalable JVM/Java Apps on Heroku
Creating Scalable JVM/Java Apps on HerokuJoe Kutner
 

Mehr von Joe Kutner (20)

Fantastic Buildpacks and Where to Find Them
Fantastic Buildpacks and Where to Find ThemFantastic Buildpacks and Where to Find Them
Fantastic Buildpacks and Where to Find Them
 
2019 Texas Star Party
2019 Texas Star Party2019 Texas Star Party
2019 Texas Star Party
 
10 Mistakes Hackers Want You to Make
10 Mistakes Hackers Want You to Make10 Mistakes Hackers Want You to Make
10 Mistakes Hackers Want You to Make
 
NASA Space Apps Expo
NASA Space Apps ExpoNASA Space Apps Expo
NASA Space Apps Expo
 
NASA Space Apps
NASA Space AppsNASA Space Apps
NASA Space Apps
 
Why Heroku Loves JHipster
Why Heroku Loves JHipsterWhy Heroku Loves JHipster
Why Heroku Loves JHipster
 
What the Struts?
What the Struts?What the Struts?
What the Struts?
 
Async and Non-blocking IO w/ JRuby
Async and Non-blocking IO w/ JRubyAsync and Non-blocking IO w/ JRuby
Async and Non-blocking IO w/ JRuby
 
I can't believe it's not a queue: Kafka and Spring
I can't believe it's not a queue: Kafka and SpringI can't believe it's not a queue: Kafka and Spring
I can't believe it's not a queue: Kafka and Spring
 
Measuring doubles with 8&quot; neaf copy
Measuring doubles with 8&quot; neaf copyMeasuring doubles with 8&quot; neaf copy
Measuring doubles with 8&quot; neaf copy
 
4 JVM Web Frameworks
4 JVM Web Frameworks4 JVM Web Frameworks
4 JVM Web Frameworks
 
JavaOne 2015: 12 Factor App
JavaOne 2015: 12 Factor AppJavaOne 2015: 12 Factor App
JavaOne 2015: 12 Factor App
 
12-factor-jruby
12-factor-jruby12-factor-jruby
12-factor-jruby
 
Java 20
Java 20Java 20
Java 20
 
12 Factor Scala
12 Factor Scala12 Factor Scala
12 Factor Scala
 
Programming JVM Bytecode with Jitescript
Programming JVM Bytecode with JitescriptProgramming JVM Bytecode with Jitescript
Programming JVM Bytecode with Jitescript
 
jdays 2015
jdays 2015jdays 2015
jdays 2015
 
Programming JVM Bytecode
Programming JVM BytecodeProgramming JVM Bytecode
Programming JVM Bytecode
 
12 Factor App: Best Practices for JVM Deployment
12 Factor App: Best Practices for JVM Deployment12 Factor App: Best Practices for JVM Deployment
12 Factor App: Best Practices for JVM Deployment
 
Creating Scalable JVM/Java Apps on Heroku
Creating Scalable JVM/Java Apps on HerokuCreating Scalable JVM/Java Apps on Heroku
Creating Scalable JVM/Java Apps on Heroku
 

Kürzlich hochgeladen

Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 

Kürzlich hochgeladen (20)

Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 

Deploying JHipster Microservices

  • 4. Ephemeralization “more and more with less and less until eventually you can do everything with nothing” - Buckminster Fuller
  • 8.
  • 10.
  • 11.
  • 12. git push heroku master
  • 13.
  • 14. AGENDA • What is JHipster? • Create a JHipster microservices • Run locally with Docker • Deploy to Heroku
  • 15. But first… We need to get hip
  • 16.
  • 19. $ 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
  • 20. What’s in a JHipster app?
  • 21. Spring Boot AngularJSBootstrap Docker, Maven, PhantomJS, Cucumber, SonarQube, Jenkins Netflix OSS Spring Cloud HikariCP
  • 22. Let’s create a JHipster app!
  • 23. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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)
  • 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? (Use arrow keys) Monolithic application (recommended for simple projects) ❯ Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  • 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? (Use arrow keys) Monolithic application (recommended for simple projects) Microservice application ❯ Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  • 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? (jhipster) $ yo jhipster JavaOneDemo
  • 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 would like your server to run? It should be unique to avoid port conflicts. (8080) $ yo jhipster
  • 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... 8080 ? (4/13) What is your default Java package name? (com.example) $ yo jhipster
  • 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? (Use arrow keys) ❯ JWT authentication (stateless, with a token) [BETA] Authentication with JHipster UAA server (the server must be generated separately) $ yo jhipster
  • 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? (Use arrow keys) ❯ SQL (H2, MySQL, PostgreSQL, Oracle) MongoDB Cassandra $ yo jhipster
  • 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? MySQL ❯ MariaDB PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) is not bundled because it is not ... $ yo jhipster
  • 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? MySQL MariaDB ❯ PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) is not bundled because it is not ... $ yo jhipster
  • 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? ❯ H2 with disk-based persistence H2 with in-memory persistence PostgreSQL $ yo jhipster
  • 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? H2 with disk-based persistence H2 with in-memory persistence ❯ PostgreSQL $ yo jhipster
  • 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 Yes, with ehcache (local cache, for a single node) ❯ Yes, with HazelCast (distributed cache, for multiple nodes) $ yo jhipster
  • 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 Yes, with ehcache (local cache, for a single node) Yes, with HazelCast (distributed cache, for multiple nodes) $ yo jhipster
  • 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? (Use arrow keys) ❯ Maven Gradle $ yo jhipster
  • 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? (Press <space> to select) ❯◯ Search engine using ElasticSearch ◯ Clustered HTTP sessions using Hazelcast ◯ WebSockets using Spring Websocket $ yo jhipster
  • 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? (Press <space> to select) ◯ Search engine using ElasticSearch ❯◯ Clustered HTTP sessions using Hazelcast ◯ WebSockets using Spring Websocket $ yo jhipster
  • 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? (Press <space> to select) ◯ Search engine using ElasticSearch ◯ Clustered HTTP sessions using Hazelcast ❯◯ WebSockets using Spring Websocket $ yo jhipster
  • 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? (Press <space> to select) ◯ Search engine using ElasticSearch ◯ Clustered HTTP sessions using Hazelcast ❯◉ WebSockets using Spring Websocket $ yo jhipster
  • 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? WebSockets using Spring Websocket ? (12/13) Would you like to use the LibSass stylesheet preprocessor for your CSS? (y/N) $ yo jhipster
  • 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? 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
  • 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? 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
  • 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) ❯◯ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech ◯ Danish ◯ Dutch ◯ French (Move up and down to reveal more choices) $ yo jhipster
  • 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 (Press <space> to select) ❯◉ Catalan ◯ Chinese (Simplified) ◯ Chinese (Traditional) ◯ Czech ◯ Danish ◯ Dutch ◯ French (Move up and down to reveal more choices) $ yo jhipster
  • 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/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
  • 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/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
  • 49. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 50. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 51. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 52. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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!
  • 53. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 54. 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
  • 55. 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
  • 56. 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
  • 57. 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
  • 58. 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
  • 59. 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
  • 60. 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
  • 61. 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.
  • 62. 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
  • 63. 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
  • 65.
  • 66. - 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 +
  • 69. ./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] ------------------------------------------------------------------------
  • 70. 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 | ----------------------------------------------------------
  • 81. Think about all the things you didn’t have to do!
  • 82.
  • 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? (Use arrow keys) ❯ Monolithic application (recommended for simple projects) Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  • 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? (Use arrow keys) Monolithic application (recommended for simple projects) ❯ Microservice application Microservice gateway [BETA] JHipster UAA server (for microservice OAuth2 authentication) $ yo jhipster
  • 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? (jhipster) $ yo jhipster BookService
  • 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 would like your server to run? It should be unique to avoid port conflicts. (8081) $ yo jhipster
  • 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) $ yo jhipster
  • 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? (Use arrow keys) ❯ JWT authentication (stateless, with a token) [BETA] Authentication with JHipster UAA server (the server must be generated separately) $ yo jhipster
  • 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? (Use arrow keys) No database ❯ SQL (H2, MySQL, PostgreSQL, Oracle) MongoDB Cassandra $ yo jhipster
  • 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? MySQL ❯ MariaDB PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) $ yo jhipster
  • 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? MySQL MariaDB ❯ PostgreSQL Oracle - Warning! The Oracle JDBC driver (ojdbc) $ yo jhipster
  • 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? ❯ H2 with disk-based persistence H2 with in-memory persistence PostgreSQL $ yo jhipster
  • 94. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 95. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 96. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 97. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 98. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 99. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 100. ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██ ███████ █████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██ 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
  • 101. 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
  • 102. 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
  • 103. 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$
  • 104. Gateway BookService We only want one guy spinning plates
  • 106. 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 (../)