[TEST] Fixed CBA and its publish for Basic CNF macro 16/126616/2
authorLukasz Rajewski <lukasz.rajewski@orange.com>
Mon, 17 Jan 2022 17:06:25 +0000 (18:06 +0100)
committerLukasz Rajewski <lukasz.rajewski@orange.com>
Mon, 17 Jan 2022 17:31:54 +0000 (18:31 +0100)
- Fixed CBA for Basic CNF macro after bad git push
  of binary file.
- Added nodeport exposure for cbapublish step when
  CBA file is already enriched

Issue-ID: TEST-376
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Icf4bbf94691453a5421467dc5c8ec876a0fa191a

.gitattributes
src/onaptests/steps/onboard/cds.py
src/onaptests/templates/artifacts/basic_cnf_cba_enriched.zip

index 2eb6749..1fd8578 100644 (file)
@@ -3,3 +3,4 @@
 *.jpg binary
 *.xlsx binary
 *.csar -text
+*.zip binary
index d6645ef..13e6203 100644 (file)
@@ -217,6 +217,8 @@ class CbaPublishStep(CDSBaseStep):
         """Let's skip enrichment if enriched CBA is already present"""
         if Path.is_file(settings.CDS_CBA_UNENRICHED):
             self.add_step(CbaEnrichStep(cleanup=cleanup))
+        else:
+            self.add_step(ExposeCDSBlueprintprocessorNodePortStep(cleanup=cleanup))
 
     @property
     def description(self) -> str:
index 825160c..cadb52f 100644 (file)
Binary files a/src/onaptests/templates/artifacts/basic_cnf_cba_enriched.zip and b/src/onaptests/templates/artifacts/basic_cnf_cba_enriched.zip differ