UNPKG

iot-sol

Version:

Intel(r) IoT Services Orchestration Layer - HTML5 IDE + Node.js middleware to create and host distributed IoT Apps in minutes

80 lines (79 loc) 3.3 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <meta name="author" content="Copyright 2015 Intel Corporation All Rights Reserved." /> <title>IoT Services Orchestration Layer</title> <style type="text/css">code{white-space: pre;}</style> <link rel="stylesheet" href="styles/style.css" type="text/css" /> </head> <body> <div id="header"> <h1 class="title">IoT Services Orchestration Layer</h1> <h2 class="author">Copyright 2015 Intel Corporation All Rights Reserved.</h2> </div> <div id="TOC"> <ul> <li><a href="#string-library">String library</a><ul> <li><a href="#concat">concat</a><ul> <li><a href="#description">Description</a></li> <li><a href="#inport">Inport</a></li> <li><a href="#outport">Outport</a></li> <li><a href="#example">Example</a></li> </ul></li> <li><a href="#search">search</a><ul> <li><a href="#description-1">Description</a></li> <li><a href="#inport-1">Inport</a></li> <li><a href="#outport-1">Outport</a></li> <li><a href="#example-1">Example</a></li> </ul></li> <li><a href="#json">json</a><ul> <li><a href="#description-2">Description</a></li> <li><a href="#config">Config</a></li> <li><a href="#inport-2">Inport</a></li> <li><a href="#outport-2">Outport</a></li> </ul></li> </ul></li> </ul> </div> <h1 id="string-library">String library</h1> <h2 id="concat">concat</h2> <h3 id="description">Description</h3> <p>This service joins all the inport value and output the result string.</p> <h3 id="inport">Inport</h3> <p><code>in1</code>: String.</p> <p><code>in2</code>: String.</p> <h3 id="outport">Outport</h3> <p><code>out</code>: String. <code>out</code> = <code>in1</code> + <code>in2</code></p> <h3 id="example">Example</h3> <p><code>in1</code>: &quot;hello&quot;</p> <p><code>in2</code>: &quot;world&quot;</p> <p><code>out</code> is &quot;helloworld&quot;</p> <h2 id="search">search</h2> <h3 id="description-1">Description</h3> <p>This service finding a string(<code>str2</code>) in a string(<code>str1</code>), output true if the text is found, else output false.</p> <h3 id="inport-1">Inport</h3> <p><code>str1</code>: String. The source string.</p> <p><code>str2</code>: String. The sub string.</p> <h3 id="outport-1">Outport</h3> <p><code>out</code>: Boolean. If <code>str1</code> includes <code>str2</code> output true, else output false.</p> <h3 id="example-1">Example</h3> <p><code>str1</code>: helloworld</p> <p><code>str2</code>: low</p> <p><code>out</code> is true</p> <p><code>str1</code>: helloworld</p> <p><code>str2</code>: abc</p> <p><code>out</code>: false</p> <h2 id="json">json</h2> <h3 id="description-2">Description</h3> <p>This service translate the string into json format.</p> <h3 id="config">Config</h3> <p>method: String. If <code>method</code> equals <em>parse</em>, it will output json format otherwise output the origin string.</p> <h3 id="inport-2">Inport</h3> <p><code>Inout</code>: String. The string that will be parsed.</p> <h3 id="outport-2">Outport</h3> <p><code>out</code>: Object. Parsing result.</p> </body> </html>