Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pre-requisites:

  • Python3 & pip
  • MySQL 5.7


Clone repository:

$ git clone https://gerrit.onap.org/r/modeling/etsicatalog

...

MySQL default configuration is as follows:

DB_IP = "127.0.0.1"

DB_PORT = 3306

DB_NAME = "etsicatalog"

DB_USER = "etsicatalog"

DB_PASSWD = "etsicatalog"

 

Start server:

$ python manage.py runserver 8806

...

Run Healthcheck: http://127.0.0.1:8806/api/catalog/v1/health_check

You should get:

{"status":"active"}

 

View API document:

http://127.0.0.1:8806/api/catalog/v1/swagger

...