1 .. SPDX-License-Identifier: CC-BY-4.0
2 .. Copyright 2018 ORANGE
8 This document describes local build and installation for development purpose
17 * port 8080 should be free, used by tests
36 Review and edit *src/main/resources/application.properties*
40 Mongo, host=localhost, port=27017, database=ServiceOrderDB
42 Mariadb, url=jdbc:mariadb://localhost:3306/nbi, username=root,
57 Edit *docker-compose.yml* to select previous generated local build, replace::
59 image: ${NEXUS_DOCKER_REPO}/onap/externalapi/nbi:latest
67 docker-compose up -d mongo mariadb
69 docker-compose up --build -d nbi
73 docker-compose logs -f nbi
81 http://localhost:8080/nbi/api/v4/status
91 **Play with RESTclient**
93 You can also test NBI with `VisualStudio RestClient plugin <https://github.com/Huachao/vscode-restclient>`_
95 See the *restclient* package at root level to find *.vscode/settings.json*
96 configuration file and */json/* package with samples requests that can be run.
100 A collection is available here *docs/offeredapis/postman*