You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jean-Louis Monteiro <jl...@tomitribe.com> on 2022/08/23 12:39:15 UTC

TomEE MicroProfile - current status

Hi,

Was looking for the last thread to pull up, but it's pretty far back and
misses many different things. So I decided to create a new thread as a
follow up.

Since then, we worked a lot on Jakarta EE 9 compatibility and we are close
enough. So we can now focus on MicroProfile to catch up with the latest
available version.

So far,

   - rest-client using CXF is fully integrated and compatible. No failure
   - metrics using SmallRye. No failure.
   - health using SmallRye. No failure
   - jwt using TomEE implementation. 22 failures mainly key parsing so not
   a big deal. David is on it
   - config using SmallRye. Currently 2 failures but PRs sent and as soon
   as we can get a new release, it should be good.

Currently missing


   - OpenTracing
   - Fault tolerance
   - OpenAPI

I started adding some integration for them but they don't pass the TCK. The
TCK are all set up with a base configuration. You just need to add the
module in the Maven reactor to run them.

If you guys wanna work on one of them, let me know and I can help.

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Great.

So far everything has been pushed regarding MicroProfile OpenAPI. Results
are fine on the CI.

So I'm about to start reading the MicroProfile Fault Tolerance spec, dig
into SmallRye Faut Tolerance and finally see how to integrate that in TomEE.
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Sun, Sep 4, 2022 at 7:05 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> Thank you for the answer. Yes, it works now.
>
> Zoltán Tichov
>
>
> On Thu, Sep 1, 2022 at 3:26 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com>
> wrote:
>
> > Hi,
> >
> > Thanks for the update.
> > For the command to work you need first to put the module back in the
> > reactor
> >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/pom.xml#L39
> >
> > It's currently commented out.
> >
> > Can you try it and see if it works?
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Wed, Aug 31, 2022 at 7:59 AM Zoltán Tichov <zo...@gmail.com>
> > wrote:
> >
> > > Hi!
> > >
> > > When I tried to run 'mvn clean install -pl
> > > tck/microprofile-tck/opentracing', I received the following error
> > message:
> > > Could not find the selected project in the reactor:
> > > tck/microprofile-tck/opentracing
> > > However I ran the tests in NetBeans and all tests was failed. Is this
> > > normal yet? I have not changed any code yet.
> > > I used openjdk 17 in NetBeans, is this appropriate or should I change
> to
> > > openjdk 11?
> > > --
> > > Zoltán
> > >
> > >
> > > On Wed, Aug 24, 2022 at 2:42 PM Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > > > Awesome.
> > > >
> > > > So lemme start with some pointers.
> > > >
> > > > The MicroProfile integration code sits in this module
> > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
> > > > You have one subpackage per MicroProfile specification.
> > > >
> > > > The TomEEMicroProfileService registers the TomEEMicroProfileListener
> > > which
> > > > is responsible for wiring all extensions for each specification.
> > > >
> > > > The TCK setup is located here
> > > > https://github.com/apache/tomee/tree/main/tck/microprofile-tck
> > > > Same as previously, one module per specification. The OpenTracing is
> > > there.
> > > >
> > > > Basically, if you add it back to the reactor, Maven will run the
> > > > OpenTracing TCK.
> > > >
> > > > You can do `mvn clean install -DskipTests` and then `mvn clean
> install
> > > -pl
> > > > tck/microprofile-tck/opentracing`
> > > > There is a tck-dev.xml you can use to run individual or all tests in
> > the
> > > > IDE (TestNG based).
> > > >
> > > > Let's start this way and lemme know what you think and if you need
> more
> > > > help
> > > >
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > > >
> > > > On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <
> zoltan.tichov@gmail.com
> > >
> > > > wrote:
> > > >
> > > > > Hi!
> > > > >
> > > > > Then I'd rather continue the OpenTracing integration, so I'd be
> happy
> > > if
> > > > > you could help me to start it.
> > > > >
> > > > > Zoltán Tichov
> > > > >
> > > > > On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
> > > > > jlmonteiro@tomitribe.com> wrote:
> > > > >
> > > > > > I have started OpenTracing so you have some basics to continue if
> > you
> > > > > want
> > > > > > to.
> > > > > > The TCK setup is done and some integration is also done.
> > > > > >
> > > > > > Does that sound good?
> > > > > >
> > > > > > Fault tolerance and OpenAPI are not started so it might be a bit
> > > > > > challenging to start from scratch. But either way I am happy to
> > help.
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Jean-Louis Monteiro
> > > > > > http://twitter.com/jlouismonteiro
> > > > > > http://www.tomitribe.com
> > > > > >
> > > > > >
> > > > > > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <
> > > zoltan.tichov@gmail.com
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi!
> > > > > > >
> > > > > > > I want to work on any of them.
> > > > > > >
> > > > > > > --
> > > > > > > Zoltán Tichov
> > > > > > >
> > > > > > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> > > > > > > jlmonteiro@tomitribe.com> wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > Was looking for the last thread to pull up, but it's pretty
> far
> > > > back
> > > > > > and
> > > > > > > > misses many different things. So I decided to create a new
> > thread
> > > > as
> > > > > a
> > > > > > > > follow up.
> > > > > > > >
> > > > > > > > Since then, we worked a lot on Jakarta EE 9 compatibility and
> > we
> > > > are
> > > > > > > close
> > > > > > > > enough. So we can now focus on MicroProfile to catch up with
> > the
> > > > > latest
> > > > > > > > available version.
> > > > > > > >
> > > > > > > > So far,
> > > > > > > >
> > > > > > > >    - rest-client using CXF is fully integrated and
> compatible.
> > No
> > > > > > failure
> > > > > > > >    - metrics using SmallRye. No failure.
> > > > > > > >    - health using SmallRye. No failure
> > > > > > > >    - jwt using TomEE implementation. 22 failures mainly key
> > > parsing
> > > > > so
> > > > > > > not
> > > > > > > >    a big deal. David is on it
> > > > > > > >    - config using SmallRye. Currently 2 failures but PRs sent
> > and
> > > > as
> > > > > > soon
> > > > > > > >    as we can get a new release, it should be good.
> > > > > > > >
> > > > > > > > Currently missing
> > > > > > > >
> > > > > > > >
> > > > > > > >    - OpenTracing
> > > > > > > >    - Fault tolerance
> > > > > > > >    - OpenAPI
> > > > > > > >
> > > > > > > > I started adding some integration for them but they don't
> pass
> > > the
> > > > > TCK.
> > > > > > > The
> > > > > > > > TCK are all set up with a base configuration. You just need
> to
> > > add
> > > > > the
> > > > > > > > module in the Maven reactor to run them.
> > > > > > > >
> > > > > > > > If you guys wanna work on one of them, let me know and I can
> > > help.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Jean-Louis Monteiro
> > > > > > > > http://twitter.com/jlouismonteiro
> > > > > > > > http://www.tomitribe.com
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

Thank you for the answer. Yes, it works now.

Zoltán Tichov


On Thu, Sep 1, 2022 at 3:26 PM Jean-Louis Monteiro <jl...@tomitribe.com>
wrote:

> Hi,
>
> Thanks for the update.
> For the command to work you need first to put the module back in the
> reactor
>
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/pom.xml#L39
>
> It's currently commented out.
>
> Can you try it and see if it works?
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Aug 31, 2022 at 7:59 AM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi!
> >
> > When I tried to run 'mvn clean install -pl
> > tck/microprofile-tck/opentracing', I received the following error
> message:
> > Could not find the selected project in the reactor:
> > tck/microprofile-tck/opentracing
> > However I ran the tests in NetBeans and all tests was failed. Is this
> > normal yet? I have not changed any code yet.
> > I used openjdk 17 in NetBeans, is this appropriate or should I change to
> > openjdk 11?
> > --
> > Zoltán
> >
> >
> > On Wed, Aug 24, 2022 at 2:42 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Awesome.
> > >
> > > So lemme start with some pointers.
> > >
> > > The MicroProfile integration code sits in this module
> > >
> > >
> >
> https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
> > > You have one subpackage per MicroProfile specification.
> > >
> > > The TomEEMicroProfileService registers the TomEEMicroProfileListener
> > which
> > > is responsible for wiring all extensions for each specification.
> > >
> > > The TCK setup is located here
> > > https://github.com/apache/tomee/tree/main/tck/microprofile-tck
> > > Same as previously, one module per specification. The OpenTracing is
> > there.
> > >
> > > Basically, if you add it back to the reactor, Maven will run the
> > > OpenTracing TCK.
> > >
> > > You can do `mvn clean install -DskipTests` and then `mvn clean install
> > -pl
> > > tck/microprofile-tck/opentracing`
> > > There is a tck-dev.xml you can use to run individual or all tests in
> the
> > > IDE (TestNG based).
> > >
> > > Let's start this way and lemme know what you think and if you need more
> > > help
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <zoltan.tichov@gmail.com
> >
> > > wrote:
> > >
> > > > Hi!
> > > >
> > > > Then I'd rather continue the OpenTracing integration, so I'd be happy
> > if
> > > > you could help me to start it.
> > > >
> > > > Zoltán Tichov
> > > >
> > > > On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
> > > > jlmonteiro@tomitribe.com> wrote:
> > > >
> > > > > I have started OpenTracing so you have some basics to continue if
> you
> > > > want
> > > > > to.
> > > > > The TCK setup is done and some integration is also done.
> > > > >
> > > > > Does that sound good?
> > > > >
> > > > > Fault tolerance and OpenAPI are not started so it might be a bit
> > > > > challenging to start from scratch. But either way I am happy to
> help.
> > > > >
> > > > >
> > > > > --
> > > > > Jean-Louis Monteiro
> > > > > http://twitter.com/jlouismonteiro
> > > > > http://www.tomitribe.com
> > > > >
> > > > >
> > > > > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <
> > zoltan.tichov@gmail.com
> > > >
> > > > > wrote:
> > > > >
> > > > > > Hi!
> > > > > >
> > > > > > I want to work on any of them.
> > > > > >
> > > > > > --
> > > > > > Zoltán Tichov
> > > > > >
> > > > > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> > > > > > jlmonteiro@tomitribe.com> wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > Was looking for the last thread to pull up, but it's pretty far
> > > back
> > > > > and
> > > > > > > misses many different things. So I decided to create a new
> thread
> > > as
> > > > a
> > > > > > > follow up.
> > > > > > >
> > > > > > > Since then, we worked a lot on Jakarta EE 9 compatibility and
> we
> > > are
> > > > > > close
> > > > > > > enough. So we can now focus on MicroProfile to catch up with
> the
> > > > latest
> > > > > > > available version.
> > > > > > >
> > > > > > > So far,
> > > > > > >
> > > > > > >    - rest-client using CXF is fully integrated and compatible.
> No
> > > > > failure
> > > > > > >    - metrics using SmallRye. No failure.
> > > > > > >    - health using SmallRye. No failure
> > > > > > >    - jwt using TomEE implementation. 22 failures mainly key
> > parsing
> > > > so
> > > > > > not
> > > > > > >    a big deal. David is on it
> > > > > > >    - config using SmallRye. Currently 2 failures but PRs sent
> and
> > > as
> > > > > soon
> > > > > > >    as we can get a new release, it should be good.
> > > > > > >
> > > > > > > Currently missing
> > > > > > >
> > > > > > >
> > > > > > >    - OpenTracing
> > > > > > >    - Fault tolerance
> > > > > > >    - OpenAPI
> > > > > > >
> > > > > > > I started adding some integration for them but they don't pass
> > the
> > > > TCK.
> > > > > > The
> > > > > > > TCK are all set up with a base configuration. You just need to
> > add
> > > > the
> > > > > > > module in the Maven reactor to run them.
> > > > > > >
> > > > > > > If you guys wanna work on one of them, let me know and I can
> > help.
> > > > > > >
> > > > > > > --
> > > > > > > Jean-Louis Monteiro
> > > > > > > http://twitter.com/jlouismonteiro
> > > > > > > http://www.tomitribe.com
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Cesar Hernandez <ce...@gmail.com>.
Awesome news Jean-Louis, thank you for the update!

El vie, 2 sept 2022 a las 4:59, Jean-Louis Monteiro (<
jlmonteiro@tomitribe.com>) escribió:

> Quick update ...
>
> I managed to finish the SmallRye OpenAPI integration. We now pass 100% of
> the MicroProfile OpenAPI TCK.
> I'm cleaning up and I'll be pushing soon.
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Thu, Sep 1, 2022 at 3:25 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com>
> wrote:
>
> > Hi,
> >
> > Thanks for the update.
> > For the command to work you need first to put the module back in the
> > reactor
> >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/pom.xml#L39
> >
> > It's currently commented out.
> >
> > Can you try it and see if it works?
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Wed, Aug 31, 2022 at 7:59 AM Zoltán Tichov <zo...@gmail.com>
> > wrote:
> >
> >> Hi!
> >>
> >> When I tried to run 'mvn clean install -pl
> >> tck/microprofile-tck/opentracing', I received the following error
> message:
> >> Could not find the selected project in the reactor:
> >> tck/microprofile-tck/opentracing
> >> However I ran the tests in NetBeans and all tests was failed. Is this
> >> normal yet? I have not changed any code yet.
> >> I used openjdk 17 in NetBeans, is this appropriate or should I change to
> >> openjdk 11?
> >> --
> >> Zoltán
> >>
> >>
> >> On Wed, Aug 24, 2022 at 2:42 PM Jean-Louis Monteiro <
> >> jlmonteiro@tomitribe.com> wrote:
> >>
> >> > Awesome.
> >> >
> >> > So lemme start with some pointers.
> >> >
> >> > The MicroProfile integration code sits in this module
> >> >
> >> >
> >>
> https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
> >> > You have one subpackage per MicroProfile specification.
> >> >
> >> > The TomEEMicroProfileService registers the TomEEMicroProfileListener
> >> which
> >> > is responsible for wiring all extensions for each specification.
> >> >
> >> > The TCK setup is located here
> >> > https://github.com/apache/tomee/tree/main/tck/microprofile-tck
> >> > Same as previously, one module per specification. The OpenTracing is
> >> there.
> >> >
> >> > Basically, if you add it back to the reactor, Maven will run the
> >> > OpenTracing TCK.
> >> >
> >> > You can do `mvn clean install -DskipTests` and then `mvn clean install
> >> -pl
> >> > tck/microprofile-tck/opentracing`
> >> > There is a tck-dev.xml you can use to run individual or all tests in
> the
> >> > IDE (TestNG based).
> >> >
> >> > Let's start this way and lemme know what you think and if you need
> more
> >> > help
> >> >
> >> > --
> >> > Jean-Louis Monteiro
> >> > http://twitter.com/jlouismonteiro
> >> > http://www.tomitribe.com
> >> >
> >> >
> >> > On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <
> zoltan.tichov@gmail.com>
> >> > wrote:
> >> >
> >> > > Hi!
> >> > >
> >> > > Then I'd rather continue the OpenTracing integration, so I'd be
> happy
> >> if
> >> > > you could help me to start it.
> >> > >
> >> > > Zoltán Tichov
> >> > >
> >> > > On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
> >> > > jlmonteiro@tomitribe.com> wrote:
> >> > >
> >> > > > I have started OpenTracing so you have some basics to continue if
> >> you
> >> > > want
> >> > > > to.
> >> > > > The TCK setup is done and some integration is also done.
> >> > > >
> >> > > > Does that sound good?
> >> > > >
> >> > > > Fault tolerance and OpenAPI are not started so it might be a bit
> >> > > > challenging to start from scratch. But either way I am happy to
> >> help.
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Jean-Louis Monteiro
> >> > > > http://twitter.com/jlouismonteiro
> >> > > > http://www.tomitribe.com
> >> > > >
> >> > > >
> >> > > > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <
> >> zoltan.tichov@gmail.com
> >> > >
> >> > > > wrote:
> >> > > >
> >> > > > > Hi!
> >> > > > >
> >> > > > > I want to work on any of them.
> >> > > > >
> >> > > > > --
> >> > > > > Zoltán Tichov
> >> > > > >
> >> > > > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> >> > > > > jlmonteiro@tomitribe.com> wrote:
> >> > > > >
> >> > > > > > Hi,
> >> > > > > >
> >> > > > > > Was looking for the last thread to pull up, but it's pretty
> far
> >> > back
> >> > > > and
> >> > > > > > misses many different things. So I decided to create a new
> >> thread
> >> > as
> >> > > a
> >> > > > > > follow up.
> >> > > > > >
> >> > > > > > Since then, we worked a lot on Jakarta EE 9 compatibility and
> we
> >> > are
> >> > > > > close
> >> > > > > > enough. So we can now focus on MicroProfile to catch up with
> the
> >> > > latest
> >> > > > > > available version.
> >> > > > > >
> >> > > > > > So far,
> >> > > > > >
> >> > > > > >    - rest-client using CXF is fully integrated and compatible.
> >> No
> >> > > > failure
> >> > > > > >    - metrics using SmallRye. No failure.
> >> > > > > >    - health using SmallRye. No failure
> >> > > > > >    - jwt using TomEE implementation. 22 failures mainly key
> >> parsing
> >> > > so
> >> > > > > not
> >> > > > > >    a big deal. David is on it
> >> > > > > >    - config using SmallRye. Currently 2 failures but PRs sent
> >> and
> >> > as
> >> > > > soon
> >> > > > > >    as we can get a new release, it should be good.
> >> > > > > >
> >> > > > > > Currently missing
> >> > > > > >
> >> > > > > >
> >> > > > > >    - OpenTracing
> >> > > > > >    - Fault tolerance
> >> > > > > >    - OpenAPI
> >> > > > > >
> >> > > > > > I started adding some integration for them but they don't pass
> >> the
> >> > > TCK.
> >> > > > > The
> >> > > > > > TCK are all set up with a base configuration. You just need to
> >> add
> >> > > the
> >> > > > > > module in the Maven reactor to run them.
> >> > > > > >
> >> > > > > > If you guys wanna work on one of them, let me know and I can
> >> help.
> >> > > > > >
> >> > > > > > --
> >> > > > > > Jean-Louis Monteiro
> >> > > > > > http://twitter.com/jlouismonteiro
> >> > > > > > http://www.tomitribe.com
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
>


-- 
Atentamente:
César Hernández.

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Quick update ...

I managed to finish the SmallRye OpenAPI integration. We now pass 100% of
the MicroProfile OpenAPI TCK.
I'm cleaning up and I'll be pushing soon.
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Sep 1, 2022 at 3:25 PM Jean-Louis Monteiro <jl...@tomitribe.com>
wrote:

> Hi,
>
> Thanks for the update.
> For the command to work you need first to put the module back in the
> reactor
>
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/pom.xml#L39
>
> It's currently commented out.
>
> Can you try it and see if it works?
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Aug 31, 2022 at 7:59 AM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
>> Hi!
>>
>> When I tried to run 'mvn clean install -pl
>> tck/microprofile-tck/opentracing', I received the following error message:
>> Could not find the selected project in the reactor:
>> tck/microprofile-tck/opentracing
>> However I ran the tests in NetBeans and all tests was failed. Is this
>> normal yet? I have not changed any code yet.
>> I used openjdk 17 in NetBeans, is this appropriate or should I change to
>> openjdk 11?
>> --
>> Zoltán
>>
>>
>> On Wed, Aug 24, 2022 at 2:42 PM Jean-Louis Monteiro <
>> jlmonteiro@tomitribe.com> wrote:
>>
>> > Awesome.
>> >
>> > So lemme start with some pointers.
>> >
>> > The MicroProfile integration code sits in this module
>> >
>> >
>> https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
>> > You have one subpackage per MicroProfile specification.
>> >
>> > The TomEEMicroProfileService registers the TomEEMicroProfileListener
>> which
>> > is responsible for wiring all extensions for each specification.
>> >
>> > The TCK setup is located here
>> > https://github.com/apache/tomee/tree/main/tck/microprofile-tck
>> > Same as previously, one module per specification. The OpenTracing is
>> there.
>> >
>> > Basically, if you add it back to the reactor, Maven will run the
>> > OpenTracing TCK.
>> >
>> > You can do `mvn clean install -DskipTests` and then `mvn clean install
>> -pl
>> > tck/microprofile-tck/opentracing`
>> > There is a tck-dev.xml you can use to run individual or all tests in the
>> > IDE (TestNG based).
>> >
>> > Let's start this way and lemme know what you think and if you need more
>> > help
>> >
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>> >
>> > On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <zo...@gmail.com>
>> > wrote:
>> >
>> > > Hi!
>> > >
>> > > Then I'd rather continue the OpenTracing integration, so I'd be happy
>> if
>> > > you could help me to start it.
>> > >
>> > > Zoltán Tichov
>> > >
>> > > On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
>> > > jlmonteiro@tomitribe.com> wrote:
>> > >
>> > > > I have started OpenTracing so you have some basics to continue if
>> you
>> > > want
>> > > > to.
>> > > > The TCK setup is done and some integration is also done.
>> > > >
>> > > > Does that sound good?
>> > > >
>> > > > Fault tolerance and OpenAPI are not started so it might be a bit
>> > > > challenging to start from scratch. But either way I am happy to
>> help.
>> > > >
>> > > >
>> > > > --
>> > > > Jean-Louis Monteiro
>> > > > http://twitter.com/jlouismonteiro
>> > > > http://www.tomitribe.com
>> > > >
>> > > >
>> > > > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <
>> zoltan.tichov@gmail.com
>> > >
>> > > > wrote:
>> > > >
>> > > > > Hi!
>> > > > >
>> > > > > I want to work on any of them.
>> > > > >
>> > > > > --
>> > > > > Zoltán Tichov
>> > > > >
>> > > > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
>> > > > > jlmonteiro@tomitribe.com> wrote:
>> > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > > Was looking for the last thread to pull up, but it's pretty far
>> > back
>> > > > and
>> > > > > > misses many different things. So I decided to create a new
>> thread
>> > as
>> > > a
>> > > > > > follow up.
>> > > > > >
>> > > > > > Since then, we worked a lot on Jakarta EE 9 compatibility and we
>> > are
>> > > > > close
>> > > > > > enough. So we can now focus on MicroProfile to catch up with the
>> > > latest
>> > > > > > available version.
>> > > > > >
>> > > > > > So far,
>> > > > > >
>> > > > > >    - rest-client using CXF is fully integrated and compatible.
>> No
>> > > > failure
>> > > > > >    - metrics using SmallRye. No failure.
>> > > > > >    - health using SmallRye. No failure
>> > > > > >    - jwt using TomEE implementation. 22 failures mainly key
>> parsing
>> > > so
>> > > > > not
>> > > > > >    a big deal. David is on it
>> > > > > >    - config using SmallRye. Currently 2 failures but PRs sent
>> and
>> > as
>> > > > soon
>> > > > > >    as we can get a new release, it should be good.
>> > > > > >
>> > > > > > Currently missing
>> > > > > >
>> > > > > >
>> > > > > >    - OpenTracing
>> > > > > >    - Fault tolerance
>> > > > > >    - OpenAPI
>> > > > > >
>> > > > > > I started adding some integration for them but they don't pass
>> the
>> > > TCK.
>> > > > > The
>> > > > > > TCK are all set up with a base configuration. You just need to
>> add
>> > > the
>> > > > > > module in the Maven reactor to run them.
>> > > > > >
>> > > > > > If you guys wanna work on one of them, let me know and I can
>> help.
>> > > > > >
>> > > > > > --
>> > > > > > Jean-Louis Monteiro
>> > > > > > http://twitter.com/jlouismonteiro
>> > > > > > http://www.tomitribe.com
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hi,

Thanks for the update.
For the command to work you need first to put the module back in the reactor

https://github.com/apache/tomee/blob/main/tck/microprofile-tck/pom.xml#L39

It's currently commented out.

Can you try it and see if it works?

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Aug 31, 2022 at 7:59 AM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> When I tried to run 'mvn clean install -pl
> tck/microprofile-tck/opentracing', I received the following error message:
> Could not find the selected project in the reactor:
> tck/microprofile-tck/opentracing
> However I ran the tests in NetBeans and all tests was failed. Is this
> normal yet? I have not changed any code yet.
> I used openjdk 17 in NetBeans, is this appropriate or should I change to
> openjdk 11?
> --
> Zoltán
>
>
> On Wed, Aug 24, 2022 at 2:42 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Awesome.
> >
> > So lemme start with some pointers.
> >
> > The MicroProfile integration code sits in this module
> >
> >
> https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
> > You have one subpackage per MicroProfile specification.
> >
> > The TomEEMicroProfileService registers the TomEEMicroProfileListener
> which
> > is responsible for wiring all extensions for each specification.
> >
> > The TCK setup is located here
> > https://github.com/apache/tomee/tree/main/tck/microprofile-tck
> > Same as previously, one module per specification. The OpenTracing is
> there.
> >
> > Basically, if you add it back to the reactor, Maven will run the
> > OpenTracing TCK.
> >
> > You can do `mvn clean install -DskipTests` and then `mvn clean install
> -pl
> > tck/microprofile-tck/opentracing`
> > There is a tck-dev.xml you can use to run individual or all tests in the
> > IDE (TestNG based).
> >
> > Let's start this way and lemme know what you think and if you need more
> > help
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <zo...@gmail.com>
> > wrote:
> >
> > > Hi!
> > >
> > > Then I'd rather continue the OpenTracing integration, so I'd be happy
> if
> > > you could help me to start it.
> > >
> > > Zoltán Tichov
> > >
> > > On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > > > I have started OpenTracing so you have some basics to continue if you
> > > want
> > > > to.
> > > > The TCK setup is done and some integration is also done.
> > > >
> > > > Does that sound good?
> > > >
> > > > Fault tolerance and OpenAPI are not started so it might be a bit
> > > > challenging to start from scratch. But either way I am happy to help.
> > > >
> > > >
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > > >
> > > > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <
> zoltan.tichov@gmail.com
> > >
> > > > wrote:
> > > >
> > > > > Hi!
> > > > >
> > > > > I want to work on any of them.
> > > > >
> > > > > --
> > > > > Zoltán Tichov
> > > > >
> > > > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> > > > > jlmonteiro@tomitribe.com> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Was looking for the last thread to pull up, but it's pretty far
> > back
> > > > and
> > > > > > misses many different things. So I decided to create a new thread
> > as
> > > a
> > > > > > follow up.
> > > > > >
> > > > > > Since then, we worked a lot on Jakarta EE 9 compatibility and we
> > are
> > > > > close
> > > > > > enough. So we can now focus on MicroProfile to catch up with the
> > > latest
> > > > > > available version.
> > > > > >
> > > > > > So far,
> > > > > >
> > > > > >    - rest-client using CXF is fully integrated and compatible. No
> > > > failure
> > > > > >    - metrics using SmallRye. No failure.
> > > > > >    - health using SmallRye. No failure
> > > > > >    - jwt using TomEE implementation. 22 failures mainly key
> parsing
> > > so
> > > > > not
> > > > > >    a big deal. David is on it
> > > > > >    - config using SmallRye. Currently 2 failures but PRs sent and
> > as
> > > > soon
> > > > > >    as we can get a new release, it should be good.
> > > > > >
> > > > > > Currently missing
> > > > > >
> > > > > >
> > > > > >    - OpenTracing
> > > > > >    - Fault tolerance
> > > > > >    - OpenAPI
> > > > > >
> > > > > > I started adding some integration for them but they don't pass
> the
> > > TCK.
> > > > > The
> > > > > > TCK are all set up with a base configuration. You just need to
> add
> > > the
> > > > > > module in the Maven reactor to run them.
> > > > > >
> > > > > > If you guys wanna work on one of them, let me know and I can
> help.
> > > > > >
> > > > > > --
> > > > > > Jean-Louis Monteiro
> > > > > > http://twitter.com/jlouismonteiro
> > > > > > http://www.tomitribe.com
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

When I tried to run 'mvn clean install -pl
tck/microprofile-tck/opentracing', I received the following error message:
Could not find the selected project in the reactor:
tck/microprofile-tck/opentracing
However I ran the tests in NetBeans and all tests was failed. Is this
normal yet? I have not changed any code yet.
I used openjdk 17 in NetBeans, is this appropriate or should I change to
openjdk 11?
--
Zoltán


On Wed, Aug 24, 2022 at 2:42 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Awesome.
>
> So lemme start with some pointers.
>
> The MicroProfile integration code sits in this module
>
> https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
> You have one subpackage per MicroProfile specification.
>
> The TomEEMicroProfileService registers the TomEEMicroProfileListener which
> is responsible for wiring all extensions for each specification.
>
> The TCK setup is located here
> https://github.com/apache/tomee/tree/main/tck/microprofile-tck
> Same as previously, one module per specification. The OpenTracing is there.
>
> Basically, if you add it back to the reactor, Maven will run the
> OpenTracing TCK.
>
> You can do `mvn clean install -DskipTests` and then `mvn clean install -pl
> tck/microprofile-tck/opentracing`
> There is a tck-dev.xml you can use to run individual or all tests in the
> IDE (TestNG based).
>
> Let's start this way and lemme know what you think and if you need more
> help
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi!
> >
> > Then I'd rather continue the OpenTracing integration, so I'd be happy if
> > you could help me to start it.
> >
> > Zoltán Tichov
> >
> > On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > I have started OpenTracing so you have some basics to continue if you
> > want
> > > to.
> > > The TCK setup is done and some integration is also done.
> > >
> > > Does that sound good?
> > >
> > > Fault tolerance and OpenAPI are not started so it might be a bit
> > > challenging to start from scratch. But either way I am happy to help.
> > >
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <zoltan.tichov@gmail.com
> >
> > > wrote:
> > >
> > > > Hi!
> > > >
> > > > I want to work on any of them.
> > > >
> > > > --
> > > > Zoltán Tichov
> > > >
> > > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> > > > jlmonteiro@tomitribe.com> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > Was looking for the last thread to pull up, but it's pretty far
> back
> > > and
> > > > > misses many different things. So I decided to create a new thread
> as
> > a
> > > > > follow up.
> > > > >
> > > > > Since then, we worked a lot on Jakarta EE 9 compatibility and we
> are
> > > > close
> > > > > enough. So we can now focus on MicroProfile to catch up with the
> > latest
> > > > > available version.
> > > > >
> > > > > So far,
> > > > >
> > > > >    - rest-client using CXF is fully integrated and compatible. No
> > > failure
> > > > >    - metrics using SmallRye. No failure.
> > > > >    - health using SmallRye. No failure
> > > > >    - jwt using TomEE implementation. 22 failures mainly key parsing
> > so
> > > > not
> > > > >    a big deal. David is on it
> > > > >    - config using SmallRye. Currently 2 failures but PRs sent and
> as
> > > soon
> > > > >    as we can get a new release, it should be good.
> > > > >
> > > > > Currently missing
> > > > >
> > > > >
> > > > >    - OpenTracing
> > > > >    - Fault tolerance
> > > > >    - OpenAPI
> > > > >
> > > > > I started adding some integration for them but they don't pass the
> > TCK.
> > > > The
> > > > > TCK are all set up with a base configuration. You just need to add
> > the
> > > > > module in the Maven reactor to run them.
> > > > >
> > > > > If you guys wanna work on one of them, let me know and I can help.
> > > > >
> > > > > --
> > > > > Jean-Louis Monteiro
> > > > > http://twitter.com/jlouismonteiro
> > > > > http://www.tomitribe.com
> > > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Awesome.

So lemme start with some pointers.

The MicroProfile integration code sits in this module
https://github.com/apache/tomee/tree/main/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile
You have one subpackage per MicroProfile specification.

The TomEEMicroProfileService registers the TomEEMicroProfileListener which
is responsible for wiring all extensions for each specification.

The TCK setup is located here
https://github.com/apache/tomee/tree/main/tck/microprofile-tck
Same as previously, one module per specification. The OpenTracing is there.

Basically, if you add it back to the reactor, Maven will run the
OpenTracing TCK.

You can do `mvn clean install -DskipTests` and then `mvn clean install -pl
tck/microprofile-tck/opentracing`
There is a tck-dev.xml you can use to run individual or all tests in the
IDE (TestNG based).

Let's start this way and lemme know what you think and if you need more help

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Aug 24, 2022 at 1:45 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> Then I'd rather continue the OpenTracing integration, so I'd be happy if
> you could help me to start it.
>
> Zoltán Tichov
>
> On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > I have started OpenTracing so you have some basics to continue if you
> want
> > to.
> > The TCK setup is done and some integration is also done.
> >
> > Does that sound good?
> >
> > Fault tolerance and OpenAPI are not started so it might be a bit
> > challenging to start from scratch. But either way I am happy to help.
> >
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <zo...@gmail.com>
> > wrote:
> >
> > > Hi!
> > >
> > > I want to work on any of them.
> > >
> > > --
> > > Zoltán Tichov
> > >
> > > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > Was looking for the last thread to pull up, but it's pretty far back
> > and
> > > > misses many different things. So I decided to create a new thread as
> a
> > > > follow up.
> > > >
> > > > Since then, we worked a lot on Jakarta EE 9 compatibility and we are
> > > close
> > > > enough. So we can now focus on MicroProfile to catch up with the
> latest
> > > > available version.
> > > >
> > > > So far,
> > > >
> > > >    - rest-client using CXF is fully integrated and compatible. No
> > failure
> > > >    - metrics using SmallRye. No failure.
> > > >    - health using SmallRye. No failure
> > > >    - jwt using TomEE implementation. 22 failures mainly key parsing
> so
> > > not
> > > >    a big deal. David is on it
> > > >    - config using SmallRye. Currently 2 failures but PRs sent and as
> > soon
> > > >    as we can get a new release, it should be good.
> > > >
> > > > Currently missing
> > > >
> > > >
> > > >    - OpenTracing
> > > >    - Fault tolerance
> > > >    - OpenAPI
> > > >
> > > > I started adding some integration for them but they don't pass the
> TCK.
> > > The
> > > > TCK are all set up with a base configuration. You just need to add
> the
> > > > module in the Maven reactor to run them.
> > > >
> > > > If you guys wanna work on one of them, let me know and I can help.
> > > >
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

Then I'd rather continue the OpenTracing integration, so I'd be happy if
you could help me to start it.

Zoltán Tichov

On Wed, Aug 24, 2022 at 12:49 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> I have started OpenTracing so you have some basics to continue if you want
> to.
> The TCK setup is done and some integration is also done.
>
> Does that sound good?
>
> Fault tolerance and OpenAPI are not started so it might be a bit
> challenging to start from scratch. But either way I am happy to help.
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi!
> >
> > I want to work on any of them.
> >
> > --
> > Zoltán Tichov
> >
> > On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Hi,
> > >
> > > Was looking for the last thread to pull up, but it's pretty far back
> and
> > > misses many different things. So I decided to create a new thread as a
> > > follow up.
> > >
> > > Since then, we worked a lot on Jakarta EE 9 compatibility and we are
> > close
> > > enough. So we can now focus on MicroProfile to catch up with the latest
> > > available version.
> > >
> > > So far,
> > >
> > >    - rest-client using CXF is fully integrated and compatible. No
> failure
> > >    - metrics using SmallRye. No failure.
> > >    - health using SmallRye. No failure
> > >    - jwt using TomEE implementation. 22 failures mainly key parsing so
> > not
> > >    a big deal. David is on it
> > >    - config using SmallRye. Currently 2 failures but PRs sent and as
> soon
> > >    as we can get a new release, it should be good.
> > >
> > > Currently missing
> > >
> > >
> > >    - OpenTracing
> > >    - Fault tolerance
> > >    - OpenAPI
> > >
> > > I started adding some integration for them but they don't pass the TCK.
> > The
> > > TCK are all set up with a base configuration. You just need to add the
> > > module in the Maven reactor to run them.
> > >
> > > If you guys wanna work on one of them, let me know and I can help.
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
I have started OpenTracing so you have some basics to continue if you want
to.
The TCK setup is done and some integration is also done.

Does that sound good?

Fault tolerance and OpenAPI are not started so it might be a bit
challenging to start from scratch. But either way I am happy to help.


--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Aug 23, 2022 at 4:55 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> I want to work on any of them.
>
> --
> Zoltán Tichov
>
> On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Hi,
> >
> > Was looking for the last thread to pull up, but it's pretty far back and
> > misses many different things. So I decided to create a new thread as a
> > follow up.
> >
> > Since then, we worked a lot on Jakarta EE 9 compatibility and we are
> close
> > enough. So we can now focus on MicroProfile to catch up with the latest
> > available version.
> >
> > So far,
> >
> >    - rest-client using CXF is fully integrated and compatible. No failure
> >    - metrics using SmallRye. No failure.
> >    - health using SmallRye. No failure
> >    - jwt using TomEE implementation. 22 failures mainly key parsing so
> not
> >    a big deal. David is on it
> >    - config using SmallRye. Currently 2 failures but PRs sent and as soon
> >    as we can get a new release, it should be good.
> >
> > Currently missing
> >
> >
> >    - OpenTracing
> >    - Fault tolerance
> >    - OpenAPI
> >
> > I started adding some integration for them but they don't pass the TCK.
> The
> > TCK are all set up with a base configuration. You just need to add the
> > module in the Maven reactor to run them.
> >
> > If you guys wanna work on one of them, let me know and I can help.
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

I want to work on any of them.

--
Zoltán Tichov

On Tue, Aug 23, 2022 at 2:39 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi,
>
> Was looking for the last thread to pull up, but it's pretty far back and
> misses many different things. So I decided to create a new thread as a
> follow up.
>
> Since then, we worked a lot on Jakarta EE 9 compatibility and we are close
> enough. So we can now focus on MicroProfile to catch up with the latest
> available version.
>
> So far,
>
>    - rest-client using CXF is fully integrated and compatible. No failure
>    - metrics using SmallRye. No failure.
>    - health using SmallRye. No failure
>    - jwt using TomEE implementation. 22 failures mainly key parsing so not
>    a big deal. David is on it
>    - config using SmallRye. Currently 2 failures but PRs sent and as soon
>    as we can get a new release, it should be good.
>
> Currently missing
>
>
>    - OpenTracing
>    - Fault tolerance
>    - OpenAPI
>
> I started adding some integration for them but they don't pass the TCK. The
> TCK are all set up with a base configuration. You just need to add the
> module in the Maven reactor to run them.
>
> If you guys wanna work on one of them, let me know and I can help.
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Awesome.
Good job Zoltan.

David will review and comment. Otherwise, I'll try later today.
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Sun, Dec 18, 2022 at 12:51 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> I managed to do it, I made a PR.
>
> https://github.com/apache/tomee/pull/990
>
> Should I change the property name in the JWT TCK?
>
>
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/validation/ExpClaimAllowMissingExpValidationTest.java#L89
>
> Thanks:
> Zoltán
>
>
>
>
> On Wed, Nov 9, 2022 at 9:24 PM David Blevins <da...@gmail.com>
> wrote:
>
> > > On Nov 9, 2022, at 10:29 AM, Zoltán Tichov <zo...@gmail.com>
> > wrote:
> > >
> > > Hi!
> > >
> > > Is there another task that could be taken care of?
> >
> > There's a change in the same code that's on my "I should really find the
> > time to fix that" list if you want to dig in.
> >
> > Basically, we added a TomEE-specific property
> > `mp.jwt.tomee.allow.no-exp`.  We likely should avoid putting custom
> > properties in the `mp.jwt.*` namespace and likely we should:
> >
> >  - rename it to something that starts with `tomee` like say
> > `tomee.mp.jwt.allow.no-exp`
> >  - ensure both properties work for backwards compatibility
> >     - `tomee.mp.jwt.allow.no-exp` would win if both were defined
> >     - any use of `mp.jwt.tomee.allow.no-exp` should get a warning log
> > message
> >  - create an itest or two in `itests/microprofile-jwt-itests/` that uses
> > the property
> >  - update `docs/microprofile/jwt.adoc`
> >  - File JIRA cause I haven't done that yet, LOL :)
> >
> > The runtime change will be a piece of cake for you.  Most the work would
> > be in the itest, which could be kind of new/fun to do.
> >
> > Thoughts?
> >
> > -David
> >
> > > On Wed, Nov 9, 2022 at 10:19 AM Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > >> We can get the CI system to build it.
> > >> Thanks Zoltan
> > >> --
> > >> Jean-Louis Monteiro
> > >> http://twitter.com/jlouismonteiro
> > >> http://www.tomitribe.com
> > >>
> > >>
> > >> On Wed, Nov 9, 2022 at 10:06 AM Richard Zowalla <ri...@zowalla.com>
> > >> wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> good news! Yes - go for a PR.
> > >>>
> > >>> Gruß
> > >>> Richard
> > >>>
> > >>> Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
> > >>>> Hi!
> > >>>>
> > >>>> I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
> > >>>> microprofile-jwt-2.1-RC6 branch in my forked tomee project.
> > >>>> What should I do? Can I create a PR?
> > >>>>
> > >>>> Thanks:
> > >>>> Zoltán
> > >>>>
> > >>>> On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
> > >>>> david.blevins@gmail.com>
> > >>>> wrote:
> > >>>>
> > >>>>>> On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
> > >>>>>> zoltan.tichov@gmail.com>
> > >>>>> wrote:
> > >>>>>> Hi!
> > >>>>>>
> > >>>>>> There is at least one new test method in TCK callEchoAgedToken()
> > >>>>>> and
> > >>>>> added
> > >>>>>> a new feature
> > >>>>>> 'mp.jwt.verify.token.age'. This method failed, because it should
> > >>>>>> return
> > >>>>>> with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> > >>>>>> HttpURLConnection.HTTP_OK.
> > >>>>>> Am I right that this property should be checked in
> > >>>>>> org.apache.tomee.microprofile.jwt.MPJWTFilter?
> > >>>>>
> > >>>>> That's exactly right.  More than likely the jose4j library we use
> > >>>>> already
> > >>>>> supports token age -- definitely post if it doesn't cause then the
> > >>>>> problem
> > >>>>> is way harder.
> > >>>>>
> > >>>>> If it does already support something like token age, then the task
> > >>>>> becomes
> > >>>>> reading the new property and feeding that into `MPJWTFilter`.
> > >>>>>
> > >>>>> - `JWTAuthConfigurationProperties` is where we're currently
> > >>>>> reading the
> > >>>>> MP JWT properties
> > >>>>> - `JWTAuthConfiguration` is where the above class puts those
> > >>>>> properties
> > >>>>> once read (you'll need to make a new field there)
> > >>>>>
> > >>>>> Once that's done you can update `MPJWTFilter` to setup the
> > >>>>> JwtConsumerBuilder using the data in JWTAuthConfiguration if the
> > >>>>> user set
> > >>>>> it.
> > >>>>>
> > >>>>>
> > >>>>> -David
> > >>>>>
> > >>>>>
> > >>>
> > >>>
> > >>
> >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

I managed to do it, I made a PR.

https://github.com/apache/tomee/pull/990

Should I change the property name in the JWT TCK?

https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/validation/ExpClaimAllowMissingExpValidationTest.java#L89

Thanks:
Zoltán




On Wed, Nov 9, 2022 at 9:24 PM David Blevins <da...@gmail.com>
wrote:

> > On Nov 9, 2022, at 10:29 AM, Zoltán Tichov <zo...@gmail.com>
> wrote:
> >
> > Hi!
> >
> > Is there another task that could be taken care of?
>
> There's a change in the same code that's on my "I should really find the
> time to fix that" list if you want to dig in.
>
> Basically, we added a TomEE-specific property
> `mp.jwt.tomee.allow.no-exp`.  We likely should avoid putting custom
> properties in the `mp.jwt.*` namespace and likely we should:
>
>  - rename it to something that starts with `tomee` like say
> `tomee.mp.jwt.allow.no-exp`
>  - ensure both properties work for backwards compatibility
>     - `tomee.mp.jwt.allow.no-exp` would win if both were defined
>     - any use of `mp.jwt.tomee.allow.no-exp` should get a warning log
> message
>  - create an itest or two in `itests/microprofile-jwt-itests/` that uses
> the property
>  - update `docs/microprofile/jwt.adoc`
>  - File JIRA cause I haven't done that yet, LOL :)
>
> The runtime change will be a piece of cake for you.  Most the work would
> be in the itest, which could be kind of new/fun to do.
>
> Thoughts?
>
> -David
>
> > On Wed, Nov 9, 2022 at 10:19 AM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> >> We can get the CI system to build it.
> >> Thanks Zoltan
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >>
> >> On Wed, Nov 9, 2022 at 10:06 AM Richard Zowalla <ri...@zowalla.com>
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> good news! Yes - go for a PR.
> >>>
> >>> Gruß
> >>> Richard
> >>>
> >>> Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
> >>>> Hi!
> >>>>
> >>>> I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
> >>>> microprofile-jwt-2.1-RC6 branch in my forked tomee project.
> >>>> What should I do? Can I create a PR?
> >>>>
> >>>> Thanks:
> >>>> Zoltán
> >>>>
> >>>> On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
> >>>> david.blevins@gmail.com>
> >>>> wrote:
> >>>>
> >>>>>> On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
> >>>>>> zoltan.tichov@gmail.com>
> >>>>> wrote:
> >>>>>> Hi!
> >>>>>>
> >>>>>> There is at least one new test method in TCK callEchoAgedToken()
> >>>>>> and
> >>>>> added
> >>>>>> a new feature
> >>>>>> 'mp.jwt.verify.token.age'. This method failed, because it should
> >>>>>> return
> >>>>>> with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> >>>>>> HttpURLConnection.HTTP_OK.
> >>>>>> Am I right that this property should be checked in
> >>>>>> org.apache.tomee.microprofile.jwt.MPJWTFilter?
> >>>>>
> >>>>> That's exactly right.  More than likely the jose4j library we use
> >>>>> already
> >>>>> supports token age -- definitely post if it doesn't cause then the
> >>>>> problem
> >>>>> is way harder.
> >>>>>
> >>>>> If it does already support something like token age, then the task
> >>>>> becomes
> >>>>> reading the new property and feeding that into `MPJWTFilter`.
> >>>>>
> >>>>> - `JWTAuthConfigurationProperties` is where we're currently
> >>>>> reading the
> >>>>> MP JWT properties
> >>>>> - `JWTAuthConfiguration` is where the above class puts those
> >>>>> properties
> >>>>> once read (you'll need to make a new field there)
> >>>>>
> >>>>> Once that's done you can update `MPJWTFilter` to setup the
> >>>>> JwtConsumerBuilder using the data in JWTAuthConfiguration if the
> >>>>> user set
> >>>>> it.
> >>>>>
> >>>>>
> >>>>> -David
> >>>>>
> >>>>>
> >>>
> >>>
> >>
>
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi David!

Ok, I'll take a look and report back with what I come up with.

Thanks:
Zoltán


On Wed, Nov 9, 2022 at 9:24 PM David Blevins <da...@gmail.com>
wrote:

> > On Nov 9, 2022, at 10:29 AM, Zoltán Tichov <zo...@gmail.com>
> wrote:
> >
> > Hi!
> >
> > Is there another task that could be taken care of?
>
> There's a change in the same code that's on my "I should really find the
> time to fix that" list if you want to dig in.
>
> Basically, we added a TomEE-specific property
> `mp.jwt.tomee.allow.no-exp`.  We likely should avoid putting custom
> properties in the `mp.jwt.*` namespace and likely we should:
>
>  - rename it to something that starts with `tomee` like say
> `tomee.mp.jwt.allow.no-exp`
>  - ensure both properties work for backwards compatibility
>     - `tomee.mp.jwt.allow.no-exp` would win if both were defined
>     - any use of `mp.jwt.tomee.allow.no-exp` should get a warning log
> message
>  - create an itest or two in `itests/microprofile-jwt-itests/` that uses
> the property
>  - update `docs/microprofile/jwt.adoc`
>  - File JIRA cause I haven't done that yet, LOL :)
>
> The runtime change will be a piece of cake for you.  Most the work would
> be in the itest, which could be kind of new/fun to do.
>
> Thoughts?
>
> -David
>
> > On Wed, Nov 9, 2022 at 10:19 AM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> >> We can get the CI system to build it.
> >> Thanks Zoltan
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >>
> >> On Wed, Nov 9, 2022 at 10:06 AM Richard Zowalla <ri...@zowalla.com>
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> good news! Yes - go for a PR.
> >>>
> >>> Gruß
> >>> Richard
> >>>
> >>> Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
> >>>> Hi!
> >>>>
> >>>> I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
> >>>> microprofile-jwt-2.1-RC6 branch in my forked tomee project.
> >>>> What should I do? Can I create a PR?
> >>>>
> >>>> Thanks:
> >>>> Zoltán
> >>>>
> >>>> On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
> >>>> david.blevins@gmail.com>
> >>>> wrote:
> >>>>
> >>>>>> On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
> >>>>>> zoltan.tichov@gmail.com>
> >>>>> wrote:
> >>>>>> Hi!
> >>>>>>
> >>>>>> There is at least one new test method in TCK callEchoAgedToken()
> >>>>>> and
> >>>>> added
> >>>>>> a new feature
> >>>>>> 'mp.jwt.verify.token.age'. This method failed, because it should
> >>>>>> return
> >>>>>> with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> >>>>>> HttpURLConnection.HTTP_OK.
> >>>>>> Am I right that this property should be checked in
> >>>>>> org.apache.tomee.microprofile.jwt.MPJWTFilter?
> >>>>>
> >>>>> That's exactly right.  More than likely the jose4j library we use
> >>>>> already
> >>>>> supports token age -- definitely post if it doesn't cause then the
> >>>>> problem
> >>>>> is way harder.
> >>>>>
> >>>>> If it does already support something like token age, then the task
> >>>>> becomes
> >>>>> reading the new property and feeding that into `MPJWTFilter`.
> >>>>>
> >>>>> - `JWTAuthConfigurationProperties` is where we're currently
> >>>>> reading the
> >>>>> MP JWT properties
> >>>>> - `JWTAuthConfiguration` is where the above class puts those
> >>>>> properties
> >>>>> once read (you'll need to make a new field there)
> >>>>>
> >>>>> Once that's done you can update `MPJWTFilter` to setup the
> >>>>> JwtConsumerBuilder using the data in JWTAuthConfiguration if the
> >>>>> user set
> >>>>> it.
> >>>>>
> >>>>>
> >>>>> -David
> >>>>>
> >>>>>
> >>>
> >>>
> >>
>
>

Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
> On Nov 9, 2022, at 10:29 AM, Zoltán Tichov <zo...@gmail.com> wrote:
> 
> Hi!
> 
> Is there another task that could be taken care of?

There's a change in the same code that's on my "I should really find the time to fix that" list if you want to dig in.

Basically, we added a TomEE-specific property `mp.jwt.tomee.allow.no-exp`.  We likely should avoid putting custom properties in the `mp.jwt.*` namespace and likely we should:

 - rename it to something that starts with `tomee` like say `tomee.mp.jwt.allow.no-exp`
 - ensure both properties work for backwards compatibility
    - `tomee.mp.jwt.allow.no-exp` would win if both were defined
    - any use of `mp.jwt.tomee.allow.no-exp` should get a warning log message
 - create an itest or two in `itests/microprofile-jwt-itests/` that uses the property
 - update `docs/microprofile/jwt.adoc`
 - File JIRA cause I haven't done that yet, LOL :)

The runtime change will be a piece of cake for you.  Most the work would be in the itest, which could be kind of new/fun to do.

Thoughts?

-David

> On Wed, Nov 9, 2022 at 10:19 AM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
> 
>> We can get the CI system to build it.
>> Thanks Zoltan
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>> 
>> 
>> On Wed, Nov 9, 2022 at 10:06 AM Richard Zowalla <ri...@zowalla.com>
>> wrote:
>> 
>>> Hi,
>>> 
>>> good news! Yes - go for a PR.
>>> 
>>> Gruß
>>> Richard
>>> 
>>> Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
>>>> Hi!
>>>> 
>>>> I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
>>>> microprofile-jwt-2.1-RC6 branch in my forked tomee project.
>>>> What should I do? Can I create a PR?
>>>> 
>>>> Thanks:
>>>> Zoltán
>>>> 
>>>> On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
>>>> david.blevins@gmail.com>
>>>> wrote:
>>>> 
>>>>>> On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
>>>>>> zoltan.tichov@gmail.com>
>>>>> wrote:
>>>>>> Hi!
>>>>>> 
>>>>>> There is at least one new test method in TCK callEchoAgedToken()
>>>>>> and
>>>>> added
>>>>>> a new feature
>>>>>> 'mp.jwt.verify.token.age'. This method failed, because it should
>>>>>> return
>>>>>> with HttpURLConnection.HTTP_UNAUTHORIZED instead of
>>>>>> HttpURLConnection.HTTP_OK.
>>>>>> Am I right that this property should be checked in
>>>>>> org.apache.tomee.microprofile.jwt.MPJWTFilter?
>>>>> 
>>>>> That's exactly right.  More than likely the jose4j library we use
>>>>> already
>>>>> supports token age -- definitely post if it doesn't cause then the
>>>>> problem
>>>>> is way harder.
>>>>> 
>>>>> If it does already support something like token age, then the task
>>>>> becomes
>>>>> reading the new property and feeding that into `MPJWTFilter`.
>>>>> 
>>>>> - `JWTAuthConfigurationProperties` is where we're currently
>>>>> reading the
>>>>> MP JWT properties
>>>>> - `JWTAuthConfiguration` is where the above class puts those
>>>>> properties
>>>>> once read (you'll need to make a new field there)
>>>>> 
>>>>> Once that's done you can update `MPJWTFilter` to setup the
>>>>> JwtConsumerBuilder using the data in JWTAuthConfiguration if the
>>>>> user set
>>>>> it.
>>>>> 
>>>>> 
>>>>> -David
>>>>> 
>>>>> 
>>> 
>>> 
>> 


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

Is there another task that could be taken care of?

Thanks:
Zoltán

On Wed, Nov 9, 2022 at 10:19 AM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> We can get the CI system to build it.
> Thanks Zoltan
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Nov 9, 2022 at 10:06 AM Richard Zowalla <ri...@zowalla.com>
> wrote:
>
> > Hi,
> >
> > good news! Yes - go for a PR.
> >
> > Gruß
> > Richard
> >
> > Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
> > > Hi!
> > >
> > > I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
> > > microprofile-jwt-2.1-RC6 branch in my forked tomee project.
> > > What should I do? Can I create a PR?
> > >
> > > Thanks:
> > > Zoltán
> > >
> > > On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
> > > david.blevins@gmail.com>
> > > wrote:
> > >
> > > > > On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
> > > > > zoltan.tichov@gmail.com>
> > > > wrote:
> > > > > Hi!
> > > > >
> > > > > There is at least one new test method in TCK callEchoAgedToken()
> > > > > and
> > > > added
> > > > > a new feature
> > > > > 'mp.jwt.verify.token.age'. This method failed, because it should
> > > > > return
> > > > > with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> > > > > HttpURLConnection.HTTP_OK.
> > > > > Am I right that this property should be checked in
> > > > > org.apache.tomee.microprofile.jwt.MPJWTFilter?
> > > >
> > > > That's exactly right.  More than likely the jose4j library we use
> > > > already
> > > > supports token age -- definitely post if it doesn't cause then the
> > > > problem
> > > > is way harder.
> > > >
> > > > If it does already support something like token age, then the task
> > > > becomes
> > > > reading the new property and feeding that into `MPJWTFilter`.
> > > >
> > > >  - `JWTAuthConfigurationProperties` is where we're currently
> > > > reading the
> > > > MP JWT properties
> > > >  - `JWTAuthConfiguration` is where the above class puts those
> > > > properties
> > > > once read (you'll need to make a new field there)
> > > >
> > > > Once that's done you can update `MPJWTFilter` to setup the
> > > > JwtConsumerBuilder using the data in JWTAuthConfiguration if the
> > > > user set
> > > > it.
> > > >
> > > >
> > > > -David
> > > >
> > > >
> >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
We can get the CI system to build it.
Thanks Zoltan
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Nov 9, 2022 at 10:06 AM Richard Zowalla <ri...@zowalla.com> wrote:

> Hi,
>
> good news! Yes - go for a PR.
>
> Gruß
> Richard
>
> Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
> > Hi!
> >
> > I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
> > microprofile-jwt-2.1-RC6 branch in my forked tomee project.
> > What should I do? Can I create a PR?
> >
> > Thanks:
> > Zoltán
> >
> > On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
> > david.blevins@gmail.com>
> > wrote:
> >
> > > > On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
> > > > zoltan.tichov@gmail.com>
> > > wrote:
> > > > Hi!
> > > >
> > > > There is at least one new test method in TCK callEchoAgedToken()
> > > > and
> > > added
> > > > a new feature
> > > > 'mp.jwt.verify.token.age'. This method failed, because it should
> > > > return
> > > > with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> > > > HttpURLConnection.HTTP_OK.
> > > > Am I right that this property should be checked in
> > > > org.apache.tomee.microprofile.jwt.MPJWTFilter?
> > >
> > > That's exactly right.  More than likely the jose4j library we use
> > > already
> > > supports token age -- definitely post if it doesn't cause then the
> > > problem
> > > is way harder.
> > >
> > > If it does already support something like token age, then the task
> > > becomes
> > > reading the new property and feeding that into `MPJWTFilter`.
> > >
> > >  - `JWTAuthConfigurationProperties` is where we're currently
> > > reading the
> > > MP JWT properties
> > >  - `JWTAuthConfiguration` is where the above class puts those
> > > properties
> > > once read (you'll need to make a new field there)
> > >
> > > Once that's done you can update `MPJWTFilter` to setup the
> > > JwtConsumerBuilder using the data in JWTAuthConfiguration if the
> > > user set
> > > it.
> > >
> > >
> > > -David
> > >
> > >
>
>

Re: TomEE MicroProfile - current status

Posted by Richard Zowalla <ri...@zowalla.com>.
Hi,

good news! Yes - go for a PR.

Gruß
Richard

Am Dienstag, dem 08.11.2022 um 23:30 +0100 schrieb Zoltán Tichov:
> Hi!
> 
> I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
> microprofile-jwt-2.1-RC6 branch in my forked tomee project.
> What should I do? Can I create a PR?
> 
> Thanks:
> Zoltán
> 
> On Wed, Nov 2, 2022 at 10:30 PM David Blevins <
> david.blevins@gmail.com>
> wrote:
> 
> > > On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <
> > > zoltan.tichov@gmail.com>
> > wrote:
> > > Hi!
> > > 
> > > There is at least one new test method in TCK callEchoAgedToken()
> > > and
> > added
> > > a new feature
> > > 'mp.jwt.verify.token.age'. This method failed, because it should
> > > return
> > > with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> > > HttpURLConnection.HTTP_OK.
> > > Am I right that this property should be checked in
> > > org.apache.tomee.microprofile.jwt.MPJWTFilter?
> > 
> > That's exactly right.  More than likely the jose4j library we use
> > already
> > supports token age -- definitely post if it doesn't cause then the
> > problem
> > is way harder.
> > 
> > If it does already support something like token age, then the task
> > becomes
> > reading the new property and feeding that into `MPJWTFilter`.
> > 
> >  - `JWTAuthConfigurationProperties` is where we're currently
> > reading the
> > MP JWT properties
> >  - `JWTAuthConfiguration` is where the above class puts those
> > properties
> > once read (you'll need to make a new field there)
> > 
> > Once that's done you can update `MPJWTFilter` to setup the
> > JwtConsumerBuilder using the data in JWTAuthConfiguration if the
> > user set
> > it.
> > 
> > 
> > -David
> > 
> > 


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

I managed to get all the MP-JWT-TCK 2.1-RC6 tests to pass. I created
microprofile-jwt-2.1-RC6 branch in my forked tomee project.
What should I do? Can I create a PR?

Thanks:
Zoltán

On Wed, Nov 2, 2022 at 10:30 PM David Blevins <da...@gmail.com>
wrote:

> > On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <zo...@gmail.com>
> wrote:
> >
> > Hi!
> >
> > There is at least one new test method in TCK callEchoAgedToken() and
> added
> > a new feature
> > 'mp.jwt.verify.token.age'. This method failed, because it should return
> > with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> > HttpURLConnection.HTTP_OK.
> > Am I right that this property should be checked in
> > org.apache.tomee.microprofile.jwt.MPJWTFilter?
>
> That's exactly right.  More than likely the jose4j library we use already
> supports token age -- definitely post if it doesn't cause then the problem
> is way harder.
>
> If it does already support something like token age, then the task becomes
> reading the new property and feeding that into `MPJWTFilter`.
>
>  - `JWTAuthConfigurationProperties` is where we're currently reading the
> MP JWT properties
>  - `JWTAuthConfiguration` is where the above class puts those properties
> once read (you'll need to make a new field there)
>
> Once that's done you can update `MPJWTFilter` to setup the
> JwtConsumerBuilder using the data in JWTAuthConfiguration if the user set
> it.
>
>
> -David
>
>

Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
> On Nov 2, 2022, at 1:51 PM, Zoltán Tichov <zo...@gmail.com> wrote:
> 
> Hi!
> 
> There is at least one new test method in TCK callEchoAgedToken() and added
> a new feature
> 'mp.jwt.verify.token.age'. This method failed, because it should return
> with HttpURLConnection.HTTP_UNAUTHORIZED instead of
> HttpURLConnection.HTTP_OK.
> Am I right that this property should be checked in
> org.apache.tomee.microprofile.jwt.MPJWTFilter?

That's exactly right.  More than likely the jose4j library we use already supports token age -- definitely post if it doesn't cause then the problem is way harder.

If it does already support something like token age, then the task becomes reading the new property and feeding that into `MPJWTFilter`.

 - `JWTAuthConfigurationProperties` is where we're currently reading the MP JWT properties
 - `JWTAuthConfiguration` is where the above class puts those properties once read (you'll need to make a new field there)

Once that's done you can update `MPJWTFilter` to setup the JwtConsumerBuilder using the data in JWTAuthConfiguration if the user set it.


-David


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

There is at least one new test method in TCK callEchoAgedToken() and added
a new feature
'mp.jwt.verify.token.age'. This method failed, because it should return
with HttpURLConnection.HTTP_UNAUTHORIZED instead of
HttpURLConnection.HTTP_OK.
Am I right that this property should be checked in
org.apache.tomee.microprofile.jwt.MPJWTFilter?

Thanks:

Zoltán


On Thu, Oct 27, 2022 at 7:09 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> Ok, I'll take a look and let you know what I've managed to solve.
>
> Thanks:
> Zoltán
>
> On Wed, Oct 26, 2022 at 11:19 PM David Blevins <da...@gmail.com>
> wrote:
>
>> > On Oct 26, 2022, at 2:16 PM, David Blevins <da...@gmail.com>
>> wrote:
>> >
>> > If you want to upgrade us to the MP JWT 2.1 RC6 TCK and get that last
>> failing test to pass, that'd be pretty cool.  Basically there's a new
>> property we have to implement.
>>
>> To be clear, the last 2.1 TCK I ran was just before the RC6 -- there was
>> one failure then.  I assume there's still just one, but haven't actually
>> ran RC6 myself.
>>
>>
>> -David
>>
>>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

Ok, I'll take a look and let you know what I've managed to solve.

Thanks:
Zoltán

On Wed, Oct 26, 2022 at 11:19 PM David Blevins <da...@gmail.com>
wrote:

> > On Oct 26, 2022, at 2:16 PM, David Blevins <da...@gmail.com>
> wrote:
> >
> > If you want to upgrade us to the MP JWT 2.1 RC6 TCK and get that last
> failing test to pass, that'd be pretty cool.  Basically there's a new
> property we have to implement.
>
> To be clear, the last 2.1 TCK I ran was just before the RC6 -- there was
> one failure then.  I assume there's still just one, but haven't actually
> ran RC6 myself.
>
>
> -David
>
>

Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
> On Oct 26, 2022, at 2:16 PM, David Blevins <da...@gmail.com> wrote:
> 
> If you want to upgrade us to the MP JWT 2.1 RC6 TCK and get that last failing test to pass, that'd be pretty cool.  Basically there's a new property we have to implement.

To be clear, the last 2.1 TCK I ran was just before the RC6 -- there was one failure then.  I assume there's still just one, but haven't actually ran RC6 myself.


-David


Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
Hey Zoltán,

If you want to upgrade us to the MP JWT 2.1 RC6 TCK and get that last failing test to pass, that'd be pretty cool.  Basically there's a new property we have to implement.

We're all good on MP JWT 2.0 compliance, but we could claim 2.1 compliance if we get that test to pass.


-David


> On Oct 26, 2022, at 3:01 AM, Zoltán Tichov <zo...@gmail.com> wrote:
> 
> Hi Jean-Louis!
> 
> Thanks. Is there another task I can help with or should I look at JIRA
> instead?
> 
> Zoltán
> 
> 
> On Wed, Oct 26, 2022 at 9:40 AM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
> 
>> Hi Zlotan,
>> 
>> My PR is now fully green with 100% of the MicroProfile OpenTracing TCK
>> passing.
>> 
>> The changes are fairly minimal to be honest.
>> There was a JAX RS Client issue with the TCK and the way it handles the
>> tags, especially the http.status_code one which was converted as an Integer
>> whereas the specification expects a BigDecimal.
>> 
>> The CDI interceptor was not being picked up so nested calls in the
>> application using CDI beans were not working.
>> 
>> The first JAX RS/JSONB issue took me a while to pin down and resolve
>> properly. I had to investigate the TCK change that broke it, the
>> specifications and then try with Johnzon, Jackson and Resteasy/Yasson. It
>> worked only with Yasson. I found a trick to make it work with Johnzon so we
>> don't need to bring the world just to run TCK.
>> 
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>> 
>> 
>> On Tue, Oct 25, 2022 at 10:02 PM Zoltán Tichov <zo...@gmail.com>
>> wrote:
>> 
>>> Hi Jean-Louis!
>>> 
>>> I've also noticed that for many tests the expected and found results seem
>>> to be the same and the test still fails.
>>> 
>>> On Tue, Oct 25, 2022 at 9:11 PM Jean-Louis Monteiro <
>>> jlmonteiro@tomitribe.com> wrote:
>>> 
>>>> Hi Zlotan,
>>>> 
>>>> Thanks for the reply.
>>>> 
>>>> What are you trying to achieve?
>>>> What is the listener doing?
>>>> What kind of listener is it?
>>>> 
>>>> Do you have maybe a branch you can share on your fork or so?
>>>> 
>>>> FYI I found something weird in the TCK that I need to clarify.
>>>> 
>>>> --
>>>> Jean-Louis Monteiro
>>>> http://twitter.com/jlouismonteiro
>>>> http://www.tomitribe.com
>>>> 
>>>> 
>>>> On Tue, Oct 25, 2022 at 8:03 PM Zoltán Tichov <zoltan.tichov@gmail.com
>>> 
>>>> wrote:
>>>> 
>>>>> Hi!
>>>>> 
>>>>> I tried to register SmallRyeRestClientListener and I created
>>>>> 
>>>>> 
>>>> 
>>> 
>> tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
>>>>> file contains SmallRyeRestClientListener class name. However, it
>>> doesn't
>>>>> seem to work.
>>>>> How can I get the listener to work?
>>>>> 
>>>>> Thanks:
>>>>> Zoltán
>>>>> 
>>>>> On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
>>>>> jlmonteiro@tomitribe.com> wrote:
>>>>> 
>>>>>> Hi Zlotan,
>>>>>> 
>>>>>> I'll start a new thread to see if we can collaborate and move
>> forward
>>>>> with
>>>>>> the MicroProfile OpenTracing support.
>>>>>> 
>>>>>> Jean-Louis
>>>>>> --
>>>>>> Jean-Louis Monteiro
>>>>>> http://twitter.com/jlouismonteiro
>>>>>> http://www.tomitribe.com
>>>>>> 
>>>>>> 
>>>>>> On Thu, Oct 20, 2022 at 3:47 PM David Blevins <
>>> dblevins@tomitribe.com>
>>>>>> wrote:
>>>>>> 
>>>>>>> Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
>>>>>>> attachment" and then forgot to attach.
>>>>>>> 
>>>>>>> Here's the link I forgot to paste:
>>>>>>> 
>>>>>>> -
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
>>>>>>> 
>>>>>>> As Richard mentions, here's where I'd mess with the
>> <suiteXmlFiles>
>>>>>>> setting for the MP JWT work:
>>>>>>> 
>>>>>>> -
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
>>>>>>> 
>>>>>>> I would basically temporarily edit that line to this value
>>>>>>> `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go
>> into
>>>> this
>>>>>>> file and comment out everything but the test I wanted to run:
>>>>>>> 
>>>>>>> -
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
>>>>>>> 
>>>>>>> For opentracing here is where you'd edit:
>>>>>>> 
>>>>>>> -
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
>>>>>>> -
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> David Blevins
>>>>>>> http://twitter.com/dblevins
>>>>>>> http://www.tomitribe.com
>>>>>>> 
>>>>>>>> On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
>>>>>>> richard.zowalla@hs-heilbronn.de> wrote:
>>>>>>>> 
>>>>>>>> Hi Zoltan,
>>>>>>>> 
>>>>>>>> the arquillian config is located in
>>>>>>>> /src/test/java/resources/arquillian.xml.
>>>>>>>> 
>>>>>>>> In this file, you can find a "debug" property, which you can
>> set
>>> to
>>>>>>>> "true" to enable the debug capabilities of TomEE (i.e. start
>>> with a
>>>>>>>> debugger backend).
>>>>>>>> 
>>>>>>>> You can debug single tests by editing "tck-dev.xml" in the
>> module
>>>>> root
>>>>>>>> directory and adjust the surefire config to use it:
>>>>>>>> 
>>>>>>>> <suiteXmlFiles>
>>>>>>>>   <suiteXmlFile>tck-dev.xml</suiteXmlFile>
>>>>>>>> </suiteXmlFiles>
>>>>>>>> 
>>>>>>>> Hope it helps
>>>>>>>> 
>>>>>>>> Gruß
>>>>>>>> Richard
>>>>>>>> 
>>>>>>>> Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán
>>> Tichov:
>>>>>>>>> Hi!
>>>>>>>>> 
>>>>>>>>> I have not been able to solve this problem:
>>>>>>>>> 
>>>>>>>>> ERROR: transport error 202: connect failed: Connection refused
>>>>>>>>> ERROR: JDWP Transport dt_socket failed to initialize,
>>>>>>>>> TRANSPORT_INIT(510)
>>>>>>>>> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
>>>>>>>>> initialized
>>>>>>>>> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
>>>>>>>>> 
>>>>>>>>> "Set this property to `true` and it should start TomEE with
>>> debug
>>>>>>>>> enabled
>>>>>>>>> and listening to port 5005."
>>>>>>>>> 
>>>>>>>>> Where should this be set? I looked at the other microprofile
>> TCK
>>>>>>>>> implementations, but couldn't find a solution
>>>>>>>>> 
>>>>>>>>> I managed to activate the opentracing interceptor, but the
>> tests
>>>> are
>>>>>>>>> still
>>>>>>>>> red. I'm still looking for what else needs to be implemented
>> to
>>>> make
>>>>>>>>> the
>>>>>>>>> tests work.
>>>>>>>>> 
>>>>>>>>> Thanks:
>>>>>>>>> 
>>>>>>>>> Zoltán
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
>>>>>>>>> <da...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
>>>>>>>>>>> <zo...@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>> How to activate the OpenTracingInterceptor from
>>>>>>>>>>> org.apache.tomee.microprofile.opentracing package?
>>>>>>>>>> 
>>>>>>>>>> Set this property to `true` and it should start TomEE with
>>> debug
>>>>>>>>>> enabled
>>>>>>>>>> and listening to port 5005.
>>>>>>>>>> 
>>>>>>>>>>> I think I overestimated my knowledge for this task, so if
>> you
>>>>>>>>>>> think so, I
>>>>>>>>>>> would rather pass this task. On the other hand, if there is
>>>> still
>>>>>>>>>>> time, I
>>>>>>>>>>> would like to deal with this.
>>>>>>>>>> 
>>>>>>>>>> Take another week and see how far you get.  There's great
>> value
>>>> in
>>>>>>>>>> having
>>>>>>>>>> more people able to help with TCK work.  It's definitely
>> worth
>>> it
>>>>>>>>>> for us
>>>>>>>>>> all to make the effort to help others get in there and be
>>>>>>>>>> effective.
>>>>>>>>>> 
>>>>>>>>>> Anything but silence is good progress.  Silence is the kiss
>> of
>>>>>>>>>> death for
>>>>>>>>>> tasks like this -- just so much knowledge to transfer.  I
>> don't
>>>>>>>>>> think
>>>>>>>>>> there's a human being on planet earth who could go from "I
>> want
>>>> to
>>>>>>>>>> help get
>>>>>>>>>> this TCK to pass" to "here's a PR for a passing TCK" and no
>>>>>>>>>> questions in
>>>>>>>>>> the middle.
>>>>>>>>>> 
>>>>>>>>>> Certainly, I needed a ton of help and I've never met anyone
>> who
>>>>>>>>>> didn't.
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -David
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi Jean-Louis!

Thanks. Is there another task I can help with or should I look at JIRA
instead?

Zoltán


On Wed, Oct 26, 2022 at 9:40 AM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi Zlotan,
>
> My PR is now fully green with 100% of the MicroProfile OpenTracing TCK
> passing.
>
> The changes are fairly minimal to be honest.
> There was a JAX RS Client issue with the TCK and the way it handles the
> tags, especially the http.status_code one which was converted as an Integer
> whereas the specification expects a BigDecimal.
>
> The CDI interceptor was not being picked up so nested calls in the
> application using CDI beans were not working.
>
> The first JAX RS/JSONB issue took me a while to pin down and resolve
> properly. I had to investigate the TCK change that broke it, the
> specifications and then try with Johnzon, Jackson and Resteasy/Yasson. It
> worked only with Yasson. I found a trick to make it work with Johnzon so we
> don't need to bring the world just to run TCK.
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Oct 25, 2022 at 10:02 PM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi Jean-Louis!
> >
> > I've also noticed that for many tests the expected and found results seem
> > to be the same and the test still fails.
> >
> > On Tue, Oct 25, 2022 at 9:11 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Hi Zlotan,
> > >
> > > Thanks for the reply.
> > >
> > > What are you trying to achieve?
> > > What is the listener doing?
> > > What kind of listener is it?
> > >
> > > Do you have maybe a branch you can share on your fork or so?
> > >
> > > FYI I found something weird in the TCK that I need to clarify.
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Tue, Oct 25, 2022 at 8:03 PM Zoltán Tichov <zoltan.tichov@gmail.com
> >
> > > wrote:
> > >
> > > > Hi!
> > > >
> > > > I tried to register SmallRyeRestClientListener and I created
> > > >
> > > >
> > >
> >
> tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
> > > > file contains SmallRyeRestClientListener class name. However, it
> > doesn't
> > > > seem to work.
> > > > How can I get the listener to work?
> > > >
> > > > Thanks:
> > > > Zoltán
> > > >
> > > > On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
> > > > jlmonteiro@tomitribe.com> wrote:
> > > >
> > > > > Hi Zlotan,
> > > > >
> > > > > I'll start a new thread to see if we can collaborate and move
> forward
> > > > with
> > > > > the MicroProfile OpenTracing support.
> > > > >
> > > > > Jean-Louis
> > > > > --
> > > > > Jean-Louis Monteiro
> > > > > http://twitter.com/jlouismonteiro
> > > > > http://www.tomitribe.com
> > > > >
> > > > >
> > > > > On Thu, Oct 20, 2022 at 3:47 PM David Blevins <
> > dblevins@tomitribe.com>
> > > > > wrote:
> > > > >
> > > > > > Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> > > > > > attachment" and then forgot to attach.
> > > > > >
> > > > > > Here's the link I forgot to paste:
> > > > > >
> > > > > >  -
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
> > > > > >
> > > > > > As Richard mentions, here's where I'd mess with the
> <suiteXmlFiles>
> > > > > > setting for the MP JWT work:
> > > > > >
> > > > > >  -
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
> > > > > >
> > > > > > I would basically temporarily edit that line to this value
> > > > > > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go
> into
> > > this
> > > > > > file and comment out everything but the test I wanted to run:
> > > > > >
> > > > > >  -
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
> > > > > >
> > > > > > For opentracing here is where you'd edit:
> > > > > >
> > > > > >  -
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
> > > > > >  -
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > David Blevins
> > > > > > http://twitter.com/dblevins
> > > > > > http://www.tomitribe.com
> > > > > >
> > > > > > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> > > > > > richard.zowalla@hs-heilbronn.de> wrote:
> > > > > > >
> > > > > > > Hi Zoltan,
> > > > > > >
> > > > > > > the arquillian config is located in
> > > > > > > /src/test/java/resources/arquillian.xml.
> > > > > > >
> > > > > > > In this file, you can find a "debug" property, which you can
> set
> > to
> > > > > > > "true" to enable the debug capabilities of TomEE (i.e. start
> > with a
> > > > > > > debugger backend).
> > > > > > >
> > > > > > > You can debug single tests by editing "tck-dev.xml" in the
> module
> > > > root
> > > > > > > directory and adjust the surefire config to use it:
> > > > > > >
> > > > > > >  <suiteXmlFiles>
> > > > > > >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> > > > > > >  </suiteXmlFiles>
> > > > > > >
> > > > > > > Hope it helps
> > > > > > >
> > > > > > > Gruß
> > > > > > > Richard
> > > > > > >
> > > > > > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán
> > Tichov:
> > > > > > >> Hi!
> > > > > > >>
> > > > > > >> I have not been able to solve this problem:
> > > > > > >>
> > > > > > >> ERROR: transport error 202: connect failed: Connection refused
> > > > > > >> ERROR: JDWP Transport dt_socket failed to initialize,
> > > > > > >> TRANSPORT_INIT(510)
> > > > > > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> > > > > > >> initialized
> > > > > > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> > > > > > >>
> > > > > > >> "Set this property to `true` and it should start TomEE with
> > debug
> > > > > > >> enabled
> > > > > > >> and listening to port 5005."
> > > > > > >>
> > > > > > >> Where should this be set? I looked at the other microprofile
> TCK
> > > > > > >> implementations, but couldn't find a solution
> > > > > > >>
> > > > > > >> I managed to activate the opentracing interceptor, but the
> tests
> > > are
> > > > > > >> still
> > > > > > >> red. I'm still looking for what else needs to be implemented
> to
> > > make
> > > > > > >> the
> > > > > > >> tests work.
> > > > > > >>
> > > > > > >> Thanks:
> > > > > > >>
> > > > > > >> Zoltán
> > > > > > >>
> > > > > > >>
> > > > > > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> > > > > > >> <da...@gmail.com>
> > > > > > >> wrote:
> > > > > > >>
> > > > > > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > > > > > >>>> <zo...@gmail.com>
> > > > > > >>> wrote:
> > > > > > >>>>
> > > > > > >>>> How to activate the OpenTracingInterceptor from
> > > > > > >>>> org.apache.tomee.microprofile.opentracing package?
> > > > > > >>>
> > > > > > >>> Set this property to `true` and it should start TomEE with
> > debug
> > > > > > >>> enabled
> > > > > > >>> and listening to port 5005.
> > > > > > >>>
> > > > > > >>>> I think I overestimated my knowledge for this task, so if
> you
> > > > > > >>>> think so, I
> > > > > > >>>> would rather pass this task. On the other hand, if there is
> > > still
> > > > > > >>>> time, I
> > > > > > >>>> would like to deal with this.
> > > > > > >>>
> > > > > > >>> Take another week and see how far you get.  There's great
> value
> > > in
> > > > > > >>> having
> > > > > > >>> more people able to help with TCK work.  It's definitely
> worth
> > it
> > > > > > >>> for us
> > > > > > >>> all to make the effort to help others get in there and be
> > > > > > >>> effective.
> > > > > > >>>
> > > > > > >>> Anything but silence is good progress.  Silence is the kiss
> of
> > > > > > >>> death for
> > > > > > >>> tasks like this -- just so much knowledge to transfer.  I
> don't
> > > > > > >>> think
> > > > > > >>> there's a human being on planet earth who could go from "I
> want
> > > to
> > > > > > >>> help get
> > > > > > >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> > > > > > >>> questions in
> > > > > > >>> the middle.
> > > > > > >>>
> > > > > > >>> Certainly, I needed a ton of help and I've never met anyone
> who
> > > > > > >>> didn't.
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> -David
> > > > > > >>>
> > > > > > >>>
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hi Zlotan,

My PR is now fully green with 100% of the MicroProfile OpenTracing TCK
passing.

The changes are fairly minimal to be honest.
There was a JAX RS Client issue with the TCK and the way it handles the
tags, especially the http.status_code one which was converted as an Integer
whereas the specification expects a BigDecimal.

The CDI interceptor was not being picked up so nested calls in the
application using CDI beans were not working.

The first JAX RS/JSONB issue took me a while to pin down and resolve
properly. I had to investigate the TCK change that broke it, the
specifications and then try with Johnzon, Jackson and Resteasy/Yasson. It
worked only with Yasson. I found a trick to make it work with Johnzon so we
don't need to bring the world just to run TCK.

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Oct 25, 2022 at 10:02 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi Jean-Louis!
>
> I've also noticed that for many tests the expected and found results seem
> to be the same and the test still fails.
>
> On Tue, Oct 25, 2022 at 9:11 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Hi Zlotan,
> >
> > Thanks for the reply.
> >
> > What are you trying to achieve?
> > What is the listener doing?
> > What kind of listener is it?
> >
> > Do you have maybe a branch you can share on your fork or so?
> >
> > FYI I found something weird in the TCK that I need to clarify.
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Oct 25, 2022 at 8:03 PM Zoltán Tichov <zo...@gmail.com>
> > wrote:
> >
> > > Hi!
> > >
> > > I tried to register SmallRyeRestClientListener and I created
> > >
> > >
> >
> tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
> > > file contains SmallRyeRestClientListener class name. However, it
> doesn't
> > > seem to work.
> > > How can I get the listener to work?
> > >
> > > Thanks:
> > > Zoltán
> > >
> > > On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > > > Hi Zlotan,
> > > >
> > > > I'll start a new thread to see if we can collaborate and move forward
> > > with
> > > > the MicroProfile OpenTracing support.
> > > >
> > > > Jean-Louis
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > > >
> > > > On Thu, Oct 20, 2022 at 3:47 PM David Blevins <
> dblevins@tomitribe.com>
> > > > wrote:
> > > >
> > > > > Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> > > > > attachment" and then forgot to attach.
> > > > >
> > > > > Here's the link I forgot to paste:
> > > > >
> > > > >  -
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
> > > > >
> > > > > As Richard mentions, here's where I'd mess with the <suiteXmlFiles>
> > > > > setting for the MP JWT work:
> > > > >
> > > > >  -
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
> > > > >
> > > > > I would basically temporarily edit that line to this value
> > > > > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into
> > this
> > > > > file and comment out everything but the test I wanted to run:
> > > > >
> > > > >  -
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
> > > > >
> > > > > For opentracing here is where you'd edit:
> > > > >
> > > > >  -
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
> > > > >  -
> > > > >
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > David Blevins
> > > > > http://twitter.com/dblevins
> > > > > http://www.tomitribe.com
> > > > >
> > > > > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> > > > > richard.zowalla@hs-heilbronn.de> wrote:
> > > > > >
> > > > > > Hi Zoltan,
> > > > > >
> > > > > > the arquillian config is located in
> > > > > > /src/test/java/resources/arquillian.xml.
> > > > > >
> > > > > > In this file, you can find a "debug" property, which you can set
> to
> > > > > > "true" to enable the debug capabilities of TomEE (i.e. start
> with a
> > > > > > debugger backend).
> > > > > >
> > > > > > You can debug single tests by editing "tck-dev.xml" in the module
> > > root
> > > > > > directory and adjust the surefire config to use it:
> > > > > >
> > > > > >  <suiteXmlFiles>
> > > > > >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> > > > > >  </suiteXmlFiles>
> > > > > >
> > > > > > Hope it helps
> > > > > >
> > > > > > Gruß
> > > > > > Richard
> > > > > >
> > > > > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán
> Tichov:
> > > > > >> Hi!
> > > > > >>
> > > > > >> I have not been able to solve this problem:
> > > > > >>
> > > > > >> ERROR: transport error 202: connect failed: Connection refused
> > > > > >> ERROR: JDWP Transport dt_socket failed to initialize,
> > > > > >> TRANSPORT_INIT(510)
> > > > > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> > > > > >> initialized
> > > > > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> > > > > >>
> > > > > >> "Set this property to `true` and it should start TomEE with
> debug
> > > > > >> enabled
> > > > > >> and listening to port 5005."
> > > > > >>
> > > > > >> Where should this be set? I looked at the other microprofile TCK
> > > > > >> implementations, but couldn't find a solution
> > > > > >>
> > > > > >> I managed to activate the opentracing interceptor, but the tests
> > are
> > > > > >> still
> > > > > >> red. I'm still looking for what else needs to be implemented to
> > make
> > > > > >> the
> > > > > >> tests work.
> > > > > >>
> > > > > >> Thanks:
> > > > > >>
> > > > > >> Zoltán
> > > > > >>
> > > > > >>
> > > > > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> > > > > >> <da...@gmail.com>
> > > > > >> wrote:
> > > > > >>
> > > > > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > > > > >>>> <zo...@gmail.com>
> > > > > >>> wrote:
> > > > > >>>>
> > > > > >>>> How to activate the OpenTracingInterceptor from
> > > > > >>>> org.apache.tomee.microprofile.opentracing package?
> > > > > >>>
> > > > > >>> Set this property to `true` and it should start TomEE with
> debug
> > > > > >>> enabled
> > > > > >>> and listening to port 5005.
> > > > > >>>
> > > > > >>>> I think I overestimated my knowledge for this task, so if you
> > > > > >>>> think so, I
> > > > > >>>> would rather pass this task. On the other hand, if there is
> > still
> > > > > >>>> time, I
> > > > > >>>> would like to deal with this.
> > > > > >>>
> > > > > >>> Take another week and see how far you get.  There's great value
> > in
> > > > > >>> having
> > > > > >>> more people able to help with TCK work.  It's definitely worth
> it
> > > > > >>> for us
> > > > > >>> all to make the effort to help others get in there and be
> > > > > >>> effective.
> > > > > >>>
> > > > > >>> Anything but silence is good progress.  Silence is the kiss of
> > > > > >>> death for
> > > > > >>> tasks like this -- just so much knowledge to transfer.  I don't
> > > > > >>> think
> > > > > >>> there's a human being on planet earth who could go from "I want
> > to
> > > > > >>> help get
> > > > > >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> > > > > >>> questions in
> > > > > >>> the middle.
> > > > > >>>
> > > > > >>> Certainly, I needed a ton of help and I've never met anyone who
> > > > > >>> didn't.
> > > > > >>>
> > > > > >>>
> > > > > >>> -David
> > > > > >>>
> > > > > >>>
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi Jean-Louis!

I've also noticed that for many tests the expected and found results seem
to be the same and the test still fails.

On Tue, Oct 25, 2022 at 9:11 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi Zlotan,
>
> Thanks for the reply.
>
> What are you trying to achieve?
> What is the listener doing?
> What kind of listener is it?
>
> Do you have maybe a branch you can share on your fork or so?
>
> FYI I found something weird in the TCK that I need to clarify.
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Oct 25, 2022 at 8:03 PM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi!
> >
> > I tried to register SmallRyeRestClientListener and I created
> >
> >
> tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
> > file contains SmallRyeRestClientListener class name. However, it doesn't
> > seem to work.
> > How can I get the listener to work?
> >
> > Thanks:
> > Zoltán
> >
> > On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Hi Zlotan,
> > >
> > > I'll start a new thread to see if we can collaborate and move forward
> > with
> > > the MicroProfile OpenTracing support.
> > >
> > > Jean-Louis
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Thu, Oct 20, 2022 at 3:47 PM David Blevins <db...@tomitribe.com>
> > > wrote:
> > >
> > > > Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> > > > attachment" and then forgot to attach.
> > > >
> > > > Here's the link I forgot to paste:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
> > > >
> > > > As Richard mentions, here's where I'd mess with the <suiteXmlFiles>
> > > > setting for the MP JWT work:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
> > > >
> > > > I would basically temporarily edit that line to this value
> > > > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into
> this
> > > > file and comment out everything but the test I wanted to run:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
> > > >
> > > > For opentracing here is where you'd edit:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
> > > >
> > > >
> > > >
> > > > --
> > > > David Blevins
> > > > http://twitter.com/dblevins
> > > > http://www.tomitribe.com
> > > >
> > > > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> > > > richard.zowalla@hs-heilbronn.de> wrote:
> > > > >
> > > > > Hi Zoltan,
> > > > >
> > > > > the arquillian config is located in
> > > > > /src/test/java/resources/arquillian.xml.
> > > > >
> > > > > In this file, you can find a "debug" property, which you can set to
> > > > > "true" to enable the debug capabilities of TomEE (i.e. start with a
> > > > > debugger backend).
> > > > >
> > > > > You can debug single tests by editing "tck-dev.xml" in the module
> > root
> > > > > directory and adjust the surefire config to use it:
> > > > >
> > > > >  <suiteXmlFiles>
> > > > >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> > > > >  </suiteXmlFiles>
> > > > >
> > > > > Hope it helps
> > > > >
> > > > > Gruß
> > > > > Richard
> > > > >
> > > > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
> > > > >> Hi!
> > > > >>
> > > > >> I have not been able to solve this problem:
> > > > >>
> > > > >> ERROR: transport error 202: connect failed: Connection refused
> > > > >> ERROR: JDWP Transport dt_socket failed to initialize,
> > > > >> TRANSPORT_INIT(510)
> > > > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> > > > >> initialized
> > > > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> > > > >>
> > > > >> "Set this property to `true` and it should start TomEE with debug
> > > > >> enabled
> > > > >> and listening to port 5005."
> > > > >>
> > > > >> Where should this be set? I looked at the other microprofile TCK
> > > > >> implementations, but couldn't find a solution
> > > > >>
> > > > >> I managed to activate the opentracing interceptor, but the tests
> are
> > > > >> still
> > > > >> red. I'm still looking for what else needs to be implemented to
> make
> > > > >> the
> > > > >> tests work.
> > > > >>
> > > > >> Thanks:
> > > > >>
> > > > >> Zoltán
> > > > >>
> > > > >>
> > > > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> > > > >> <da...@gmail.com>
> > > > >> wrote:
> > > > >>
> > > > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > > > >>>> <zo...@gmail.com>
> > > > >>> wrote:
> > > > >>>>
> > > > >>>> How to activate the OpenTracingInterceptor from
> > > > >>>> org.apache.tomee.microprofile.opentracing package?
> > > > >>>
> > > > >>> Set this property to `true` and it should start TomEE with debug
> > > > >>> enabled
> > > > >>> and listening to port 5005.
> > > > >>>
> > > > >>>> I think I overestimated my knowledge for this task, so if you
> > > > >>>> think so, I
> > > > >>>> would rather pass this task. On the other hand, if there is
> still
> > > > >>>> time, I
> > > > >>>> would like to deal with this.
> > > > >>>
> > > > >>> Take another week and see how far you get.  There's great value
> in
> > > > >>> having
> > > > >>> more people able to help with TCK work.  It's definitely worth it
> > > > >>> for us
> > > > >>> all to make the effort to help others get in there and be
> > > > >>> effective.
> > > > >>>
> > > > >>> Anything but silence is good progress.  Silence is the kiss of
> > > > >>> death for
> > > > >>> tasks like this -- just so much knowledge to transfer.  I don't
> > > > >>> think
> > > > >>> there's a human being on planet earth who could go from "I want
> to
> > > > >>> help get
> > > > >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> > > > >>> questions in
> > > > >>> the middle.
> > > > >>>
> > > > >>> Certainly, I needed a ton of help and I've never met anyone who
> > > > >>> didn't.
> > > > >>>
> > > > >>>
> > > > >>> -David
> > > > >>>
> > > > >>>
> > > > >
> > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi Jean-Louis!

> What are you trying to achieve?

I tested the SmallRye opentracing implementation and TCK and I have noticed
that this listener is not running in the Tomee Opentracing implementation
and TCK so
I wanted to achieve, that listener also run in tomee microprofile
implementation.

I read this in smallrye opentracing implementation README in how to use
section:

The Rest Client instrumentation is provided in `SmallRyeRestClientListener`
which has to be registered
in
`META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener`.

> What kind of listener is it?

This listener is an implementation of
org.eclipse.microprofile.rest.client.spi.RestClientListener

> Do you have maybe a branch you can share on your fork or so?

I have but its name is maybe wrong, because I found an older Tomee jira
ticket which I named after (it is TOMEE-3895).

I have still not pushed my work (not so much) to this branch. Should I
upload my work or do another branch and upload after that?

Thanks:
Zoltán

On Tue, Oct 25, 2022 at 9:11 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi Zlotan,
>
> Thanks for the reply.
>
> What are you trying to achieve?
> What is the listener doing?
> What kind of listener is it?
>
> Do you have maybe a branch you can share on your fork or so?
>
> FYI I found something weird in the TCK that I need to clarify.
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Oct 25, 2022 at 8:03 PM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi!
> >
> > I tried to register SmallRyeRestClientListener and I created
> >
> >
> tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
> > file contains SmallRyeRestClientListener class name. However, it doesn't
> > seem to work.
> > How can I get the listener to work?
> >
> > Thanks:
> > Zoltán
> >
> > On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Hi Zlotan,
> > >
> > > I'll start a new thread to see if we can collaborate and move forward
> > with
> > > the MicroProfile OpenTracing support.
> > >
> > > Jean-Louis
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Thu, Oct 20, 2022 at 3:47 PM David Blevins <db...@tomitribe.com>
> > > wrote:
> > >
> > > > Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> > > > attachment" and then forgot to attach.
> > > >
> > > > Here's the link I forgot to paste:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
> > > >
> > > > As Richard mentions, here's where I'd mess with the <suiteXmlFiles>
> > > > setting for the MP JWT work:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
> > > >
> > > > I would basically temporarily edit that line to this value
> > > > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into
> this
> > > > file and comment out everything but the test I wanted to run:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
> > > >
> > > > For opentracing here is where you'd edit:
> > > >
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
> > > >  -
> > > >
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
> > > >
> > > >
> > > >
> > > > --
> > > > David Blevins
> > > > http://twitter.com/dblevins
> > > > http://www.tomitribe.com
> > > >
> > > > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> > > > richard.zowalla@hs-heilbronn.de> wrote:
> > > > >
> > > > > Hi Zoltan,
> > > > >
> > > > > the arquillian config is located in
> > > > > /src/test/java/resources/arquillian.xml.
> > > > >
> > > > > In this file, you can find a "debug" property, which you can set to
> > > > > "true" to enable the debug capabilities of TomEE (i.e. start with a
> > > > > debugger backend).
> > > > >
> > > > > You can debug single tests by editing "tck-dev.xml" in the module
> > root
> > > > > directory and adjust the surefire config to use it:
> > > > >
> > > > >  <suiteXmlFiles>
> > > > >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> > > > >  </suiteXmlFiles>
> > > > >
> > > > > Hope it helps
> > > > >
> > > > > Gruß
> > > > > Richard
> > > > >
> > > > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
> > > > >> Hi!
> > > > >>
> > > > >> I have not been able to solve this problem:
> > > > >>
> > > > >> ERROR: transport error 202: connect failed: Connection refused
> > > > >> ERROR: JDWP Transport dt_socket failed to initialize,
> > > > >> TRANSPORT_INIT(510)
> > > > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> > > > >> initialized
> > > > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> > > > >>
> > > > >> "Set this property to `true` and it should start TomEE with debug
> > > > >> enabled
> > > > >> and listening to port 5005."
> > > > >>
> > > > >> Where should this be set? I looked at the other microprofile TCK
> > > > >> implementations, but couldn't find a solution
> > > > >>
> > > > >> I managed to activate the opentracing interceptor, but the tests
> are
> > > > >> still
> > > > >> red. I'm still looking for what else needs to be implemented to
> make
> > > > >> the
> > > > >> tests work.
> > > > >>
> > > > >> Thanks:
> > > > >>
> > > > >> Zoltán
> > > > >>
> > > > >>
> > > > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> > > > >> <da...@gmail.com>
> > > > >> wrote:
> > > > >>
> > > > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > > > >>>> <zo...@gmail.com>
> > > > >>> wrote:
> > > > >>>>
> > > > >>>> How to activate the OpenTracingInterceptor from
> > > > >>>> org.apache.tomee.microprofile.opentracing package?
> > > > >>>
> > > > >>> Set this property to `true` and it should start TomEE with debug
> > > > >>> enabled
> > > > >>> and listening to port 5005.
> > > > >>>
> > > > >>>> I think I overestimated my knowledge for this task, so if you
> > > > >>>> think so, I
> > > > >>>> would rather pass this task. On the other hand, if there is
> still
> > > > >>>> time, I
> > > > >>>> would like to deal with this.
> > > > >>>
> > > > >>> Take another week and see how far you get.  There's great value
> in
> > > > >>> having
> > > > >>> more people able to help with TCK work.  It's definitely worth it
> > > > >>> for us
> > > > >>> all to make the effort to help others get in there and be
> > > > >>> effective.
> > > > >>>
> > > > >>> Anything but silence is good progress.  Silence is the kiss of
> > > > >>> death for
> > > > >>> tasks like this -- just so much knowledge to transfer.  I don't
> > > > >>> think
> > > > >>> there's a human being on planet earth who could go from "I want
> to
> > > > >>> help get
> > > > >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> > > > >>> questions in
> > > > >>> the middle.
> > > > >>>
> > > > >>> Certainly, I needed a ton of help and I've never met anyone who
> > > > >>> didn't.
> > > > >>>
> > > > >>>
> > > > >>> -David
> > > > >>>
> > > > >>>
> > > > >
> > > >
> > > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hi Zlotan,

Thanks for the reply.

What are you trying to achieve?
What is the listener doing?
What kind of listener is it?

Do you have maybe a branch you can share on your fork or so?

FYI I found something weird in the TCK that I need to clarify.

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Oct 25, 2022 at 8:03 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> I tried to register SmallRyeRestClientListener and I created
>
> tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
> file contains SmallRyeRestClientListener class name. However, it doesn't
> seem to work.
> How can I get the listener to work?
>
> Thanks:
> Zoltán
>
> On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Hi Zlotan,
> >
> > I'll start a new thread to see if we can collaborate and move forward
> with
> > the MicroProfile OpenTracing support.
> >
> > Jean-Louis
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Thu, Oct 20, 2022 at 3:47 PM David Blevins <db...@tomitribe.com>
> > wrote:
> >
> > > Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> > > attachment" and then forgot to attach.
> > >
> > > Here's the link I forgot to paste:
> > >
> > >  -
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
> > >
> > > As Richard mentions, here's where I'd mess with the <suiteXmlFiles>
> > > setting for the MP JWT work:
> > >
> > >  -
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
> > >
> > > I would basically temporarily edit that line to this value
> > > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into this
> > > file and comment out everything but the test I wanted to run:
> > >
> > >  -
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
> > >
> > > For opentracing here is where you'd edit:
> > >
> > >  -
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
> > >  -
> > >
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
> > >
> > >
> > >
> > > --
> > > David Blevins
> > > http://twitter.com/dblevins
> > > http://www.tomitribe.com
> > >
> > > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> > > richard.zowalla@hs-heilbronn.de> wrote:
> > > >
> > > > Hi Zoltan,
> > > >
> > > > the arquillian config is located in
> > > > /src/test/java/resources/arquillian.xml.
> > > >
> > > > In this file, you can find a "debug" property, which you can set to
> > > > "true" to enable the debug capabilities of TomEE (i.e. start with a
> > > > debugger backend).
> > > >
> > > > You can debug single tests by editing "tck-dev.xml" in the module
> root
> > > > directory and adjust the surefire config to use it:
> > > >
> > > >  <suiteXmlFiles>
> > > >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> > > >  </suiteXmlFiles>
> > > >
> > > > Hope it helps
> > > >
> > > > Gruß
> > > > Richard
> > > >
> > > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
> > > >> Hi!
> > > >>
> > > >> I have not been able to solve this problem:
> > > >>
> > > >> ERROR: transport error 202: connect failed: Connection refused
> > > >> ERROR: JDWP Transport dt_socket failed to initialize,
> > > >> TRANSPORT_INIT(510)
> > > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> > > >> initialized
> > > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> > > >>
> > > >> "Set this property to `true` and it should start TomEE with debug
> > > >> enabled
> > > >> and listening to port 5005."
> > > >>
> > > >> Where should this be set? I looked at the other microprofile TCK
> > > >> implementations, but couldn't find a solution
> > > >>
> > > >> I managed to activate the opentracing interceptor, but the tests are
> > > >> still
> > > >> red. I'm still looking for what else needs to be implemented to make
> > > >> the
> > > >> tests work.
> > > >>
> > > >> Thanks:
> > > >>
> > > >> Zoltán
> > > >>
> > > >>
> > > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> > > >> <da...@gmail.com>
> > > >> wrote:
> > > >>
> > > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > > >>>> <zo...@gmail.com>
> > > >>> wrote:
> > > >>>>
> > > >>>> How to activate the OpenTracingInterceptor from
> > > >>>> org.apache.tomee.microprofile.opentracing package?
> > > >>>
> > > >>> Set this property to `true` and it should start TomEE with debug
> > > >>> enabled
> > > >>> and listening to port 5005.
> > > >>>
> > > >>>> I think I overestimated my knowledge for this task, so if you
> > > >>>> think so, I
> > > >>>> would rather pass this task. On the other hand, if there is still
> > > >>>> time, I
> > > >>>> would like to deal with this.
> > > >>>
> > > >>> Take another week and see how far you get.  There's great value in
> > > >>> having
> > > >>> more people able to help with TCK work.  It's definitely worth it
> > > >>> for us
> > > >>> all to make the effort to help others get in there and be
> > > >>> effective.
> > > >>>
> > > >>> Anything but silence is good progress.  Silence is the kiss of
> > > >>> death for
> > > >>> tasks like this -- just so much knowledge to transfer.  I don't
> > > >>> think
> > > >>> there's a human being on planet earth who could go from "I want to
> > > >>> help get
> > > >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> > > >>> questions in
> > > >>> the middle.
> > > >>>
> > > >>> Certainly, I needed a ton of help and I've never met anyone who
> > > >>> didn't.
> > > >>>
> > > >>>
> > > >>> -David
> > > >>>
> > > >>>
> > > >
> > >
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

I tried to register SmallRyeRestClientListener and I created
tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
file contains SmallRyeRestClientListener class name. However, it doesn't
seem to work.
How can I get the listener to work?

Thanks:
Zoltán

On Tue, Oct 25, 2022 at 12:57 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi Zlotan,
>
> I'll start a new thread to see if we can collaborate and move forward with
> the MicroProfile OpenTracing support.
>
> Jean-Louis
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Thu, Oct 20, 2022 at 3:47 PM David Blevins <db...@tomitribe.com>
> wrote:
>
> > Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> > attachment" and then forgot to attach.
> >
> > Here's the link I forgot to paste:
> >
> >  -
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
> >
> > As Richard mentions, here's where I'd mess with the <suiteXmlFiles>
> > setting for the MP JWT work:
> >
> >  -
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
> >
> > I would basically temporarily edit that line to this value
> > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into this
> > file and comment out everything but the test I wanted to run:
> >
> >  -
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
> >
> > For opentracing here is where you'd edit:
> >
> >  -
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
> >  -
> >
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
> >
> >
> >
> > --
> > David Blevins
> > http://twitter.com/dblevins
> > http://www.tomitribe.com
> >
> > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> > richard.zowalla@hs-heilbronn.de> wrote:
> > >
> > > Hi Zoltan,
> > >
> > > the arquillian config is located in
> > > /src/test/java/resources/arquillian.xml.
> > >
> > > In this file, you can find a "debug" property, which you can set to
> > > "true" to enable the debug capabilities of TomEE (i.e. start with a
> > > debugger backend).
> > >
> > > You can debug single tests by editing "tck-dev.xml" in the module root
> > > directory and adjust the surefire config to use it:
> > >
> > >  <suiteXmlFiles>
> > >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> > >  </suiteXmlFiles>
> > >
> > > Hope it helps
> > >
> > > Gruß
> > > Richard
> > >
> > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
> > >> Hi!
> > >>
> > >> I have not been able to solve this problem:
> > >>
> > >> ERROR: transport error 202: connect failed: Connection refused
> > >> ERROR: JDWP Transport dt_socket failed to initialize,
> > >> TRANSPORT_INIT(510)
> > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> > >> initialized
> > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> > >>
> > >> "Set this property to `true` and it should start TomEE with debug
> > >> enabled
> > >> and listening to port 5005."
> > >>
> > >> Where should this be set? I looked at the other microprofile TCK
> > >> implementations, but couldn't find a solution
> > >>
> > >> I managed to activate the opentracing interceptor, but the tests are
> > >> still
> > >> red. I'm still looking for what else needs to be implemented to make
> > >> the
> > >> tests work.
> > >>
> > >> Thanks:
> > >>
> > >> Zoltán
> > >>
> > >>
> > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> > >> <da...@gmail.com>
> > >> wrote:
> > >>
> > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > >>>> <zo...@gmail.com>
> > >>> wrote:
> > >>>>
> > >>>> How to activate the OpenTracingInterceptor from
> > >>>> org.apache.tomee.microprofile.opentracing package?
> > >>>
> > >>> Set this property to `true` and it should start TomEE with debug
> > >>> enabled
> > >>> and listening to port 5005.
> > >>>
> > >>>> I think I overestimated my knowledge for this task, so if you
> > >>>> think so, I
> > >>>> would rather pass this task. On the other hand, if there is still
> > >>>> time, I
> > >>>> would like to deal with this.
> > >>>
> > >>> Take another week and see how far you get.  There's great value in
> > >>> having
> > >>> more people able to help with TCK work.  It's definitely worth it
> > >>> for us
> > >>> all to make the effort to help others get in there and be
> > >>> effective.
> > >>>
> > >>> Anything but silence is good progress.  Silence is the kiss of
> > >>> death for
> > >>> tasks like this -- just so much knowledge to transfer.  I don't
> > >>> think
> > >>> there's a human being on planet earth who could go from "I want to
> > >>> help get
> > >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> > >>> questions in
> > >>> the middle.
> > >>>
> > >>> Certainly, I needed a ton of help and I've never met anyone who
> > >>> didn't.
> > >>>
> > >>>
> > >>> -David
> > >>>
> > >>>
> > >
> >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hi Zlotan,

I'll start a new thread to see if we can collaborate and move forward with
the MicroProfile OpenTracing support.

Jean-Louis
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Oct 20, 2022 at 3:47 PM David Blevins <db...@tomitribe.com>
wrote:

> Thanks, Richard.  Sorry, Zoltán, had one one of those "find this
> attachment" and then forgot to attach.
>
> Here's the link I forgot to paste:
>
>  -
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29
>
> As Richard mentions, here's where I'd mess with the <suiteXmlFiles>
> setting for the MP JWT work:
>
>  -
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189
>
> I would basically temporarily edit that line to this value
> `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into this
> file and comment out everything but the test I wanted to run:
>
>  -
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml
>
> For opentracing here is where you'd edit:
>
>  -
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
>  -
> https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22
>
>
>
> --
> David Blevins
> http://twitter.com/dblevins
> http://www.tomitribe.com
>
> > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <
> richard.zowalla@hs-heilbronn.de> wrote:
> >
> > Hi Zoltan,
> >
> > the arquillian config is located in
> > /src/test/java/resources/arquillian.xml.
> >
> > In this file, you can find a "debug" property, which you can set to
> > "true" to enable the debug capabilities of TomEE (i.e. start with a
> > debugger backend).
> >
> > You can debug single tests by editing "tck-dev.xml" in the module root
> > directory and adjust the surefire config to use it:
> >
> >  <suiteXmlFiles>
> >    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
> >  </suiteXmlFiles>
> >
> > Hope it helps
> >
> > Gruß
> > Richard
> >
> > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
> >> Hi!
> >>
> >> I have not been able to solve this problem:
> >>
> >> ERROR: transport error 202: connect failed: Connection refused
> >> ERROR: JDWP Transport dt_socket failed to initialize,
> >> TRANSPORT_INIT(510)
> >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> >> initialized
> >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> >>
> >> "Set this property to `true` and it should start TomEE with debug
> >> enabled
> >> and listening to port 5005."
> >>
> >> Where should this be set? I looked at the other microprofile TCK
> >> implementations, but couldn't find a solution
> >>
> >> I managed to activate the opentracing interceptor, but the tests are
> >> still
> >> red. I'm still looking for what else needs to be implemented to make
> >> the
> >> tests work.
> >>
> >> Thanks:
> >>
> >> Zoltán
> >>
> >>
> >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> >> <da...@gmail.com>
> >> wrote:
> >>
> >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> >>>> <zo...@gmail.com>
> >>> wrote:
> >>>>
> >>>> How to activate the OpenTracingInterceptor from
> >>>> org.apache.tomee.microprofile.opentracing package?
> >>>
> >>> Set this property to `true` and it should start TomEE with debug
> >>> enabled
> >>> and listening to port 5005.
> >>>
> >>>> I think I overestimated my knowledge for this task, so if you
> >>>> think so, I
> >>>> would rather pass this task. On the other hand, if there is still
> >>>> time, I
> >>>> would like to deal with this.
> >>>
> >>> Take another week and see how far you get.  There's great value in
> >>> having
> >>> more people able to help with TCK work.  It's definitely worth it
> >>> for us
> >>> all to make the effort to help others get in there and be
> >>> effective.
> >>>
> >>> Anything but silence is good progress.  Silence is the kiss of
> >>> death for
> >>> tasks like this -- just so much knowledge to transfer.  I don't
> >>> think
> >>> there's a human being on planet earth who could go from "I want to
> >>> help get
> >>> this TCK to pass" to "here's a PR for a passing TCK" and no
> >>> questions in
> >>> the middle.
> >>>
> >>> Certainly, I needed a ton of help and I've never met anyone who
> >>> didn't.
> >>>
> >>>
> >>> -David
> >>>
> >>>
> >
>
>

Re: TomEE MicroProfile - current status

Posted by David Blevins <db...@tomitribe.com>.
Thanks, Richard.  Sorry, Zoltán, had one one of those "find this attachment" and then forgot to attach.

Here's the link I forgot to paste:

 - https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29

As Richard mentions, here's where I'd mess with the <suiteXmlFiles> setting for the MP JWT work:

 - https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189

I would basically temporarily edit that line to this value `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into this file and comment out everything but the test I wanted to run:

 - https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml

For opentracing here is where you'd edit:

 - https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40
 - https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22



-- 
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com

> On Oct 20, 2022, at 1:14 AM, Zowalla, Richard <ri...@hs-heilbronn.de> wrote:
> 
> Hi Zoltan,
> 
> the arquillian config is located in
> /src/test/java/resources/arquillian.xml.
> 
> In this file, you can find a "debug" property, which you can set to
> "true" to enable the debug capabilities of TomEE (i.e. start with a
> debugger backend).
> 
> You can debug single tests by editing "tck-dev.xml" in the module root
> directory and adjust the surefire config to use it:
> 
>  <suiteXmlFiles>
>    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
>  </suiteXmlFiles>
> 
> Hope it helps
> 
> Gruß
> Richard
> 
> Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
>> Hi!
>> 
>> I have not been able to solve this problem:
>> 
>> ERROR: transport error 202: connect failed: Connection refused
>> ERROR: JDWP Transport dt_socket failed to initialize,
>> TRANSPORT_INIT(510)
>> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
>> initialized
>> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
>> 
>> "Set this property to `true` and it should start TomEE with debug
>> enabled
>> and listening to port 5005."
>> 
>> Where should this be set? I looked at the other microprofile TCK
>> implementations, but couldn't find a solution
>> 
>> I managed to activate the opentracing interceptor, but the tests are
>> still
>> red. I'm still looking for what else needs to be implemented to make
>> the
>> tests work.
>> 
>> Thanks:
>> 
>> Zoltán
>> 
>> 
>> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
>> <da...@gmail.com>
>> wrote:
>> 
>>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
>>>> <zo...@gmail.com>
>>> wrote:
>>>> 
>>>> How to activate the OpenTracingInterceptor from
>>>> org.apache.tomee.microprofile.opentracing package?
>>> 
>>> Set this property to `true` and it should start TomEE with debug
>>> enabled
>>> and listening to port 5005.
>>> 
>>>> I think I overestimated my knowledge for this task, so if you
>>>> think so, I
>>>> would rather pass this task. On the other hand, if there is still
>>>> time, I
>>>> would like to deal with this.
>>> 
>>> Take another week and see how far you get.  There's great value in
>>> having
>>> more people able to help with TCK work.  It's definitely worth it
>>> for us
>>> all to make the effort to help others get in there and be
>>> effective.
>>> 
>>> Anything but silence is good progress.  Silence is the kiss of
>>> death for
>>> tasks like this -- just so much knowledge to transfer.  I don't
>>> think
>>> there's a human being on planet earth who could go from "I want to
>>> help get
>>> this TCK to pass" to "here's a PR for a passing TCK" and no
>>> questions in
>>> the middle.
>>> 
>>> Certainly, I needed a ton of help and I've never met anyone who
>>> didn't.
>>> 
>>> 
>>> -David
>>> 
>>> 
> 


Re: TomEE MicroProfile - current status

Posted by "Zowalla, Richard" <ri...@hs-heilbronn.de>.
Hi Zoltan,

the arquillian config is located in
/src/test/java/resources/arquillian.xml.

In this file, you can find a "debug" property, which you can set to
"true" to enable the debug capabilities of TomEE (i.e. start with a
debugger backend).

You can debug single tests by editing "tck-dev.xml" in the module root
directory and adjust the surefire config to use it:

  <suiteXmlFiles>
    <suiteXmlFile>tck-dev.xml</suiteXmlFile>
  </suiteXmlFiles>

Hope it helps

Gruß
Richard

Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov:
> Hi!
> 
> I have not been able to solve this problem:
> 
> ERROR: transport error 202: connect failed: Connection refused
> ERROR: JDWP Transport dt_socket failed to initialize,
> TRANSPORT_INIT(510)
> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> initialized
> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]
> 
> "Set this property to `true` and it should start TomEE with debug
> enabled
> and listening to port 5005."
> 
> Where should this be set? I looked at the other microprofile TCK
> implementations, but couldn't find a solution
> 
> I managed to activate the opentracing interceptor, but the tests are
> still
> red. I'm still looking for what else needs to be implemented to make
> the
> tests work.
> 
> Thanks:
> 
> Zoltán
> 
> 
> On Tue, Oct 11, 2022 at 6:48 PM David Blevins
> <da...@gmail.com>
> wrote:
> 
> > > On Oct 11, 2022, at 5:53 AM, Zoltán Tichov
> > > <zo...@gmail.com>
> > wrote:
> > > 
> > > How to activate the OpenTracingInterceptor from
> > > org.apache.tomee.microprofile.opentracing package?
> > 
> > Set this property to `true` and it should start TomEE with debug
> > enabled
> > and listening to port 5005.
> > 
> > > I think I overestimated my knowledge for this task, so if you
> > > think so, I
> > > would rather pass this task. On the other hand, if there is still
> > > time, I
> > > would like to deal with this.
> > 
> > Take another week and see how far you get.  There's great value in
> > having
> > more people able to help with TCK work.  It's definitely worth it
> > for us
> > all to make the effort to help others get in there and be
> > effective.
> > 
> > Anything but silence is good progress.  Silence is the kiss of
> > death for
> > tasks like this -- just so much knowledge to transfer.  I don't
> > think
> > there's a human being on planet earth who could go from "I want to
> > help get
> > this TCK to pass" to "here's a PR for a passing TCK" and no
> > questions in
> > the middle.
> > 
> > Certainly, I needed a ton of help and I've never met anyone who
> > didn't.
> > 
> > 
> > -David
> > 
> > 


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

I have not been able to solve this problem:

ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]

"Set this property to `true` and it should start TomEE with debug enabled
and listening to port 5005."

Where should this be set? I looked at the other microprofile TCK
implementations, but couldn't find a solution

I managed to activate the opentracing interceptor, but the tests are still
red. I'm still looking for what else needs to be implemented to make the
tests work.

Thanks:

Zoltán


On Tue, Oct 11, 2022 at 6:48 PM David Blevins <da...@gmail.com>
wrote:

> > On Oct 11, 2022, at 5:53 AM, Zoltán Tichov <zo...@gmail.com>
> wrote:
> >
> > How to activate the OpenTracingInterceptor from
> > org.apache.tomee.microprofile.opentracing package?
>
> Set this property to `true` and it should start TomEE with debug enabled
> and listening to port 5005.
>
> > I think I overestimated my knowledge for this task, so if you think so, I
> > would rather pass this task. On the other hand, if there is still time, I
> > would like to deal with this.
>
> Take another week and see how far you get.  There's great value in having
> more people able to help with TCK work.  It's definitely worth it for us
> all to make the effort to help others get in there and be effective.
>
> Anything but silence is good progress.  Silence is the kiss of death for
> tasks like this -- just so much knowledge to transfer.  I don't think
> there's a human being on planet earth who could go from "I want to help get
> this TCK to pass" to "here's a PR for a passing TCK" and no questions in
> the middle.
>
> Certainly, I needed a ton of help and I've never met anyone who didn't.
>
>
> -David
>
>

Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov <zo...@gmail.com> wrote:
> 
> How to activate the OpenTracingInterceptor from
> org.apache.tomee.microprofile.opentracing package?

Set this property to `true` and it should start TomEE with debug enabled and listening to port 5005.

> I think I overestimated my knowledge for this task, so if you think so, I
> would rather pass this task. On the other hand, if there is still time, I
> would like to deal with this.

Take another week and see how far you get.  There's great value in having more people able to help with TCK work.  It's definitely worth it for us all to make the effort to help others get in there and be effective.

Anything but silence is good progress.  Silence is the kiss of death for tasks like this -- just so much knowledge to transfer.  I don't think there's a human being on planet earth who could go from "I want to help get this TCK to pass" to "here's a PR for a passing TCK" and no questions in the middle.

Certainly, I needed a ton of help and I've never met anyone who didn't.


-David


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

I have two questions now:

How to activate the OpenTracingInterceptor from
org.apache.tomee.microprofile.opentracing package?
I want to debug the opentracing TCK from NetBeans but it caused the
following error:

ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735]

Do you know any solution for this?

I think I overestimated my knowledge for this task, so if you think so, I
would rather pass this task. On the other hand, if there is still time, I
would like to deal with this.

Thanks:

Zoltán Tichov




On Tue, Oct 11, 2022 at 12:56 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hey Zlotan,
>
> checking out to see if you need help or if there are questions we could
> answer.
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Sep 14, 2022 at 6:27 PM Zoltán Tichov <zo...@gmail.com>
> wrote:
>
> > Hi!
> >
> > Unfortunately, I don't fully see the implementation process yet,
> > because I haven't done it yet. So I would like a few more days if
> > possible. I have a question though:
> >
> > In the org.apache.tomee.microprofile.opentracing package, can I only
> > use the classes that you have already made or can I make new ones as
> > well?
> >
> > Thanks:
> >
> > Zoltán
> >
> >
> > On Wed, Sep 14, 2022 at 5:26 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Here we go ...
> > >
> > > We are 100% MicroProfile Fault Tolerance compliant !
> > >
> > > @Zlatan did you get somewhere with Open Tracing ?
> > > Do you need some help ?
> > >
> > > David is finishing JWT, so I'll look at the platform TCK failures from
> > > tomorrow on
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Tue, Sep 13, 2022 at 4:19 PM Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > > > Quick update on my side.
> > > >
> > > > The ramp up for Fault Tolerance was a bit longer/harder than
> expected.
> > > >
> > > > SmallRye Fault Tolerance seemed to be passing the entire TCK so
> started
> > > > implementing the integration. But ran into issues because the
> > > > FautlToleranceInterceptor does not seem to be triggered so nothing
> > works.
> > > > The TCK with timeout etc takes forever.
> > > > But after some fighting and digging I implemented a workaround
> because
> > > > SmallRye Fault Tolerance uses a Weld specific CDI "feature".
> > > >
> > > > This is not standard and then of course OpenWebBeans does not do
> that.
> > > > I'll create an issue for SmallRye to fix the issue, but meanwhile the
> > > hack
> > > > seems to be producing some good effect. We are moving forward.
> > > >
> > > > Current status is
> > > > [ERROR] Tests run: 433, Failures: 49, Errors: 0, Skipped: 0
> > > >
> > > > I'll keep going hoping we are 100% compliant by the end of this week.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > > >
> > > > On Sat, Sep 10, 2022 at 8:46 AM Richard Zowalla <rz...@apache.org>
> > wrote:
> > > >
> > > >> Great news! Thanks, David.
> > > >>
> > > >> Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
> > > >> > > On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
> > > >> > > jlmonteiro@tomitribe.com> wrote:
> > > >> > >
> > > >> > >   - jwt using TomEE implementation. 22 failures mainly key
> parsing
> > > >> > > so not
> > > >> > >   a big deal. David is on it
> > > >> >
> > > >> > Down to 2 failures!
> > > >> >
> > > >> > As noted in the other thread, I'm tempted to take a quick peek at
> > > >> > implementing the proposed MP JWT 2.1 requirements and make sure
> > > >> > everything there is agreeable before the spec goes final.
> > > >> >
> > > >> >
> > > >> > -David
> > > >>
> > > >>
> > >
> >
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hey Zlotan,

checking out to see if you need help or if there are questions we could
answer.


--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Sep 14, 2022 at 6:27 PM Zoltán Tichov <zo...@gmail.com>
wrote:

> Hi!
>
> Unfortunately, I don't fully see the implementation process yet,
> because I haven't done it yet. So I would like a few more days if
> possible. I have a question though:
>
> In the org.apache.tomee.microprofile.opentracing package, can I only
> use the classes that you have already made or can I make new ones as
> well?
>
> Thanks:
>
> Zoltán
>
>
> On Wed, Sep 14, 2022 at 5:26 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Here we go ...
> >
> > We are 100% MicroProfile Fault Tolerance compliant !
> >
> > @Zlatan did you get somewhere with Open Tracing ?
> > Do you need some help ?
> >
> > David is finishing JWT, so I'll look at the platform TCK failures from
> > tomorrow on
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Sep 13, 2022 at 4:19 PM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Quick update on my side.
> > >
> > > The ramp up for Fault Tolerance was a bit longer/harder than expected.
> > >
> > > SmallRye Fault Tolerance seemed to be passing the entire TCK so started
> > > implementing the integration. But ran into issues because the
> > > FautlToleranceInterceptor does not seem to be triggered so nothing
> works.
> > > The TCK with timeout etc takes forever.
> > > But after some fighting and digging I implemented a workaround because
> > > SmallRye Fault Tolerance uses a Weld specific CDI "feature".
> > >
> > > This is not standard and then of course OpenWebBeans does not do that.
> > > I'll create an issue for SmallRye to fix the issue, but meanwhile the
> > hack
> > > seems to be producing some good effect. We are moving forward.
> > >
> > > Current status is
> > > [ERROR] Tests run: 433, Failures: 49, Errors: 0, Skipped: 0
> > >
> > > I'll keep going hoping we are 100% compliant by the end of this week.
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Sat, Sep 10, 2022 at 8:46 AM Richard Zowalla <rz...@apache.org>
> wrote:
> > >
> > >> Great news! Thanks, David.
> > >>
> > >> Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
> > >> > > On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
> > >> > > jlmonteiro@tomitribe.com> wrote:
> > >> > >
> > >> > >   - jwt using TomEE implementation. 22 failures mainly key parsing
> > >> > > so not
> > >> > >   a big deal. David is on it
> > >> >
> > >> > Down to 2 failures!
> > >> >
> > >> > As noted in the other thread, I'm tempted to take a quick peek at
> > >> > implementing the proposed MP JWT 2.1 requirements and make sure
> > >> > everything there is agreeable before the spec goes final.
> > >> >
> > >> >
> > >> > -David
> > >>
> > >>
> >
>

Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
> On Sep 14, 2022, at 9:26 AM, Zoltán Tichov <zo...@gmail.com> wrote:
> 
> Unfortunately, I don't fully see the implementation process yet,
> because I haven't done it yet. So I would like a few more days if
> possible. I have a question though:

The first time is definitely the hardest!

> 
> In the org.apache.tomee.microprofile.opentracing package, can I only
> use the classes that you have already made or can I make new ones as
> well?

Feel free treat the code like it's yours -- make any classes, interfaces, etc that you want.

For the me the tricky first step is always making sure I can run the TCK and debug a single test.  If you're still figuring that part out, I'll try to write up some of the steps I used in the MP JWT TCK.

-David


> On Wed, Sep 14, 2022 at 5:26 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
> 
>> Here we go ...
>> 
>> We are 100% MicroProfile Fault Tolerance compliant !
>> 
>> @Zlatan did you get somewhere with Open Tracing ?
>> Do you need some help ?
>> 
>> David is finishing JWT, so I'll look at the platform TCK failures from
>> tomorrow on
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>> 
>> 
>> On Tue, Sep 13, 2022 at 4:19 PM Jean-Louis Monteiro <
>> jlmonteiro@tomitribe.com> wrote:
>> 
>>> Quick update on my side.
>>> 
>>> The ramp up for Fault Tolerance was a bit longer/harder than expected.
>>> 
>>> SmallRye Fault Tolerance seemed to be passing the entire TCK so started
>>> implementing the integration. But ran into issues because the
>>> FautlToleranceInterceptor does not seem to be triggered so nothing works.
>>> The TCK with timeout etc takes forever.
>>> But after some fighting and digging I implemented a workaround because
>>> SmallRye Fault Tolerance uses a Weld specific CDI "feature".
>>> 
>>> This is not standard and then of course OpenWebBeans does not do that.
>>> I'll create an issue for SmallRye to fix the issue, but meanwhile the
>> hack
>>> seems to be producing some good effect. We are moving forward.
>>> 
>>> Current status is
>>> [ERROR] Tests run: 433, Failures: 49, Errors: 0, Skipped: 0
>>> 
>>> I'll keep going hoping we are 100% compliant by the end of this week.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> Jean-Louis Monteiro
>>> http://twitter.com/jlouismonteiro
>>> http://www.tomitribe.com
>>> 
>>> 
>>> On Sat, Sep 10, 2022 at 8:46 AM Richard Zowalla <rz...@apache.org> wrote:
>>> 
>>>> Great news! Thanks, David.
>>>> 
>>>> Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
>>>>>> On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
>>>>>> jlmonteiro@tomitribe.com> wrote:
>>>>>> 
>>>>>>  - jwt using TomEE implementation. 22 failures mainly key parsing
>>>>>> so not
>>>>>>  a big deal. David is on it
>>>>> 
>>>>> Down to 2 failures!
>>>>> 
>>>>> As noted in the other thread, I'm tempted to take a quick peek at
>>>>> implementing the proposed MP JWT 2.1 requirements and make sure
>>>>> everything there is agreeable before the spec goes final.
>>>>> 
>>>>> 
>>>>> -David
>>>> 
>>>> 
>> 


Re: TomEE MicroProfile - current status

Posted by Zoltán Tichov <zo...@gmail.com>.
Hi!

Unfortunately, I don't fully see the implementation process yet,
because I haven't done it yet. So I would like a few more days if
possible. I have a question though:

In the org.apache.tomee.microprofile.opentracing package, can I only
use the classes that you have already made or can I make new ones as
well?

Thanks:

Zoltán


On Wed, Sep 14, 2022 at 5:26 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Here we go ...
>
> We are 100% MicroProfile Fault Tolerance compliant !
>
> @Zlatan did you get somewhere with Open Tracing ?
> Do you need some help ?
>
> David is finishing JWT, so I'll look at the platform TCK failures from
> tomorrow on
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Sep 13, 2022 at 4:19 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Quick update on my side.
> >
> > The ramp up for Fault Tolerance was a bit longer/harder than expected.
> >
> > SmallRye Fault Tolerance seemed to be passing the entire TCK so started
> > implementing the integration. But ran into issues because the
> > FautlToleranceInterceptor does not seem to be triggered so nothing works.
> > The TCK with timeout etc takes forever.
> > But after some fighting and digging I implemented a workaround because
> > SmallRye Fault Tolerance uses a Weld specific CDI "feature".
> >
> > This is not standard and then of course OpenWebBeans does not do that.
> > I'll create an issue for SmallRye to fix the issue, but meanwhile the
> hack
> > seems to be producing some good effect. We are moving forward.
> >
> > Current status is
> > [ERROR] Tests run: 433, Failures: 49, Errors: 0, Skipped: 0
> >
> > I'll keep going hoping we are 100% compliant by the end of this week.
> >
> >
> >
> >
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Sat, Sep 10, 2022 at 8:46 AM Richard Zowalla <rz...@apache.org> wrote:
> >
> >> Great news! Thanks, David.
> >>
> >> Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
> >> > > On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
> >> > > jlmonteiro@tomitribe.com> wrote:
> >> > >
> >> > >   - jwt using TomEE implementation. 22 failures mainly key parsing
> >> > > so not
> >> > >   a big deal. David is on it
> >> >
> >> > Down to 2 failures!
> >> >
> >> > As noted in the other thread, I'm tempted to take a quick peek at
> >> > implementing the proposed MP JWT 2.1 requirements and make sure
> >> > everything there is agreeable before the spec goes final.
> >> >
> >> >
> >> > -David
> >>
> >>
>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Here we go ...

We are 100% MicroProfile Fault Tolerance compliant !

@Zlatan did you get somewhere with Open Tracing ?
Do you need some help ?

David is finishing JWT, so I'll look at the platform TCK failures from
tomorrow on
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Sep 13, 2022 at 4:19 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Quick update on my side.
>
> The ramp up for Fault Tolerance was a bit longer/harder than expected.
>
> SmallRye Fault Tolerance seemed to be passing the entire TCK so started
> implementing the integration. But ran into issues because the
> FautlToleranceInterceptor does not seem to be triggered so nothing works.
> The TCK with timeout etc takes forever.
> But after some fighting and digging I implemented a workaround because
> SmallRye Fault Tolerance uses a Weld specific CDI "feature".
>
> This is not standard and then of course OpenWebBeans does not do that.
> I'll create an issue for SmallRye to fix the issue, but meanwhile the hack
> seems to be producing some good effect. We are moving forward.
>
> Current status is
> [ERROR] Tests run: 433, Failures: 49, Errors: 0, Skipped: 0
>
> I'll keep going hoping we are 100% compliant by the end of this week.
>
>
>
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Sat, Sep 10, 2022 at 8:46 AM Richard Zowalla <rz...@apache.org> wrote:
>
>> Great news! Thanks, David.
>>
>> Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
>> > > On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
>> > > jlmonteiro@tomitribe.com> wrote:
>> > >
>> > >   - jwt using TomEE implementation. 22 failures mainly key parsing
>> > > so not
>> > >   a big deal. David is on it
>> >
>> > Down to 2 failures!
>> >
>> > As noted in the other thread, I'm tempted to take a quick peek at
>> > implementing the proposed MP JWT 2.1 requirements and make sure
>> > everything there is agreeable before the spec goes final.
>> >
>> >
>> > -David
>>
>>

Re: TomEE MicroProfile - current status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Quick update on my side.

The ramp up for Fault Tolerance was a bit longer/harder than expected.

SmallRye Fault Tolerance seemed to be passing the entire TCK so started
implementing the integration. But ran into issues because the
FautlToleranceInterceptor does not seem to be triggered so nothing works.
The TCK with timeout etc takes forever.
But after some fighting and digging I implemented a workaround because
SmallRye Fault Tolerance uses a Weld specific CDI "feature".

This is not standard and then of course OpenWebBeans does not do that. I'll
create an issue for SmallRye to fix the issue, but meanwhile the hack seems
to be producing some good effect. We are moving forward.

Current status is
[ERROR] Tests run: 433, Failures: 49, Errors: 0, Skipped: 0

I'll keep going hoping we are 100% compliant by the end of this week.





--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Sat, Sep 10, 2022 at 8:46 AM Richard Zowalla <rz...@apache.org> wrote:

> Great news! Thanks, David.
>
> Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
> > > On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > >   - jwt using TomEE implementation. 22 failures mainly key parsing
> > > so not
> > >   a big deal. David is on it
> >
> > Down to 2 failures!
> >
> > As noted in the other thread, I'm tempted to take a quick peek at
> > implementing the proposed MP JWT 2.1 requirements and make sure
> > everything there is agreeable before the spec goes final.
> >
> >
> > -David
>
>

Re: TomEE MicroProfile - current status

Posted by Richard Zowalla <rz...@apache.org>.
Great news! Thanks, David.

Am Freitag, dem 09.09.2022 um 20:34 -0700 schrieb David Blevins:
> > On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> > 
> >   - jwt using TomEE implementation. 22 failures mainly key parsing
> > so not
> >   a big deal. David is on it
> 
> Down to 2 failures!
> 
> As noted in the other thread, I'm tempted to take a quick peek at
> implementing the proposed MP JWT 2.1 requirements and make sure
> everything there is agreeable before the spec goes final.
> 
> 
> -David


Re: TomEE MicroProfile - current status

Posted by David Blevins <da...@gmail.com>.
> On Aug 23, 2022, at 5:39 AM, Jean-Louis Monteiro <jl...@tomitribe.com> wrote:
> 
>   - jwt using TomEE implementation. 22 failures mainly key parsing so not
>   a big deal. David is on it

Down to 2 failures!

As noted in the other thread, I'm tempted to take a quick peek at implementing the proposed MP JWT 2.1 requirements and make sure everything there is agreeable before the spec goes final.


-David