The official documentation states that 'Adding bundles from the Capital Markets Foundation, Capital Markets Adapters, or user-defined bundle catalogs is not supported.'.
After inspecting how the officially supported bundles are added to the .dependencies
file, however, I managed to successfully add a Capital Markets Bundle by providing a relative path from the product catalog as follows:
<?xml version="1.0" encoding="UTF-8"?>
<apama-project>
<dependency>
<dependencyentry path="" kind="src"/>
</dependency>
<catalogs>
</catalogs>
<bundles>
<bundle file="DummyMDA.bnd" origin-path="../../../ApamaCapitalMarketsFoundation/ASB/bundles" origin="PRODUCT_CATALOG">
...
</bundle>
</bundles>
</apama-project>
I was able to engine_deploy
this project without any issues and confirmed the dependency was injected when running correlator --config /path/to/deploy/
.
Whilst not officially supported - is there any consequence to this approach? The engine_deploy
and apama_project
look to be able to replace a substantial chunk of aunit test framework
bundling code using ant which would be favourable.