· 5 years ago · Mar 27, 2020, 03:58 PM
1sudo docker-compose up
2Starting employee-service_postgres_1 ... done
3Recreating employee-service_employee-service_1 ... done
4Attaching to employee-service_postgres_1, employee-service_employee-service_1
5postgres_1 |
6postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
7postgres_1 |
8postgres_1 | 2020-03-27 15:50:26.340 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
9postgres_1 | 2020-03-27 15:50:26.340 UTC [1] LOG: listening on IPv6 address "::", port 5432
10postgres_1 | 2020-03-27 15:50:26.345 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
11postgres_1 | 2020-03-27 15:50:26.375 UTC [23] LOG: database system was shut down at 2020-03-27 15:48:48 UTC
12postgres_1 | 2020-03-27 15:50:26.381 UTC [1] LOG: database system is ready to accept connections
13employee-service_1 |
14employee-service_1 | . ____ _ __ _ _
15employee-service_1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
16employee-service_1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
17employee-service_1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
18employee-service_1 | ' |____| .__|_| |_|_| |_\__, | / / / /
19employee-service_1 | =========|_|==============|___/=/_/_/_/
20employee-service_1 | :: Spring Boot :: (v2.2.6.RELEASE)
21employee-service_1 |
22employee-service_1 | 2020-03-27 15:50:30.552 INFO 1 --- [ main] com.employee.api.Application : Starting Application v1.0 on 25c166c6ac5a with PID 1 (/app.jar started by root in /)
23employee-service_1 | 2020-03-27 15:50:30.566 INFO 1 --- [ main] com.employee.api.Application : The following profiles are active: docker
24employee-service_1 | 2020-03-27 15:50:33.740 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
25employee-service_1 | 2020-03-27 15:50:33.747 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JDBC repositories in DEFAULT mode.
26employee-service_1 | 2020-03-27 15:50:33.938 INFO 1 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JDBC - Could not safely identify store assignment for repository candidate interface com.employee.api.feature.employee.repository.EmployeeRepository. If you want this repository to be a JDBC repository, consider annotating your entities with one of these annotations: org.springframework.data.relational.core.mapping.Table.
27employee-service_1 | 2020-03-27 15:50:33.954 INFO 1 --- [ main] .RepositoryConfigurationExtensionSupport : Spring Data JDBC - Could not safely identify store assignment for repository candidate interface com.employee.api.security.repository.UserRepository. If you want this repository to be a JDBC repository, consider annotating your entities with one of these annotations: org.springframework.data.relational.core.mapping.Table.
28employee-service_1 | 2020-03-27 15:50:33.963 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 193ms. Found 0 JDBC repository interfaces.
29employee-service_1 | 2020-03-27 15:50:34.012 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
30employee-service_1 | 2020-03-27 15:50:34.020 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
31employee-service_1 | 2020-03-27 15:50:34.196 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 159ms. Found 2 JPA repository interfaces.
32employee-service_1 | 2020-03-27 15:50:35.461 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
33employee-service_1 | 2020-03-27 15:50:35.476 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'objectPostProcessor' of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
34employee-service_1 | 2020-03-27 15:50:35.531 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@290b1b2e' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
35employee-service_1 | 2020-03-27 15:50:35.537 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration' of type [org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
36employee-service_1 | 2020-03-27 15:50:35.577 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.method.configuration.Jsr250MetadataSourceConfiguration' of type [org.springframework.security.config.annotation.method.configuration.Jsr250MetadataSourceConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
37employee-service_1 | 2020-03-27 15:50:35.581 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'jsr250MethodSecurityMetadataSource' of type [org.springframework.security.access.annotation.Jsr250MethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
38employee-service_1 | 2020-03-27 15:50:35.592 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
39employee-service_1 | 2020-03-27 15:50:36.509 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
40employee-service_1 | 2020-03-27 15:50:36.693 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
41employee-service_1 | 2020-03-27 15:50:36.699 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.33]
42employee-service_1 | 2020-03-27 15:50:36.936 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
43employee-service_1 | 2020-03-27 15:50:36.939 INFO 1 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 6180 ms
44employee-service_1 | 2020-03-27 15:50:38.122 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
45employee-service_1 | 2020-03-27 15:50:38.415 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
46employee-service_1 | 2020-03-27 15:50:40.877 INFO 1 --- [ main] liquibase.executor.jvm.JdbcExecutor : SELECT COUNT(*) FROM public.databasechangeloglock
47employee-service_1 | 2020-03-27 15:50:40.879 INFO 1 --- [ main] liquibase.executor.jvm.JdbcExecutor : SELECT COUNT(*) FROM public.databasechangeloglock
48employee-service_1 | 2020-03-27 15:50:40.893 INFO 1 --- [ main] liquibase.executor.jvm.JdbcExecutor : SELECT LOCKED FROM public.databasechangeloglock WHERE ID=1
49employee-service_1 | 2020-03-27 15:50:41.025 INFO 1 --- [ main] l.lockservice.StandardLockService : Successfully acquired change log lock
50employee-service_1 | 2020-03-27 15:50:45.745 INFO 1 --- [ main] liquibase.executor.jvm.JdbcExecutor : SELECT MD5SUM FROM public.databasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
51employee-service_1 | 2020-03-27 15:50:45.757 INFO 1 --- [ main] liquibase.executor.jvm.JdbcExecutor : SELECT COUNT(*) FROM public.databasechangelog
52employee-service_1 | 2020-03-27 15:50:45.758 INFO 1 --- [ main] l.c.StandardChangeLogHistoryService : Reading from public.databasechangelog
53employee-service_1 | 2020-03-27 15:50:45.758 INFO 1 --- [ main] liquibase.executor.jvm.JdbcExecutor : SELECT * FROM public.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
54employee-service_1 | 2020-03-27 15:50:45.979 INFO 1 --- [ main] l.lockservice.StandardLockService : Successfully released change log lock
55employee-service_1 | 2020-03-27 15:50:46.310 INFO 1 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
56employee-service_1 | 2020-03-27 15:50:46.528 INFO 1 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.12.Final
57employee-service_1 | 2020-03-27 15:50:46.992 INFO 1 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
58employee-service_1 | 2020-03-27 15:50:47.292 INFO 1 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
59employee-service_1 | Hibernate: drop table if exists employee cascade
60employee-service_1 | Hibernate: drop table if exists users cascade
61employee-service_1 | Hibernate: drop sequence if exists hibernate_sequence
62employee-service_1 | Hibernate: create sequence hibernate_sequence start 1 increment 1
63employee-service_1 | Hibernate: create table employee (id int8 not null, birth_date DATE not null, employee_number int4 not null, first_name varchar(25) not null, gender varchar(1) not null, hire_date DATE, last_name varchar(25), primary key (id))
64employee-service_1 | Hibernate: create table users (id bigserial not null, email varchar(255) not null, password varchar(255) not null, username varchar(255) not null, primary key (id))
65employee-service_1 | Hibernate: alter table employee add constraint UK_oosi3suv54trvclvanif87cnt unique (employee_number)
66employee-service_1 | Hibernate: alter table users add constraint UKr43af9ap4edm43mmtq01oddj6 unique (username)
67employee-service_1 | Hibernate: alter table users add constraint UK6dotkott2kjsp8vw4d0m25fb7 unique (email)
68employee-service_1 | 2020-03-27 15:50:49.256 INFO 1 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
69employee-service_1 | 2020-03-27 15:50:49.304 INFO 1 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
70employee-service_1 | 2020-03-27 15:50:51.790 INFO 1 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
71employee-service_1 | 2020-03-27 15:50:52.373 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/v2/api-docs'], []
72employee-service_1 | 2020-03-27 15:50:52.381 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/configuration/ui'], []
73employee-service_1 | 2020-03-27 15:50:52.381 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/swagger-resources/**'], []
74employee-service_1 | 2020-03-27 15:50:52.381 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/configuration/**'], []
75employee-service_1 | 2020-03-27 15:50:52.382 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/swagger-ui.html'], []
76employee-service_1 | 2020-03-27 15:50:52.382 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/webjars/**'], []
77employee-service_1 | 2020-03-27 15:50:52.382 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/public/**'], []
78employee-service_1 | 2020-03-27 15:50:52.576 INFO 1 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
79employee-service_1 | 2020-03-27 15:50:53.103 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1c00d406, org.springframework.security.web.context.SecurityContextPersistenceFilter@5d829ef0, org.springframework.security.web.header.HeaderWriterFilter@5e69cf07, org.springframework.web.filter.CorsFilter@16ac4d3d, org.springframework.security.web.authentication.logout.LogoutFilter@73aaec54, com.employee.api.security.filter.AuthTokenFilter@284990de, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5dfc2a4, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@70c491b8, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@559d19c, org.springframework.security.web.session.SessionManagementFilter@42107318, org.springframework.security.web.access.ExceptionTranslationFilter@1a7163e3, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@68e47e7]
80employee-service_1 | 2020-03-27 15:50:53.415 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
81employee-service_1 | 2020-03-27 15:50:54.115 INFO 1 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
82employee-service_1 | 2020-03-27 15:50:54.168 INFO 1 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
83employee-service_1 | 2020-03-27 15:50:54.291 INFO 1 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references
84employee-service_1 | 2020-03-27 15:50:54.932 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8081 (http) with context path ''
85employee-service_1 | 2020-03-27 15:50:54.981 INFO 1 --- [ main] com.employee.api.Application : Started Application in 25.966 seconds (JVM running for 27.5)