We could rely on JAAS realm available on the Karaf platform to
authenticate the users. I will have a look end of this week. I don't
think that it should be difficult to package gateway-es and manager-es
as 2 bundles. In a first step, we could use the existing jetty code but
it could also be adapted to use the Jetty instance when deployed into
Karaf. I will also use OSGI config admin to externalize the properties
required
On 24/11/15 17:54, Eric Wittmann wrote:
I believe so, yes. The only major difference between the
micro-service and the wildfly version is authentication into the
apiman UI and REST services. We use keycloak for that when running in
wildfly. The micro-service currently uses simple BASIC
authentication. This area needs work in the micro-service before it
can be used for anything production-like : e.g. you should extend the
micro-service and provide your own authentication.
For example, in fabric8/openshift we leverage the existing
authentication mechanisms provided by those platforms.
-Eric
On 11/24/2015 11:51 AM, Charles Moulliard wrote:
> Do we have access to 100% of the features proposed by Apiman using the
> Microservice -
>
https://github.com/apiman/apiman-servers/blob/master/gateway-es/src/main/...
>
> ?
>
> 24/11/15 16:13, Eric Wittmann wrote:
>> It's certainly not impossible. If you try it, let me know! :) I'd
>> love to have support for it if it's not difficult to do.
>>
>> -Eric
>>
>> On 11/24/2015 10:09 AM, Charles Moulliard wrote:
>>>
>>> Eric,
>>>
>>> Thx for the response Eric. As the code is outdated, it should be more
>>> appropriate to use what exist within latest apiman core project and to
>>> start from the MicroService. If I add a BundleActivator class for the
>>> gateway & manager, we could easily deploy/start them on Karaf. As we
>>> have created a feature to deploy Elasticsearch top of JBoss Fuse, we
>>> don't have to take about the backend.
>>> Like you have done, we can replace the config file used to configure
>>> apiman (gateway/manager) on EAP using OSGI config admin
>>>
>>> Regards,
>>>
>>> Charles
>>> On 24/11/15 13:44, Eric Wittmann wrote:
>>>> We originally thought that Karaf was going to be a requirement.
>>>> However, as priorities shifted so too did our support for OSGi and
>>>> Karaf/Fuse. It turns out to be quite difficult to support Karaf and
>>>> EAP and WildFly and Fabric8 and vert.x with the contributors we
>>>> currently have. :)
>>>>
>>>> So bottom line is that Karaf support does not exist. I do not
>>>> believe
>>>> anyone has tried to run it on Karaf since the commit you referenced.
>>>> Based on my experience with Karaf, I do not believe it would go very
>>>> well, but I'd be happy to be proven wrong!
>>>>
>>>> -Eric
>>>>
>>>> On 11/24/2015 6:43 AM, Charles Moulliard wrote:
>>>>> Hi,
>>>>>
>>>>> Eric has created this project to "test/run" apiman into
Apache
>>>>> Karaf/JBoss Fuse container (I think so) -
>>>>>
https://github.com/apiman/apiman/tree/defebb222380ac7e45e48634b08b7e9dad0...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Is this project still up to date or replaced by another ? Do we
>>>>> know if
>>>>> somebody has tried to install the war files of apiman
>>>>> gateway/manager ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Charles
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Apiman-dev mailing list
>>>>> Apiman-dev(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/apiman-dev
>>>>>
>>>
>