ORCHESTRATION_REQUEST_TIMEOUT = 60.0 * 15 # 15 minutes in seconds
SERVICE_DISTRIBUTION_NUMBER_OF_TRIES = 30
SERVICE_DISTRIBUTION_SLEEP_TIME = 60
-EXPOSE_SERVICES_NODE_PORTS = True
\ No newline at end of file
from onapsdk.configuration import settings
import urllib3
-from onaptests.steps.base import BaseStep
-
+from ..base import BaseStep
from onaptests.utils.exceptions import OnapTestException
Use settings values:
- K8S_CONFIG,
- K8S_ONAP_NAMESPACE.
- - EXPOSE_SERVICES_NODE_PORTS
"""
super().execute()
- ExposeCDSBlueprintprocessorNodePortStep.
"""
super().__init__(cleanup=cleanup)
- if settings.EXPOSE_SERVICES_NODE_PORTS:
- self.add_step(ExposeCDSBlueprintprocessorNodePortStep(cleanup=cleanup))
+ self.add_step(ExposeCDSBlueprintprocessorNodePortStep(cleanup=cleanup))
@property
def description(self) -> str:
"""Let's skip enrichment if enriched CBA is already present"""
if Path.is_file(settings.CDS_CBA_UNENRICHED):
self.add_step(CbaEnrichStep(cleanup=cleanup))
- elif settings.EXPOSE_SERVICES_NODE_PORTS:
+ else:
self.add_step(ExposeCDSBlueprintprocessorNodePortStep(cleanup=cleanup))
@property