March 2018
Intermediate to advanced
380 pages
9h 23m
English
The gateway application is generated in a similar fashion to the monolithic application, except for configurations related to Zuul proxy, Eureka Client, and Hystrix:
@ComponentScan@EnableAutoConfiguration(exclude = {MetricFilterAutoConfiguration.class, MetricRepositoryAutoConfiguration.class, MetricsDropwizardAutoConfiguration.class})@EnableConfigurationProperties({LiquibaseProperties.class, ApplicationProperties.class})@EnableDiscoveryClient@EnableZuulProxypublic class GatewayApp {...}
We have selected the JHipster registry for our registry service. This will be a standalone registry server which other microservice applications and gateways will register itself:
Read now
Unlock full access