summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lifecycle
AgeCommit message (Collapse)Author
2014-10-07Repackage to org.cristaliseAndrew Branson
2014-10-06Predef step container cleanupAndrew Branson
2014-10-06Last Collection predef step - to create a numbered snapshot of theAndrew Branson
current state of the collection. Any further modification should be done by Admin using AddC2KObject
2014-10-03More FindBugs cleanupAndrew Branson
2014-10-03Rolled back the renaming of existing exceptions.Andrew Branson
2014-10-03Huge exception overhaul: Merged ClusterStorageException withAndrew Branson
PersistencyException. Replaced MembershipException with InvalidCollectionModification CORBA Exception. Made all predef steps throw more accurate exceptions when they go wrong, and let more exceptions bubble through from underneath.
2014-10-02push after rebasejet
2014-10-02Check the schema type of the predefined step before bundling the paramsAndrew Branson
into a PredefinedStepOutcome. Added single parameter execution method for scripts that can't handle the ... method params.
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-29More package docsAndrew Branson
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-16Abstract properties. Activities cannot be instantiated unless the slotAndrew Branson
overrides them. Fixes #190
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-14Removed unnecessary ItemProxy casts after removal of EntityProxyAndrew 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-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-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-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-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