Versions Compared

Key

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

...

At present CPS has 3 different components namely, cps-core, cps-temporal, ncmp-dmi-plugin. Integration test of a component hence would be dependent on another component. This proposal page is to discuss on all the available options and their pros and cons

The CSIT test cases will be covered in 'lowest' client. CPS has 2 'clients' CPS Temporal and (onap) DMI Plugin.

  • CPS Temporal CSIT test will cover CPS-Core+CPS Temporal and Event Bus (DMaap) integration
  • DMI Plugin Test will cover Simulator, SDNC,DMI Plugin, NCMP and CPS Core integration

Below are few proposals on how to structure the docker-compose and what are the pros and cons for each approach

Three different implementation proposals as below:

...

2. Each component contains its own docker-compose file with the services required for stand alone testing. Eg: cps-temporal docker-compose only containing services cps-temporal, timescaledb, zoopkeeper and kafka. 

Include As cps-temporal is a client using cps-core, include steps to fetch the docker-compose of cps-core in the cps-temporal setup.sh file in CSIT as shown below:

...