summaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
2014-06-06Backwards compatible Gateway.connect methodAndrew Branson
2014-06-05Merge branch 'master' of ssh://dev.cccs.uwe.ac.uk:22/var/git/cristal-kernelogattaz
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-05Make LDAPNextKeyManager independent of the LDAPLookup. The authenticatorAndrew Branson
is the only required common component.
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-06-05ObjectProperties.getInstance() - if the property contains a String thenAndrew Branson
attempt to instantiate an object from that classname, otherwise return the object.
2014-05-22Renamed method in DescriptionObjectCache which still refered toAndrew Branson
activities.
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-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-14Resolved missing @Override warningsAndrew Branson
2014-05-14Removed unnecessary ItemProxy casts after removal of EntityProxyAndrew Branson
2014-05-14Bug in cherry pick - create new DOM when there is no String outcomeAndrew Branson
data.
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-14Return that should have been a continue. NewItem imports were bailingAndrew Branson
out if an Outcome was unchanged, skipping collection imports.
2014-05-12Tweak locks to hopefully avoid deadlocks a bitAndrew Branson
2014-05-08Allow getDOM to return an empty Document if the outcome isn't set. ThenAndrew Branson
applications can build Outcomes themselves without having to create their own DOMImplementations. Fixes #184
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-16XPath fixes, tests, and cleverer get and set FieldByXPathAndrew Branson
2014-04-14getClusterContents fixed for subtrees. Still has problems.Andrew 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-11ProxyLoader should return null when the object is not found on theAndrew Branson
server, not propagate the exception.
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-09Improve property dumping, using Object.toString and giving the propertyAndrew Branson
class.
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-04When generating the next SystemKey in NextKeyManager, make sure thatAndrew Branson
there is nothing already in the storage for that key. This prevents data loss when the LDAP is out-of-sync with the storages. Fixes #179
2014-04-04Removed resource type enumeration, because we allow domain-defined typesAndrew Branson
now. Refs #178
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-04-02Default StateMachine workflowAndrew Branson
2014-04-02Remove stray transitionId parameter from previous State Machine APIAndrew Branson
2014-03-31Outcome.setFieldByXPath (refs #167)Andrew Branson
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-21Set the class loader of the ScriptingEngine to the same as the ScriptAndrew Branson
class, instead of the thread context one. Should solve problems with Jetty etc.
2014-03-18getActPropString should return null when the property is null.Andrew Branson
2014-03-10More alignment with Agilium version.Andrew Branson
Fixes an advancement problem on Join
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-03-06ActivityDefs loaded from ActDefCache get a 'Version' property set withAndrew Branson
their Viewpoint name so the resulting Activity's version will be set correctly. Refs #168
2014-03-06New methods in Outcome to support XPath queries to make extraction ofAndrew Branson
XML data in scripts easier. Fixes #167
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-27manage ipv6 localhost hostaddress ogattaz