1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. SPDX-License-Identifier: CC-BY-4.0
3 .. Copyright (C) 2020 AT&T Intellectual Property
14 Version bumping the Xapp
15 ------------------------
17 This project follows semver. When changes are made, update the version strings in:
19 #. ``container-tag.yaml``
20 #. ``docs/release-notes.rst``
22 #. ``xapp-descriptor/config.json``
25 Testing RMR Healthcheck
26 -----------------------
27 The following instructions should deploy the QP container in bare docker, and allow you
28 to test that the RMR healthcheck is working.
32 docker build -t qpd:latest -f Dockerfile .
33 docker run -d --net=host -e USE_FAKE_SDL=1 qpd:latest
34 docker exec -it CONTAINER_ID /usr/local/bin/rmr_probe -h 127.0.0.1:4560
40 Running the unit tests requires the python packages ``tox`` and ``pytest``.
42 The RMR library is also required during unit tests. If running directly from tox
43 (outside a Docker container), install RMR according to its instructions.
45 Upon completion, view the test coverage like this:
50 open htmlcov/index.html
52 Alternatively, if you cannot install RMR locally, you can run the unit
53 tests in Docker. This is somewhat less nice because you don't get the
54 pretty HTML report on coverage.
58 docker build --no-cache -f Dockerfile-Unit-Test .