frascati issueshttps://gitlab.ow2.org/frascati/frascati/-/issues2018-09-10T23:26:45Zhttps://gitlab.ow2.org/frascati/frascati/-/issues/18Support Maven 32018-09-10T23:26:45ZPhilippe MerleSupport Maven 3Add support to build and run FraSCAti with Apache Maven 3.
Add support to build and run FraSCAti with Apache Maven 3.
1.4https://gitlab.ow2.org/frascati/frascati/-/issues/17FraSCAti frozen if the version 1.1 of the SCA specification is used2018-09-10T23:26:45ZChristophe DemareyFraSCAti frozen if the version 1.1 of the SCA specification is usedThe Assembly Factory freezes if it parses a composite file using the SCA 1.1 specification.
It should display an error message instead.
Example:
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
name="helloworld-pojo...The Assembly Factory freezes if it parses a composite file using the SCA 1.1 specification.
It should display an error message instead.
Example:
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
name="helloworld-pojo">
...
</composite
https://gitlab.ow2.org/frascati/frascati/-/issues/16NullPointerException in parser if the @service or the <service/> tag is omited2018-09-10T23:26:45ZChristophe DemareyNullPointerException in parser if the @service or the <service/> tag is omitedA NullPointerException is thrown if the @service annotation or the <interface/>
tag (implementation value) is omited.
The parser should display an explicit warning like : "The xxxx interface
implementation is not defined for the xxx serv...A NullPointerException is thrown if the @service annotation or the <interface/>
tag (implementation value) is omited.
The parser should display an explicit warning like : "The xxxx interface
implementation is not defined for the xxx service/reference. You should add an
interface implementation tag in the composite description file or add the
related annotation in the source code."
This problem can be reproduced by customizing the HelloWorld pojo example.
FraSCAti Standalone Runtime
Running the Runtime Factory with helloworld/null/null
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.ow2.frascati.Launcher.main(Launcher.java:108)
Caused by: java.lang.NullPointerException
at
org.ow2.frascati.factory.core.parser.util.InterfaceComparator.compare(InterfaceComparator.java:23)
at
org.ow2.frascati.factory.core.parser.util.TargetResolver.resolve(TargetResolver.java:35)
at
org.ow2.frascati.factory.core.parser.util.ModelResolver.resolve(ModelResolver.java:99)
at
org.ow2.frascati.factory.core.parser.util.ModelResolver.parse(ModelResolver.java:130)
at
org.ow2.frascati.factory.core.parser.Sca2EcoreInterceptorLC1a2eb783.parse(Sca2EcoreInterceptorLC1a2eb783.java:53)
at
org.ow2.frascati.factory.core.parser.Sca2EcoreFcItf.parse(Sca2EcoreFcItf.java:32)
at
org.ow2.frascati.factory.core.dispatcher.ManagerImpl.loadComposite(ManagerImpl.java:123)
at
org.ow2.frascati.factory.core.dispatcher.ManagerInterceptorLC1a2eb783.loadComposite(ManagerInterceptorLC1a2eb783.java:53)
at
org.ow2.frascati.factory.core.dispatcher.ManagerFcItf.loadComposite(ManagerFcItf.java:32)
at org.ow2.frascati.factory.Factory.getComposite(Factory.java:50)
at org.ow2.frascati.factory.Factory.run(Factory.java:78)
at
org.ow2.frascati.factory.FactoryCommandLine.main(FactoryCommandLine.java:286)
... 5 more
https://gitlab.ow2.org/frascati/frascati/-/issues/15Reflecting FraSCAti modules as OSGi bundles2018-09-10T23:26:45ZRomain RouvoyReflecting FraSCAti modules as OSGi bundlesOSGi defines a standard packaging mechanism, which can be used to better isolate the loading of
software modules within a standard Java Runtime Environment. FraSCAti «à la carte» could benefit from
this mechanism to better control the ...OSGi defines a standard packaging mechanism, which can be used to better isolate the loading of
software modules within a standard Java Runtime Environment. FraSCAti «à la carte» could benefit from
this mechanism to better control the loaded modules as well as their dependencies.
It would therefore be nice to consider the definition of OSGi-compliant manifest files for the module of
the platform. Existing tools, such as BND [1] or Tycho [2] could facilitate this task by generating the
manifest file from the Maven configuration file.
References
1. BND. http://www.aqute.biz/Code/Bnd
2. Tycho. http://tycho.sonatype.org
Romain Rouvoyhttps://gitlab.ow2.org/frascati/frascati/-/issues/14@Service annotation and inheritance2018-09-10T23:26:45ZChristophe Demarey@Service annotation and inheritancef a Java-based component which implementation class
- implements an @Service-annotated Java interface
then FraSCAti is able to resolve the SCA Service.
But if the component's implementation class
- extends an @Service-annotated class...f a Java-based component which implementation class
- implements an @Service-annotated Java interface
then FraSCAti is able to resolve the SCA Service.
But if the component's implementation class
- extends an @Service-annotated class OR
- extends a class that implements an @Service-annotated interface
then FraSCAti can't load the composite.
Supporting this feature would exempt SCA developers to duplicate the @Service
annotation if such a pattern in the architecture is encountered.
Nicolas Dolet1.5https://gitlab.ow2.org/frascati/frascati/-/issues/12Support for instantiating a specific component inside a composite2018-09-10T23:26:45ZChristophe DemareySupport for instantiating a specific component inside a compositeSuppose you have a big .composite file, with several components defined within.
For testing purposes, it could be useful to say: inside this big composite,
start only the component X (and related services).Suppose you have a big .composite file, with several components defined within.
For testing purposes, it could be useful to say: inside this big composite,
start only the component X (and related services).https://gitlab.ow2.org/frascati/frascati/-/issues/11QName null exception when launching contributions2018-09-10T23:26:45ZChristophe DemareyQName null exception when launching contributionsHello,
Using the latest version from the SVN, I have an IllegalArgumentException when
launching contributions ("local part cannot be "null" when creating a QName").
The log is attached to this bug report.
Note that when running the c...Hello,
Using the latest version from the SVN, I have an IllegalArgumentException when
launching contributions ("local part cannot be "null" when creating a QName").
The log is attached to this bug report.
Note that when running the components directly (without using contributions),
they work correctly.
The exception happens on the contribution of the counter-rest/ example of
FraSCAti, but also on other contributions.
Adel.1.4https://gitlab.ow2.org/frascati/frascati/-/issues/10ArrayIndexOutOfBoundsException while loading an SCA contribution2018-09-10T23:26:45ZChristophe DemareyArrayIndexOutOfBoundsException while loading an SCA contributionAn ArrayIndexOutOfBoundsException is thrown while trying to load an SCA contribution.
With the counter-rest contribution, it fails only with the counter-client composite. the counter-server is loaded and running.
GRAVE: Error when load...An ArrayIndexOutOfBoundsException is thrown while trying to load an SCA contribution.
With the counter-rest contribution, it fails only with the counter-client composite. the counter-server is loaded and running.
GRAVE: Error when loading the composite {http://www.osoa.org/xmlns/sca/1.0}counter-client.composite
org.ow2.frascati.assembly.factory.api.ManagerException: Error when loading the composite {http://www.osoa.org/xmlns/sca/1.0}counter-client.composite
at org.ow2.frascati.assembly.factory.manager.AssemblyFactoryManager.processContribution(AssemblyFactoryManager.java:372)
at org.ow2.frascati.assembly.factory.api.CompositeManagerInterceptorSCALCb56bb98SCACCIntent.processContribution(CompositeManagerInterceptorSCALCb56bb98SCACCIntent.java:308)
at org.ow2.frascati.assembly.factory.api.CompositeManagerInterceptorSCAIntent.processContribution(CompositeManagerInterceptorSCAIntent.java:114)
at org.ow2.frascati.assembly.factory.api.CompositeManagerInterceptorSCAIntent.processContribution(CompositeManagerInterceptorSCAIntent.java:114)
at org.ow2.frascati.assembly.factory.api.CompositeManagerFcInItf.processContribution(CompositeManagerFcInItf.java:86)
at org.ow2.frascati.assembly.factory.api.CompositeManagerInterceptorSCAIntent.processContribution(CompositeManagerInterceptorSCAIntent.java:114)
at org.ow2.frascati.assembly.factory.api.CompositeManagerFcInItf.processContribution(CompositeManagerFcInItf.java:86)
at org.ow2.frascati.assembly.factory.api.CompositeManagerFcSR.processContribution(CompositeManagerFcSR.java:31)
at org.ow2.frascati.explorer.action.LoadMenuItem.execute(LoadMenuItem.java:137)
at org.ow2.frascati.explorer.action.LoadMenuItem.execute(LoadMenuItem.java:49)
at org.ow2.frascati.explorer.plugin.AbstractMenuItemPlugin.execute(AbstractMenuItemPlugin.java:79)
at org.ow2.frascati.explorer.plugin.AbstractMenuItemPlugin.actionPerformed(AbstractMenuItemPlugin.java:62)
at org.objectweb.util.explorer.swing.menu.GenericAction.actionPerformed(GenericAction.java:140)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6374)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6139)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4736)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:653)
at java.awt.EventQueue$2.run(EventQueue.java:651)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.ow2.frascati.assembly.factory.api.ManagerException: Could not start the SCA composite '{http://www.osoa.org/xmlns/sca/1.0}counter-client.composite'
at org.ow2.frascati.assembly.factory.manager.AssemblyFactoryManager.processComposite(AssemblyFactoryManager.java:547)
at org.ow2.frascati.assembly.factory.manager.AssemblyFactoryManager.processContribution(AssemblyFactoryManager.java:369)
... 52 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.ow2.frascati.assembly.factory.manager.AssemblyFactoryManager.processComposite(AssemblyFactoryManager.java:544)
... 53 more
1.4https://gitlab.ow2.org/frascati/frascati/-/issues/7Programming component membranes2018-09-10T23:26:45ZPhilippe MerleProgramming component membranesTinfi allows developers to implement their own SCA membranes.
Add into Assembly Factory the ability to define the SCA membrane attached to each SCA composite or component.
Provide a new example illustrating this feature.
Tinfi allows developers to implement their own SCA membranes.
Add into Assembly Factory the ability to define the SCA membrane attached to each SCA composite or component.
Provide a new example illustrating this feature.
1.5https://gitlab.ow2.org/frascati/frascati/-/issues/5Improvement of exception management2018-09-10T23:26:45ZPhilippe MerleImprovement of exception management- Improve how stack traces are reported by FraSCAti Assembly Factory
- Some exceptions are badly catched by SCA Parser
- Exceptions when Component Factory failed
- classes not found by Tinfi/Juliac runtime
- code not compilable by Ju...- Improve how stack traces are reported by FraSCAti Assembly Factory
- Some exceptions are badly catched by SCA Parser
- Exceptions when Component Factory failed
- classes not found by Tinfi/Juliac runtime
- code not compilable by Juliac
1.6https://gitlab.ow2.org/frascati/frascati/-/issues/111Support for Java 1.72018-02-06T10:32:19ZPhilippe MerleSupport for Java 1.7Allows to compile FraSCAti with Java 1.7.
This requires to apply at least the following patch:
Index: frascati/modules/pom.xml
===================================================================
--- frascati/modules/pom.xml (revision 5...Allows to compile FraSCAti with Java 1.7.
This requires to apply at least the following patch:
Index: frascati/modules/pom.xml
===================================================================
--- frascati/modules/pom.xml (revision 5941)
+++ frascati/modules/pom.xml (working copy)
@@ -111,6 +111,8 @@
</execution>
</executions>
<configuration>
+ <source>1.5</source>
+ <target>1.5</target>
<srcs>
<src>src/main/java</src>
<src>src/main/resources</src>
1.6https://gitlab.ow2.org/frascati/frascati/-/issues/85mvn sonar:sonar failed2018-02-06T10:32:18ZPhilippe Merlemvn sonar:sonar failedRunning 'mvn sonar:sonar' failed.
Running 'mvn sonar:sonar' failed.
https://gitlab.ow2.org/frascati/frascati/-/issues/33Compilation of FraSCAti Assembly Factory failed2018-02-06T10:32:06ZPhilippe MerleCompilation of FraSCAti Assembly Factory failedSometimes, the Bamboo continuous integration failed when building the FraSCAti Assembly Factory.
Following is the end of the build trace:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERRO...Sometimes, the Bamboo continuous integration failed when building the FraSCAti Assembly Factory.
Following is the end of the build trace:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO]
Two interfaces have the same name 'component-type-parser'
It seems that frascati-sca-parser.jar is present in the class path several times.
This implies an issue when FraSCAti merges loaded composites.
1.5https://gitlab.ow2.org/frascati/frascati/-/issues/74Allow component container specialization when the configuration phase depends...2018-02-06T10:22:09Zjonathan labejofAllow component container specialization when the configuration phase depends on ".composite" files.Currently, ".composite" configuration files do not allow to specialize component container types, and do not take care of the use of the @org.objectweb.fractal.fraclet.extensions.Membrane annotation.Currently, ".composite" configuration files do not allow to specialize component container types, and do not take care of the use of the @org.objectweb.fractal.fraclet.extensions.Membrane annotation.https://gitlab.ow2.org/frascati/frascati/-/issues/115Source attribute of a property must have the same name of the property2013-04-16T12:29:51ZGwenael CattezSource attribute of a property must have the same name of the propertyWhen a SCA property of a component is define in the enclosing composite both properties must have the same nameWhen a SCA property of a component is define in the enclosing composite both properties must have the same name1.6https://gitlab.ow2.org/frascati/frascati/-/issues/114JAX-B properties get null when injected in a component2013-04-16T12:02:21ZGwenael CattezJAX-B properties get null when injected in a componentWhen a component have a composite implementation, the JAX-B properties define in this component are null when injected in the implemented component.When a component have a composite implementation, the JAX-B properties define in this component are null when injected in the implemented component.1.6https://gitlab.ow2.org/frascati/frascati/-/issues/51Add variability around the Tinfi configuration used by FraSCAti2013-03-25T10:26:21ZPhilippe MerleAdd variability around the Tinfi configuration used by FraSCAtiAllow to compile FraSCAti with different Tinfi configurations, e.g. Light or Full.
Allow to compile FraSCAti with different Tinfi configurations, e.g. Light or Full.
https://gitlab.ow2.org/frascati/frascati/-/issues/21Adding new components to an already running composite2013-03-25T10:16:46ZPhilippe MerleAdding new components to an already running compositeCurrently, FraSCAti provides code isolation between loaded SCA contributions: each contribution has its own classloader and all its SCA composites share the same classloader.
When adding new components to a running SCA composite, FraSCA...Currently, FraSCAti provides code isolation between loaded SCA contributions: each contribution has its own classloader and all its SCA composites share the same classloader.
When adding new components to a running SCA composite, FraSCAti must provide capabilities to update the classloader of the SCA composite (e.g., add new JARs) and create the new components in the scope of the classloader of the composite to update.
This feature will be useful:
1) for the CALICO framework,
2) for loading FraSCAti plugins (e.g., binding and implementation support) dynamically at runtime,
3) for FraSCAti on OSGi.
https://gitlab.ow2.org/frascati/frascati/-/issues/77Optional default value for property2011-12-02T13:26:15ZRémi DruilheOptional default value for propertyAccording to SCA specification : "The property element may contain an optional default-property-value, which provides default value for the property" but everytime I set to blank a property <property name="toto"></property> or <property ...According to SCA specification : "The property element may contain an optional default-property-value, which provides default value for the property" but everytime I set to blank a property <property name="toto"></property> or <property name="toto"/>, I have this mistake : <sca:property name="prop"> - The property value or the attribute 'source' must be set. Is this a mistake ?
Regards.https://gitlab.ow2.org/frascati/frascati/-/issues/75Adding "many" attribute to property element2011-12-01T13:49:43ZRémi DruilheAdding "many" attribute to property elementAccording to the Assembly Model Specification v1.0 (2007), there is a way to add a Collection of property values. In FraSCAti, the attribute "many" is not supported.
It could be usefull for me if this feature could be added.According to the Assembly Model Specification v1.0 (2007), there is a way to add a Collection of property values. In FraSCAti, the attribute "many" is not supported.
It could be usefull for me if this feature could be added.