From 5f9f3ccf917d91e2af7f29a467a451d6274912a7 Mon Sep 17 00:00:00 2001
From: demskeq8 <alexander.dehn@highstreet-technologies.com>
Date: Mon, 4 Sep 2023 17:59:57 +0200
Subject: [CSIT] update SDNR tests for mariaDB based sdnrdb

update SDNC test image
deploy sdnc-web-image for sdnr test setup
add healthcheck
add basic odlux tests

Issue-ID: SDNC-1820
Change-Id: Ib89d097f301bfe4803bf3006549bee9a78fb6c19
Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
---
 csit/plans/sdnr/testdata/localhost.py | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'csit/plans/sdnr/testdata')

diff --git a/csit/plans/sdnr/testdata/localhost.py b/csit/plans/sdnr/testdata/localhost.py
index c74d3f1a..5e0d4a79 100644
--- a/csit/plans/sdnr/testdata/localhost.py
+++ b/csit/plans/sdnr/testdata/localhost.py
@@ -8,20 +8,22 @@
 ## Access SDNR cluster
 SDNR_PROTOCOL = "http://"
 SDNR_HOST = "127.0.0.1"
-SDNR_PORT = "8181"
+SDNR_PORT = "8282"
 SDNR_USER = "admin"
 #SDNR_PASSWORD = "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
 SDNR_PASSWORD = "admin"
 WEBSOCKET_PORT = "8182"
 
+RELEASE_VERSION="argon" # expected opendaylight version
+
 # for odlux gui testing
 WEBDRIVER_PATH = "/usr/local/bin/chromedriver"
 
-# Access to elastic search SDNRDB
-SDNRDB = {'PROTOCOL': 'http', 'IP': '127.0.0.1', 'PORT': '8181', 'USE_API_GATEWAY': True, 'USE_SSL': False,
-          'VERIFY_CERTS': False}
-# elastic DB to store statistic datas
-ELASTIC_LOG_DB = SDNRDB
+# sdnrdb is based on mariaDB
+
+USE_MARIA_DB=True
+MARIADB = {'IP': SDNR_HOST, 'PORT': 3306}
+
 RESTCONF_TIMEOUT = '90 s'
 # Restconf response time longer than VALID_RESPONSE_TIME in s will be notified as warning in the robot logs
 VALID_RESPONSE_TIME = 5
-- 
cgit 1.2.3-korg