-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.xml
37 lines (36 loc) · 2.95 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version='1.0' encoding='UTF-8'?>
<operator xmlns="http://wirecloud.conwet.fi.upm.es/ns/macdescription/1" vendor="CoNWeT" name="sth-source" version="1.0">
<details>
<title>STH source</title>
<homepage>https://github.com/wirecloud-fiware/sth-source</homepage>
<authors>Álvaro Arranz García <aarranz@conwet.com></authors>
<email>aarranz@conwet.com</email>
<image>images/catalogue.png</image>
<description>Retrieve historical data from a Orion Context Broker through STH</description>
<longdescription>DESCRIPTION.md</longdescription>
<license>Apache License 2.0</license>
<licenseurl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseurl>
<doc>doc/userguide.md</doc>
<changelog>doc/changelog.md</changelog>
<issuetracker>https://github.com/wirecloud-fiware/sth-source-operator/issues</issuetracker>
</details>
<requirements>
<feature name="NGSI"/>
</requirements>
<preferences>
<preference name="sth_server" type="text" label="STH server URL" description="URL of the STH server to use for retrieving entity information" default="http://sth.lab.fiware.org:8666/STH"/>
<preference name="ngsi_tenant" type="text" label="NGSI tenant/service" description="Tenant/service to use when connecting to the context broker. Must be a string of alphanumeric characters (lowercase) and the "_" symbol. Maximum length is 50 characters. If empty, the default tenant will be used" default=""/>
<preference name="ngsi_service_path" type="text" label="NGSI scope" description="Scope/path to use when connecting to the context broker. Must be a string of alphanumeric characters (lowercase) and the "_" symbol separated by "/" slashes. Maximum length is 50 characters. If empty, the default service path will be used: /" default="/"/>
<preference name="entity_type" type="text" label="Entity Type" description="Entity Type to use for retrieving entity information. Currently this preference cannot be empty." default="weather.station" />
<preference name="entity" type="text" label="Initial Entity" description="Id of the initial entity to query. Leave this preference empty for disabling this initial query." default="weather.station.001" />
<preference name="attribute" type="text" label="Attribute" description="Attribute of the entity to query about." default="temperature" />
</preferences>
<wiring>
<inputendpoint name="entity" type="text" label="Entity" description="Entity information to use for retrieving the historical information" friendcode="entity"/>
<outputendpoint name="values" type="text" label="Values" description="Values" friendcode="data-serie"/>
<outputendpoint name="timestamps" type="text" label="Timestamps" description="Value timestamps" friendcode="timestamp-list"/>
</wiring>
<scripts>
<script src="js/main.js"/>
</scripts>
</operator>