summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lifecycle/instance
AgeCommit message (Collapse)Author
2014-10-01Predefined steps normally only interact with the last version of a3.0-BetaAndrew Branson
Collection. New steps will be added to create fixed versions as needed.
2014-10-01Collection version support, stored as a new final component of theAndrew Branson
Collection path. Null version implies "last".
2014-09-30Import cleanupAndrew Branson
2014-09-30Remove Serializable. CRISTAL never uses Java serialization, only Castor. Andrew Branson
2014-09-30Initial properties can be supplied as a marshalled PropertyArrayList asAndrew Branson
an optional additional parameter to CreateItem/AgentFromDescription. Each property supplied must be defined in the property description.
2014-09-26More FindBugs recommendationsAndrew Branson
2014-09-26Various problems found by FindBugsAndrew Branson
2014-09-22ItemPath.fromUUIDString unnecessary as ItemPath(String) supports bothAndrew Branson
plain UUIDs and an /entity prefix. Tightened that up and removed the fromUUIDString method for a simpler API. Also switched AgentPath(String) to a path argument for consistency. New AgentPaths should be created with AgentPath(new ItemPath(), String) instead.
2014-09-19Introduced static method ItemPath.fromUUIDString and made the UUIDAndrew Branson
constructor protected to better handle ItemPath and AgentPath construction with String UUIDs, throwing the right exceptions.
2014-09-18Hierarchical Roles. Fixes #199Andrew Branson
2014-09-17Server item predefined steps to manage roles. Fixes #200Andrew Branson
2014-09-16RemoveSlotFromCollection crashed if the currentChild parameter was notAndrew Branson
given
2014-09-15Rename DomainPath.setEntity to setItemPathAndrew Branson
2014-09-09Replaced int sysKey Item identifier with UUID, which is now portable.Andrew Branson
ItemPath objects are now used to identify Items throughout the kernel, replacing ints and Integers.
2014-08-28pull master devsogattaz
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