summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lifecycle/instance
AgeCommit message (Collapse)Author
2014-06-30Separated modifying Lookup methods into LookupManager, which is onlyAndrew Branson
present in a server process. This stops clients trying to write to the directory without relying on their permissions.
2014-06-17Separate property, workflow and collection instantiation into separateAndrew Branson
methods in the instantiation predefined steps so they can be used independently.
2014-06-11Separate PredefinedStepContainers for Agents and Items (and Server Item)Andrew Branson
2014-06-05Moved old entitycreation package from the predefined step package to aAndrew Branson
new 'imports' package under entity. Renamed most classed with an 'Import' prefix to avoid clashes with other API classes. Fixes #194
2014-06-05LDAP refactored behind interfaces. All functions of LDAP now hiddenAndrew Branson
behind interfaces: Authenticator, Lookup and NextKeyManager (LDAP property storage was already a ClusterStorage). Gateway holds additional objects, and Fixes #26 #191. Refs #27 (needs additional work for read perms and auth tokens)
2014-05-16item.request returns the final outcome, which may be modified during theAndrew Branson
execution (e.g. in the case of Predefined Steps). Fixes #136
2014-05-14Resolved missing @Override warningsAndrew Branson
2014-05-14Return that should have been a continue. NewItem imports were bailingAndrew Branson
out if an Outcome was unchanged, skipping collection imports.
2014-05-08Agent now extends Item, so they can have workflows. All traces of theAndrew Branson
old 'Entity' superclasses should be removed, including proxies and paths. Very large change, breaks API compatibility with CRISTAL 2.x. Fixes #135
2014-04-11Give Item name when NewItem import failsAndrew Branson
2014-04-09Expanded server predefined steps to include server and agent maintenanceAndrew Branson
steps. Fixes #174
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-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-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-10More alignment with Agilium version.Andrew Branson
Fixes an advancement problem on Join
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-06AddStepsFromDescription was never used, and probably shouldn't be. ItAndrew Branson
messes with the link between WfDef and Item, and is now removed.
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-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-09-20Keep a History object in the Workflow to avoid recreating it on repeatedAndrew Branson
executions.
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-12Cleanup of unused code and annotationsAndrew Branson
2013-06-25More intelligent import of module resources. If resources or outcomesAndrew Branson
have been modified by a different user, do no overwrite them. Reset the properties and workflow though (should be fairly stateless), but leave the collections.
2013-06-18Report exception properly in CreateItemFromDescriptionAndrew Branson
Initialize new workflows in ReplaceDomainWorkflow
2013-06-18Errors were not stored when submitted to activities with no outcomeAndrew Branson
2013-06-14Domain workflow CompositeActivity must be called 'domain'.Andrew Branson
ReplaceDomainWorkflow predef step now forces this.
2013-06-13Escape DNs in Path, so special characters can be used in PathAndrew Branson
components. Fixes #125
2013-05-17Add Role management support to module, instead of just creating one ifAndrew Branson
it's not already there. Supports 'jobList' attribute to enable job pushing
2013-03-27Olivier's fix for advancement!Andrew Branson
2013-02-04Write Import outcomes directly to storage.Andrew Branson
Add optional timestamp override to Import. If missing, defaults to now.
2013-01-31Added ViewName field to Event. Filled in with the Viewpoint name ifAndrew Branson
specified in the Activity properties, making it possible to derive previous states of the Viewpoint. Closes #96 Cleanup outcome storing code. Throw an exception if SchemaType filled in and outcome is empty.
2012-11-26Fail more gracefully if the Workflow version wasn't suppliedAndrew Branson
2012-11-09Don't throw exception for missing script version unless the name doesn'tAndrew Branson
parse as a 'lang:' statement. Fixes #81
2012-08-22Replace deprecated Xerces DOM to XML serialisation with DOM3 LS.Andrew Branson
Refactor all to use the Outcome.serialize static method.
2012-08-03Logging and error message clean-upAndrew Branson
Logger.debug(String) now deprecated so they're easier to spot when left in.
2012-07-30Predefined steps audit, including new steps for collection managementAndrew Branson
Fixes #19
2012-07-19Clean-up predefined stepsAndrew Branson
2012-07-13New property 'Breakpoint' in Activity. If set to true, the workflow willAndrew Branson
not proceed automatically past that activity after COMPLETE or DONE transitions, but will instead wait for PROCEED or SKIP. AUTOSTART removed. Now composite activities autostart, while atomic ones don't. closes #30
2012-07-12Suspend transition now can carry an optional 'Errors' outcome whereAndrew Branson
client processes can record the reason for the suspension. Errors XML is marshalled ErrorInfo. UserCodeProcess automatically sends fatal ErrorInfos through suspend jobs. Job API added to to support all this. fixes #23
2012-07-06Remove XML parsing from module processing, use Castor unmarshallingAndrew Branson
instead. Create module item with collection of imported Items and module XML registered as an outcome.