ICFI / eagle

1 stars 4 forks source link

Password Location? #18

Closed jamiejackson closed 6 years ago

jamiejackson commented 6 years ago

https://github.com/ICFI/eagle/blob/ebf198b75fe5a57cef31d8f88007ee3a192d7288/README.md#to-run-app-with-embedded-tomcat-preferred :

Password is generated during spring boot startup within console.

@jwilcoxen45, I can't find it. What am I doing wrong?

eagle jjackson$ ./gradlew build

> Task :test
2018-07-27 15:43:44.050  INFO 30876 --- [       Thread-9] o.s.w.c.s.GenericWebApplicationContext   : Closing org.springframework.web.context.support.GenericWebApplicationContext@3a7dd38d: startup date [Fri Jul 27 19:43:36 UTC 2018]; root of context hierarchy
2018-07-27 15:43:44.050  INFO 30876 --- [      Thread-11] o.s.w.c.s.GenericWebApplicationContext   : Closing org.springframework.web.context.support.GenericWebApplicationContext@b77f99b: startup date [Fri Jul 27 19:43:42 UTC 2018]; root of context hierarchy
2018-07-27 15:43:44.055  INFO 30876 --- [       Thread-9] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2018-07-27 15:43:44.056  INFO 30876 --- [       Thread-9] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed drop of schema as part of SessionFactory shut-down'
Hibernate: drop table movie if exists
Hibernate: drop sequence if exists hibernate_sequence
2018-07-27 15:43:44.078  INFO 30876 --- [       Thread-9] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2018-07-27 15:43:44.084  INFO 30876 --- [       Thread-9] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.

> Task :npmInstall
Adding to path /Users/jjackson/.nodejs/10.4.0/bin
Running [/Users/jjackson/.nodejs/10.4.0/bin/npm, install]

> fsevents@1.2.4 install /Users/jjackson/Documents/workspace-neon_0617/eagle/node_modules/fsevents
> node install

[fsevents] Success: "/Users/jjackson/Documents/workspace-neon_0617/eagle/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
npm WARN eagle@1.0.0 No repository field.
npm WARN eagle@1.0.0 No license field.

added 1097 packages from 694 contributors and audited 14622 packages in 15.086s
found 0 vulnerabilities

> Task :webpack
Adding to path /Users/jjackson/.nodejs/10.4.0/bin
Running [/Users/jjackson/Documents/workspace-neon_0617/eagle/node_modules/.bin/webpack-cli, --mode=production, --output-path, /Users/jjackson/Documents/workspace-neon_0617/eagle/build/js]
Hash: 86dc9f8889651fb89949
Version: webpack 4.16.3
Time: 22415ms
Built at: 07/27/2018 3:44:27 PM
    Asset     Size  Chunks                    Chunk Names
bundle.js  764 KiB       0  [emitted]  [big]  main
 [38] ./node_modules/react-bootstrap/es/index.js + 104 modules 301 KiB {0} [built]
      |    105 modules
 [78] ./src/main/webapp/config.js 348 bytes {0} [built]
[132] ./src/main/webapp/history.js 345 bytes {0} [built]
[137] ./src/main/webapp/index.js 375 bytes {0} [built]
[146] ./src/main/webapp/App.jsx 4.67 KiB {0} [built]
[230] ./src/main/webapp/loading.svg 56 KiB {0} [built]
[266] (webpack)/buildin/amd-define.js 85 bytes {0} [built]
[267] (webpack)/buildin/amd-options.js 80 bytes {0} [built]
[291] ./src/main/webapp/Auth.js 2.94 KiB {0} [built]
[297] (webpack)/buildin/global.js 489 bytes {0} [built]
[298] ./src/main/webapp/styles/main.css 253 bytes {0} [built]
[300] ./node_modules/react-router-dom/es/index.js + 32 modules 77.5 KiB {0} [built]
      |    33 modules
    + 289 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  bundle.js (764 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (764 KiB)
      bundle.js

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9-rc-2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 57s
9 actionable tasks: 6 executed, 3 up-to-date
ICF2008571:eagle jjackson$ ./gradlew bootRun

> Task :bootRun
15:45:14.360 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
15:45:14.367 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/, /spring-boot/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter/target/classes/]
15:45:14.368 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/Users/jjackson/Documents/workspace-neon_0617/eagle/build/classes/java/main/, file:/Users/jjackson/Documents/workspace-neon_0617/eagle/build/resources/main/]

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.3.RELEASE)

2018-07-27 15:45:14.776  INFO 31496 --- [  restartedMain] eagle.Application                        : Starting Application on ICF2008571 with PID 31496 (/Users/jjackson/Documents/workspace-neon_0617/eagle/build/classes/java/main started by jjackson in /Users/jjackson/Documents/workspace-neon_0617/eagle)
2018-07-27 15:45:14.778  INFO 31496 --- [  restartedMain] eagle.Application                        : No active profile set, falling back to default profiles: default
2018-07-27 15:45:14.859  INFO 31496 --- [  restartedMain] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@265ee0a9: startup date [Fri Jul 27 15:45:14 EDT 2018]; root of context hierarchy
2018-07-27 15:45:17.081  INFO 31496 --- [  restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ff12821c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-07-27 15:45:17.702  INFO 31496 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2018-07-27 15:45:17.745  INFO 31496 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-07-27 15:45:17.746  INFO 31496 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.31
2018-07-27 15:45:17.762  INFO 31496 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/jjackson/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
2018-07-27 15:45:17.912  INFO 31496 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-07-27 15:45:17.913  INFO 31496 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3058 ms
2018-07-27 15:45:18.986  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2018-07-27 15:45:18.988  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet webServlet mapped to [/h2/*]
2018-07-27 15:45:18.990  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-07-27 15:45:18.991  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-07-27 15:45:18.991  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-07-27 15:45:18.991  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2018-07-27 15:45:18.991  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpTraceFilter' to: [/*]
2018-07-27 15:45:18.991  INFO 31496 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'webMvcMetricsFilter' to: [/*]
2018-07-27 15:45:19.128  INFO 31496 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2018-07-27 15:45:19.424  INFO 31496 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2018-07-27 15:45:19.495  INFO 31496 --- [  restartedMain] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2018-07-27 15:45:19.534  INFO 31496 --- [  restartedMain] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
        name: default
        ...]
2018-07-27 15:45:19.663  INFO 31496 --- [  restartedMain] org.hibernate.Version                    : HHH000412: Hibernate Core {5.2.17.Final}
2018-07-27 15:45:19.665  INFO 31496 --- [  restartedMain] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2018-07-27 15:45:19.729  INFO 31496 --- [  restartedMain] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2018-07-27 15:45:19.931  INFO 31496 --- [  restartedMain] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
Hibernate: drop table movie if exists
Hibernate: drop sequence if exists hibernate_sequence
Hibernate: create sequence hibernate_sequence start with 1 increment by 1
Hibernate: create table movie (id bigint not null, published_date timestamp, rating varchar(255), title varchar(255), primary key (id))
2018-07-27 15:45:20.752  INFO 31496 --- [  restartedMain] o.h.t.schema.internal.SchemaCreatorImpl  : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@582e3030'
2018-07-27 15:45:20.756  INFO 31496 --- [  restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2018-07-27 15:45:20.845  INFO 31496 --- [  restartedMain] o.s.jdbc.datasource.init.ScriptUtils     : Executing SQL script from URL [file:/Users/jjackson/Documents/workspace-neon_0617/eagle/build/resources/main/data.sql]
2018-07-27 15:45:20.850  INFO 31496 --- [  restartedMain] o.s.jdbc.datasource.init.ScriptUtils     : Executed SQL script from URL [file:/Users/jjackson/Documents/workspace-neon_0617/eagle/build/resources/main/data.sql] in 4 ms.
2018-07-27 15:45:21.260  INFO 31496 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-07-27 15:45:21.660  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@265ee0a9: startup date [Fri Jul 27 19:45:14 UTC 2018]; root of context hierarchy
2018-07-27 15:45:21.739  WARN 31496 --- [  restartedMain] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2018-07-27 15:45:21.821  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{path:[^\.]*}]}" onto public java.lang.String eagle.controller.HomeController.index()
2018-07-27 15:45:21.833  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/movie/{id}],methods=[DELETE]}" onto public void eagle.controller.RESTController.delete(java.lang.Integer)
2018-07-27 15:45:21.834  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/movie],methods=[POST]}" onto public eagle.model.Movie eagle.controller.RESTController.post(eagle.model.Movie)
2018-07-27 15:45:21.834  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/movies],methods=[GET]}" onto public java.util.List<eagle.model.Movie> eagle.controller.RESTController.getAll()
2018-07-27 15:45:21.837  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-07-27 15:45:21.838  INFO 31496 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-07-27 15:45:21.876  INFO 31496 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-07-27 15:45:21.877  INFO 31496 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-07-27 15:45:22.040  INFO 31496 --- [  restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page template: index
2018-07-27 15:45:22.547  INFO 31496 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
2018-07-27 15:45:22.566  INFO 31496 --- [  restartedMain] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
2018-07-27 15:45:22.581  INFO 31496 --- [  restartedMain] s.b.a.e.w.s.WebMvcEndpointHandlerMapping : Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-07-27 15:45:22.582  INFO 31496 --- [  restartedMain] s.b.a.e.w.s.WebMvcEndpointHandlerMapping : Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-07-27 15:45:22.583  INFO 31496 --- [  restartedMain] s.b.a.e.w.s.WebMvcEndpointHandlerMapping : Mapped "{[/actuator],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.springframework.boot.actuate.endpoint.web.Link>> org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping.links(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-07-27 15:45:22.652  INFO 31496 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-07-27 15:45:22.653  INFO 31496 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'dataSource' has been autodetected for JMX exposure
2018-07-27 15:45:22.661  INFO 31496 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Located MBean 'dataSource': registering with JMX server as MBean [com.zaxxer.hikari:name=dataSource,type=HikariDataSource]
2018-07-27 15:45:22.719  INFO 31496 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2018-07-27 15:45:22.724  INFO 31496 --- [  restartedMain] eagle.Application                        : Started Application in 8.338 seconds (JVM running for 9.099)
<==========---> 80% EXECUTING [2m 27s]
> :bootRun
justin-wilcoxen-reisys commented 6 years ago

No password needed. I need to update the readme/documentation. The app is secured using AuthO instead. You will need creds from AuthO which I will give you.