nuin » changes since 0.2
Changes since Nuin 0.2 - Nov 2004
The following key changes have been made since Nuin 0.2:
-
RDF support has been refactored to a new Java package (
org.nuin.ks.store.rdf) and extensively re-written. A new factory class,RDFWrapperFactoryprovides a convenience interface for migrating views of a store between RDF andKsValueandKsSentence. -
In the new RDF encoding,
KsVarnow maps to RDF bNode and vice-versa; previously vars were named resources and bNode were mapped toKsSymbols. -
Support has been added for binding WSDL descriptions of web services to agent services
(REST-style web services will be added in future). The root Java package for the new
capability is
org.nuin.integration.ws. An Axis type mapping has been defined for mapping between KsValue types and wrapped and SOAP encodings. -
A new library action
lib:bindhas been added to allow an agent to dynamically bind a service into its local service registry. This works for the existing agent services, and for service descriptions in WSDL. -
The
@action has acquired the ability to add arbitrary options to the service invocation. The syntax is as follows:
@ [name=serviceName, optName=optValue, ...] oper() {}
A particular option,wsdlPort, specifies the port name in a WSDL description where there is more than one possible port. -
Two bugs reported by Yathi have been fixed: accidental variable binding caused
by lexical scope leakage, and writing a KS in the appropriate writer syntax.
Plus, at Yathi's request,
retractcan now take non-ground sentences to retract. - A new KsValue type KsCollection has been added to allow for set-like containers of other KsValues. This is still preliminary, but is used, for example, to define a return type for services that deliver RDF models.