Apiman CLI + Community Release
by Eric Wittmann
Hi Pete.
I was just doing a community release of 1.2.2.Final today and was
thinking about the CLI. Do you have any thoughts on how to
version/release the CLI whenever we do a community release?
Also, any thoughts on whether/how we should include the CLI in the
community distributions (zip files)?
-Eric
PS: @apiman-dev subscribers - feel free to offer thoughts/opinions! :)
8 years, 10 months
CDI injection in Manager but not in Gateway
by Charles Moulliard
Hi,
Is there a reason why the Apiman Gateway Services aren't injected using
CDI like Apiman Manager ?
Can we use for OSGI platform a different strategy to load the services
and expose them (Apache Felix SCR annotations or Apache Aries Blueprint)
as we have many issues with Resteasy deployed on Karaf like also to use
Pax CDI ?
Example : The Resteasy CDI Extension object is null when we call the
BeanManager (created using PAx CDI Weld) to get the bean. This problem
occurs not matter if we embed the Resteasy CDI extension within the
bundle of Apiman Manager or as a bundle
private ResteasyCdiExtension lookupResteasyCdiExtension() {
Set<Bean<?>> beans = manager.getBeans(ResteasyCdiExtension.class);
Bean<?> bean = manager.resolve(beans);
if (bean == null) {
throw new
IllegalStateException(Messages.MESSAGES.unableToObtainResteasyCdiExtension());
}
Regards,
Charles
8 years, 10 months
Apiman Gateway on OSGI (Karaf, JBoss Fuse) - Alpha Release
by Charles Moulliard
Hi,
I would like to inform you that we have an alpha release of Apiman
Gateway which is working on Karaf 2.4.4 (and of course that should be
also the case on JBoss Fuse).
The procedure to install it is described here like also the tests cases
that I have executed :
https://github.com/cmoulliard/apiman/blob/karaf4/distro/karaf/bundles/gat...
and
https://github.com/cmoulliard/apiman/tree/karaf4/distro/karaf/bundles/gat...
The current scenario which is actively tested relies on Apiman Manager
running in a standalone WildFly Server and connected to an external
ElasticSearch Server. The manager uses the Gateway deployed within
Karaf. The Apiman Gateway running in Karaf access also the ElasticSearch
backend server.
There are still things to do but I think that a big step has been achieved
- Use JAAS realm in order to authenticate the users,
- Review the packaging of the existing modules to generate proper bundles
- Review and update the XML features
- Load one time the Apiman Properties using OSGI Config Admin (partially
done)
- Test gateway with infinispan, influxdb, ...
The code is developed under this branch -
https://github.com/apiman/apiman/tree/karaf
Regards,
Charles
8 years, 10 months