Visualize platforms topology
Few days ago, we spoke about the new edges of O3S platforms thanks to Node.js-O3S integration.
One of the most interesting aspects is the very fast development of any new front-end, based on Javascript/HTML5 frameworks.
For those who know d3js framework, for example, managing data became wonderful. A visit on their web site would bring the arguments, if necessary.
But what about simulation data, testing data, test stand data etc. ?
A first example was given by our new o3sUIDesigner (tested with Chrome), but we started working on different other experiments based on the new O3S web friendly aspects. One of them, is the control of an O3S platform. Administrate it, but also schedule scripts and simulations, or load data, was a matter of programmatic Python actions or dedicated HMI actions (o3sPlatformManager app). We have already insisted several times on the fact that Pyrhon is just one of the possible choices. Thanks to our SOAP based web services, any language that can implement SOAP clients is available, quite easily.
And now, take a look how simple it is with Node.js using the node-soap extension:
mdns = require('mdns')
_u = require('underscore')
...
soap = require('soap');
...
browser = mdns.createBrowser(mdns.tcp('o3s'));
browser.on('serviceUp', function(service) {
var node = service.txtRecord;
node.admin = {};
var baseurl = 'http://' + node.ip + ':' + node.soapPort + '/soap';
...
soap.createClient(baseurl + '/BundleAdmin/BundleAdmin', function(err, client) {
node.admin.bundle = client;
node.admin.bundle.getBundleList(null, function(err, result) {
node.bundles = result.return;
if (! node.bundles) node.bundles = [];
_u.each(node.bundles, function(n) { n.type = 'bundle'; });
});
...
}Well, easier is difficult. But what does it mean ? Just that a good Javascript developer would be able to develop an O3S administration front-end in, oh, let’s say 5 days. (Mobile) Web apps are now ready to impress you…
So, here is our new o3sPlatformOrganizer. It is a “new age” o3sPlatformManager alternative (work in progress). See below how it looks like for the moment:
You could like, or you could hate, but the hidden story there is that you could do it in the way that you want, taking care about what an user should see. Future is managing big data. Platform administration data is already big data for human operators. And this is definitely true for test parameters or test results data.
Just take care about what is newly possible to do with this technology. And let your imagination do its job, than code it. In five days.
4 December 2012 at 15 h 41 min Comments (0)












