Skip to content

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.

Configuration

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)

Clone this wiki locally