Replace mocks with real object usage in test CbsClientConfigurationResolver test

This adds test coverage missing from CbsProperties.toCbsClientConfiguration() method

Change-Id: I2da6f4b4392dbace4a8a827406a9b485f9cbfa79
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
1 file changed
tree: 5e3d4197b8b7c4bc9e9c1fcf7c92c7f86bc76907
  1. docs/
  2. dpo/
  3. prh-app-server/
  4. prh-commons/
  5. .gitignore
  6. .gitreview
  7. INFO.yaml
  8. LICENSE.txt
  9. pom.xml
  10. README.md
  11. version.properties
README.md

PRH (PNF Registration Handler)

Physical Network Function Registration Handler is responsible for registration of PNF (Physical Network Function) to ONAP (Open Network Automation Platform) in plug and play manner.

Introduction

PRH is delivered as one Docker container which hosts application server and can be started by docker-compose.

Functionality

Compiling PRH

Whole project (top level of PRH directory) and each module (sub module directory) can be compiled using mvn clean install command.

Main API Endpoints

Running with dev-mode of PRH

  • Heartbeat: http://<container_address>:8100/heartbeat or https://<container_address>:8443/heartbeat

  • Start PRH: http://<container_address>:8100/start or https://<container_address>:8433/start

  • Stop PRH: http://<container_address>:8100/stopPrh or https://<container_address>:8433/stopPrh

Maven GroupId:

org.onap.dcaegen2.services

Maven Parent ArtifactId:

dcae-services

Maven Children Artifacts:

  1. prh-app-server: Pnf Registration Handler (PRH) server
  2. prh-commons: Common code for whole prh modules

License

Copyright (C) 2018-2019 NOKIA Intellectual Property. All rights reserved. License