Skip to content

Aitia-IIOT/arrowhead-event-handler-demo-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARROWHEAD EVENT HANDLER CLIENT

This is a NodeJS project, which offers Arrowhead compliant clients which are able to use the Event Handler

For the first time

  1. Make sure you have node and git installed.

  2. Check out the repo.

  3. Run npm install to download the project dependencies.

  4. Run npm run start -- <command line arguments> to start the client.

Command line arguments

Argument Name Syntax Value Mandatory
System Name -n String yes
Port -p Number yes
System Type -t provider or consumer yes
Service Registry Address --service_registry String no

Example to start a provider:
npm run start -- -n svetlin_system -t provider -p 8080

Example to start a consumer:
npm run start -- -n svetlin_consumer -p 8081 -t consumer

Example with defining Service Registry address:
npm run start -- -n svetlin_system -t provider -p 8080 --service_registry 192.168.0.157

About

Arrowhead Event Handler demo in Node JS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors