Skip to content

UoW-CPC/ADTGenerator

Repository files navigation

ADT Generator

This application is a FLASK-based service with REST API, called ADT Generator developed for the DigitiBrain project. It performs the conversion of DigitBrain metadata assets into a ready-to-run multi-file ADT to be deployed and orchestrated on the cloud by MiCADO.

Deployment

Everybody, who is interested in collecting experiences with ADTG should perform the following steps:

Step0: install dependencies

sudo apt-get install git pip virtualenv zip

Step1: download the source code

git clone https://github.com/UoW-CPC/ADTGenerator.git github-adtg

Step2: create a virtual environment (called "adtg") and install requirements into it

cd github-adtg
./reset-env.sh

Step3: optionally, fine tune config.yaml under config subdirectory, only need to fine tune the directories, current settings are ok if source is cloned under /home/ubuntu/github-adtg)

vi config/config.yaml

Step4: launch the ADTGenerator service

./run.sh

Step5: to invoke the ADT Generator with an example input json, run the following commands in another shell:

cd github-adtg/examples
./generate-adt.sh metadata_RISTRA.json