This repository includes the tng-vnv-dsm
component, which incorporates the Decision Support Mechanism of the 5GTANGO Catalogues, both of which are part of the European H2020 project 5GTANGO. The component is responsible for delivering test recommendations to the end-users of the 5GTANGO ecosystem, through the deployment of matrix-factorization techniques.
Besides this README file, more documentation is available in the wiki belonging to this repository.
This component is implemented in Python3. Its requirements are specified in the packages.txt
in the root folder as follows here. In general, a new virtual environment would be beneficial in the installation.
The automated installation requires pip
(more specifically pip3
).
$ pip install git+https://github.com/sonata-nfv/tng-vnv-dsm
$ git clone [email protected]:sonata-nfv/tng-vnv.dsm.git
$ cd tng-vnv-dsm
$ python setup.py install
The Decision Support mechanism is delivered to be deployed as a micro service, offering a REST API to provide recommendations on top of the 5GTANGO Catalogues. However, it can be utilized as a standalone service to provide recommendations based on SVD matrix factorization technique.
In this option, a functional mongoDB is essential for the core functionality of the service.
python src/decsup/app.py
In this option, a functional mongoDB is essential for the core functionality of the service.
# build Docker container
sudo docker build .
# run Docker container
docker run --rm -d -p 4010:4010 --name tng-vnv-dsm registry.sonata-nfv.eu:5000/tng-vnv-dsm
In this option, a functional mongoDB is included in the docker-compose script
# build Docker containers of MongoDB and tng-vnv-dsm
sudo docker-compose build
# run Docker containers
sudo docker-compose up
To contribute to the development of this 5GTANGO component, you may use the very same development workflow as for any other 5GTANGO Github project. That is, you have to fork the repository and create pull requests.
$ python setup.py develop
All pull requests are automatically tested by Jenkins and will only be accepted if no test is broken.
This 5GTANGO component is published under Apache 2.0 license. Please see the LICENSE file for more details.
The following lead developers are responsible for this repository and have admin rights. They can, for example, merge pull requests.
- Panagiotis Stavrianos (@panstav1)
- Please use the GitHub issues to report bugs.