summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/process
AgeCommit message (Collapse)Author
2014-07-28Support pre-compilation of scripts if supported by the engine. Also doesAndrew Branson
this during testing to catch script syntax errors during build. Client shell detects these error and declares them pre-execution. Conflicts: src/main/java/com/c2kernel/scripting/Script.java src/test/java/MainTest.java
2014-07-24CastorXMLUtility enhancements to use specific classloader rather thanogattaz
the main one and to configure castor if needed
2014-07-24Merge branch 'master' of ↵ogattaz
ssh://ogattaz@dev.cccs.uwe.ac.uk:22/var/git/cristal-kernel.git
2014-07-24ResourceLoader can specify a ClassLoader to pass to things like CastorAndrew Branson
2014-07-24Modification of the management of the Logger during the reading of theogattaz
starting arguments
2014-07-23Move openldap files to ldap packageAndrew Branson
Mark execute(ItemProxy, Job) non-public - should not be part of API, Jobs are fixed to a particular Item. Check null on module manager before calling shutdown scripts during close(). Remove auto-generated lines in ObjectProperties
2014-07-22Close all gateway singletons properly, adding close method toAndrew Branson
NextKeyManager, and leave the Gateway in a state where it can be reused with another init() call.
2014-07-04Refactored tanuki service wrapper to a separate moduleAndrew Branson
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-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-19Force UTF-8 for client and server CORBA communication. By default theAndrew Branson
Sun ORB uses ISO-8859
2014-06-12Refactored LDAP into its own module.Andrew Branson
2014-06-11Separate PredefinedStepContainers for Agents and Items (and Server Item)Andrew Branson
2014-06-06Partial javadoc and scope tightening of the new interfaces.Andrew Branson
2014-06-06Backwards compatible Gateway.connect methodAndrew 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-05Add Authenticator to the open() method params of ClusterStorage. PassedAndrew Branson
in through the TransactionManager. This allows user-login to storages. Fixes #192
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-05-14Refactored Proxy update notification server into its own class andAndrew Branson
thread, so executions return before proxy messages are sent. Another deadlock suspect.
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-16Don't use logger to report exceptions, in case the Logger didn't getAndrew Branson
initialized.
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-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-04AbstractMain with config file checking got lost from previous commit.Andrew Branson
Refs #177
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-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-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-09-20Pass c2kprops in as argument for ORB, so they can be overriddenAndrew Branson
2013-08-02Module resources can specify version number, which overrides the defaultAndrew Branson
version viewpoint of '0'.
2013-07-23Support for schemaName and schemaVersion in EventAndrew Branson
2013-07-12Cleanup of unused code and annotationsAndrew Branson
2013-06-27Fix for orb checkAndrew Branson
2013-06-27Cmdline parse fixAndrew Branson
2013-06-27Removed CERN schema 'BreakApart' propertyAndrew Branson
2013-06-25Error thrown if ORB had been destroyed was not informative enough. ThrowAndrew Branson
a better one.
2013-06-25Remove old http server initAndrew 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-06-22Rewrote cmdline parser to allow cristal processes to use their own. AlsoAndrew Branson
cmdline params may override config or connect params.
2013-06-19Gateway.connect should throw ObjectNotFoundException if the user doesn'tAndrew Branson
exist.
2013-06-17Authentication plugin for ConsoleAndrew Branson
2013-06-07Removed premature license comment Andrew Branson