This new version adds the following features to the platform:
· Twitter Integration Demo:
This demo is accesible within the Geographic Viewer and allows to find tweets with several keywords around a given location.
Tweets are represented geographically and stored in the RTDB
TweetsDemo ontology stores all the tweet information and an evaluation:
· Abstraction of the Connector (Protocol Gateway) concept to Sofia2 Plugin
In this new version, the concept of Connector or Platform Gateway (like MQTT or WebSocket connector) has been generalized to a Platform Plugin.
This allows any user organization of the platform to enable or disable its connectors and to develop its own connectors easily.
· SSAP Connector through WebSocket
The WebSocket protocol has been incorporated to all supported protocols (MQTT, REST, WS, AJAX, Sockets,…).
WebSocket is a W3C standard for bidirectional and full-duplex communication, designed for use in browsers and Web servers.
The Sofia2 In-Cloud instance has enabled this Gateway ws://sofia2.com/sib/api_websocket
This connector and the existing REST connector makes sofia2 a fully multilingual platform.
Unlike REST, Websocket is a bidirectional protocol that allows to create more advanced applications.
We have extended these APIs, supporting the WebSockets connection natively. These APIs allows us us to communicate with Sofia2 more easily and isolate the underlying protocol (MQTT, REST, WebSocket).
We have included this information in the API’s guide.
· Sofia2 Ontology Creation from a given XML Schema (XSD)
Sofia2 manages its entities (ontologies) in JSON format, but many systems still handle XML structures.
To facilitate the integration of these systems it has been incorporated into the screen of creation of ontologies the ability to import an XML schema and define automatically the ontology from this schema:
By clicking Generate Ontology, an equivalent ontology (JSON-Schema) will be generated from the XSD-Schema:
· Improvements in the visual editor of Scripting Rules
We have added new enhancements in the visual editor of Rules Scripting that allows you to view all the APIS and operations available and add to the script. Also we support autocomplete:
· Geospatial queries in SQL
Until now the geospatial queries should be in native language, now with this functionality these queries can also be launched in SQL, such as:
select * from <Ontology> where <attribute> S_near (ST_Point(longitude, latitude), max_distance (meters));
For example, this query select * from FeedautobusGijon WHERE Feed.geometry S_near(ST_Point( -5.6 , 43.53 ), 3000) will return all instances of the FeedautobusGijon ontology within a radius of 3 km to the marked point.
· Node.js API improvements
Thanks to the input and collaboration with Julio Galaron this new version is based on promises and improves exception control.
· SIB operation without CDB (Database Configuration)
SIB keeps working even when there is no connectivity to the BDC. SIB intelligently caches the CDB information.
· Improvements in the processing capacity of messages per second (throughput)
Various improvements that increase the capacity of processing of messages per second up to 1.5X.
· Improvements intthe Sofia2 Web Config Console
Several improvements in the console that include:
Definition of CEP Rule:
View of the structure of an ontology instance when create/modify ontology.
· New examples on the Platform
In the Sofia2 Blog have been published various posts that explain how you can easily use the features of the platform.
For example we have post about the creation of CEP Rules.
· Certification of the infrastructure “KP Model” on the Smart Coruña CSC Gateway
There have been passed a set of stress tests, performance degradation, reconfiguration, centralized deployment of infrastructure KP Model that certify its functionality.
· Resolution of various bugs and incorporation of performance enhancements and stability