This version (2017/05/27 13:44) is a draft.
Approvals: 0/1

[01:04:58] * ChanServ sets mode: +o temporalfox [08:18:38] * ChanServ sets mode: +o temporalfox

[10:21:32] * ChanServ sets mode: +o temporalfox [10:59:28] * ChanServ sets mode: +o temporalfox

[11:44:02] <mweb> hi there, I was looking for the class io.vertx.test.core.VertxTestBase for unit tests. Is it correct that I don't need this class (since I couldn't find it)

[11:44:18] <mweb> I'm working with vert.x v3.2.0

[11:57:03] <mweb> hi there, I was looking for the class io.vertx.test.core.VertxTestBase in vert.x v3.2.0 for unit tests. Is it correct that I don't need this class (since I couldn't find it)

[11:57:19] <qsys> that's right: https://github.com/vert-x3/vertx-examples/tree/master/unit-examples

[11:57:49] <qsys> or: http://vertx.io/docs/vertx-unit/java/

[11:58:57] <qsys> you probably want to integrate with junit(?) http://vertx.io/docs/vertx-unit/java/#_junit_integration

[11:59:08] <mweb> ok, thank you. It's very confusing since you find tutorials in the web for vert.x 3 using the VertxTestBase class

[11:59:54] <mweb> yep, that's what I've done. I was always wondering whether I miss something not using the VertxTestBase class

[12:01:13] <temporalfox> mweb I think you don't miss much

[12:01:25] <temporalfox> the only thing I think you would miss is the “waitUntil”

[12:01:27] <mweb> good to hear

[12:01:33] <temporalfox> I used it sometimes

[12:02:05] <mweb> ok, but the VertxTestBase isn't in the source anymore?

[12:02:18] <temporalfox> it is declared in vertx-core test jar

[12:02:28] <temporalfox> and is used by vertx-core that does not depend on vertx unit

[12:02:49] <mweb> ok, thank you

[12:02:54] <temporalfox> and by a couple of vertx projects for their test that uses it before vertx unit it was written

[12:03:05] <temporalfox> for instance vertx shell uses vertx unit because it was written after unit

[12:03:13] <temporalfox> but vertx web does not uses it

[12:03:22] <temporalfox> (yet)

[12:03:35] <mweb> so I guess I'm fine with vertx-unit :-)

[12:53:43] <AlexLehm_> mweb: being something of an early adopter of vertx-unit I can say it is very good to write tests for vertx programs (I have written vertx-mail-client tests with it)

[15:34:47] <BadApe> how can i generate a sha512 hash with the default jdbc auth hash strategy?

[16:05:19] * ChanServ sets mode: +o temporalfox [18:48:36] <cazacugmihai> Hi! Is there a way to use batch queries in vertx-jdbc-client? [19:13:25] <slack-r2d2> <clement> - another message to ignore - [19:22:36] * ChanServ sets mode: +o temporal_ [19:27:02] * ChanServ sets mode: +o temporalfox [19:33:10] <BadApe> i am trying to figure out how to use the NetServer and authentication, seems as if i can simply store the User [19:37:13] <BadApe> seems like i should extend the NetSocket and add a User [19:41:50] <slack-r2d2> <clement> badape: are you using the vertx-authentication-provider ? [19:42:37] <BadApe> i am using the JDBCAuth service [19:43:00] <BadApe> is there something in NetServerOptions i can set, i've been looking but [19:47:13] <BadApe> so far i've create http://pastie.org/10699646 i am not sure if switch is the right thing to use when trying to figure out the type message (i thought i would just fire json arrays at myself) [19:59:39] <pmlopes> @BadApe by looking at your pastie is seems that you're doing it right, once you authenticate you should probably save in a temporary table the socket id and the user so for upcomming messages you can skip the validation otherwise you need to keep going to the backend db to validate [20:00:18] <BadApe> ah thanks, [20:00:48] <pmlopes> @BadApe once you have the user object you can do role validation if you're interested [20:55:02] <BadApe> pmlopes, i was planning on doing rold validation, but just wasn't sure how to store the User object