summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/entity
AgeCommit message (Collapse)Author
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-10-01Replace qualified class names with imports now the Import classes haveAndrew Branson
been renamed and don't clash.
2014-10-01Store event on Item.initialize(), containing the initial properties ofAndrew Branson
the new Item.
2014-09-30Remove Serializable. CRISTAL never uses Java serialization, only Castor. Andrew Branson
2014-09-26Package documentation for collection, entity, entity.agent andAndrew Branson
entity.transfer packages
2014-09-26Switch Collection and Job equals() to Object rather than local. Andrew Branson
2014-09-26Check if queue is empty before wait(). Possible deadlock when proxyAndrew Branson
event arrives just before thread switches to waiting.
2014-09-22Castor unmarshalling was resulting in null itemPaths in ImportItem.Andrew Branson
ItemPath wasn't being set by the constructor either.
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-16Better reporting on ImportItem.createAndrew Branson
2014-09-16Tweaked debug message on Item.request to property declare calling agentAndrew 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-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-07-24Search for correct properties in Server tree for subscriptionAndrew Branson
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-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-23Combine various Lookup.search methods into a general search(Path,Andrew Branson
Property...)
2014-06-23Separate PredefinedStepContainers for Agents and Items (and Server Item)Andrew Branson
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-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-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-03-18getActPropString should return null when the property is null.Andrew Branson
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-29Removed Job.getAgentProxy() as it shouldn't be necessaryAndrew Branson
Removed hanging if in AgentProxy.execute
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-12-09Return false from Transition.hasOutcome and hasScript if there areAndrew Branson
property symbols but the properties are empty (e.g. activities with no schema defined). The methods must now be given activity properties.
2013-11-183.0-SNAPSHOT (Will be first open source version)Andrew Branson
New StateMachine desc IssueID #28
2013-09-30Javadoc on IDLsAndrew Branson
2013-07-15No need to store a POA in the locatorsAndrew Branson
2013-07-08Copy tree sub keys before notifying. Fixes #131Andrew Branson
2013-06-25Imply correct POA when calling getItem and getAgent, so other places canAndrew Branson
call it
2013-06-20getWorkflow and getViewpoint utility methods in ItemProxyAndrew Branson
2013-06-18Suspend outcome validation fixedandrew
2013-06-14getCollection proxy API method.Andrew Branson
2013-06-06Check SchemaType for outcome requirement instead of VersionAndrew Branson
2013-05-31Make sure validator exists if outcome is null before script execution.Andrew 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-05-17CleanupAndrew Branson
2013-04-10added getSchema() method to Outcome to load schema xml.Andrew Branson
Removed unused 'getSchemaURI' method.
2013-02-27Catch wrong class of C2KLocalObject being fedAndrew Branson