Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Files

Latest commit

db507d0 · Jan 30, 2017

History

History

ns-manager

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 13, 2017
Nov 25, 2016
Jan 13, 2017
Jan 25, 2017
Nov 3, 2016
Jan 30, 2017
Dec 15, 2016
Oct 27, 2016
Dec 13, 2016
May 11, 2016
Nov 11, 2016
Jan 13, 2017
Nov 21, 2016

T-NOVA WP3

Orchestrator NS Manager

Requirements

This code has been run on Ruby 2.1.

Gems used

Installation

After you cloned the source from the repository, you can run

bundle install

Which will install all the gems.

Tests

For tests execute

rspec

API Documentation

The API is documented with yardoc and can be built with a rake task:

rake yard

from here you can use the yard server to browse the docs from the source root:

yard server

and they can be viewed from http://localhost:8808/

Run Server

The following shows how to start the API server:

rake start

Register a service:

POST '/registerService' with the following content:

{
    "service_name" => "servivceName",
    "service_host" => "IP",
    "service_port" => "Port"
}