Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 22 15:06
    lucaguada commented #1712
  • Jun 12 17:26
    lukasbarti opened #2605
  • May 30 00:14

    dependabot[bot] on maven

    (compare)

  • May 30 00:14
    dependabot[bot] closed #2578
  • May 30 00:14
    dependabot[bot] commented #2578
  • May 30 00:14
    dependabot[bot] labeled #2604
  • May 30 00:14
    dependabot[bot] labeled #2604
  • May 30 00:14
    dependabot[bot] opened #2604
  • May 30 00:14

    dependabot[bot] on maven

    build(deps): bump caffeine from… (compare)

  • May 30 00:02
    dependabot[bot] labeled #2603
  • May 30 00:02
    dependabot[bot] labeled #2603
  • May 30 00:02
    dependabot[bot] opened #2603
  • May 30 00:02

    dependabot[bot] on maven

    build(deps): bump thymeleaf fro… (compare)

  • May 30 00:02
    dependabot[bot] labeled #2602
  • May 30 00:02
    dependabot[bot] labeled #2602
  • May 30 00:02
    dependabot[bot] opened #2602
  • May 30 00:02

    dependabot[bot] on maven

    build(deps): bump maven-compile… (compare)

  • May 30 00:01
    dependabot[bot] labeled #2601
  • May 30 00:01
    dependabot[bot] labeled #2601
  • May 30 00:01
    dependabot[bot] opened #2601
Edgar Espina
@jknack
2.x is similar not identical
Nguyen Huu Tuan
@snowyukischnee
i've not look into the 1.x yet
Edgar Espina
@jknack
sequential pipeline is identical
Nguyen Huu Tuan
@snowyukischnee
i just discover this framework yesterday
Edgar Espina
@jknack
except that a pipeline is executed over a matched route
in 1.x pipeline is always executed, no matter if there is a matching route handler at the end or not
Nguyen Huu Tuan
@snowyukischnee
you mean in 2.x only the match routes are executed?
Edgar Espina
@jknack
yes
Nguyen Huu Tuan
@snowyukischnee
@jknack does use(Router) is the same with mount(Router), since i've look into the source code and see that the use method would call the mount method
however, if i using jooby-openapi to generate api spec, the mount() will not work and use() works
Edgar Espina
@jknack
good catch
we need to fix this
Nguyen Huu Tuan
@snowyukischnee
@jknack also jooby-openapi do not generate the example i defined using annotation
reddierocket
@reddierocket
Can someone send me a link on how to set up TLS 1.2 or 1.3 with Jooby 2 using Netty? I'm not finding anything in my searches, but someone ran a security scan and using ssl was a vulnerability that was cited, with a recommendation to use TLS 1.2 or greater. Thanks.
Emmanuel Oga
@EmmanuelOga
did you see this? https://jooby.io/#server-ssl
Nguyen Huu Tuan
@snowyukischnee
Hi, how can I enable http2 support for jooby 2.x
Johannes Beranek
@JohannesBeranek
Hi, is there some kind of css and/or js minification for Jooby 2.x? Only found asset aggregator for the Jooby 1.x asset module, but nothing so far for Jooby 2 :(
Mészáros István
@imeszaros
@JohannesBeranek No for 2.x as far as i know.
@jknack i discovered a problem with Netty 4.1.52 and SSL. The cause is not yet identified. I created an issue here: netty/netty#10720 I'll make a PR if something has to be done on our side.
Edgar Espina
@jknack
@snowyukischnee no support for http 2 yet
@JohannesBeranek there is an integration module for node: https://jooby.io/modules/node (we moved away from any custom done in Java)
@imeszaros Odd, let me know how it goes
Mészáros István
@imeszaros
@jknack TL;DR: had to upgrade to newer openjdk because older releases (we used 11.0.2) had problems with TLS 1.3 which was enabled by default since Netty 4.1.52
Edgar Espina
@jknack
do you know how to enable TLS1.2 or 1.3 in netty?
Mészáros István
@imeszaros
I made a copy of io.jooby.netty.Netty to be able to specify a list of protocols to the constructor of io.netty.handler.ssl.JdkSslContext where I excluded TLS 1.3
Edgar Espina
@jknack
I would like to move https to his own module
and probably add more options like setting TLS version
that will give us: jooby-{server}-https
all these integrated with ServiceLoader API
same for http2
Mészáros István
@imeszaros
good idea, especially the ability to be able to configure the protocol
what happens if someone configures jooby to use https but uses a server for http only?
Edgar Espina
@jknack
don’t follow
Mészáros István
@imeszaros
if I understood there would jooby-netty and jooby-netty-https in the future?
Edgar Espina
@jknack
yea
Mészáros István
@imeszaros
then what happens if I would like to turn https on in the conf file but have no '-https' on classpath?
Edgar Espina
@jknack
nothing or error
if user add the dependency we should configure https
have a look at this discussion: jooby-project/jooby#2074
Mészáros István
@imeszaros
okay
Edgar Espina
@jknack
is like the conf file will be irrelevant
Mészáros István
@imeszaros
and for http2 .. would that be also an implementation provider for io.jooby.Server
because then what if someone wants both https and http2?
Edgar Espina
@jknack
should be a pluggable system
no custom Server implementation
Mészáros István
@imeszaros
cool
that makes it clear
let me know if I can assist at any point
Edgar Espina
@jknack
cool