Skip to content

Shiccho/ADBdemo

 
 

Repository files navigation

Final Report ADB Team Ganbarimasu

This is our application using Scaladb in ADB class.

Prerequires

Change current directory to getting-started.

$ cd docs/getting-started

Please modify "scalardb.propaties" depending on your own environment.

Please get schema-loader from scalardb web site, and put it at

ADBdemo/docs/getting-started/

Run

First, define the schema by doing the following command:

$ java -jar scalardb-schema-loader-<version>.jar --config scalardb.properties -f sample.json --coordinator

Next, please set main class "sample.PreExec" in "build.gradle".

mainClassName = "sample.PreExec"

Then, create traffic information by doing the following command:

$ gradlew clean build run

You can define your own route by modify "PreExec.java"

Please change the mainClassName from "sample.PreExec" to "sample.MaaSMain" in "build.gradle".
Then you can start our application runs by doing the following command:

$ gradlew clean build run 

Please open the following URL on your blowser

http://localhost:7070/

Please use web application by following instruction on presentation slide.

Note

I guess there is a bug caused by the route search algorithm, what makes the program enter an infinite loop, if there is a cycle in the route.

About

DEMO of ADB 2023 Spring at Keio Univ.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.5%
  • Other 0.5%