summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel
AgeCommit message (Collapse)Author
2014-04-02ResourceImportHandler interface to allow custom <Resource> types orAndrew Branson
override the structure of standard ones. Specify with ResourceImportHandler.<resType> c2kprop. DefaultResourceImportHandler is used if not defined, which handled the 5 standard types (CA,EA,OD,SC,SM). Fixes #178
2014-04-02Remove stray transitionId parameter from previous State Machine APIAndrew Branson
2014-03-31Outcome.setFieldByXPath (refs #167)Andrew Branson
2014-03-27RemoveDomainPath now checks if the DomainPath exists, is not a context,Andrew Branson
and is an alias of the current Item. Fixes #176
2014-03-21Set the class loader of the ScriptingEngine to the same as the ScriptAndrew Branson
class, instead of the thread context one. Should solve problems with Jetty etc.
2014-03-18getActPropString should return null when the property is null.Andrew Branson
2014-03-10More alignment with Agilium version.Andrew Branson
Fixes an advancement problem on Join
2014-03-06Module resources get a 'Module' property set when they belong to aAndrew Branson
particular module. If they belong to a particular module, they are moved into the correct sub-context for that module. If the resource is already set to a different module, and error occurs.
2014-03-06ActivityDefs loaded from ActDefCache get a 'Version' property set withAndrew Branson
their Viewpoint name so the resulting Activity's version will be set correctly. Refs #168
2014-03-06New methods in Outcome to support XPath queries to make extraction ofAndrew Branson
XML data in scripts easier. Fixes #167
2014-03-06Type was being overridden with 'domain' if the CompositeActivity nameAndrew Branson
was 'domain'. Stop this to let the type name be the CompositeActivityDef name.
2014-03-06Fixes #166Andrew Branson
Also allows multiple errors in each node, and composites collect the errors of their children.
2014-03-06AddStepsFromDescription was never used, and probably shouldn't be. ItAndrew Branson
messes with the link between WfDef and Item, and is now removed.
2014-03-06CompositeActivityDef.instanciate wasn't calling configureInstance, whichAndrew Branson
copies over the properties from the def to the instance. ActivitySlotDef does it again, because it copies the slot props over, but instantiated CompositeActivities ended up with no props from the original Def. Fixes #169
2014-02-27manage ipv6 localhost hostaddress ogattaz
2014-02-26Properties extended as ObjectProperties, which can return any Object,Andrew Branson
and wrap int and boolean parsing. Gateway.getProperties() returns the new ObjectProperty instance. Old Gateway property methods still present but deprecated. Refs #149
2014-02-21ClusterStorage property can now be an already instanciated ArrayList ofAndrew Branson
ClusterStorage instances, or the original comma separated string of class names.
2014-02-13AddMemberToCollection now accepts a CastorHashMap of properties toAndrew Branson
include in the slot. They are overwritten with the Collection properties, and also inherit the classprops from there as before. Fixes #164
2014-02-13New PredefinedStep: WriteViewpoint. Non-admin users may need to createAndrew Branson
or replace named viewpoints during ordinary Item workflows. Previously, AddC2KObject was used, but as that is now Admin only, a new step is necessary to do this. Unlike the admin step, this checks that the target Outcome and Event exist and are of the correct schema before the Viewpoint is written. Fixes #154. Refs #152
2014-02-13Activity.runActivityLogic returns the Outcome, which it may modify. ThisAndrew Branson
is what should be stored, rather than the original request data. Fixes #163
2014-01-29Removed Job.getAgentProxy() as it shouldn't be necessaryAndrew Branson
Removed hanging if in AgentProxy.execute
2014-01-24Tweak Admin predef step restriction. Set correct activity property.Andrew Branson
Closes #152 Fix nulls in exceptions
2014-01-24Predefined steps that rewrite the workflow, manipulate collection slotsAndrew Branson
or arbitrarily alter C2KLocalObjects are now hard-coded as Admin only.
2014-01-23Refactored Resource into a new ResourceLoader interface, which allowsAndrew Branson
CRISTAL processes in other enviroments with complex class loading (e.g. OSGi) to supply their own resource and class loader to the kernel and its modules. Fixes #149
2013-12-12Properties preserve and respect the PropertyDescription 'isMutable'Andrew Branson
property. This setting prevents the WriteProperty predefined step from changing the property value when isMutable is false. WriteProperty also requires the selected property to already exist - they should be created either during Item instantiation or using AddC2KObject. LDAPPropertyManager prepends the Property name in its entries with ! if they are non mutable. Various places around the kernel that create properties now set the mutable field. Fixes #150
2013-12-09Password wasn't being redactedAndrew Branson
2013-12-09Return false from Transition.hasOutcome and hasScript if there areAndrew Branson
property symbols but the properties are empty (e.g. activities with no schema defined). The methods must now be given activity properties.
2013-12-05Add itemSysKey as a variable of the workflow during initialization.Andrew Branson
Use this for creating the shared History map. Lock event writing on the Workflow rather than the Activity to keep the History in the transaction.
2013-11-183.0-SNAPSHOT (Will be first open source version)Andrew Branson
New StateMachine desc IssueID #28
2013-10-18Javadoc for ClusterStorage constants.Andrew Branson
2013-09-30Javadoc on IDLsAndrew Branson
2013-09-20Pass c2kprops in as argument for ORB, so they can be overriddenAndrew Branson
2013-09-20Keep a History object in the Workflow to avoid recreating it on repeatedAndrew Branson
executions.
2013-09-20Synchronize on the hardCache, as it occasionally causes exceptions.Andrew Branson
2013-09-13Mail properties not relevantAndrew Branson
2013-09-03An exception should be thrown if no ClusterStorages are defined. ThisAndrew Branson
previously just logged a warning.
2013-08-02Module resources can specify version number, which overrides the defaultAndrew Branson
version viewpoint of '0'.
2013-07-29new lookup search method that uses a PropertyDescriptionList to findAndrew Branson
instances of an item description. Closes #114
2013-07-24SchemaVersion is actually a string property. Probably shouldn't beAndrew Branson
though.
2013-07-23Support for schemaName and schemaVersion in EventAndrew Branson
2013-07-23Add schema details to eventAndrew Branson
2013-07-15No need to store a POA in the locatorsAndrew Branson
2013-07-15Slacken the module script return type to Object, so it doesn't complainAndrew Branson
with default returns
2013-07-12Cleanup of unused code and annotationsAndrew Branson
2013-07-11Log ProxyLoader queryData exceptionsAndrew Branson
2013-07-10CastorXMLUtility switched to recommended XMLContext. Should be fasterAndrew Branson
and may help with IssueID #132
2013-07-09Better debugging:Andrew Branson
ProxyLoader logs error at log(7) CastorXMLUtility creates an Unmarshaller in the constructor to detect mapfile problems then rather than on first use. Mapping objects don't do it.
2013-07-08Copy tree sub keys before notifying. Fixes #131Andrew Branson
2013-06-27Fix for orb checkAndrew Branson
2013-06-27Cmdline parse fixAndrew Branson