Installation - sonata-nfv/tng-sla-mgmt GitHub Wiki

Prerequisites to run locally

Install Apache Apache Maven Project

  apt-cache search maven
  sudo apt-get install maven

Install Apache Tomcat, You can use this tutorial here:

  https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04

Install 5GTANGO Catalogue Follow the the installation guide of the following repository:

  https://github.com/sonata-nfv/tng-cat

Install RabbitMQ, You can follow the the installation guide below:

  https://www.rabbitmq.com/download.html

For the RabbitMq:

  1. Create an exchange named: son-kernel

Install PostgreSQL DB, You can follow the the installation guide below:

  https://www.postgresql.org/download/

Finally:

  cd tng-sla-mgmt
  Check the ENV variables in the DOCKERFILE and update the connectors in the project accordingly (Files: All java files in 
  messaging directory, db_operations.java)
  Save the project
  mvn package
  Copy the generated .war file to the Tomcat's ROOT directory
  Visit http://127.0.0.1:8080/tng-sla-mgmt
  Enjoy!