Coder Social home page Coder Social logo

avob / openadr Goto Github PK

View Code? Open in Web Editor NEW
48.0 9.0 22.0 58.04 MB

OpenADR protocol java implementation: https://www.openadr.org/

License: Apache License 2.0

Java 79.38% Ruby 0.02% Shell 1.49% JavaScript 18.75% HTML 0.07% Dockerfile 0.29%
demand-response openadr java

openadr's People

Contributors

devendraap avatar zanni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openadr's Issues

Cannot build up nodered

When I try to bring up the the vm I get:
TASK [../../roles/nodered-oadr-ven : Install node-gyp build dependencies] ******
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying name: "{{item}}", please use name: ['build-essential'] and
remove the loop. This feature will be removed in version 2.11. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
failed: [nodered] (item=[u'build-essential']) => {"ansible_loop_var": "item", "changed": false, "item": ["build-essential"], "msg": "value of state must be one of: absent, build-dep, fixed, latest, present, got: installed"}

PLAY RECAP *********************************************************************
nodered : ok=12 changed=11 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I am running ubuntu 18.04 and I followed the instructions on the README.

Unable to SSH to vagrant box

I am stuck during deployment of VM during SSH phase.
My current setup:

  • virtualbox/bionic-updates,now 5.2.34
  • Vagrant 2.0.2 on EC2 remote server.
  • ansible 2.9.9
    ansible python module location = /usr/lib/python2.7/dist-packages/ansible
    python version = 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0]

This might be causing SSH issue.

image

The vagrant and Virtualbox version are not documented.
Could you add them please?

VTNTest not accesible

Hi. This project is a great work. I wanted to test it but i am getting an error.
I am seeing this when trying to open testvtn page. Am i missing something here?

Selection_034

Also is there anyway to check logs of the application ?

vagrant up error

D:\Code\OpenADR\devops\vtn20b_postgres>vagrant up
Bringing machine 'vtn20b' up with 'docker' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

docker provider:

  • One of "build_dir" or "image" must be set

ansible provisioner:

  • The following settings shouldn't exist: become, compatibility_mode, galaxy_role_file
    ==================================================================

Can anyone please help me on this? I am new to vagrant and VMs.

Control UI not accessable

I have 2 issues in here

  1. On successfully running the OpenADR/devops/vtn20b_postgres vagrant file, the control UI is not up and not accessible, In the Vagrant file port 8181 where the control UI is, is commented. I have tried uncommenting it as well but did not work.

  2. When I try to run node-red one, I have the following error

Screenshot 2020-05-05 at 3 21 37 PM

openadr_vtn20b_1 exited with code 1

i am using docker-compose up --build, it stop at "openadr_vtn20b_1 exited with code 1".
how can i fix it?

vtn20b_1 | at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) ~[?:?]

vtn20b_1 | at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:?]
vtn20b_1 | at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:?]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection.proceedTLSReceived(XMPPTCPConnection.java:856) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$2000(XMPPTCPConnection.java:155) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1171) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$1000(XMPPTCPConnection.java:1092) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1112) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at java.lang.Thread.run(Unknown Source) ~[?:?]
vtn20b_1 | [main] INFO c.a.o.s.c.v.WebDestructor - Executer Oadr20DREventPushServiceExecutor- with active 0 work has killed
rabbitmq_1 | 2021-09-05 13:19:47.776 [info] <0.1477.0> closing AMQP connection <0.1477.0> (172.18.0.7:58140 -> 172.18.0.4:5672, vhost: '/', user: 'admin')
rabbitmq_1 | 2021-09-05 13:19:47.794 [info] <0.1484.0> closing AMQP connection <0.1484.0> (172.18.0.7:58142 -> 172.18.0.4:5672, vhost: '/', user: 'admin')
openadr_vtn20b_1 exited with code 1

Missing class

i want to run locally, but missing class
image

can you help me?

"/usr/share/openfire/resources/security already exists as a link"

fatal: [vtn20b]: FAILED! => {"changed": false, "gid": 123, "group": "openfire", "mode": "0777", "msg": "/usr/share/openfire/resources/security already exists as a link", "owner": "openfire", "path": "/usr/share/openfire/resources/security", "size": 22, "state": "link", "uid": 116}

The error occurs when I use the command "vagrant up"
I've check the requirements and ensure all the tools have installed with the specified versions.

Forbidden/Unauthorized - Default Setup: 403 & 401

Maybe it's because I'm not a Java guy, but looks like spring isn't happy with authentication. After some searching I came to the conclusion that it's project specific, and either I missed something in the README.md or there's something that all Java engineers just 'do' that's part of the expectation here that I'm unfamiliar with and don't have the resources to currently dive into this. Any further information or a quick "just do this" note, would be greatly appreciated.

https://vtn.oadr.com:8181/testvtn/ 403 - Forbidden ( No Further Information )

-- Container Logs --

org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:140) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:155) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.authentication.www.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:126) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:124) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
    org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
    org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) ~[jetty-security-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) [jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) [jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) [jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:540) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:395) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
    java.lang.Thread.run(Unknown Source) [?:?]

https://vtn.oadr.com:8181/testvtn/swagger-ui.html 401 - Unauthorized

-- Container Logs --

ERROR c.a.o.s.o.v.HttpSecurityConfig - /swagger-ui.html
  org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource
  org.springframework.security.web.access.ExceptionTranslationFilter.handleSpringSecurityException(ExceptionTranslationFilter.java:189) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:140) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:155) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.authentication.www.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:126) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:124) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.3.5.RELEASE.jar!/:5.3.5.RELEASE]
  org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
  org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) ~[jetty-security-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) ~[jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) [jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) [jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) [jetty-server-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:540) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:395) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [jetty-io-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) [jetty-util-9.4.33.v20201020.jar!/:9.4.33.v20201020]
  java.lang.Thread.run(Unknown Source) [?:?]

Incomplete dependencies in pom.xml

The dependencies in Github project are not complete, so i am adding dependencies myself

https://github.com/devendraap/OpenADR/blob/master/pom.xml
The latest dependencie's version are not backward compatible sadly (sad)

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project OpenADRModel20b: Compilation failure[ERROR] /home/ubuntu/OpenADR/OpenADRModel20b/src/main/java/com/avob/openadr/model/oadr20b/xmlsignature/OadrXMLSignatureHandler.java:[348,70] incompatible types: java.util.List<javax.xml.crypto.XMLStructure> cannot be converted to java.util.List<? extends javax.xml.crypto.dsig.XMLObject>

Cannot build up vtn20b_postgres

When I try to bring up the the vm I get:
TASK [remyma.ansible-springboot : Download springboot application] *************
fatal: [vtn20b]: FAILED! => {"changed": false, "msg": "unknown url type: None", "status": -1, "url": "None"}

RUNNING HANDLER [geerlingguy.postgresql : restart postgresql] ******************

RUNNING HANDLER [../../roles/oadr-rabbitmq : restart rabbitmq] *****************

RUNNING HANDLER [../../roles/oadr-openfire : restart openfire] *****************

RUNNING HANDLER [remyma.ansible-springboot : Restart application] **************

PLAY RECAP *********************************************************************
vtn20b : ok=85 changed=56 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I am running ubuntu 18.04 and I followed the instructions on the README.
Am I meant to fork https://github.com/remyma/ansible-springboot.git and then fill in springboot_src_file, springboot_src_url, and springboot_application_name?

install dependencies

Hi, hello again : )

Any chance I could get a tip for installing this repo?

So on Ubuntu 20.04 I git cloned the repo and cd into this repo. The bash script works to generate the certs.

A real newbie question, do I need to install docker beforehand? Sorry not a docker expert. Is this tutorial a good one to install docker?

Thank you for anytime you have in response.

And then once docker is installed, then I can just run:
docker-compose up --build

Error upon running vagrant file

Upon running the devops/vtn20b_postgres vagrant file i get the following error :

image

I have the same issue with the node-red one.

Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process

$ git clone --recursive https://github.com/avob/OpenADR.git
$ cd ./OpenADR
$ sudo mvn clean package install -Dmaven.test.skip=true -e
[INFO] OpenADR ............................................ SUCCESS [ 2.214 s]
[INFO] OpenADRSecurity .................................... SUCCESS [ 5.582 s]
[INFO] OpenADRHTTPClient .................................. SUCCESS [ 1.419 s]
[INFO] OpenADRModel20a .................................... SUCCESS [ 14.116 s]
[INFO] OpenADRHTTPClient20a ............................... SUCCESS [ 3.301 s]
[INFO] OpenADRModel20b .................................... FAILURE [ 11.307 s]
[INFO] OpenADRHTTPClient20b ............................... SKIPPED
[INFO] OpenADRServerVTNCommon ............................. SKIPPED
[INFO] OpenADRServerVEN20a ................................ SKIPPED
[INFO] OpenADRServerVTN20a ................................ SKIPPED
[INFO] OpenADRServerVEN20b ................................ SKIPPED
[INFO] OpenADRServerVTN20b ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.821 s
[INFO] Finished at: 2019-03-25T09:06:00Z
[INFO] Final Memory: 68M/704M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (default) on project OpenADRModel20b: Resources archive cannot be found.: Could not find artifact com.avob.openadr.model:OpenADRModel20b:jar:0.0.1-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.avob.openadr.model -DartifactId=OpenADRModel20b -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.avob.openadr.model -DartifactId=OpenADRModel20b -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] com.avob.openadr.model:OpenADRModel20b:jar:0.0.1-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]

-- env --
Windows 10 WSL Ubuntu 18.04
openjdk-8-jdk
Apache Maven 3.5.2

Creating events for a newly created VEN is not working

I created a new VEN in the VENs section.
Then i created event for that new VEN. But surprisingly i was always getting empty(I mean to say, I was not seeing any event) whenever sending requestEvent to VTN. Also in the events section itself, if I add a filter with VEN equal to my new VEN. the results were empty. If I am going inside events and go to the targets tab, I can see that my VEN is there, but when I filter in events using my ven it doesn't show any VEN, while if I do filter with any older(Automatically created VEN), I get events.

I think something is wrong in the creation process of events or something. Now I do not know spring boot or Much of Java, otherwise, I would try to look deep into the code and try to figure out what is going wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.