[SDC] Certify only when needed 84/119284/3
authormorganrol <morgan.richomme@orange.com>
Sat, 13 Mar 2021 18:59:25 +0000 (19:59 +0100)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Thu, 18 Mar 2021 15:53:37 +0000 (15:53 +0000)
commit21e709c2619d78eae77fa4c63f0f48127aac8a25
treeb1d9e44f2ff7c49008e2973a24b5cb7b6425b3b6
parentb56dfed12c31a2c2ed1623064435897c8b137875
[SDC] Certify only when needed

1) checkin and onboard only if the tests is not already distributed
if the service is distributed, we assume that it is a replay of the test
and we do not need to re-onboard the service done during the first
steps.
It shall be then possible to replay
- basic_network
- basic_vm
- basic_cnf
- basic_pnf
- basic_clamp

2) include a replay of certify in case of resource not found

Issue-ID: TEST-315

Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: I04289311429c55d0e79220b0985c6a2f53d24bf1
src/onaptests/steps/onboard/service.py