From 00hf11 at gmail.com Tue Jun 2 21:23:13 2015 From: 00hf11 at gmail.com (helio frota) Date: Tue, 2 Jun 2015 22:23:13 -0300 Subject: [Apiman-user] [apiman-user] hi - and mailing list tip Message-ID: Hi all, the mailing list subscription ( https://lists.jboss.org/mailman/listinfo/apiman-user) still down but is possible to join sending a mail to: apiman-user-join at lists.jboss.org and follow the instructions to confirm. helio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150602/7ce2ab13/attachment.html From 00hf11 at gmail.com Tue Jun 2 21:32:11 2015 From: 00hf11 at gmail.com (helio frota) Date: Tue, 2 Jun 2015 22:32:11 -0300 Subject: [Apiman-user] feedback - current -full build- failed Message-ID: Hi all, When trying to do a full build I'm getting a failed test: ------------------------------------------------------------------------------- Test set: io.apiman.manager.test.ServicesTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.989 sec <<< FAILURE! - in io.apiman.manager.test.ServicesTest test(io.apiman.manager.test.ServicesTest) Time elapsed: 2.224 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<...dpointProperties":{"[foo":"foo-value","bar":"bar]-value"},"servicePol...> but was:<...dpointProperties":{"[bar":"bar-value","foo":"foo]-value"},"servicePol...> helio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150602/e529da45/attachment.html From eric.wittmann at redhat.com Tue Jun 2 23:04:13 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Tue, 02 Jun 2015 23:04:13 -0400 Subject: [Apiman-user] feedback - current -full build- failed In-Reply-To: References: Message-ID: <556E6EAD.2020706@redhat.com> Thanks for the bug report. Looks like that unit test is non-deterministic. The order of the endpoint properties is not important. I'll have to give this one some thought. You can track the progress of this bug here: https://issues.jboss.org/browse/APIMAN-450 -Eric On 6/2/2015 9:32 PM, helio frota wrote: > Hi all, > > When trying to do a full build I'm getting a failed test: > > ------------------------------------------------------------------------------- > Test set: io.apiman.manager.test.ServicesTest > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.989 > sec <<< FAILURE! - in io.apiman.manager.test.ServicesTest > test(io.apiman.manager.test.ServicesTest) Time elapsed: 2.224 sec <<< > FAILURE! > org.junit.ComparisonFailure: > expected:<...dpointProperties":{"[foo":"foo-value","bar":"bar]-value"},"servicePol...> > but > > was:<...dpointProperties":{"[bar":"bar-value","foo":"foo]-value"},"servicePol...> > > helio > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From 00hf11 at gmail.com Tue Jun 2 23:21:34 2015 From: 00hf11 at gmail.com (helio frota) Date: Wed, 3 Jun 2015 00:21:34 -0300 Subject: [Apiman-user] feedback - current -full build- failed In-Reply-To: <556E6EAD.2020706@redhat.com> References: <556E6EAD.2020706@redhat.com> Message-ID: Great ! Next time I will report on Jira. helio On Wed, Jun 3, 2015 at 12:04 AM, Eric Wittmann wrote: > Thanks for the bug report. Looks like that unit test is > non-deterministic. The order of the endpoint properties is not important. > I'll have to give this one some thought. > > You can track the progress of this bug here: > > https://issues.jboss.org/browse/APIMAN-450 > > -Eric > > > On 6/2/2015 9:32 PM, helio frota wrote: > >> Hi all, >> >> When trying to do a full build I'm getting a failed test: >> >> >> ------------------------------------------------------------------------------- >> Test set: io.apiman.manager.test.ServicesTest >> >> ------------------------------------------------------------------------------- >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.989 >> sec <<< FAILURE! - in io.apiman.manager.test.ServicesTest >> test(io.apiman.manager.test.ServicesTest) Time elapsed: 2.224 sec <<< >> FAILURE! >> org.junit.ComparisonFailure: >> >> expected:<...dpointProperties":{"[foo":"foo-value","bar":"bar]-value"},"servicePol...> >> but >> >> >> was:<...dpointProperties":{"[bar":"bar-value","foo":"foo]-value"},"servicePol...> >> >> helio >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150603/c05968d8/attachment.html From marc.savy at redhat.com Wed Jun 3 04:51:58 2015 From: marc.savy at redhat.com (Marc Savy) Date: Wed, 03 Jun 2015 09:51:58 +0100 Subject: [Apiman-user] [apiman-user] hi - and mailing list tip In-Reply-To: References: Message-ID: <556EC02E.7040102@redhat.com> Hi All, Thanks to Helio for the tip. The good news is that the web link is back up again. Regards, Marc On 03/06/2015 02:23, helio frota wrote: > Hi all, > > the mailing list subscription > (https://lists.jboss.org/mailman/listinfo/apiman-user) still down but is > possible to join sending a mail to: > > apiman-user-join at lists.jboss.org > > and follow the instructions to confirm. > > helio > > > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From 00hf11 at gmail.com Wed Jun 3 06:45:13 2015 From: 00hf11 at gmail.com (helio frota) Date: Wed, 3 Jun 2015 07:45:13 -0300 Subject: [Apiman-user] [apiman-user] hi - and mailing list tip In-Reply-To: <556EC02E.7040102@redhat.com> References: <556EC02E.7040102@redhat.com> Message-ID: Awesome ! On Wed, Jun 3, 2015 at 5:51 AM, Marc Savy wrote: > Hi All, > > Thanks to Helio for the tip. The good news is that the web link is back > up again. > > Regards, > Marc > > On 03/06/2015 02:23, helio frota wrote: > > Hi all, > > > > the mailing list subscription > > (https://lists.jboss.org/mailman/listinfo/apiman-user) still down but is > > possible to join sending a mail to: > > > > apiman-user-join at lists.jboss.org apiman-user-join at lists.jboss.org> > > > > and follow the instructions to confirm. > > > > helio > > > > > > > > > > _______________________________________________ > > Apiman-user mailing list > > Apiman-user at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/apiman-user > > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150603/ac7566a5/attachment.html From eric.wittmann at redhat.com Thu Jun 4 10:19:34 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Thu, 04 Jun 2015 10:19:34 -0400 Subject: [Apiman-user] Announcement: apiman 1.1.3.Final Released! Message-ID: <55705E76.8080005@redhat.com> You can find the release notes here: http://red.ht/1KcdRer Along with a number of bug fixes, this release has some nice new features including: * Support for Endpoint Security (both mtls and basic auth) http://www.apiman.io/latest/installation-guide.html#_how_to_enable_mtls_mutual_ssl_support_for_endpoint_security * Integration with Swagger UI http://www.apiman.io/blog/api-manager/swagger/service/ui/2015/06/02/swagger.html * A plugin policy junit testing framework http://www.apiman.io/blog/policy/junit/testing/2015/05/09/policy-testing.html Enjoy! -Eric From 00hf11 at gmail.com Fri Jun 5 21:15:40 2015 From: 00hf11 at gmail.com (helio frota) Date: Fri, 5 Jun 2015 22:15:40 -0300 Subject: [Apiman-user] maybe in a future apiman with wildfly-swarm ? Message-ID: static content support for a jar ? https://github.com/wildfly-swarm/wildfly-swarm/issues/21 : D jaxrs + UI (static) ? o_0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150605/4759c13c/attachment.html From bgaisford at punagroup.com Sat Jun 6 18:30:33 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Sat, 6 Jun 2015 12:30:33 -1000 Subject: [Apiman-user] New Contributor Message-ID: Hello, I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. Thanks, Brandon From bgaisford at punagroup.com Sat Jun 6 19:19:36 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Sat, 6 Jun 2015 13:19:36 -1000 Subject: [Apiman-user] New Contributor In-Reply-To: References: Message-ID: I know v.10 of WildFly has recently moved to JDK 1.8. Perhaps I could make a branch off master and see what it takes to move APIMAN to WildFly 10 and JDK 1.8? Simply track the project changes to support next WildFly release and JDK 1.8. I have no context to know whether this is too big a bite to chew. Just throwing to out there, standing by? Brandon On Jun 6, 2015, at 12:30 PM, Brandon Gaisford wrote: > Hello, > > I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. > > Thanks, > > Brandon > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user From msavy at redhat.com Sun Jun 7 06:07:49 2015 From: msavy at redhat.com (Marc Savy) Date: Sun, 7 Jun 2015 06:07:49 -0400 (EDT) Subject: [Apiman-user] New Contributor In-Reply-To: References: Message-ID: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> Hi Brandon, With regards to the failure on Java 8: HashMap has non-deterministic ordering as you would expect, but our simple test framework currently has no way to express a set (order insensitive) vs a list (order sensitive). I seem to recall that Eric mentioned he's looking at a solution. Regards, Marc ----- Original Message ----- From: "Brandon Gaisford" To: apiman-user at lists.jboss.org Sent: Saturday, 6 June, 2015 11:30:33 PM Subject: [Apiman-user] New Contributor Hello, I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. Thanks, Brandon _______________________________________________ Apiman-user mailing list Apiman-user at lists.jboss.org https://lists.jboss.org/mailman/listinfo/apiman-user From bgaisford at punagroup.com Mon Jun 8 09:34:27 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Mon, 8 Jun 2015 03:34:27 -1000 Subject: [Apiman-user] New Contributor In-Reply-To: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> Message-ID: Thanks for the information. APIMAN-450 covers this issue, I?ll add a new comment. In this particular case, the test case is depending on specific key/value ordering being returned from HttpServletRequest.getInputStream(). The test case should be modified to either deserialize the payload into Apiman backing beans and do some sanity checks, or augment the existing String based assertions to be key/value order agnostic. I?d be happy to work on this one. Should I just go ahead and assign it to myself? Not sure what your preferred workflow is in JIRA. Brandon On Jun 7, 2015, at 12:07 AM, Marc Savy wrote: > Hi Brandon, > > With regards to the failure on Java 8: HashMap has non-deterministic ordering as you would expect, but our simple test framework currently has no way to express a set (order insensitive) vs a list (order sensitive). > > I seem to recall that Eric mentioned he's looking at a solution. > > Regards, > Marc > > ----- Original Message ----- > From: "Brandon Gaisford" > To: apiman-user at lists.jboss.org > Sent: Saturday, 6 June, 2015 11:30:33 PM > Subject: [Apiman-user] New Contributor > > Hello, > > I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. > > Thanks, > > Brandon > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user From eric.wittmann at redhat.com Mon Jun 8 10:41:56 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 08 Jun 2015 10:41:56 -0400 Subject: [Apiman-user] New Contributor In-Reply-To: References: Message-ID: <5575A9B4.7020001@redhat.com> Hi Brandon. Always thrilled to have contributors! Here are a few JIRA issues that should be quite easy to address but are not particularly interesting: https://issues.jboss.org/browse/APIMAN-458 https://issues.jboss.org/browse/APIMAN-455 https://issues.jboss.org/browse/APIMAN-452 Can you give me a sense of the kind of thing you would like to work on? For example, some possible areas of interest are: SQL/DDL database Front-end (angularjs, html, css) Runtime (core java code in the API Gateway) Thoughts? -Eric On 6/6/2015 6:30 PM, Brandon Gaisford wrote: > Hello, > > I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. > > Thanks, > > Brandon > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From eric.wittmann at redhat.com Mon Jun 8 10:45:46 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 08 Jun 2015 10:45:46 -0400 Subject: [Apiman-user] New Contributor In-Reply-To: References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> Message-ID: <5575AA9A.5010509@redhat.com> Happy to have you work on this! And if you have permission to assign it to yourself, then go ahead and do that. If not let me know and I'll either assign it to you or try to figure out how to give you privs to do it yourself. :) -Eric On 6/8/2015 9:34 AM, Brandon Gaisford wrote: > > Thanks for the information. APIMAN-450 covers this issue, I?ll add a new comment. In this particular case, the test case is depending on specific key/value ordering being returned from HttpServletRequest.getInputStream(). The test case should be modified to either deserialize the payload into Apiman backing beans and do some sanity checks, or augment the existing String based assertions to be key/value order agnostic. > > I?d be happy to work on this one. Should I just go ahead and assign it to myself? Not sure what your preferred workflow is in JIRA. > > Brandon > > > On Jun 7, 2015, at 12:07 AM, Marc Savy wrote: > >> Hi Brandon, >> >> With regards to the failure on Java 8: HashMap has non-deterministic ordering as you would expect, but our simple test framework currently has no way to express a set (order insensitive) vs a list (order sensitive). >> >> I seem to recall that Eric mentioned he's looking at a solution. >> >> Regards, >> Marc >> >> ----- Original Message ----- >> From: "Brandon Gaisford" >> To: apiman-user at lists.jboss.org >> Sent: Saturday, 6 June, 2015 11:30:33 PM >> Subject: [Apiman-user] New Contributor >> >> Hello, >> >> I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. >> >> Thanks, >> >> Brandon >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From bgaisford at punagroup.com Mon Jun 8 12:24:42 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Mon, 8 Jun 2015 06:24:42 -1000 Subject: [Apiman-user] New Contributor In-Reply-To: <5575AA9A.5010509@redhat.com> References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> <5575AA9A.5010509@redhat.com> Message-ID: <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> You are correct, I don?t have permissions to assign the issue to myself, so if you wouldn?t mind. Brandon On Jun 8, 2015, at 4:45 AM, Eric Wittmann wrote: > Happy to have you work on this! And if you have permission to assign it to yourself, then go ahead and do that. If not let me know and I'll either assign it to you or try to figure out how to give you privs to do it yourself. :) > > -Eric > > On 6/8/2015 9:34 AM, Brandon Gaisford wrote: >> >> Thanks for the information. APIMAN-450 covers this issue, I?ll add a new comment. In this particular case, the test case is depending on specific key/value ordering being returned from HttpServletRequest.getInputStream(). The test case should be modified to either deserialize the payload into Apiman backing beans and do some sanity checks, or augment the existing String based assertions to be key/value order agnostic. >> >> I?d be happy to work on this one. Should I just go ahead and assign it to myself? Not sure what your preferred workflow is in JIRA. >> >> Brandon >> >> >> On Jun 7, 2015, at 12:07 AM, Marc Savy wrote: >> >>> Hi Brandon, >>> >>> With regards to the failure on Java 8: HashMap has non-deterministic ordering as you would expect, but our simple test framework currently has no way to express a set (order insensitive) vs a list (order sensitive). >>> >>> I seem to recall that Eric mentioned he's looking at a solution. >>> >>> Regards, >>> Marc >>> >>> ----- Original Message ----- >>> From: "Brandon Gaisford" >>> To: apiman-user at lists.jboss.org >>> Sent: Saturday, 6 June, 2015 11:30:33 PM >>> Subject: [Apiman-user] New Contributor >>> >>> Hello, >>> >>> I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. >>> >>> Thanks, >>> >>> Brandon >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> From eric.wittmann at redhat.com Mon Jun 8 12:36:20 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 08 Jun 2015 12:36:20 -0400 Subject: [Apiman-user] New Contributor In-Reply-To: <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> <5575AA9A.5010509@redhat.com> <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> Message-ID: <5575C484.5070901@redhat.com> You got it. I also added you as a contributor to the apiman project in jira...so you *may* have permission to assign issues to yourself now. :) -Eric On 6/8/2015 12:24 PM, Brandon Gaisford wrote: > > You are correct, I don?t have permissions to assign the issue to myself, so if you wouldn?t mind. > > Brandon > > > On Jun 8, 2015, at 4:45 AM, Eric Wittmann wrote: > >> Happy to have you work on this! And if you have permission to assign it to yourself, then go ahead and do that. If not let me know and I'll either assign it to you or try to figure out how to give you privs to do it yourself. :) >> >> -Eric >> >> On 6/8/2015 9:34 AM, Brandon Gaisford wrote: >>> >>> Thanks for the information. APIMAN-450 covers this issue, I?ll add a new comment. In this particular case, the test case is depending on specific key/value ordering being returned from HttpServletRequest.getInputStream(). The test case should be modified to either deserialize the payload into Apiman backing beans and do some sanity checks, or augment the existing String based assertions to be key/value order agnostic. >>> >>> I?d be happy to work on this one. Should I just go ahead and assign it to myself? Not sure what your preferred workflow is in JIRA. >>> >>> Brandon >>> >>> >>> On Jun 7, 2015, at 12:07 AM, Marc Savy wrote: >>> >>>> Hi Brandon, >>>> >>>> With regards to the failure on Java 8: HashMap has non-deterministic ordering as you would expect, but our simple test framework currently has no way to express a set (order insensitive) vs a list (order sensitive). >>>> >>>> I seem to recall that Eric mentioned he's looking at a solution. >>>> >>>> Regards, >>>> Marc >>>> >>>> ----- Original Message ----- >>>> From: "Brandon Gaisford" >>>> To: apiman-user at lists.jboss.org >>>> Sent: Saturday, 6 June, 2015 11:30:33 PM >>>> Subject: [Apiman-user] New Contributor >>>> >>>> Hello, >>>> >>>> I?ve forked/cloned and successfully built the project using JDK 1.7 (fails with JDK 1.8 on OS X btw). After looking through the project JIRA, nothing immediately sticks out as a good issue for a newbie to work on. I?m hoping someone on the development team can steer me in the right direction. Continuing on to read what documentation I can find. >>>> >>>> Thanks, >>>> >>>> Brandon >>>> _______________________________________________ >>>> Apiman-user mailing list >>>> Apiman-user at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/apiman-user >>> >>> >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >>> > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From 00hf11 at gmail.com Mon Jun 8 15:31:26 2015 From: 00hf11 at gmail.com (helio frota) Date: Mon, 8 Jun 2015 16:31:26 -0300 Subject: [Apiman-user] Two wildfly same server Message-ID: Hi all, We have a server to setup apiman in production, but already exist a wildfly instance. My question is: Is 'correct' to change the ports of standalone-apiman.xml ? I did +1 to all ports helio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/c027019a/attachment-0001.html From jcechace at gmail.com Mon Jun 8 15:43:54 2015 From: jcechace at gmail.com (=?utf-8?Q?Jakub_=C4=8Cech=C3=A1=C4=8Dek?=) Date: Mon, 8 Jun 2015 21:43:54 +0200 Subject: [Apiman-user] Two wildfly same server In-Reply-To: References: Message-ID: Hi,? I will let somebody more knowledgeable to confirm this, but considering that -Djboss.socket.binding.port-offset=1 works just fine then changing the ports directly should also work.? You might need to adjust the Gateway port (from 8443 to 8444). This can be done in System Administration under the link "Manage Gateways?. ? Jakub. On 8 Jun 2015 at 21:31:37, helio frota (00hf11 at gmail.com) wrote: Hi all, We have a server to setup apiman in production, but already exist a wildfly instance. My question is: Is 'correct' to change the ports of standalone-apiman.xml ? I did +1 to all ports ??? ??? ??? ??? ??? ??? ??? ??? ????? ??? ? helio _______________________________________________ Apiman-user mailing list Apiman-user at lists.jboss.org https://lists.jboss.org/mailman/listinfo/apiman-user -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/b360d0b7/attachment.html From 00hf11 at gmail.com Mon Jun 8 15:52:33 2015 From: 00hf11 at gmail.com (helio frota) Date: Mon, 8 Jun 2015 16:52:33 -0300 Subject: [Apiman-user] Two wildfly same server In-Reply-To: References: Message-ID: Hi Jakub, Thanks for the information. When I click 'publish' button after change the ports i get this : Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused Can't add screenshots because mailing list is limited to 40KB On Mon, Jun 8, 2015 at 4:49 PM, helio frota <00hf11 at gmail.com> wrote: > Hi Jakub, > > Thanks for the information. > > When I click 'publish' button after change the ports i get this : > > Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 > [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused > > screenshots: > > > > ? > > > On Mon, Jun 8, 2015 at 4:43 PM, Jakub ?ech??ek wrote: > >> Hi, >> >> I will let somebody more knowledgeable to confirm this, but considering >> that -Djboss.socket.binding.port-offset=1 works just fine then changing the >> ports directly should also work. >> >> You might need to adjust the Gateway port (from 8443 to 8444). This can >> be done in System Administration under the link "Manage Gateways?. >> >> ? Jakub. >> >> On 8 Jun 2015 at 21:31:37, helio frota (00hf11 at gmail.com) wrote: >> >> Hi all, >> >> We have a server to setup apiman in production, but already exist a >> wildfly instance. >> >> My question is: >> >> Is 'correct' to change the ports of standalone-apiman.xml ? >> >> I did +1 to all ports >> >> > port-offset="${jboss.socket.binding.port-offset:0}"> >> > port="${jboss.management.http.port:*9991*}" /> >> > port="${jboss.management.https.port:*9994*}" /> >> >> >> >> >> >> >> >> >> >> >> helio >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/6be186a7/attachment.html From jcechace at gmail.com Mon Jun 8 16:47:08 2015 From: jcechace at gmail.com (=?UTF-8?B?SmFrdWIgxIxlY2jDocSNZWs=?=) Date: Mon, 8 Jun 2015 22:47:08 +0200 Subject: [Apiman-user] Two wildfly same server In-Reply-To: References: Message-ID: As I said, you need to change the port of API Gateway in APIMan's administration. Provided you use the default gateway: 1) go to http://localhost:8081/apimanui/api-manager/admin/gateways/TheGateway 2) change the enpoint from https://localhost:8443/apiman-gateway-api to https://localhost:8444/apiman-gateway-api (you need to reflect the change you made to https socket binding) and change the URL from On Mon, Jun 8, 2015 at 9:52 PM, helio frota <00hf11 at gmail.com> wrote: > Hi Jakub, > > Thanks for the information. > > When I click 'publish' button after change the ports i get this : > > Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 > [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused > > > Can't add screenshots because mailing list is limited to 40KB > > > > On Mon, Jun 8, 2015 at 4:49 PM, helio frota <00hf11 at gmail.com> wrote: > >> Hi Jakub, >> >> Thanks for the information. >> >> When I click 'publish' button after change the ports i get this : >> >> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 >> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused >> >> screenshots: >> >> >> >> ? >> >> >> On Mon, Jun 8, 2015 at 4:43 PM, Jakub ?ech??ek >> wrote: >> >>> Hi, >>> >>> I will let somebody more knowledgeable to confirm this, but considering >>> that -Djboss.socket.binding.port-offset=1 works just fine then changing the >>> ports directly should also work. >>> >>> You might need to adjust the Gateway port (from 8443 to 8444). This can >>> be done in System Administration under the link "Manage Gateways?. >>> >>> ? Jakub. >>> >>> On 8 Jun 2015 at 21:31:37, helio frota (00hf11 at gmail.com) wrote: >>> >>> Hi all, >>> >>> We have a server to setup apiman in production, but already exist a >>> wildfly instance. >>> >>> My question is: >>> >>> Is 'correct' to change the ports of standalone-apiman.xml ? >>> >>> I did +1 to all ports >>> >>> >> port-offset="${jboss.socket.binding.port-offset:0}"> >>> >> port="${jboss.management.http.port:*9991*}" /> >>> >> port="${jboss.management.https.port:*9994*}" /> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> helio >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/9e24148a/attachment-0001.html From 00hf11 at gmail.com Mon Jun 8 16:53:42 2015 From: 00hf11 at gmail.com (helio frota) Date: Mon, 8 Jun 2015 17:53:42 -0300 Subject: [Apiman-user] Two wildfly same server In-Reply-To: References: Message-ID: Ok, got it, going to try to do this here ( now in home ) thanks ! helio On Mon, Jun 8, 2015 at 5:47 PM, Jakub ?ech??ek wrote: > As I said, you need to change the port of API Gateway in APIMan's > administration. > > Provided you use the default gateway: > > 1) go to > http://localhost:8081/apimanui/api-manager/admin/gateways/TheGateway > 2) change the enpoint from https://localhost:8443/apiman-gateway-api to > https://localhost:8444/apiman-gateway-api (you need to reflect the change > you made to https socket binding) > > and change the URL from > > On Mon, Jun 8, 2015 at 9:52 PM, helio frota <00hf11 at gmail.com> wrote: > >> Hi Jakub, >> >> Thanks for the information. >> >> When I click 'publish' button after change the ports i get this : >> >> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 >> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused >> >> >> Can't add screenshots because mailing list is limited to 40KB >> >> >> >> On Mon, Jun 8, 2015 at 4:49 PM, helio frota <00hf11 at gmail.com> wrote: >> >>> Hi Jakub, >>> >>> Thanks for the information. >>> >>> When I click 'publish' button after change the ports i get this : >>> >>> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 >>> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused >>> >>> screenshots: >>> >>> >>> >>> ? >>> >>> >>> On Mon, Jun 8, 2015 at 4:43 PM, Jakub ?ech??ek >>> wrote: >>> >>>> Hi, >>>> >>>> I will let somebody more knowledgeable to confirm this, but considering >>>> that -Djboss.socket.binding.port-offset=1 works just fine then changing the >>>> ports directly should also work. >>>> >>>> You might need to adjust the Gateway port (from 8443 to 8444). This can >>>> be done in System Administration under the link "Manage Gateways?. >>>> >>>> ? Jakub. >>>> >>>> On 8 Jun 2015 at 21:31:37, helio frota (00hf11 at gmail.com) wrote: >>>> >>>> Hi all, >>>> >>>> We have a server to setup apiman in production, but already exist a >>>> wildfly instance. >>>> >>>> My question is: >>>> >>>> Is 'correct' to change the ports of standalone-apiman.xml ? >>>> >>>> I did +1 to all ports >>>> >>>> >>> port-offset="${jboss.socket.binding.port-offset:0}"> >>>> >>> port="${jboss.management.http.port:*9991*}" /> >>>> >>> port="${jboss.management.https.port:*9994*}" /> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> helio >>>> _______________________________________________ >>>> Apiman-user mailing list >>>> Apiman-user at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/apiman-user >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/2fbb51f2/attachment.html From 00hf11 at gmail.com Mon Jun 8 17:41:16 2015 From: 00hf11 at gmail.com (helio frota) Date: Mon, 8 Jun 2015 18:41:16 -0300 Subject: [Apiman-user] Two wildfly same server In-Reply-To: References: Message-ID: Hi Jakub, Working fine ! Thanks for the tip ! 18:38:24,437 INFO [stdout] (default task-19)* Successfully published Service testservice* on specified gateways: ServiceBean [organization=OrganizationBean [id=Test1, name=Test1, description=description of test1 org, createdBy=admin, createdOn=2015-06-08 18:36:43.352, modifiedBy=admin, modifiedOn=2015-06-08 18:36:43.352], id=testservice, name=testservice, description=null, createdBy=admin, createdOn=2015-06-08 18:36:54.017] helio On Mon, Jun 8, 2015 at 5:53 PM, helio frota <00hf11 at gmail.com> wrote: > Ok, got it, going to try to do this here ( now in home ) > > thanks ! > > helio > > On Mon, Jun 8, 2015 at 5:47 PM, Jakub ?ech??ek wrote: > >> As I said, you need to change the port of API Gateway in APIMan's >> administration. >> >> Provided you use the default gateway: >> >> 1) go to >> http://localhost:8081/apimanui/api-manager/admin/gateways/TheGateway >> 2) change the enpoint from https://localhost:8443/apiman-gateway-api to >> https://localhost:8444/apiman-gateway-api (you need to reflect the >> change you made to https socket binding) >> >> and change the URL from >> >> On Mon, Jun 8, 2015 at 9:52 PM, helio frota <00hf11 at gmail.com> wrote: >> >>> Hi Jakub, >>> >>> Thanks for the information. >>> >>> When I click 'publish' button after change the ports i get this : >>> >>> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 >>> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused >>> >>> >>> Can't add screenshots because mailing list is limited to 40KB >>> >>> >>> >>> On Mon, Jun 8, 2015 at 4:49 PM, helio frota <00hf11 at gmail.com> wrote: >>> >>>> Hi Jakub, >>>> >>>> Thanks for the information. >>>> >>>> When I click 'publish' button after change the ports i get this : >>>> >>>> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 >>>> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused >>>> >>>> screenshots: >>>> >>>> >>>> >>>> ? >>>> >>>> >>>> On Mon, Jun 8, 2015 at 4:43 PM, Jakub ?ech??ek >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I will let somebody more knowledgeable to confirm this, but >>>>> considering that -Djboss.socket.binding.port-offset=1 works just fine then >>>>> changing the ports directly should also work. >>>>> >>>>> You might need to adjust the Gateway port (from 8443 to 8444). This >>>>> can be done in System Administration under the link "Manage Gateways?. >>>>> >>>>> ? Jakub. >>>>> >>>>> On 8 Jun 2015 at 21:31:37, helio frota (00hf11 at gmail.com) wrote: >>>>> >>>>> Hi all, >>>>> >>>>> We have a server to setup apiman in production, but already exist a >>>>> wildfly instance. >>>>> >>>>> My question is: >>>>> >>>>> Is 'correct' to change the ports of standalone-apiman.xml ? >>>>> >>>>> I did +1 to all ports >>>>> >>>>> >>>> default-interface="public" >>>>> port-offset="${jboss.socket.binding.port-offset:0}"> >>>>> >>>> port="${jboss.management.http.port:*9991*}" /> >>>>> >>>> port="${jboss.management.https.port:*9994*}" /> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> helio >>>>> _______________________________________________ >>>>> Apiman-user mailing list >>>>> Apiman-user at lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/apiman-user >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/1fdfda90/attachment.html From bgaisford at punagroup.com Tue Jun 9 22:01:08 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Tue, 9 Jun 2015 16:01:08 -1000 Subject: [Apiman-user] New Contributor In-Reply-To: <5575C484.5070901@redhat.com> References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> <5575AA9A.5010509@redhat.com> <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> <5575C484.5070901@redhat.com> Message-ID: Hey Eric, Even with your changes, I don?t have the required permissions. No worries, thanks for trying. If you wouldn?t mind, please assign issue below to me as we?ve discussed. Thanks! https://issues.jboss.org/browse/APIMAN-458 https://issues.jboss.org/browse/APIMAN-452 https://issues.jboss.org/browse/APIMAN-451 Brandon On Jun 8, 2015, at 6:36 AM, Eric Wittmann wrote: > You got it. I also added you as a contributor to the apiman project in jira...so you *may* have permission to assign issues to yourself now. :) > > -Eric From eric.wittmann at redhat.com Wed Jun 10 09:26:54 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Wed, 10 Jun 2015 09:26:54 -0400 Subject: [Apiman-user] New Contributor In-Reply-To: References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> <5575AA9A.5010509@redhat.com> <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> <5575C484.5070901@redhat.com> Message-ID: <55783B1E.3080904@redhat.com> Done! :) On 6/9/2015 10:01 PM, Brandon Gaisford wrote: > > Hey Eric, > > Even with your changes, I don?t have the required permissions. No worries, thanks for trying. If you wouldn?t mind, please assign issue below to me as we?ve discussed. Thanks! > > https://issues.jboss.org/browse/APIMAN-458 > https://issues.jboss.org/browse/APIMAN-452 > https://issues.jboss.org/browse/APIMAN-451 > > Brandon > > On Jun 8, 2015, at 6:36 AM, Eric Wittmann wrote: > >> You got it. I also added you as a contributor to the apiman project in jira...so you *may* have permission to assign issues to yourself now. :) >> >> -Eric > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From 00hf11 at gmail.com Wed Jun 10 10:50:21 2015 From: 00hf11 at gmail.com (helio frota) Date: Wed, 10 Jun 2015 11:50:21 -0300 Subject: [Apiman-user] New Contributor In-Reply-To: <55783B1E.3080904@redhat.com> References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> <5575AA9A.5010509@redhat.com> <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> <5575C484.5070901@redhat.com> <55783B1E.3080904@redhat.com> Message-ID: Great ! +1 On Wed, Jun 10, 2015 at 10:26 AM, Eric Wittmann wrote: > Done! :) > > On 6/9/2015 10:01 PM, Brandon Gaisford wrote: > > > > Hey Eric, > > > > Even with your changes, I don?t have the required permissions. No > worries, thanks for trying. If you wouldn?t mind, please assign issue > below to me as we?ve discussed. Thanks! > > > > https://issues.jboss.org/browse/APIMAN-458 > > https://issues.jboss.org/browse/APIMAN-452 > > https://issues.jboss.org/browse/APIMAN-451 > > > > Brandon > > > > On Jun 8, 2015, at 6:36 AM, Eric Wittmann wrote: > > > >> You got it. I also added you as a contributor to the apiman project in > jira...so you *may* have permission to assign issues to yourself now. :) > >> > >> -Eric > > > > > > _______________________________________________ > > Apiman-user mailing list > > Apiman-user at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/apiman-user > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150610/7c45987a/attachment.html From eric.wittmann at redhat.com Wed Jun 10 10:51:40 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Wed, 10 Jun 2015 10:51:40 -0400 Subject: [Apiman-user] New Contributor In-Reply-To: References: <1431790271.16776669.1433671669579.JavaMail.zimbra@redhat.com> <5575AA9A.5010509@redhat.com> <6C91C4E0-4126-40EE-BE17-C790C50A0FE0@punagroup.com> <5575C484.5070901@redhat.com> <55783B1E.3080904@redhat.com> Message-ID: <55784EFC.5080104@redhat.com> Oh - by "done" I meant "assigned!"... :) On 6/10/2015 10:50 AM, helio frota wrote: > Great ! > > +1 > > > > On Wed, Jun 10, 2015 at 10:26 AM, Eric Wittmann > > wrote: > > Done! :) > > On 6/9/2015 10:01 PM, Brandon Gaisford wrote: > > > > Hey Eric, > > > > Even with your changes, I don?t have the required permissions. > No worries, thanks for trying. If you wouldn?t mind, please assign > issue below to me as we?ve discussed. Thanks! > > > > https://issues.jboss.org/browse/APIMAN-458 > > https://issues.jboss.org/browse/APIMAN-452 > > https://issues.jboss.org/browse/APIMAN-451 > > > > Brandon > > > > On Jun 8, 2015, at 6:36 AM, Eric Wittmann wrote: > > > >> You got it. I also added you as a contributor to the apiman project in jira...so you *may* have permission to assign issues to yourself now. :) > >> > >> -Eric > > > > > > _______________________________________________ > > Apiman-user mailing list > > Apiman-user at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/apiman-user > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > > From fadiabdeen at gmail.com Fri Jun 12 09:07:55 2015 From: fadiabdeen at gmail.com (Fadi Abdin) Date: Fri, 12 Jun 2015 09:07:55 -0400 Subject: [Apiman-user] Backup Message-ID: Is there a way to backup API Man data and load it back on another server ? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150612/0c751bde/attachment.html From eric.wittmann at redhat.com Fri Jun 12 13:18:56 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Fri, 12 Jun 2015 13:18:56 -0400 Subject: [Apiman-user] Backup In-Reply-To: References: Message-ID: <557B1480.4040504@redhat.com> There is currently no backup feature in apiman. Such a feature will be available at some point in the future. The relevant JIRA ticket is here in case you would like to track it (or vote for it): https://issues.jboss.org/browse/APIMAN-347 -Eric On 6/12/2015 9:07 AM, Fadi Abdin wrote: > Is there a way to backup API Man data and load it back on another server ? > > Thanks, > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From bgaisford at punagroup.com Sun Jun 14 01:40:13 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Sat, 13 Jun 2015 19:40:13 -1000 Subject: [Apiman-user] Apiman UI broken Message-ID: <61D32D40-D901-44CA-A96F-B73C3FAC29C4@punagroup.com> Just a heads up, the fix in APIMAN-455 has introduced a new issue. When updating the tag in the manager UI index.html to address the favicon not displaying, a later antrun script defined in a child pom was broken. At build time, the tag is modified by an Ant replaceregexp task that is now failing. I?ll write up a new issue right now and submit a pull request. Brandon From bgaisford at punagroup.com Sun Jun 14 02:08:58 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Sat, 13 Jun 2015 20:08:58 -1000 Subject: [Apiman-user] Apiman UI broken In-Reply-To: <61D32D40-D901-44CA-A96F-B73C3FAC29C4@punagroup.com> References: <61D32D40-D901-44CA-A96F-B73C3FAC29C4@punagroup.com> Message-ID: False alarm, Eric already fixed it. Nice catch! Brandon On Jun 13, 2015, at 7:40 PM, Brandon Gaisford wrote: > > Just a heads up, the fix in APIMAN-455 has introduced a new issue. When updating the tag in the manager UI index.html to address the favicon not displaying, a later antrun script defined in a child pom was broken. At build time, the tag is modified by an Ant replaceregexp task that is now failing. > > I?ll write up a new issue right now and submit a pull request. > > Brandon > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user From alex.kieling at gmail.com Sun Jun 14 10:19:49 2015 From: alex.kieling at gmail.com (Alexandre Kieling) Date: Sun, 14 Jun 2015 11:19:49 -0300 Subject: [Apiman-user] 404 error when trying to add a plugin Message-ID: Guys, I'm getting a 404 error when trying to add a plugin. Could please someone try the same thing and confirm there is an issue? Thanks, Alexandre Kieling -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150614/1a50c74a/attachment.html From msavy at redhat.com Sun Jun 14 14:32:59 2015 From: msavy at redhat.com (Marc Savy) Date: Sun, 14 Jun 2015 14:32:59 -0400 (EDT) Subject: [Apiman-user] 404 error when trying to add a plugin In-Reply-To: References: Message-ID: <1871971998.21542208.1434306779942.JavaMail.zimbra@redhat.com> Hi Alexandre, Which version of apiman (1.1.3.Final or HEAD?) are you using and which plugin are you attempting to install? Are you using the quick-start setup? Regards, Marc ----- Original Message ----- From: "Alexandre Kieling" To: apiman-user at lists.jboss.org Sent: Sunday, 14 June, 2015 3:19:49 PM Subject: [Apiman-user] 404 error when trying to add a plugin Guys, I'm getting a 404 error when trying to add a plugin. Could please someone try the same thing and confirm there is an issue? Thanks, Alexandre Kieling _______________________________________________ Apiman-user mailing list Apiman-user at lists.jboss.org https://lists.jboss.org/mailman/listinfo/apiman-user From bgaisford at punagroup.com Sun Jun 14 17:39:26 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Sun, 14 Jun 2015 11:39:26 -1000 Subject: [Apiman-user] Hawtio Based API Manager UI Developer Setup Issues Message-ID: I?m following the Hawtio README, the setup seems fine and all is running. Node starts: $ gulp [11:31:55] Server started http://localhost:2772 [11:31:55] LiveReload started on port 35729 When I make updates in the Hawtio src tree, the server reloads, all looks good. The gateway and apiman services are running: GET: http://localhost:8080/apiman/system/status (had to login) {"up":true,"version":"1.1.4-SNAPSHOT"} Decided to start up firebug in Firefox and see if I could seed anything. Looks like an error early in UI startup: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/apiman/system/status. (Reason: CORS header ?Access-Control-Allow-Origin' missing). What is the correct way to get around this CORS stuff during Node/Hawtio development? Thanks, Brandon From alex.kieling at gmail.com Sun Jun 14 22:05:38 2015 From: alex.kieling at gmail.com (Alexandre Kieling) Date: Sun, 14 Jun 2015 23:05:38 -0300 Subject: [Apiman-user] 404 error when trying to add a plugin In-Reply-To: <1871971998.21542208.1434306779942.JavaMail.zimbra@redhat.com> References: <1871971998.21542208.1434306779942.JavaMail.zimbra@redhat.com> Message-ID: Hi Marc, The problem was caused by not having the artifact in my local maven repository. I did a 'mvn clean package' instead of a 'mvn clean install'. My bad. It looks like this scenario isn't expected by the app. Thanks for the quick reply, Alexandre On Sun, Jun 14, 2015 at 3:32 PM, Marc Savy wrote: > Hi Alexandre, > > Which version of apiman (1.1.3.Final or HEAD?) are you using and which > plugin are you attempting to install? Are you using the quick-start setup? > > Regards, > Marc > > ----- Original Message ----- > From: "Alexandre Kieling" > To: apiman-user at lists.jboss.org > Sent: Sunday, 14 June, 2015 3:19:49 PM > Subject: [Apiman-user] 404 error when trying to add a plugin > > Guys, > > I'm getting a 404 error when trying to add a plugin. > Could please someone try the same thing and confirm there is an issue? > > Thanks, > Alexandre Kieling > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150614/32e41068/attachment.html From bgaisford at punagroup.com Mon Jun 15 00:24:10 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Sun, 14 Jun 2015 18:24:10 -1000 Subject: [Apiman-user] Hawtio Based API Manager UI Developer Setup Issues In-Reply-To: References: Message-ID: <36E357E0-317F-485C-A7AD-486FE1389C5E@punagroup.com> Hey All, After googling around a bit and some trial and error, I was able to find a work around for the CORS issue. One can start up chrome using a disable web security flag[1]. As per the link, On OS X: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome ?disable-web-security On Windows: Chrome.exe ?disable-web-security The link also outlines steps for Firefox, but I haven?t tried it. Brandon [1] https://blog.nraboy.com/2014/08/bypass-cors-errors-testing-apis-locally/ On Jun 14, 2015, at 11:39 AM, Brandon Gaisford wrote: > > I?m following the Hawtio README, the setup seems fine and all is running. > > Node starts: > > $ gulp > [11:31:55] Server started http://localhost:2772 > [11:31:55] LiveReload started on port 35729 > > When I make updates in the Hawtio src tree, the server reloads, all looks good. > > The gateway and apiman services are running: > > GET: http://localhost:8080/apiman/system/status (had to login) > > {"up":true,"version":"1.1.4-SNAPSHOT"} > > Decided to start up firebug in Firefox and see if I could seed anything. Looks like an error early in UI startup: > > Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/apiman/system/status. (Reason: CORS header ?Access-Control-Allow-Origin' missing). > > What is the correct way to get around this CORS stuff during Node/Hawtio development? > > Thanks, > > Brandon > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150614/7033b481/attachment.html From eric.wittmann at redhat.com Mon Jun 15 08:27:03 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 15 Jun 2015 08:27:03 -0400 Subject: [Apiman-user] Hawtio Based API Manager UI Developer Setup Issues In-Reply-To: <36E357E0-317F-485C-A7AD-486FE1389C5E@punagroup.com> References: <36E357E0-317F-485C-A7AD-486FE1389C5E@punagroup.com> Message-ID: <557EC497.7000209@redhat.com> This is a fine workaround for development, but I'm surprised you ran into a CORS problem. There should be a CORS filter enabled for /apiman allowing the UI to work across origins. I do this all the time when using gulp to develop the UI. What is your server setup? Are you using the standard WF8 distribution? If CORS is broken on the server we need to know. I'll go test it right now! :) -Eric On 6/15/2015 12:24 AM, Brandon Gaisford wrote: > > Hey All, > > After googling around a bit and some trial and error, I was able to find > a work around for the CORS issue. One can start up chrome using a > disable web security flag[1]. As per the link, > > On OS X: > > /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome > ?disable-web-security > > On Windows: > > Chrome.exe ?disable-web-security > > The link also outlines steps for Firefox, but I haven?t tried it. > > Brandon > > [1] https://blog.nraboy.com/2014/08/bypass-cors-errors-testing-apis-locally/ > > > On Jun 14, 2015, at 11:39 AM, Brandon Gaisford > wrote: > >> >> I?m following the Hawtio README, the setup seems fine and all is running. >> >> Node starts: >> >> $ gulp >> [11:31:55] Server started http://localhost:2772 >> [11:31:55] LiveReload started on port 35729 >> >> When I make updates in the Hawtio src tree, the server reloads, all >> looks good. >> >> The gateway and apiman services are running: >> >> GET: http://localhost:8080/apiman/system/status (had to login) >> >> {"up":true,"version":"1.1.4-SNAPSHOT"} >> >> Decided to start up firebug in Firefox and see if I could seed >> anything. Looks like an error early in UI startup: >> >> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >> the remote resource at http://localhost:8080/apiman/system/status. >> (Reason: CORS header ?Access-Control-Allow-Origin' missing). >> >> What is the correct way to get around this CORS stuff during >> Node/Hawtio development? >> >> Thanks, >> >> Brandon >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user > > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From eric.wittmann at redhat.com Mon Jun 15 08:29:29 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 15 Jun 2015 08:29:29 -0400 Subject: [Apiman-user] 404 error when trying to add a plugin In-Reply-To: References: <1871971998.21542208.1434306779942.JavaMail.zimbra@redhat.com> Message-ID: <557EC529.2010300@redhat.com> Yes - if you are trying to install a snapshot version of a plugin, or your own custom plugin, then you'll need to have the plugin available in your local .m2 directory. However, apiman does try to find the plugin in any remote maven repositories you might have configured. By default only Central and JBoss Nexus are configured. But you can add more via apiman.properties. -Eric On 6/14/2015 10:05 PM, Alexandre Kieling wrote: > Hi Marc, > > The problem was caused by not having the artifact in my local maven > repository. I did a 'mvn clean package' instead of a 'mvn clean > install'. My bad. > It looks like this scenario isn't expected by the app. > > Thanks for the quick reply, > Alexandre > > On Sun, Jun 14, 2015 at 3:32 PM, Marc Savy > wrote: > > Hi Alexandre, > > Which version of apiman (1.1.3.Final or HEAD?) are you using and > which plugin are you attempting to install? Are you using the > quick-start setup? > > Regards, > Marc > > ----- Original Message ----- > From: "Alexandre Kieling" > > To: apiman-user at lists.jboss.org > Sent: Sunday, 14 June, 2015 3:19:49 PM > Subject: [Apiman-user] 404 error when trying to add a plugin > > Guys, > > I'm getting a 404 error when trying to add a plugin. > Could please someone try the same thing and confirm there is an issue? > > Thanks, > Alexandre Kieling > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > > > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From bgaisford at punagroup.com Mon Jun 15 09:06:04 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Mon, 15 Jun 2015 03:06:04 -1000 Subject: [Apiman-user] Hawtio Based API Manager UI Developer Setup Issues In-Reply-To: <557EC497.7000209@redhat.com> References: <36E357E0-317F-485C-A7AD-486FE1389C5E@punagroup.com> <557EC497.7000209@redhat.com> Message-ID: Eric, I?m using IntelliJ to deploy apiman, apiman-gateway, apiman-gateway-api and the services wars to the quick-start generated WildFly 8.2.0.Final server. node version: v0.12.4 gulp version: 3.9.0 Let me know if you need any further details. Brandon On Jun 15, 2015, at 2:27 AM, Eric Wittmann wrote: > This is a fine workaround for development, but I'm surprised you ran into a CORS problem. There should be a CORS filter enabled for /apiman allowing the UI to work across origins. I do this all the time when using gulp to develop the UI. > > What is your server setup? Are you using the standard WF8 distribution? > > If CORS is broken on the server we need to know. I'll go test it right now! :) > > -Eric > > On 6/15/2015 12:24 AM, Brandon Gaisford wrote: >> >> Hey All, >> >> After googling around a bit and some trial and error, I was able to find >> a work around for the CORS issue. One can start up chrome using a >> disable web security flag[1]. As per the link, >> >> On OS X: >> >> /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome >> ?disable-web-security >> >> On Windows: >> >> Chrome.exe ?disable-web-security >> >> The link also outlines steps for Firefox, but I haven?t tried it. >> >> Brandon >> >> [1] https://blog.nraboy.com/2014/08/bypass-cors-errors-testing-apis-locally/ >> >> >> On Jun 14, 2015, at 11:39 AM, Brandon Gaisford > > wrote: >> >>> >>> I?m following the Hawtio README, the setup seems fine and all is running. >>> >>> Node starts: >>> >>> $ gulp >>> [11:31:55] Server started http://localhost:2772 >>> [11:31:55] LiveReload started on port 35729 >>> >>> When I make updates in the Hawtio src tree, the server reloads, all >>> looks good. >>> >>> The gateway and apiman services are running: >>> >>> GET: http://localhost:8080/apiman/system/status (had to login) >>> >>> {"up":true,"version":"1.1.4-SNAPSHOT"} >>> >>> Decided to start up firebug in Firefox and see if I could seed >>> anything. Looks like an error early in UI startup: >>> >>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>> the remote resource at http://localhost:8080/apiman/system/status. >>> (Reason: CORS header ?Access-Control-Allow-Origin' missing). >>> >>> What is the correct way to get around this CORS stuff during >>> Node/Hawtio development? >>> >>> Thanks, >>> >>> Brandon >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> From eric.wittmann at redhat.com Mon Jun 15 09:28:05 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 15 Jun 2015 09:28:05 -0400 Subject: [Apiman-user] Hawtio Based API Manager UI Developer Setup Issues In-Reply-To: <557EC497.7000209@redhat.com> References: <36E357E0-317F-485C-A7AD-486FE1389C5E@punagroup.com> <557EC497.7000209@redhat.com> Message-ID: <557ED2E5.5070202@redhat.com> I just tested this and was (sadly) able to reproduce the problem. The reason I didn't hit this before was that I use the development server instead of using the full WF8 instance. For reference, the development server is described here: http://www.apiman.io/blog/eclipse/development/maven/2015/06/04/dev-environment.html In any case, what seems to be happening is that a CORS preflight OPTIONS request does not contain the Authorization info. Keycloak is redirecting the OPTIONS request to the login page. :( So we need to figure out how to get keycloak to do the right thing for a preflight request. It might be a bug in KC or just a configuration issue on our side. We'll look into this asap. But until then, your workaround is fine - or else follow the blog post above for how to set up a more nimble dev environment. -Eric JIRA Issue for reference: https://issues.jboss.org/browse/APIMAN-476 On 6/15/2015 8:27 AM, Eric Wittmann wrote: > This is a fine workaround for development, but I'm surprised you ran > into a CORS problem. There should be a CORS filter enabled for /apiman > allowing the UI to work across origins. I do this all the time when > using gulp to develop the UI. > > What is your server setup? Are you using the standard WF8 distribution? > > If CORS is broken on the server we need to know. I'll go test it right > now! :) > > -Eric > > On 6/15/2015 12:24 AM, Brandon Gaisford wrote: >> >> Hey All, >> >> After googling around a bit and some trial and error, I was able to find >> a work around for the CORS issue. One can start up chrome using a >> disable web security flag[1]. As per the link, >> >> On OS X: >> >> /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome >> ?disable-web-security >> >> On Windows: >> >> Chrome.exe ?disable-web-security >> >> The link also outlines steps for Firefox, but I haven?t tried it. >> >> Brandon >> >> [1] https://blog.nraboy.com/2014/08/bypass-cors-errors-testing-apis-locally/ >> >> >> On Jun 14, 2015, at 11:39 AM, Brandon Gaisford > > wrote: >> >>> >>> I?m following the Hawtio README, the setup seems fine and all is running. >>> >>> Node starts: >>> >>> $ gulp >>> [11:31:55] Server started http://localhost:2772 >>> [11:31:55] LiveReload started on port 35729 >>> >>> When I make updates in the Hawtio src tree, the server reloads, all >>> looks good. >>> >>> The gateway and apiman services are running: >>> >>> GET: http://localhost:8080/apiman/system/status (had to login) >>> >>> {"up":true,"version":"1.1.4-SNAPSHOT"} >>> >>> Decided to start up firebug in Firefox and see if I could seed >>> anything. Looks like an error early in UI startup: >>> >>> Cross-Origin Request Blocked: The Same Origin Policy disallows reading >>> the remote resource at http://localhost:8080/apiman/system/status. >>> (Reason: CORS header ?Access-Control-Allow-Origin' missing). >>> >>> What is the correct way to get around this CORS stuff during >>> Node/Hawtio development? >>> >>> Thanks, >>> >>> Brandon >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From bgaisford at punagroup.com Tue Jun 16 09:32:40 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Tue, 16 Jun 2015 03:32:40 -1000 Subject: [Apiman-user] time for user and dev apiman mail lists? Message-ID: <4E7F5670-2E99-46CC-B479-A7BA1AA9A24F@punagroup.com> In my opinion, apiman has grown enough to warrant both a user and a dev mailing list. The current user mailbox is awesome, but lately a LOT of dev info is getting in there. How about splitting the existing mailbox and have a dedicated user and a dedicated dev mailing lists? Of course, no barrier to entry, sign up for what you want. apiman-user (current) apiman-dev (new) Thoughts? Brandon From sbunciak at redhat.com Tue Jun 16 11:13:33 2015 From: sbunciak at redhat.com (Stefan Bunciak) Date: Tue, 16 Jun 2015 16:13:33 +0100 Subject: [Apiman-user] time for user and dev apiman mail lists? In-Reply-To: <4E7F5670-2E99-46CC-B479-A7BA1AA9A24F@punagroup.com> References: <4E7F5670-2E99-46CC-B479-A7BA1AA9A24F@punagroup.com> Message-ID: <55803D1D.4010008@redhat.com> There already is apiman-dev list https://lists.jboss.org/mailman/listinfo/apiman-dev On 06/16/2015 02:32 PM, Brandon Gaisford wrote: > In my opinion, apiman has grown enough to warrant both a user and a dev mailing list. The current user mailbox is awesome, but lately a LOT of dev info is getting in there. How about splitting the existing mailbox and have a dedicated user and a dedicated dev mailing lists? Of course, no barrier to entry, sign up for what you want. > > apiman-user (current) > apiman-dev (new) > > Thoughts? > > Brandon > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user -- Stefan Bunciak sbunciak at redhat.com RHCECD | RHCJA | RHCSA CN: 120-138-367 From bgaisford at punagroup.com Tue Jun 16 13:35:47 2015 From: bgaisford at punagroup.com (Brandon Gaisford) Date: Tue, 16 Jun 2015 07:35:47 -1000 Subject: [Apiman-user] time for user and dev apiman mail lists? In-Reply-To: <55803D1D.4010008@redhat.com> References: <4E7F5670-2E99-46CC-B479-A7BA1AA9A24F@punagroup.com> <55803D1D.4010008@redhat.com> Message-ID: <1F04B7ED-604C-4F82-A8EA-9E13AD8BBFCF@punagroup.com> Hey Stefan, Thanks for setting me straight. I?m certain I searched for the apiman-dev list in the past and didn?t find it, my bad. Subscribing now? :) Brandon On Jun 16, 2015, at 5:13 AM, Stefan Bunciak wrote: > There already is apiman-dev list > https://lists.jboss.org/mailman/listinfo/apiman-dev > > On 06/16/2015 02:32 PM, Brandon Gaisford wrote: >> In my opinion, apiman has grown enough to warrant both a user and a dev mailing list. The current user mailbox is awesome, but lately a LOT of dev info is getting in there. How about splitting the existing mailbox and have a dedicated user and a dedicated dev mailing lists? Of course, no barrier to entry, sign up for what you want. >> >> apiman-user (current) >> apiman-dev (new) >> >> Thoughts? >> >> Brandon >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user > > -- > Stefan Bunciak > sbunciak at redhat.com > > RHCECD | RHCJA | RHCSA > CN: 120-138-367 > From ijlal.hzt at gmail.com Mon Jun 22 04:23:09 2015 From: ijlal.hzt at gmail.com (Ijlal EL HAZITI) Date: Mon, 22 Jun 2015 10:23:09 +0200 Subject: [Apiman-user] Billing Message-ID: Hi all, I'm quiet new to apiman, using it just from 3 days. I find it suuper easy and complete. I've seen that billing is a possible use case, however I can't find any tutorial about how to implement it. Should I add a plugin? or should I code it? Thank you for your help :) Regards -- Cordialement IjlaL EL HAZITI *Etudiant Ing?nieur Etudes et D?veloppement* *UBO - Master Professionnel de d?veloppement ? l'offshore des SI* *FSK - Master Sp?cialis? Qualit? du Logiciel* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150622/325966dd/attachment.html From eric.wittmann at redhat.com Mon Jun 22 07:44:21 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Mon, 22 Jun 2015 07:44:21 -0400 Subject: [Apiman-user] Billing In-Reply-To: References: Message-ID: <5587F515.4030107@redhat.com> Greetings. Always happy to hear that things are going reasonably well! The billing feature has not yet been implemented. It is something that is on the roadmap. If billing is something you require sooner than we will be supporting it, you would need to implement something yourself. There are a few options for how you could do this, including a custom policy or leveraging the metrics information that will be available in version 1.1.4.Final. Simple data accumulation for billing purposes is targeted for version 1.2, which is a couple of months away. -Eric On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote: > Hi all, > I'm quiet new to apiman, using it just from 3 days. I find it suuper > easy and complete. > I've seen that billing is a possible use case, however I can't find any > tutorial about how to implement it. > Should I add a plugin? or should I code it? > Thank you for your help :) > > Regards > > -- > Cordialement > IjlaL EL HAZITI > * > * > *Etudiant Ing?nieur Etudes et D?veloppement* > *UBO - Master Professionnel de d?veloppement ? l'offshore des SI > * > *FSK - Master Sp?cialis? Qualit? du Logiciel* > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From ijlal.hzt at gmail.com Mon Jun 22 08:36:52 2015 From: ijlal.hzt at gmail.com (Ijlal EL HAZITI) Date: Mon, 22 Jun 2015 14:36:52 +0200 Subject: [Apiman-user] Billing In-Reply-To: <5587F515.4030107@redhat.com> References: <5587F515.4030107@redhat.com> Message-ID: Thank you for your quick answer Actually the billing is something I require quiet soon, so I'd like you to be more explicit on how I can implement ot myself please. The easiest example would be perfect. Thank you very much Regards -Ijlal 2015-06-22 13:44 GMT+02:00 Eric Wittmann : > Greetings. Always happy to hear that things are going reasonably well! > > The billing feature has not yet been implemented. It is something that is > on the roadmap. > > If billing is something you require sooner than we will be supporting it, > you would need to implement something yourself. There are a few options > for how you could do this, including a custom policy or leveraging the > metrics information that will be available in version 1.1.4.Final. > > Simple data accumulation for billing purposes is targeted for version 1.2, > which is a couple of months away. > > -Eric > > > On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote: > >> Hi all, >> I'm quiet new to apiman, using it just from 3 days. I find it suuper >> easy and complete. >> I've seen that billing is a possible use case, however I can't find any >> tutorial about how to implement it. >> Should I add a plugin? or should I code it? >> Thank you for your help :) >> >> Regards >> >> -- >> Cordialement >> IjlaL EL HAZITI >> * >> * >> *Etudiant Ing?nieur Etudes et D?veloppement* >> *UBO - Master Professionnel de d?veloppement ? l'offshore des SI >> * >> *FSK - Master Sp?cialis? Qualit? du Logiciel* >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> -- Cordialement IjlaL EL HAZITI *Etudiant Ing?nieur Etudes et D?veloppement* *UBO - Master Professionnel de d?veloppement ? l'offshore des SI* *FSK - Master Sp?cialis? Qualit? du Logiciel* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150622/c9f551ba/attachment.html From ijlal.hzt at gmail.com Mon Jun 22 09:15:22 2015 From: ijlal.hzt at gmail.com (Ijlal EL HAZITI) Date: Mon, 22 Jun 2015 15:15:22 +0200 Subject: [Apiman-user] Billing In-Reply-To: References: <5587F515.4030107@redhat.com> Message-ID: Is there any chance that I could use a billing plateform such as https://killbill.io/ for example and implement it with Apiman? if yes, how could it be done. Thank you Regards 2015-06-22 14:36 GMT+02:00 Ijlal EL HAZITI : > Thank you for your quick answer > > Actually the billing is something I require quiet soon, so I'd like you > to be more explicit on how I can implement ot myself please. > The easiest example would be perfect. > Thank you very much > > Regards > -Ijlal > > 2015-06-22 13:44 GMT+02:00 Eric Wittmann : > >> Greetings. Always happy to hear that things are going reasonably well! >> >> The billing feature has not yet been implemented. It is something that >> is on the roadmap. >> >> If billing is something you require sooner than we will be supporting it, >> you would need to implement something yourself. There are a few options >> for how you could do this, including a custom policy or leveraging the >> metrics information that will be available in version 1.1.4.Final. >> >> Simple data accumulation for billing purposes is targeted for version >> 1.2, which is a couple of months away. >> >> -Eric >> >> >> On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote: >> >>> Hi all, >>> I'm quiet new to apiman, using it just from 3 days. I find it suuper >>> easy and complete. >>> I've seen that billing is a possible use case, however I can't find any >>> tutorial about how to implement it. >>> Should I add a plugin? or should I code it? >>> Thank you for your help :) >>> >>> Regards >>> >>> -- >>> Cordialement >>> IjlaL EL HAZITI >>> * >>> * >>> *Etudiant Ing?nieur Etudes et D?veloppement* >>> *UBO - Master Professionnel de d?veloppement ? l'offshore des SI >>> * >>> *FSK - Master Sp?cialis? Qualit? du Logiciel* >>> >>> >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >>> >>> > > > -- > Cordialement > IjlaL EL HAZITI > > *Etudiant Ing?nieur Etudes et D?veloppement* > > *UBO - Master Professionnel de d?veloppement ? l'offshore des SI* > *FSK - Master Sp?cialis? Qualit? du Logiciel* > -- Cordialement IjlaL EL HAZITI *Etudiant Ing?nieur Etudes et D?veloppement* *UBO - Master Professionnel de d?veloppement ? l'offshore des SI* *FSK - Master Sp?cialis? Qualit? du Logiciel* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150622/1808d524/attachment-0001.html From eric.wittmann at redhat.com Tue Jun 23 11:44:33 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Tue, 23 Jun 2015 11:44:33 -0400 Subject: [Apiman-user] Billing In-Reply-To: References: <5587F515.4030107@redhat.com> Message-ID: <55897EE1.6010206@redhat.com> Sorry for the delay. I've been thinking about this a little bit. I think the answer depends a lot on your specific requirements. Obviously if you want fully integrated billing support in the UI and gateway, you'll have to wait for the official feature. However, if you just want to collect usage data and then use that information to send invoices to users, you could implement a custom policy to do that. Here are some resources to help you learn how to implement an apiman plugin: http://www.apiman.io/latest/developer-guide.html#_plugins http://www.apiman.io/blog/plugins/policies/development/maven/2015/03/06/custom-policies.html http://www.apiman.io/blog/policy/junit/testing/2015/05/09/policy-testing.html -Eric Note: our plugin support will be improving over time as well, in particular we'll be adding better support for upgrading plugins from older versions to newer ones. On 6/22/2015 8:36 AM, Ijlal EL HAZITI wrote: > Thank you for your quick answer > > Actually the billing is something I require quiet soon, so I'd like you > to be more explicit on how I can implement ot myself please. > The easiest example would be perfect. > Thank you very much > > Regards > -Ijlal > > 2015-06-22 13:44 GMT+02:00 Eric Wittmann >: > > Greetings. Always happy to hear that things are going reasonably well! > > The billing feature has not yet been implemented. It is something > that is on the roadmap. > > If billing is something you require sooner than we will be > supporting it, you would need to implement something yourself. > There are a few options for how you could do this, including a > custom policy or leveraging the metrics information that will be > available in version 1.1.4.Final. > > Simple data accumulation for billing purposes is targeted for > version 1.2, which is a couple of months away. > > -Eric > > > On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote: > > Hi all, > I'm quiet new to apiman, using it just from 3 days. I find it suuper > easy and complete. > I've seen that billing is a possible use case, however I can't > find any > tutorial about how to implement it. > Should I add a plugin? or should I code it? > Thank you for your help :) > > Regards > > -- > Cordialement > IjlaL EL HAZITI > * > * > *Etudiant Ing?nieur Etudes et D?veloppement* > *UBO - Master Professionnel de d?veloppement ? l'offshore des SI > * > *FSK - Master Sp?cialis? Qualit? du Logiciel* > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > > > > > -- > Cordialement > IjlaL EL HAZITI > * > * > *Etudiant Ing?nieur Etudes et D?veloppement* > *UBO - Master Professionnel de d?veloppement ? l'offshore des SI > * > *FSK - Master Sp?cialis? Qualit? du Logiciel* From ijlal.hzt at gmail.com Thu Jun 25 07:10:03 2015 From: ijlal.hzt at gmail.com (Ijlal EL HAZITI) Date: Thu, 25 Jun 2015 13:10:03 +0200 Subject: [Apiman-user] Billing In-Reply-To: <55897EE1.6010206@redhat.com> References: <5587F515.4030107@redhat.com> <55897EE1.6010206@redhat.com> Message-ID: Sorry for the delay, Thank you very much for your help Regards -Ijlal 2015-06-23 17:44 GMT+02:00 Eric Wittmann : > Sorry for the delay. I've been thinking about this a little bit. > > I think the answer depends a lot on your specific requirements. Obviously > if you want fully integrated billing support in the UI and gateway, you'll > have to wait for the official feature. > > However, if you just want to collect usage data and then use that > information to send invoices to users, you could implement a custom policy > to do that. > > Here are some resources to help you learn how to implement an apiman > plugin: > > http://www.apiman.io/latest/developer-guide.html#_plugins > > > http://www.apiman.io/blog/plugins/policies/development/maven/2015/03/06/custom-policies.html > > > http://www.apiman.io/blog/policy/junit/testing/2015/05/09/policy-testing.html > > -Eric > > Note: our plugin support will be improving over time as well, in > particular we'll be adding better support for upgrading plugins from older > versions to newer ones. > > > > > On 6/22/2015 8:36 AM, Ijlal EL HAZITI wrote: > >> Thank you for your quick answer >> >> Actually the billing is something I require quiet soon, so I'd like you >> to be more explicit on how I can implement ot myself please. >> The easiest example would be perfect. >> Thank you very much >> >> Regards >> -Ijlal >> >> 2015-06-22 13:44 GMT+02:00 Eric Wittmann > >: >> >> >> Greetings. Always happy to hear that things are going reasonably >> well! >> >> The billing feature has not yet been implemented. It is something >> that is on the roadmap. >> >> If billing is something you require sooner than we will be >> supporting it, you would need to implement something yourself. >> There are a few options for how you could do this, including a >> custom policy or leveraging the metrics information that will be >> available in version 1.1.4.Final. >> >> Simple data accumulation for billing purposes is targeted for >> version 1.2, which is a couple of months away. >> >> -Eric >> >> >> On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote: >> >> Hi all, >> I'm quiet new to apiman, using it just from 3 days. I find it >> suuper >> easy and complete. >> I've seen that billing is a possible use case, however I can't >> find any >> tutorial about how to implement it. >> Should I add a plugin? or should I code it? >> Thank you for your help :) >> >> Regards >> >> -- >> Cordialement >> IjlaL EL HAZITI >> * >> * >> *Etudiant Ing?nieur Etudes et D?veloppement* >> *UBO - Master Professionnel de d?veloppement ? l'offshore des SI >> * >> *FSK - Master Sp?cialis? Qualit? du Logiciel* >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> >> >> >> -- >> Cordialement >> IjlaL EL HAZITI >> * >> * >> *Etudiant Ing?nieur Etudes et D?veloppement* >> *UBO - Master Professionnel de d?veloppement ? l'offshore des SI >> * >> *FSK - Master Sp?cialis? Qualit? du Logiciel* >> > -- Cordialement IjlaL EL HAZITI *Etudiant Ing?nieur Etudes et D?veloppement* *UBO - Master Professionnel de d?veloppement ? l'offshore des SI* *FSK - Master Sp?cialis? Qualit? du Logiciel* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150625/4a1eebe9/attachment.html From sbunciak at redhat.com Thu Jun 25 09:40:28 2015 From: sbunciak at redhat.com (Stefan Bunciak) Date: Thu, 25 Jun 2015 14:40:28 +0100 Subject: [Apiman-user] FYI: APIs.json Message-ID: <558C04CC.4020807@redhat.com> Any plan to support APIs.json format in apiman? http://www.infoq.com/articles/apis-json-discovery-format -- Stefan Bunciak sbunciak at redhat.com RHCECD | RHCJA | RHCSA CN: 120-138-367 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature Url : http://lists.jboss.org/pipermail/apiman-user/attachments/20150625/6e6b1c6d/attachment.bin From eric.wittmann at redhat.com Thu Jun 25 10:37:40 2015 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Thu, 25 Jun 2015 10:37:40 -0400 Subject: [Apiman-user] FYI: APIs.json In-Reply-To: <558C04CC.4020807@redhat.com> References: <558C04CC.4020807@redhat.com> Message-ID: <558C1234.5000402@redhat.com> It's a great idea. Here is a JIRA feature request for tracking purposes: https://issues.jboss.org/browse/APIMAN-508 On 6/25/2015 9:40 AM, Stefan Bunciak wrote: > Any plan to support APIs.json format in apiman? > > http://www.infoq.com/articles/apis-json-discovery-format > > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From fadiabdeen at gmail.com Mon Jun 29 12:55:34 2015 From: fadiabdeen at gmail.com (Fadi Abdin) Date: Mon, 29 Jun 2015 12:55:34 -0400 Subject: [Apiman-user] TLS / SSL Message-ID: I'm following the instructions on ( http://www.apiman.io/latest/installation-guide.html#_how_to_enable_mtls_mutual_ssl_support_for_endpoint_security) to setup a secured version of the api and after i'm done i get below exeption when i hit a service on the gateway endpoint https://localhost:8443/apiman-gateway/testorg/testservice/1.0 io.apiman.gateway.engine.beans.exceptions.ConnectorException: Not connected Any idea what could be the issue ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150629/9b735411/attachment.html From marc.savy at redhat.com Mon Jun 29 13:11:49 2015 From: marc.savy at redhat.com (Marc Savy) Date: Mon, 29 Jun 2015 18:11:49 +0100 Subject: [Apiman-user] TLS / SSL In-Reply-To: References: Message-ID: <55917C55.60108@redhat.com> Hi Fadi, When you fire up the gateway, can you please pass: -Djavax.net.debug=all as a flag (see: http://www.apiman.io/blog/gateway/security/mutual-auth/ssl/mtls/2015/06/16/mtls-mutual-auth.html#fire-it-up) You might be able to see what the problem is using the output from the above. The most common issue is that the certificate-store and/or trust-store isn't set up properly. Regards, Marc On 29/06/2015 17:55, Fadi Abdin wrote: > I'm following the instructions on > (http://www.apiman.io/latest/installation-guide.html#_how_to_enable_mtls_mutual_ssl_support_for_endpoint_security) > to setup a secured version of the api and after i'm done i get below > exeption when i hit a service on the gateway endpoint > > https://localhost:8443/apiman-gateway/testorg/testservice/1.0 > > io.apiman.gateway.engine.beans.exceptions.ConnectorException: Not connected > > Any idea what could be the issue ? > > > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > From msavy at redhat.com Tue Jun 30 04:27:13 2015 From: msavy at redhat.com (Marc Savy) Date: Tue, 30 Jun 2015 04:27:13 -0400 (EDT) Subject: [Apiman-user] TLS / SSL In-Reply-To: References: <55917C55.60108@redhat.com> Message-ID: <809451316.31993114.1435652833155.JavaMail.zimbra@redhat.com> Hi Fadi, I think you might be getting confused. Are you sure that you want Mutual TLS (i.e. https://en.wikipedia.org/wiki/Mutual_authentication) - in this case the gateway needs to provide a certificate store (and usually a truststore), and the service(s) need to provide a certificate store (and also usually their own truststore). Are you just trying to enable standard TLS? Regards, Marc ----- Original Message ----- From: "Fadi Abdin" To: "Marc Savy" Sent: Monday, 29 June, 2015 7:57:03 PM Subject: Re: [Apiman-user] TLS / SSL Hi Marc, I dont see an error when i enable the debugging. are you sure about the insturcitons in on http://www.apiman.io/latest/installation-guide.html#_how_to_enable_mtls_mutual_ssl_support_for_endpoint_security what should i use for the values in the apiman.properties ? : apiman-gateway.connector-factory.tls.keyStore apiman-gateway.connector-factory.tls.trustStore should it work as with the instructions or i'm missing something ? Thanks, Fadi On Mon, Jun 29, 2015 at 1:11 PM, Marc Savy wrote: > Hi Fadi, > > When you fire up the gateway, can you please pass: > > -Djavax.net.debug=all > > as a flag (see: > http://www.apiman.io/blog/gateway/security/mutual-auth/ssl/mtls/2015/06/16/mtls-mutual-auth.html#fire-it-up > ) > > You might be able to see what the problem is using the output from the > above. The most common issue is that the certificate-store and/or > trust-store isn't set up properly. > > Regards, > Marc > > > On 29/06/2015 17:55, Fadi Abdin wrote: > >> I'm following the instructions on >> ( >> http://www.apiman.io/latest/installation-guide.html#_how_to_enable_mtls_mutual_ssl_support_for_endpoint_security >> ) >> to setup a secured version of the api and after i'm done i get below >> exeption when i hit a service on the gateway endpoint >> >> https://localhost:8443/apiman-gateway/testorg/testservice/1.0 >> >> io.apiman.gateway.engine.beans.exceptions.ConnectorException: Not >> connected >> >> Any idea what could be the issue ? >> >> >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> >