-
Notifications
You must be signed in to change notification settings - Fork 1
Adding a datasource
Jean-Paul Calbimonte edited this page Nov 6, 2013
·
1 revision
You can add more datasources to be queried throug Morph-streams, e.g. an Esper or GSN data source.
In the conf/application.conf
file you can include your datasource system identifier in either the Esper or GSN lists:
esper = {
systemids=[social,weathermap]
...
}
gsn = {
systemids=[hl7,citybikes,emt,swissex]
...
}
Then configure morph-streams for your system id (e.g. citybikes):
morph {
streams {
citybikes.adapter = ${gsn}
citybikes.adapter { endpoint= "http://gsn.linkeddata.es"}
}
}
The adapter property indicates the url of the datasource (in the example the Gsn url)