summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-11Give Item name when NewItem import failsAndrew Branson
2014-04-11OutcomeInitiator interface to create initial states of outcomes if emptyAndrew Branson
in the Job. Called when job.getOutcome() is called when none exists. Viewpoint last still overrides. Fixes #47
2014-04-09Expanded server predefined steps to include server and agent maintenanceAndrew Branson
steps. Fixes #174
2014-04-09Improve property dumping, using Object.toString and giving the propertyAndrew Branson
class.
2014-04-09Merge module properties as the loading order is established, so thatAndrew Branson
they override each other in the correct order.
2014-04-09ResourceLoader.getModuleDefURLs interface method to allow theAndrew Branson
ResourceLoader to specify exactly where the module.xml files come from. Dumpc2kProps cleanup
2014-04-09BadArgumentsException - more specific exception thrown by readC2KArgsAndrew Branson
when the arguments are wrong.
2014-04-04Module XML now supports a workflowVer attribute for the Item element. IfAndrew Branson
not given, it assumed version 0, as per the previous behaviour. Fixes #180
2014-04-04When generating the next SystemKey in NextKeyManager, make sure thatAndrew Branson
there is nothing already in the storage for that key. This prevents data loss when the LDAP is out-of-sync with the storages. Fixes #179
2014-04-04Removed resource type enumeration, because we allow domain-defined typesAndrew Branson
now. Refs #178
2014-04-04AbstractMain with config file checking got lost from previous commit.Andrew Branson
Refs #177
2014-04-02De-favourite the launchers for the kernel as they aren't really usefulAndrew Branson
without modules.
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-02Default StateMachine workflowAndrew Branson
2014-04-02Reuse single config file for testingAndrew Branson
2014-04-02Remove stray transitionId parameter from previous State Machine APIAndrew Branson
2014-04-01Don't distribute tanuki wrapper (will be completely factored out for 3.0Andrew Branson
version)
2014-04-01AbstractMain - remove usage and help, fail if config or connect args areAndrew Branson
missing or the files aren't found. Tests. Fixes #177
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-132.4 final changesAndrew Branson
2014-02-13Fixed ServerNewEntity. Reference proper transition in PredefinedStep.Andrew Branson
The Server PredefinedSteps could do with a redesign though. Fixes #155
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-24Console functions updated to new Resource APIAndrew Branson
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