Skip to content

MellonScholarlyCommunication/notification-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notification Generator

A generation of Event Notifications

Installation

yarn install

Run

# Clean the previous run
yarn run clean
# Generate notifications from scenarios
yarn run all
# In case you want a Solid endpoint to the output
yarn run serve

Scenario

To add a scenario, create a YAML file in the scenarios directory. Each YAML scenario may contain the following fields:

  • $ : zero or more subdirectories where to store the serialized notification (optional)
  • @context : optional JSON-LD context
  • id : activity identifier
  • type : activity types
  • actor : identifier of an actor defined in config/agents
  • origin : identifier of an origin defined in config/agents
  • context : identifier of a context object defined in config/objects
  • inReplyTo : identifier of a notification
  • object : identifier of an object defined in config/objects
  • target : identifier of a target defined in config/agents

LDES

Each output directory will contain a .meta file and ldes.jsonld file to support Event Log experiments

Output

  • [01-99]* : Event log for individual artifacts hosted by data nodes in all scenarios
  • [a-z]* : Event log for all notifications of a data/service node in all scenarios

About

A command line generator of Event Notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published