[Apiman-user] Launch Vertx 3, Jetty with Apiman UI

Charles Moulliard cmoulliard at redhat.com
Thu Nov 12 09:12:19 EST 2015


On 12/11/15 14:24, Marc Savy wrote:
> 1. Start up the api manager (for some simple setups, see 
> apiman-servers @ https://github.com/apiman/apiman-servers - e.g. h2, 
> postgresql, ...)
 >> I have review this part of the code which allow to start a 
MicroService --> 
https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/war/micro/src/main/java/io/apiman/gateway/platforms/war/micro/GatewayMicroService.java
> 2. Configure & start up the gateway (e.g. Vert.x 3 impl)
 >> Do you mean that I have to start Vertx3 impl server from the project 
where the code has ben compiled (--> java -jar 
target/apiman-gateway-platforms-vertx3-1.2.0-SNAPSHOT-fat.jar -conf 
<path-to-your-config.json>) ?
 >> That should be great to have an option that we could use within 
apiman-servers config file to specify which gateway we would like to use 
(Vertx3, Jetty Servlet, Undertow, ...)
> 3. Add the gateway from 2 to the manager (admin section of UI -> add 
> gateway).
 >> Do I have to copy/paste the jar + config files ? Can you clarify 
this point please ?
>
> That's about it!
>
> On 12/11/2015 13:04, Charles Moulliard wrote:
>> So I rephrase my question.
>>
>> How can I start jetty to expose the apiman UI with the appropriate WAR
>> files and use Vertx 3 as gateway engine ?
>>
>>
>> On 12/11/15 13:57, Marc Savy wrote:
>> > Hi,
>> >
>> > I'm not sure I really understand your question.
>> >
>> > The manager's backend component(s) can't be run on Vert.x 3. It's a
>> > WAR-type implementation, so you can run it on Jetty, WF, EAP, etc - 
>> but
>> > not Vert.x 3.
>> >
>> > The gateway is a *separate* component, and there's a Vert.x 3
>> > implementation.
>> >
>> > So, for instance, you could have the manager running on Jetty and the
>> > gateway running on Vert.x.
>> >
>> > Regards,
>> > Marc
>> >
>> > On 12/11/2015 11:38, Charles Moulliard wrote:
>> >> Hi,
>> >>
>> >> Is it possible to start/launch vertx3 gateway
>> >> (target/apiman-gateway-platforms-vertx3-1.2.0-SNAPSHOT-fat.jar -conf
>> >> src/conf/conf.json) or Jetty locally and deploy also the web front 
>> end
>> >> of apiman ui ?
>> >>
>> >> Regards,
>> >>
>> >> Charles
>> >> _______________________________________________
>> >> 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
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20151112/41b53f9b/attachment.html 


More information about the Apiman-user mailing list