Skip to content

ics-unisg/radiant-iot-activity-dsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Follow the steps below to get started writing and deploying Radiant. Note that the published VSCode extension and NeoVim integration are not available in this anonymized repository during peer-review.

1. Install Extension Locally

First, for this demo usage you need to open this repository in VSCode. Furthermore, you need to have Node.js installed. Then, to use the extension locally in development mode follow the steps below:

cd radiant
npm install
npm run langium:generate
npm run build

Press F5 to open a new window with your extension loaded.

2. Write Radiant & Generate Siddhi

Open one of the folders from the examples folder (examples/healthcare or examples/factory) with the VSCode window that has the extension loaded. Press Ctrl-S with the .rad file open. The generated Siddhi apps will appear in the out subfolder. You can modify the .rad or .yaml file, the Siddhi apps are regenerated on each save. For information on language features, please refer to the paper.

3. Deploy

The Siddhi apps can then be deployed with Siddhi. For testing we used the local Siddhi runner, version 5.1.

4. Detect

Produce real or simulated events on the incoming source streams and view the outgoing sink for detected activities (e.g. using MQTT Explorer).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors