Sofia2 IoT Platform (Minsait IoT Sofia2) release 4.2 is now available.
This release is available on the experimentation platform Sofia2 CloudLab
The release includes several new features and improvements. These are the most relevant among them:
SPRING BOOT APPLICATIONS DEPLOYMENT FROM CONTROL PANEL
The Platform now allows to deploy Spring Boot applications simply by uploading them through the Control Panel, as you can see in the image::
This functionality has been implemented in KP-Container, so you can now deploy Python, Java and Spring Boot applications.
In addition, when this Spring Boot application acts as a a Sofia2 KP (ie manages ontologies) the platform is able to fully monitor this application, through an instance of Spring Boot Admin embedded in the platform.
NOTE: In Sofia2 CloudLab experimentation environment, only the ROL ADMINISTRATOR is allowed to deploy Spring Boot applications. But in dedicated instances this work can be done by any COLLABORATING role.
The concept of Ontology in the Platform manages to make the data management of the underlying repository independent, so that in Sofia2 I can manage an ontology in the same way even if it is stored in the BDTR (for example in MongoDB or in a Postgresql) or in the BDH (Hadoop HIVE, Kudu, SAP HANA, …).
Until now, a Sofia2 installation could only work with a BDTR and with a BDH, that is, if it used MongoDB as a BDTR database, then all the ontologies were stored in this database. In this version we add the ability of the same Sofia2 installation to support different BDTRs, so I can select the database on which it will work for each ontology:
With this we get that the same Sofia2 environment can use for example an HBase to store data from Logs, a MongoDB for IoT data from Smart Home devices and a Postgresql for pure management data as clients.
A new menu option has also been enabled to guide the creation of ontologies from a relational database:
EXPORT AND IMPORTATION OF CONFIGURATION AND DATA FROM THE PLATFORM
This utility offers a mechanism for the import and export of data configuration (users, projects, ontologies, scripts, …) and business data (instances of ontologies). In this way I can very easily migrate a complete solution from a development instance to a preproduction or production instance. This functionality is accessible for any COLLABORATOR role in Tools> Export / Import
Sofia2 desktops are Web applications that act as containers for other web applications, which can be Sofia2 web projects, Sofia2 dashboards or external applications. The desktop manages access security through the users of the platform. Any COLLABORATOR user can create one or more desktops and add the applications they consider:
Inside a desktop we have applications, which by default open as a tab:
And widgets that open as a popup:
SYS_ADMIN NEW ROL
We have added a new SYS_ADMIN role that allows administering a Sofia2 installation from the Control Panel itself. For example, now the configurations of the different DataSources managed in the platform are registered in this role:
SOLUTION DEVELOPMENT GUIDE
One of the foundational objectives of the Sofia2 Platform was to simplify and speed up the development of all types of applications, from IoT applications involving Gateways or mobile devices to large Big Data systems, without forgetting pure web management applications, for which Sofia2 is a facilitator. In this area, a new guide that explains step by step “how to build web applications” (in the guide based on Spring Boot and Angular) has been added in the Documentation section:
Complementing the guide has generated a development environment packaged as a ZIP that contains all the necessary tools to build these solutions (including JVM Java, IDE Eclipse, Maven, Apache Tomcat, …)
INTEGRATION WITH GIT
This new functionality allows the association of an instance of SCM GIT with an installation of the platform Sofia2, with the aim of being able to use this repository as SCM repository of the developments / solutions that are carried out on the platform.
The Ontologies are the core of the platform, they make up the Domain Model that manages a Sofia2 solution. To improve the exchange of information between the different roles and teams that work with the platform in this version, a description can be added to the ontology and to each of the attributes that comprise it.
As well as generate a PDF report of this metainformation:
REVISION OF SOFIA2 ARCHITECTURE
We start in this release a process of revision and adaptation of the platform. Among the lines already launched we have:
· Restructuring of Maven projects that make up the source code of the platform:
· Full automation of all platform deployments with Jenkins
· Generation of Docker Containers of the entire platform
· Automation of deployment of Pilot environments with Ansible: https://about.sofia2.com/2017/10/20/como-instalar-plataforma-sofia2-en-un-so-linux-centos-con-ansible/