Re: Support for multiple schema implementations in one response

2021-01-11 Thread Ivan Junckes Filho
ersion 2. But I >> haven't try it yet with the maven plugin you mention. >> >> El vie, 8 ene 2021 a las 7:08, Ivan Junckes Filho () >> escribió: >> >>> Hello guys, I would like to know if there is a way with >>> geronimo-openapi-plugin to generate t

Support for multiple schema implementations in one response

2021-01-08 Thread Ivan Junckes Filho
Hello guys, I would like to know if there is a way with geronimo-openapi-plugin to generate the documentation for different classes in the same status code. I didn't tried different ways, but couldn't make it work. Any advise on this? Is this supported? @APIResponse( name = "badRequest",

Re: [VOTE] Release geronimo-openapi-1.0.14

2020-11-30 Thread Ivan Junckes Filho
+1 thank you for this Romain On Mon, Nov 30, 2020 at 7:53 AM Romain Manni-Bucau wrote: > Hi everyone, > > Here is the vote for Geronimo OpenAPI 1.0.14. > Here is the changelog: > > 1–4 of 4View in Issue Navigator >

Re: Metrics issue

2019-08-06 Thread Ivan Junckes Filho
Hernandez wrote: > Hi Ivan, > > Can you share the version of TomEE you were having this issue? > I want to double-check if was or not fixed on current master but I > couldn't reproduce the issue. > > El lun., 29 jul. 2019 a las 11:16, Ivan Junckes Filho (< > ivanjunc...@gm

Re: Metrics issue

2019-07-29 Thread Ivan Junckes Filho
Ok thanks Romain! On Mon, Jul 29, 2019 at 1:59 PM Romain Manni-Bucau wrote: > More likely refine them to exclude geronimo metrics common. Think it was > fixed on master though, not sure it got released. > > Le lun. 29 juil. 2019 à 18:07, Ivan Junckes Filh

Re: Metrics issue

2019-07-29 Thread Ivan Junckes Filho
:02 PM Romain Manni-Bucau wrote: > Hi Ivan > > Looks like a tomee config issue, common module shouldnt be scanned, can > you check your exclusion list? > > Le lun. 29 juil. 2019 à 17:47, Ivan Junckes Filho > a écrit : > >> Hey guys, there is an interesting issue h

Metrics issue

2019-07-29 Thread Ivan Junckes Filho
Hey guys, there is an interesting issue happening with metrics in tomee. When I can /metrics in the tomee runnning in my localhost wihout docker I am able to access /metrics endpoint. But in the environment that I use docker to run TomEE I get the issue below on calling /metrics. Anybody can

Re: [VOTE] Release Apache Geronimo OpenAPI 1.0.8

2019-04-29 Thread Ivan Junckes Filho
+1 On Mon, Apr 29, 2019 at 6:57 AM Jean-Baptiste Onofré wrote: > +1 (non binding) > > Regards > JB > > On 29/04/2019 09:41, Romain Manni-Bucau wrote: > > Hi guys, > > > > here is the vote for Geronimo OpenAPI 1.0.8. This is mainly for a few > > fixes/enhancement and to enable CXF to upgrade: >

Re: OpenTracing Zipkin

2019-04-15 Thread Ivan Junckes Filho
t; > Le lun. 15 avr. 2019 à 20:36, Ivan Junckes Filho > a écrit : > >> Romain I was actually using this docker-compose from JL as reference, but >> wasn't able to make it work. >> >> I will have a look at it again this week, if I have improvement I will >> let

Re: OpenTracing Zipkin

2019-04-15 Thread Ivan Junckes Filho
ile-samples/blob/master/docker-compose.yaml > - you can need to inline the yaml depending you docker compose > version/setup, multiline is not always well supported. > > > > Le ven. 12 avr. 2019 à 22:10, Ivan Junckes Filho a > écrit : > > > Hey guys I am having a

OpenTracing Zipkin

2019-04-12 Thread Ivan Junckes Filho
Hey guys I am having a hard time to setup TomEE with OpenTracing 1.0.2 + Zipkin. When I send the payload to the zipkin API http://localhost:9411/api/v2/spans, I keep getting back: 400 - "Expected a JSON_V2 encoded list, but received: JSON_V1" My payload is: [ { "annotations": [ {

Re: [VOTE] Release Geronimo OpenAPI 1.0.7

2019-03-29 Thread Ivan Junckes Filho
+1 On Fri, Mar 29, 2019 at 9:30 AM Daniel Cunha wrote: > +1 > > > Em sex, 29 de mar de 2019 às 08:31, Raymond Auge > escreveu: > >> +1 >> >> - Ray >> >> On Fri, Mar 29, 2019, 04:54 Romain Manni-Bucau, >> wrote: >> >>> Hi guys, >>> >>> Here is the vote for our microprofile openapi

Re: OpenAPI and tags

2019-03-28 Thread Ivan Junckes Filho
+1 On Thu, Mar 28, 2019 at 12:32 PM Romain Manni-Bucau wrote: > Hi guys, > > Seems we were not generating valid openapi.json in some cases when tags > were set (https://issues.apache.org/jira/browse/GERONIMO-6716) > > I propose to run a release tomorrow if there is no objection and pending >

Re: [VOTE] Release Apache Geronimo OpenAPI 1.0.6

2019-02-25 Thread Ivan Junckes Filho
+1 On Mon, Feb 25, 2019 at 5:32 AM Jean-Baptiste Onofré wrote: > +1 (non binding) > > Regards > JB > > On 25/02/2019 08:51, Romain Manni-Bucau wrote: > > Hi guys, > > > > Here is the vote for our openapi+microprofile integration impl 1.0.6. > > > > Staging repo is available > > at >

Re: Release train?

2019-02-24 Thread Ivan Junckes Filho
Hi Romain, I would love if the schema changes and the "in" ticket from openapi are in this M3 release, is that possible? On Sun, Feb 24, 2019 at 11:53 AM Romain Manni-Bucau wrote: > Hi guys, several users asked for some release in MP land, anything you are > working on or would like in? I will

[jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-21 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16774079#comment-16774079 ] Ivan Junckes Filho commented on GERONIMO-6695: -- Do you think this and also

[jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-20 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16773390#comment-16773390 ] Ivan Junckes Filho commented on GERONIMO-6695: -- Now it works, thanks Romain! > Open

[jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-20 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16773200#comment-16773200 ] Ivan Junckes Filho commented on GERONIMO-6695: -- [~romain.manni-bucau] it took me some

[jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-19 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16772350#comment-16772350 ] Ivan Junckes Filho commented on GERONIMO-6695: -- I am trying to build an example

[jira] [Updated] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-19 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Junckes Filho updated GERONIMO-6695: - Attachment: image-2019-02-19-18-27-41-292.png > OpenAPI - Sche

[jira] [Commented] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-19 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16772160#comment-16772160 ] Ivan Junckes Filho commented on GERONIMO-6695: -- [~romain.manni-bucau] this is on master

[jira] [Updated] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-19 Thread Ivan Junckes Filho (JIRA)
[ https://issues.apache.org/jira/browse/GERONIMO-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Junckes Filho updated GERONIMO-6695: - Description: 1 - Name of classes are not user friendly 2 - Internal system

[jira] [Created] (GERONIMO-6695) OpenAPI - Schemas are not working properly with a few issues

2019-02-19 Thread Ivan Junckes Filho (JIRA)
Ivan Junckes Filho created GERONIMO-6695: Summary: OpenAPI - Schemas are not working properly with a few issues Key: GERONIMO-6695 URL: https://issues.apache.org/jira/browse/GERONIMO-6695

Re: "In" parameter not being populated OpenAPI

2019-02-11 Thread Ivan Junckes Filho
of TomEE doesn't even show ref or any schema classes. On Mon, Feb 11, 2019 at 12:12 PM Romain Manni-Bucau wrote: > Hi Ivan, no the mapping can need some polishing to become mainstream > (cause it is not openapi role to reimplement all mappers logic) but the > annotation mapping is don

Re: "In" parameter not being populated OpenAPI

2019-02-11 Thread Ivan Junckes Filho
/application-development/java-ee-8-high-performance> > > > Le lun. 11 févr. 2019 à 14:23, Ivan Junckes Filho > a écrit : > >> Looks like it is fixed in the master, but when I get the lib and add to >> tomee it shows some bad behavior with the schemas. >> >>

Re: "In" parameter not being populated OpenAPI

2019-02-11 Thread Ivan Junckes Filho
Looks like it is fixed in the master, but when I get the lib and add to tomee it shows some bad behavior with the schemas. [image: image.png] On Mon, Feb 11, 2019 at 11:09 AM Ivan Junckes Filho wrote: > No I didn't, I will have a look. thanks > > On Mon, Feb 11, 2019 at 11:08 AM Rom

Re: "In" parameter not being populated OpenAPI

2019-02-11 Thread Ivan Junckes Filho
tps://rmannibucau.metawerx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book > < > https://www.packtpub.com/application-development/java-ee-8-high-pe

Re: @OpenAPIDefinition not working

2019-02-11 Thread Ivan Junckes Filho
e had to set that for the TCK to pass, but the > config never reached the final distribution. I did notice that and I’ve > added it in case a MP app is detected, but it was after M2 was released. > > Cheers, > Roberto > > On 8 Feb 2019, at 21:06, Ivan Junckes Filho wrote: > >

"In" parameter not being populated OpenAPI

2019-02-11 Thread Ivan Junckes Filho
Hey guys, I think there is an issue with parameters as the "in" property is required by the spec and is not showing up. This affects swagger-ui as it doesn't replace uf by the actual value. Anyone aware of this issue? { "openapi": "3.0.1", "paths": { "/test/{uf}": { "get": {

Re: @OpenAPIDefinition not working

2019-02-08 Thread Ivan Junckes Filho
velopment/java-ee-8-high-performance > > > > > Le ven. 8 févr. 2019 à 19:01, Ivan Junckes Filho a > écrit : > > > Interesting, ok thanks Romain. > > > > On Fri, Feb 8, 2019 at 3:29 PM Romain Manni-Bucau > > > wrote: > > > >> Hi Ivan,

Re: @OpenAPIDefinition not working

2019-02-08 Thread Ivan Junckes Filho
cation-development/java-ee-8-high-performance> > > > Le ven. 8 févr. 2019 à 18:14, Ivan Junckes Filho > a écrit : > >> The @OpenAPIDefinition is not being picked up by the CDI extension >> because it is only getting InternalApplication instead of picking up my >> c

@OpenAPIDefinition not working

2019-02-08 Thread Ivan Junckes Filho
The @OpenAPIDefinition is not being picked up by the CDI extension because it is only getting InternalApplication instead of picking up my custom Application config. Any ideas why? OpenAPIDefinition configs are therefore not showing up in the openapi doc. @OpenAPIDefinition(info = @Info(

MP RestClient issue DuplicateDefinitionException

2019-02-07 Thread Ivan Junckes Filho
Hey guys, I need help with rest client in TomEE. I am deploying in the same server 2 apps. app1 -> Has the client interfaces, but I exclude from the war. app2 -> Has the client interfaces from app1 in a jar. I deploy app1 and app2 in the same server and I get the DuplicateDefinitionException.

Re: [ANNOUNCE] Apache Geronimo OpenAPI 1.0.5 released

2019-02-04 Thread Ivan Junckes Filho
Thanks Romain! On Sat, Feb 2, 2019 at 2:33 PM Romain Manni-Bucau wrote: > The Apache Geronimo team is happy to announce the Apache Geronimo OpenAPI > 1.0.5 > release. > > It brings several fixes in the generated openapi model. > > You can more on Apache Geronimo OpenAPI and more generally the

Re: [VOTE] Release Apache Geronimo OpenAPI 1.0.5

2019-01-28 Thread Ivan Junckes Filho
+1 thanks Romain On Mon, Jan 28, 2019 at 1:38 PM Raymond Auge wrote: > +1 > > - Ray > > On Mon, Jan 28, 2019 at 9:25 AM Romain Manni-Bucau > wrote: > >> Hi guys, >> >> As requested last week, here is the Apache Geronimo OpenAPI 1.0.5 vote. >> >> Staging repo can be found at >>

Re: OpenAPI integration with metrics/health

2019-01-25 Thread Ivan Junckes Filho
;http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le ven. 25 janv. 2019 à 15:18, Iva

Re: OpenAPI integration with metrics/health

2019-01-25 Thread Ivan Junckes Filho
AM Ivan Junckes Filho wrote: > Thanks Romain, I will have a look. > > On Fri, Jan 18, 2019 at 10:41 AM Romain Manni-Bucau > wrote: > >> You can use: >> >> void start(@Observes @intiialzed(ApplicationScoped.class) Object event, >> final GeronimoOpen

Re: OpenTracing - nullpointer OpenTracingFilter

2019-01-23 Thread Ivan Junckes Filho
Good news, this is not happening in the master. I will close the ticket and wait for the release. On Wed, Jan 23, 2019 at 11:16 AM Ivan Junckes Filho wrote: > This is the ticket: > https://issues.apache.org/jira/browse/TOMEE-2457 > > This looks like a release blocker in my opinion.

Re: OpenTracing - nullpointer OpenTracingFilter

2019-01-23 Thread Ivan Junckes Filho
ibucau> | Blog > > <https://rmannibucau.metawerx.net/> | Old Blog > > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book > > < > https://www.packtp

Re: OpenTracing - nullpointer OpenTracingFilter

2019-01-22 Thread Ivan Junckes Filho
ps://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le mar. 22 janv. 2019 à 15:37, Ivan Junckes Filho > a écrit : > >> I would say if the ex

Re: OpenTracing - nullpointer OpenTracingFilter

2019-01-22 Thread Ivan Junckes Filho
/application-development/java-ee-8-high-performance> > > > Le mar. 22 janv. 2019 à 14:39, Ivan Junckes Filho > a écrit : > >> Hey guys, I would like some help with an opentracing issue. I am not sure >> if it was already fixed or not. It was happening on version 1

OpenTracing - nullpointer OpenTracingFilter

2019-01-22 Thread Ivan Junckes Filho
Hey guys, I would like some help with an opentracing issue. I am not sure if it was already fixed or not. It was happening on version 1.0.0, current M1 release of TomEE 8. There is a nullpointer happening in OpenTracingFilter and it seems to be because this injection is null. @Inject private

Re: OpenAPI integration with metrics/health

2019-01-18 Thread Ivan Junckes Filho
Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le ven. 18 janv. 2019 à

Re: OpenAPI integration with metrics/health

2019-01-18 Thread Ivan Junckes Filho
Cool I will have a look next week. Can you point out which event is it? On Thu, Jan 17, 2019 at 1:52 PM Romain Manni-Bucau wrote: > > > > Le jeu. 17 janv. 2019 à 16:49, Ivan Junckes Filho > a écrit : > >> On Thu, Jan 17, 2019 at 12:11 PM Romain Manni-Bucau < >

Re: OpenAPI integration with metrics/health

2019-01-17 Thread Ivan Junckes Filho
<https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le jeu. 17 janv. 2019 à 14:49, Ivan Junckes Filho > a écrit : > >> Hey guys, I was trying to make the openapi document generated by >> geronimo-openapi to work with swagger-ui. The

OpenAPI integration with metrics/health

2019-01-17 Thread Ivan Junckes Filho
Hey guys, I was trying to make the openapi document generated by geronimo-openapi to work with swagger-ui. The issue is I can't execute requests from swagger-ui in the endpoints generated (metrics, health, openapi) by TomEE as they don't have a @ApiResponse annotation and swagger-ui doesn't

Re: Geronimo OpenAPI maven plugin coming changes

2019-01-10 Thread Ivan Junckes Filho
ue you are soeaking about? Or did you find another case - i > know with some ioc lib proxies can swallow annotation but i guess you > tested on tomee so it should be fine? > > Le mer. 9 janv. 2019 18:38, Ivan Junckes Filho a > écrit : > >> Hey Romain, when you say info are y

Re: [VOTE] Release Apache Microprofile Aggregator 1.0.1

2019-01-10 Thread Ivan Junckes Filho
+1 On Thu, Jan 10, 2019 at 3:03 AM Jean-Baptiste Onofré wrote: > +1 (non binding) > > Regards > JB > > On 09/01/2019 14:17, Romain Manni-Bucau wrote: > > Hi guys, > > > > Here is the annouced vote for our microprofile aggregator project. Here > > are the fixed issues: > > > > P T Key

Re: [VOTE] Release Apache Geronimo OpenAPI 1.0.4 (take 2 - enum fix included)

2019-01-10 Thread Ivan Junckes Filho
+1 On Thu, Jan 10, 2019 at 3:02 AM Jean-Baptiste Onofré wrote: > +1 (non binding) > > Regards > JB > > On 09/01/2019 14:09, Romain Manni-Bucau wrote: > > Hi guys, > > > > We already have a few fixes which can be blocker for some users so i'd > > like to release our MP openapi impl. Here are the

Re: Geronimo OpenAPI maven plugin coming changes

2019-01-09 Thread Ivan Junckes Filho
Hey Romain, when you say info are you talking about the annotations below? I was planning to open an issue to have that information in the open api document. Is this the same issue? @OpenAPIDefinition(info = @Info(title = "App Name", version = "1.0")) On Wed, Jan 9, 2019 at 7:47 AM Romain

Re: Ability for my changes to go in

2019-01-09 Thread Ivan Junckes Filho
t and 2. guide > you earlier and avoid to ask you to rework the pr probably. Wdyt? > > Romain > > > Le mar. 8 janv. 2019 18:56, Ivan Junckes Filho a > écrit : > >> Hey Romain, I see your comments with feedback in the PR I opened, thank >> you for that. I had

Ability for my changes to go in

2019-01-08 Thread Ivan Junckes Filho
Hey Romain, I see your comments with feedback in the PR I opened, thank you for that. I had a busy weekend and couldn't reply immediately. https://github.com/apache/geronimo-openapi/pull/4 But I saw also in the PR that there were some conflicts and the change was incorporated in the master

Re: TOMEE-2289

2019-01-04 Thread Ivan Junckes Filho
FYI I opened a PR on geronimo to fix the issue with text/html. https://github.com/apache/geronimo-openapi/pull/4 Postman was working because it used */* and the implementation was properly handling it, but not handling text/html. On Thu, Jan 3, 2019 at 2:34 PM Ivan Junckes Filho wrote: >

[jira] [Created] (GERONIMO-6670) Content-type text/html is returning error on /open

2019-01-04 Thread Ivan Junckes Filho (JIRA)
Ivan Junckes Filho created GERONIMO-6670: Summary: Content-type text/html is returning error on /open Key: GERONIMO-6670 URL: https://issues.apache.org/jira/browse/GERONIMO-6670 Project

Re: [VOTE] Apache Geronimo OpenAPI 1.0.3

2019-01-04 Thread Ivan Junckes Filho
+1 On Thu, Jan 3, 2019 at 6:30 PM Mark Struberg wrote: > +1 > > LieGrue, > strub > > > > Am 02.01.2019 um 16:10 schrieb Romain Manni-Bucau >: > > > > Hi guys, > > > > as mentionned here is the vote fore Geronimo OpenAPI 1.0.3 to ensure we > don't need jackson when using it > > > > The staging

Re: [VOTE] Apache Geronimo Metrics 1.0.2

2019-01-04 Thread Ivan Junckes Filho
+1 On Thu, Jan 3, 2019 at 6:39 PM Mark Struberg wrote: > +1 > > LieGrue, > strub > > > > Am 02.01.2019 um 16:18 schrieb Romain Manni-Bucau >: > > > > Hi guys, > > > > As mentionned here is the vote for Geronimo Metrics 1.0.2 to ensure > sigar extension does not register twice the same

Re: Microprofile OpenAPI

2018-11-30 Thread Ivan Junckes Filho
e lib. > > On Fri, Nov 30, 2018 at 10:25 AM Ivan Junckes Filho > > wrote: > > > The goal for this is to implement Microprofile Specifications. So what > the > > Microprofile community decides is important and needs to be followed. Of > > course everyone has a v

Re: Microprofile OpenAPI

2018-11-30 Thread Ivan Junckes Filho
; | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le ven. 30 nov. 2018 à 17:11, Ivan Junckes Filho > a écrit : > >> This is against the spec as well, yaml is required and must always be >> default. Do we really wan

Re: Microprofile OpenAPI

2018-11-30 Thread Ivan Junckes Filho
tps://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le ven. 30 nov. 2018 à 16:51, Ivan Junckes Filho > a écrit : > >> @Romain Manni-Bucau not sure I understood you. >> Are you saying you

Re: Microprofile OpenAPI

2018-11-30 Thread Ivan Junckes Filho
m decides, we need to make > > it work as the specification says. Then iterate from there. > > In my opinion this is a big problem that makes us strongly incompatible > > with the standard. > > > +1 > > El vie., 30 nov. 2018 a las 5:44, Ivan Junckes Filho (&l

Re: [jira] [Commented] (GERONIMO-6658) Issue @Gauge Accept: application/json

2018-11-30 Thread Ivan Junckes Filho
he message, please log on GitHub and use the > URL above to go to the specific comment. > > For queries about this service, please contact Infrastructure at: > us...@infra.apache.org > > > > Issue @Gauge Accept: application/json > > ---

Re: Microprofile OpenAPI

2018-11-30 Thread Ivan Junckes Filho
t; If you wanted to explicitly request a YAML response, I'd expect one of > >>> these to work: > >>> > >>> Accept: application/x-yaml > >>> Accept: text/yaml > >>> > >>> I'd expect a Content-Type header on the response to iden

Re: Microprofile OpenAPI

2018-11-29 Thread Ivan Junckes Filho
of >> the core of microprofile (and hopefully will never be) so no reason to >> import a lib (which can be heavy and potentially with vulnerabilities + >> work for the users to maintain it) for that. >> >> Romain Manni-Bucau >> @rmannibucau <https://twitter.com/rmannibu

Re: Microprofile OpenAPI

2018-11-29 Thread Ivan Junckes Filho
werx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > >

Microprofile OpenAPI

2018-11-29 Thread Ivan Junckes Filho
Hey guys, I think I found a bug in OpenAPI implementation. The spec says: "The default format of the /openapi endpoint is YAML." But when I try to access /openapi it returns JSON by default. This is not correct. Also how can I access yaml if it is not default?

Write tests geronimo

2018-11-23 Thread Ivan Junckes Filho
Hello guys, I did a change on Geronimo Metrics. https://github.com/apache/geronimo-metrics/pull/2 geronimo-metrics, as you are aware, is a library used in TomEE. I am wondering how can I write a test for my change. Writing a test in TomEE for this is very simple, but writing a test in geronimo I

Re: Metrics Gauge Example and Bug

2018-11-23 Thread Ivan Junckes Filho
zonProvider. > > The fix should be just to replace one with another. Let me try it and test. > > Cheers, > Roberto > > On 23 Nov 2018, at 12:06, Ivan Junckes Filho > wrote: > > I was using the current master. > > 1.1.9 > > I will try to use the version Romai

Re: Metrics Gauge Example and Bug

2018-11-23 Thread Ivan Junckes Filho
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 <mailto:ivanjunc...@gmail.com>> a écrit : > &

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. > >

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 wro

[jira] [Created] (GERONIMO-6658) Issue @Gauge Accept: application/json

2018-11-22 Thread Ivan Junckes Filho (JIRA)
Ivan Junckes Filho created GERONIMO-6658: Summary: Issue @Gauge Accept: application/json Key: GERONIMO-6658 URL: https://issues.apache.org/jira/browse/GERONIMO-6658 Project: Geronimo

Re: Metrics Gauge Example and Bug

2018-11-22 Thread Ivan Junckes Filho
me know. On Wed, Nov 21, 2018 at 7:59 PM Romain Manni-Bucau wrote: > Hi Ivan > > It is a bug in tomee scanning I think > > > Le mer. 21 nov. 2018 21:35, Ivan Junckes Filho a > écrit : > > > Hey guys, I was writing an example of metrics gauge (WIP). > >

Metrics Gauge Example and Bug

2018-11-21 Thread Ivan Junckes Filho
Hey guys, I was writing an example of metrics gauge (WIP). https://github.com/apache/tomee/pull/213 And I found a bug when trying access a gauge with "Accept: application/json". Just to let you know that I will work on a fix for this: 21-Nov-2018 17:24:08.811 WARNING [http-nio-8080-exec-4]

Re: Re: TomEE8 RC2: MP Metrics @Counted throws 500

2018-11-20 Thread Ivan Junckes Filho
wrote: > Hello Ivan Junckes Filho, > https://www.morebeer.com/category/kit-week.html?ref=2C > > Cheers > > Mike Albrecht > Customer Service Representative > MoreFlavor! Inc. > 1-800-600-0033 > > On Tue, Nov 20 at 3:28 AM , Ivan Junckes Filho > wrote: > Hey Ce

Re: TomEE8 RC2: MP Metrics @Counted throws 500

2018-11-20 Thread Ivan Junckes Filho
Hey Cesar, I was able to make it work with my example. Take a look there I found a bug with geronimo-metrics-1.0.0 throwing a null pointer when the app metric is not found instead of returning a blank page. I am not sure if it happens in master. I will be looking into it. On Mon, Nov 19, 2018 at

Re: TomEE8 RC2: MP Metrics @Counted throws 500

2018-11-19 Thread Ivan Junckes Filho
Hey guys, I also had the same issue here. The application metrics do not work. Base and Vendor metrics are fine. I am troubleshooting to see if I can find the issue. I will let you know if I find something. Please if you already had the chance to look into this let me know. On Tue, Oct 16,

Re: [VOTE] Geronimo Validation 2.0 (spec) v1.0

2018-10-01 Thread Ivan Junckes Filho
+1 On Mon, Oct 1, 2018 at 8:02 AM Roberto Cortez wrote: > +1 > > On 30 Sep 2018, at 16:38, Romain Manni-Bucau > wrote: > > Hi guys, > > To enable BVal and TomEE releases, I'd like to release our validation spec > bundle. > > Here is the staging repo: >