CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call 08/129508/1
authorOleg Mitsura <oleg.mitsura@amdocs.com>
Tue, 7 Jun 2022 14:05:20 +0000 (10:05 -0400)
committerOleg Mitsura <oleg.mitsura@amdocs.com>
Tue, 7 Jun 2022 14:21:38 +0000 (10:21 -0400)
commit83c173ad85ead93ba98cfcd1d1ef7fe2142edaa6
treea833fc7e74aa6097a372b71b1a9f2c5a49827c4c
parentc3943fbc70105c4ce38d66c7cbe227ddec35d535
CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call

Issue-ID: CCSDK-3684

prepareEnv (mistakenly) had a recursive call, but no decement.
Simplified it in favour of the inner/outter flag instead of retry counter as in Frankfurt release.

Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I5d7f623d6e206a844d33d95a15f85758da3a6681
ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt