summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/persistency
AgeCommit message (Collapse)Author
2014-09-30Remove Collection.URLInfo. Add Collection.Version, and add it to theAndrew Branson
Collection ClusterStorage path.
2014-09-26More FindBugs recommendationsAndrew Branson
2014-09-26Update javadoc for Item id switchAndrew 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-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-28addition of a constucteur allowing to pass a causeogattaz
2014-08-28Put in place a protection in the constructor to set the size of theogattaz
"clusterPriority" at the right size according the fact that the "clusterStorageProp" property could contains a List of instances of String and/or ClusterStorage
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-06-12Refactored LDAP into its own module.Andrew Branson
2014-06-06Partial javadoc and scope tightening of the new interfaces.Andrew Branson
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-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-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-16XPath fixes, tests, and cleverer get and set FieldByXPathAndrew Branson
2014-04-14getClusterContents fixed for subtrees. Still has problems.Andrew Branson
2014-04-11ProxyLoader should return null when the object is not found on theAndrew Branson
server, not propagate the exception.
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-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-03-31Outcome.setFieldByXPath (refs #167)Andrew Branson
2014-03-06New methods in Outcome to support XPath queries to make extraction ofAndrew Branson
XML data in scripts easier. Fixes #167
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-02-21ClusterStorage property can now be an already instanciated ArrayList ofAndrew Branson
ClusterStorage instances, or the original comma separated string of class names.
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-10-18Javadoc for ClusterStorage constants.Andrew Branson
2013-09-03An exception should be thrown if no ClusterStorages are defined. ThisAndrew Branson
previously just logged a warning.
2013-07-11Log ProxyLoader queryData exceptionsAndrew Branson
2013-07-09Better debugging:Andrew Branson
ProxyLoader logs error at log(7) CastorXMLUtility creates an Unmarshaller in the constructor to detect mapfile problems then rather than on first use. Mapping objects don't do it.
2013-06-27Removed CERN schema 'BreakApart' propertyAndrew Branson
2013-05-21Collect stale job IDs when refreshing joblist. Remove them after toAndrew Branson
avoid concurrent mod, as we don't want to preload all the values. Fixes #112
2013-04-10added getSchema() method to Outcome to load schema xml.Andrew Branson
Removed unused 'getSchemaURI' method.
2013-03-06Test properties file and memory cluster storage for testing.Andrew Branson
2013-02-28RemoveNonStrongRefCache, as it didn't add anything to Map.Andrew Branson
2013-01-25Fix unsynchronized gap between check and retrieve of memcache object.Andrew Branson
2012-12-18Added optional WeakCache to hold fewer ClusterStorage objects in memory.Andrew Branson
Enabled with Storage.useWeakCache property. Useful for large imports and other operations that involve accessing a large number of items over a short period.
2012-12-14Do Schema parsing in the Schema object rather than the ValidatorAndrew Branson
2012-11-26List of current cluster types for use by storage implementationsAndrew Branson
2012-11-09Create proper constructor for Schema.Andrew Branson
2012-11-09Deprecate old overly generic query method in anticipation of the newAndrew Branson
ones.
2012-08-22Replace deprecated Xerces DOM to XML serialisation with DOM3 LS.Andrew Branson
Refactor all to use the Outcome.serialize static method.
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-26Refactored GUI into separate moduleAndrew Branson
2012-06-22Modules and entitycreation support Aggregations, collection propertiesAndrew Branson
and class identifiers