Skip to content

Interactions-HSG/behaviors-in-hyperlab-demo

Repository files navigation

hyperlab

A demo scenario for the Web Conference 2020, showcasing a dynamic WoT environment where (partial) plans are missing or need to be assembled by the agents.

Setup

  • Install gradle
  • Run git submodule init and git submodule update to retrieve the latest version of the dependent repositories
  • In the yggrasil folder, run ./gradlew to build the jar file for yggrasil
  • In the wot-search folder, run ./gradlew to build the jar file for the hypermedia search engine

[Optional] Upgrade the GUI

  • In the hyperlab_demo_gui folder, run npm install to install the requirements for the ui-backend, i.e. node and express.js
  • In the hyperlab_demo_gui folder run npm run build to create a production build of the ui
  • Copy the content of hyperlab_demo_gui/build into yggdrasil/src/main/resources/webroot
  • Rebuild Yggdrasil

Run it

To run the system, the following steps are necessary:

  • set up a hypermedia environment using Yggdrasil on feature/hyperlab_demo branch on port 8080 (default) by executing java -jar yggdrasil/build/libs/yggdrasil-0.0-SNAPSHOT-fat.jar -conf yggdrasil/src/main/conf/config1.json
  • set up a WoT search engine on port 9090 (default) by executing java -jar wot-search/build/libs/crawler-0.0-SNAPSHOT-fat.jar -conf wot-search/src/main/conf/config1.json
  • Create the workspace and the artifacts by executing scripts/setup.sh
  • Open the GUI by accessing http://localhost:8080/gui
  • run the JaCaMo MAS environment in this repo by executing gradle in your console from the root directory of the repo

About

A demo scenario for the Web Conference 2020.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published