summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/process/module
AgeCommit message (Collapse)Author
2014-10-07Repackage to org.cristaliseAndrew 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-01Replace qualified class names with imports now the Import classes haveAndrew Branson
been renamed and don't clash.
2014-10-01Generate new UUID during import if the id field is empty, as well asAndrew Branson
missing.
2014-09-26Only override Module.reset value if it's actually given for a particularAndrew Branson
module
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-21Lost commits - NPE on ModuleResource.getVersion caused by badAndrew Branson
autoboxing, and Olivier's classloader tweaks.
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-15Add trim calls to ObjectProperties.getString() to discard any extraAndrew Branson
whitespace around the values. Fixes #165 Remove old Gateway.getProperty methods - there should be no deprecated methods in the 3.0 release Move all getProperty() calls to getString or other so they will be trimmed. Introduce ObjectProperties.getInstances to create ArrayLists of objects from comma-separated class name lists.
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-25Validate module resources to schema. Die if module resource importAndrew Branson
error. Fixes #181 Conflicts: src/main/java/com/c2kernel/process/Bootstrap.java
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-15Introduced 'Layer' attribute to allow overriding of descriptions. DescAndrew Branson
with the same name in the same description tree will be ranked by LocalObjectLoader according to this number, and the highest one chosen for instantiation. Fixes #188
2014-05-14Removed unnecessary ItemProxy casts after removal of EntityProxyAndrew Branson
2014-04-11Remove description editing workflows from the kernel - they have beenAndrew Branson
moved to cristal-dev. Requires future post-processing for previous Module.debug functionality
2014-04-09Merge module properties as the loading order is established, so thatAndrew Branson
they override each other in the correct order.
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-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-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-11-183.0-SNAPSHOT (Will be first open source version)Andrew Branson
New StateMachine desc IssueID #28
2013-08-02Module resources can specify version number, which overrides the defaultAndrew Branson
version viewpoint of '0'.
2013-06-27Removed CERN schema 'BreakApart' propertyAndrew 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-24Set agent in module scripts to either current user or system.Andrew Branson
2013-05-17Force order of imports to make sure roles and agents are in beforeAndrew Branson
items, so init push jobs will function.
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-04-03Fix bug in shufflingAndrew Branson
Added extra debug for shuffling
2013-02-08Logging and exception cleanupAndrew Branson
2013-02-04Move server startup script execution to the end of the item registrationAndrew Branson
for that module.
2013-02-04Cleanup module import log messagesAndrew Branson
2012-11-30Report module dependency shuffling in logAndrew Branson
2012-11-26Clean up module exception.Andrew Branson
Merge circular module dependency check with unmet check, earlier in the process.
2012-11-26Fixes #84Andrew Branson
2012-11-09Validate module xml against schema before unmarshalling. Fixes #82Andrew Branson
2012-07-12Formatting and cleanupAndrew Branson
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.
2012-07-06Modules serialize with Castor. Just about to remove the parsing.Andrew Branson
CastorXMLUtility is now a static member of gateway. Domain specific instances can be used by domain applications, but the maps do not interfere with the kernel.
2012-06-22Modules and entitycreation support Aggregations, collection propertiesAndrew Branson
and class identifiers
2012-06-19Refactor modulesAndrew Branson
Support workflows on module resources