Re: MicroProfile rest client example

2018-11-22 Thread Romain Manni-Bucau
Hi César Not sure the snapshot was deployed, maybe build it locally JL's fix does not change that error which is an outdated api in the server. Le ven. 23 nov. 2018 03:58, César Hernández Mendoza a écrit : > Hi, > I updated my PR [1], the previous exception is no longer appearing since > I'm

[GitHub] tomee pull request #215: WIP mp-metrics-metered

2018-11-22 Thread ferdisn
GitHub user ferdisn opened a pull request: https://github.com/apache/tomee/pull/215 WIP mp-metrics-metered Hi @ivanjunckes I've made this module and ran it with `tomee:run` I then hit the API with Postman, and here is my finding: Prometheus format ``` #

Re: MicroProfile rest client example

2018-11-22 Thread César Hernández Mendoza
Hi, I updated my PR [1], the previous exception is no longer appearing since I'm not showing a Programmatic Standalone MicroProfile RestClient. I'm still using Tomee remote and Deployment(testable=true) [2] I feel I'm close to having a concrete example but now I'm facing a new issue which I need

[GitHub] tomee issue #201: TOMEE-2278 - Use Managed Executor with Safeguard Fault Tol...

2018-11-22 Thread radcortez
Github user radcortez commented on the issue: https://github.com/apache/tomee/pull/201 +1 ---

Re: How can I help?

2018-11-22 Thread Weverthon Medeiros
Hi Jonathan, Thank you for your reply. MicroProfile sounds like an exciting challenge. Also, I'm very familiar with Java EE 8 (I'm working with this now). I'm entirely new to TomEE, and I'm going to follow your suggestion. Weverthon Medeiros http://linkedin.com/in/weverthon On Thu, 22 Nov

Re: Metrics Gauge Example and Bug

2018-11-22 Thread Roberto Cortez
Hey, I think metrics doesn’t even run properly on TomEE 7.x because of CDI 2.0. Regarding the fail, I’m not sure what is wrong. I remember seeing that before and I think it got fixed when we added the JsonB JAX-RS Provider. Maybe there is a regression in some place. Cheers, Roberto > On 22

How can I help?

2018-11-22 Thread Jose Henrique Ventura
Hi Guys, Today I stepped by Richard Monson-Haefel's tweet where he describes his journey with Open Source projects and I really liked the initiative of encouraging developers to join an Open Source project. I know that there are many Open Source project around there but I think there is a lack

Re: How can I help?

2018-11-22 Thread Jonathan Gallimore
Hi Weverthon, Welcome to the community! We have a few things going on with TomEE at the moment including: * Java EE 8 support * Java 11 support * Microprofile examples In addition, improvements to the website, documentation and any patches are welcome. I myself am looking at MicroProfile JWT

Re: Metrics Gauge Example and Bug

2018-11-22 Thread Romain Manni-Bucau
Hi Ivan Do you use tomee 8 with johnzon 1.1.10? Works well on this one normally if johnzon defaults are not broken. On tomee 7 you need to add jsonb ;) Le jeu. 22 nov. 2018 21:51, Ivan Junckes Filho a écrit : > Also there are a lot of properties being returned on that payload that are > not

Re: Metrics Gauge Example and Bug

2018-11-22 Thread Ivan Junckes Filho
Also there are a lot of properties being returned on that payload that are not needed like rate1, rate5... etc. On Thu, Nov 22, 2018 at 6:26 PM Ivan Junckes Filho wrote: > The issue with the TCK is because meter in the spec expects fifteenMinRate > instead of fifteenMinuteRate. > > Same apply

Re: Metrics Gauge Example and Bug

2018-11-22 Thread Ivan Junckes Filho
The issue with the TCK is because meter in the spec expects fifteenMinRate instead of fifteenMinuteRate. Same apply for the other properties like fiveMin..oneMin.. @JsonbProperty("fifteenMinRate") is probably being ignored. On Thu, Nov 22, 2018 at 5:46 PM Ivan Junckes Filho wrote: > Hey

How can I help?

2018-11-22 Thread Weverthon Medeiros
Hello guys, I saw Richard Monson-Haefel's post on the blog, and also, talked to Daniel Cunha about starting to contribute. So, how can I help? Kind regards, Weverthon Medeiros http://linkedin.com/in/weverthon

Re: Metrics Gauge Example and Bug

2018-11-22 Thread Ivan Junckes Filho
Hey Romain, it is actually a mapping issue. I created the PR but the microprofile metrics TCK seems to be broken on TomEE, so I am not sure if the PR is reliable. https://github.com/apache/geronimo-metrics/pull/2 I will try to check what is going on with the TCK on TomEE, if you have any tips let

Re: Please review PR #201

2018-11-22 Thread Roberto Cortez
Cool! Thank you. I’ll have a look. > On 22 Nov 2018, at 19:08, Bruno Baptista wrote: > > Hi! > > I think the code is ready. Can some of you please review this pull request: > > https://github.com/apache/tomee/pull/201 > > Related to:TOMEE-2278

Please review PR #201

2018-11-22 Thread Bruno Baptista
Hi! I think the code is ready. Can some of you please review this pull request: https://github.com/apache/tomee/pull/201 Related to:TOMEE-2278 - Use Managed Executor with Safeguard Fault Tolerance lib Cheers. -- Bruno Baptista

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Bruno Baptista
That's great. Will contribute a few. Cheers Bruno Baptista https://twitter.com/brunobat_ On 22/11/18 16:52, Ivan Junckes Filho wrote: Thanks, whoever wants to contribute with tickets to: https://issues.apache.org/jira/browse/TOMEE-2285 Would be awesome, this will help whoever wants to

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Ivan Junckes Filho
Thanks, whoever wants to contribute with tickets to: https://issues.apache.org/jira/browse/TOMEE-2285 Would be awesome, this will help whoever wants to contribute to have an easy path. On Thu, Nov 22, 2018 at 2:40 PM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Done! > Also added

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Jean-Louis Monteiro
Done! Also added you as a contributor -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Nov 22, 2018 at 5:39 PM Ivan Junckes Filho wrote: > Username: ivanjunckes > > You can add my name on https://issues.apache.org/jira/browse/TOMEE-2284. > > > On Thu,

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Ivan Junckes Filho
Username: ivanjunckes You can add my name on https://issues.apache.org/jira/browse/TOMEE-2284. On Thu, Nov 22, 2018 at 2:36 PM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Fail! > > [image: image.png] > > Which issue would you like to work on? > > -- > Jean-Louis Monteiro >

Re: Just Joined - Introduction

2018-11-22 Thread Ivan Junckes Filho
There is a MicroProfile specification that you can read if you would like to assert the payload. Microprofile Metrics Project https://github.com/eclipse/microprofile-metrics/ Microprofile Metrics Specification

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Jean-Louis Monteiro
Fail! [image: image.png] Which issue would you like to work on? -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Nov 22, 2018 at 5:33 PM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > We have a contributors group if I recall for that. >

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Jean-Louis Monteiro
We have a contributors group if I recall for that. Lemme see What's your ID? -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Nov 22, 2018 at 5:30 PM Ivan Junckes Filho wrote: > Ok, I started creating them here. > >

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Ivan Junckes Filho
Ok, I started creating them here. https://issues.apache.org/jira/browse/TOMEE-2285 Any contributions of tickets are highly appreciated. :) Quick question: As I am not a commiter, I can't assign tasks to myself right? On Thu, Nov 22, 2018 at 2:26 PM Jean-Louis Monteiro <

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Jean-Louis Monteiro
Great -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Nov 22, 2018 at 5:20 PM Ivan Junckes Filho wrote: > Yes, I can do that myself then, thanks :) > > > On Thu, Nov 22, 2018 at 2:19 PM Jean-Louis Monteiro < > jlmonte...@tomitribe.com> wrote: > > > The

Re: Just Joined - Introduction

2018-11-22 Thread dev
Hi Ivan,What i meant was how do I know what the correct output is.I did use Postman, that was how i got that long JSON. My problem now, how can I know the supposed output of the feature I'm working on? In the test, the output has to be asserted, so, I'm going to need that for assertion needs. 

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Ivan Junckes Filho
Yes, I can do that myself then, thanks :) On Thu, Nov 22, 2018 at 2:19 PM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > The JIRA from Apache does not support Agile extension I believe as I can't > see in project configuration anything related. So let's go simple maybe and > create a

Re: Just Joined - Introduction

2018-11-22 Thread dev
Hi Ivan,What i meant was how do I know what the correct output is.I did use Postman, that was how i got that long JSON. My problem now, how can I know the supposed output of the feature I'm working on? In the test, the output has to be asserted, so, I'm going to need that for assertion needs. 

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Jean-Louis Monteiro
The JIRA from Apache does not support Agile extension I believe as I can't see in project configuration anything related. So let's go simple maybe and create a ticket for the MicroProfile example that has sub-tasks. Sounds easy? -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro

Re: TomEE Microprofile examples Epic

2018-11-22 Thread Jean-Louis Monteiro
Hey Ivan, Lemme look at it and create an epic for you. If that helps organizing the work and contributions, of course we are happy to create an Epic. Jean-Louis -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Nov 22, 2018 at 1:17 PM Ivan Junckes Filho

Re: Just Joined - Introduction

2018-11-22 Thread Ivan Junckes Filho
Hi Ferdi, nice to see you are already working on it. If you use a tool like *curl * you can execute: curl -X OPTIONS http://localhost:8080/mp-metrics-metered/metrics/application/ Replace with the name you set for @Metered. For GET would be: curl -X GET

Re: Just Joined - Introduction

2018-11-22 Thread Ferdi
Hi Jon, Thank you, too, for the warm welcome. On 11/22/2018 8:50 PM, Jonathan Gallimore wrote: Hi Ferdi! Thank for posting, and welcome! I see a few folks on here have already replied, that is fantastic. If you're a total newcomer to TomEE, its worth grabbing the distributions and trying to

Re: Just Joined - Introduction

2018-11-22 Thread Ferdi
Yeah, Hi Ivan, thanks for the nudge on Twitter, by the way. I've got the files and now are trying it. Since this is the first issue, I'd use this thread instead for the questions, is that alright? The question: Where can I find the full output example for the @Metered annotation, for both

Re: TOMEE-2253 - tomee.sh -version not working properly with Java 11

2018-11-22 Thread Romain Manni-Bucau
Hi Daniel, Cause there are some commands using a webapp like classloader and it would fail in this mode in general - we have the same hack for tomee embedded i think, just not triggered the same way. Feel free to revisit it and unify it with what you are doing. Likely what was planned:

Re: TOMEE-2253 - tomee.sh -version not working properly with Java 11

2018-11-22 Thread Daniel Cunha
Hi Romain, I get your point now... Question: Why do we need to do it[1]? if (loader != null) { Thread.currentThread().setContextClassLoader(loader); if (loader != ClassLoader.getSystemClassLoader()) { System.setProperty("openejb.classloader.first.disallow-system-loading",

Re: TOMEE-2241: Best way to handle resolved Issue when update required?

2018-11-22 Thread Jonathan Gallimore
A new ticket would be great. If you'd like to have a go a the patch too, that would be most welcome too! Jon On Thu, Nov 22, 2018 at 12:58 PM Frankie wrote: > The TOMEE-2241 - Need to upgrade commons-lang3-3.5.jar to > commons-lang3-3.8.jar to allows Struts users to fix CVE-2018-11776 in

Re: Just Joined - Introduction

2018-11-22 Thread Jonathan Gallimore
Hi Ferdi! Thank for posting, and welcome! I see a few folks on here have already replied, that is fantastic. If you're a total newcomer to TomEE, its worth grabbing the distributions and trying to get some existing applications you have used on WildFly deployed. We don't support the modules

TOMEE-2241: Best way to handle resolved Issue when update required?

2018-11-22 Thread Frankie
The TOMEE-2241 - Need to upgrade commons-lang3-3.5.jar to commons-lang3-3.8.jar to allows Struts users to fix CVE-2018-11776 in their app is already resolved, updating commons-lang3 dependency to 3.8.0.There is a bugfix version 3.8.1 of

Re: Just Joined - Introduction

2018-11-22 Thread Ivan Junckes Filho
Another thing I forgot to say. During this process of creating the example you might find a bug, I did it creating the @Gauge example. The MP release is still not final, so it might happen. If you find it, it will be a great way to start fixing a bug. On Thu, Nov 22, 2018 at 9:42 AM Ivan Junckes

Re: Just Joined - Introduction

2018-11-22 Thread Ivan Junckes Filho
Hi Ferdi, I am glad you made it here! I know you would like to fix a bug in TomEE, but I would like to suggest that you start with an example. It will help you navigate the code and learn more about it before going into deeper areas. I created a JIRA ticket for you, it has a lot of information

Re: Just Joined - Introduction

2018-11-22 Thread Ferdi
Hi Jean-Louis, Could you point me to the 'examples' approach you've mentioned? Generally I'd like to fix things up, but I'm also interested in knowing how actually the specifications (from JSR documents and/or MicroProfile specs) are implemented. I mean, I know how to build Java apps,

Re: Just Joined - Introduction

2018-11-22 Thread Jean-Louis Monteiro
Hi Ferdi, Welcome and thank you for the message. It's always great to see new people around. What would you like to work on? >From what I can see, I would probably suggest the examples approach. This is usually a perfect way to get into TomEE, learn how it works. Eventually, you get into some