Hi Jim,
I am co-worker of Tomas Fecko that's why I'm trying to run our projects on 3.0.0-SNAPSHOT :-).
I tried running our project in new f3 runtime. I encountered following problems.
1.) we are using web.componentType file to configure web composite. Loading of this file fails with:
java.lang.NullPointerException
[Ljava.lang.Object;@56e22b6b
at org.fabric3.implementation.web.introspection.WebComponentLoader.load(WebComponentLoader.java:90)
at org.fabric3.implementation.web.introspection.WebComponentLoader.load(WebComponentLoader.java:57)
at org.fabric3.introspection.xml.LoaderRegistryImpl.load(LoaderRegistryImpl.java:86)
- given web.componentType file is invalid.
If 3.0.0 should be compatible also with this approach - how should valid file look like?
2.) We use "global" properties in our composite files - so that they are reusable for multiple components defined within one composite file, e.g.:
<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:f3="urn:fabric3.org"
xmlns:f3-other="urn:fabric3.org"
xmlns:f3-impl="urn:fabric3.org:implementation"
targetNamespace="com.nordlicht/1.0"
autowire="true"
name="datasourcesShopifyComposite">
<property name="api.key" type="xs:string">${shopify.api.key}</property>
<property name="api.secret" type="xs:string">${shopify.api.secret}</property>
<property name="registration.url" type="xs:string">${shopify.app.register.url}</property>
<component name="DatasourcesShopifyComponent">
<implementation.java class="com.nordlicht.mine.datasources.components.DatasourcesShopifyComponent"/>
<property name="api.key" source="$api.key" />
<property name="api.secret" source="$api.secret" />
<property name="registration.url" source="$registration.url"/>
<service name="IDatasource">
<interface.java interface="com.nordlicht.mine.spi.datasources.IDatasource" />
</service>
</component>
</composite>
When I try to deploy such components to new runtime they are not recognized thus deployment fails. Is it a bug or the scheme has changed?
Maybe this is not the best place to "report" bugs or something like that, could you point me to project JIRA and maybe make it accessible for me to report stuff?
Thanks
Brano Ulbrik