Clone
Luca Molteni <volothamp@gmail.com>
committed
on 02 Jul
[DROOLS-5275] Descope Traits (#2887)
* [DROOLS-5275] Descope Traits

New module for traits

Dependency on core

trait tests moved from drool… Show more
[DROOLS-5275] Descope Traits (#2887)

* [DROOLS-5275] Descope Traits

New module for traits

Dependency on core

trait tests moved from drools core to traits

Split Trait logic in GenericTypeDefinition

Avoid using static method in DefaultFactHandle

Reverted DefaultBeanClassBuilder to master

DefualtBeanClassBuilder does not depend on traits

Moved trait test to LegacyTraitTest.java

Renamed TraitProxy, TraitProxyImpl extends TraitProxy

BaseTraitProxy file in service

Moved traits DRL to traits module

Fix Manual injection in MetadataTest

Injection of TraitPropertyWrapperBuilder

Moved TraitableBean to drools core

Moved TraitTypeMap and TraitableBean to core

Fix testTraitRedundancy

Descope trait OOP, with KieComponentFactoryInjected

Subclass DefaultFactHandle

Removed trait support for DisconnectedFactHandle.java (dead code)

TraitNamedEntryPoint

Moved trait persistence test to traits module

IsAEvaluatorDefinition has to be defined explictly

Removed TRAITSET_FIELD_NAME from listened properties as it wasn't covered by test

Create KnowledgePackageImpl using KieComponentFactory

Subclassed KnowledgePackageImpl to TraitKnowledgePackageImpl.java, removed TraitCoreService.java

removed traits from implicit imports

Fix specific case for JBPM in which the kbase is not present

* Updated TraitExample.java in drools-example to import trait dependency

* Added clarifying comment

* org.drools.traits.core.factmodel.traits

to

org.drools.traits.core.factmodel

* kie-util-test to test scope and jaxb to provided, retriggering

* Fix license Show less

master + 2 more