Hello community,

here is the log from the commit of package hanadb_exporter for openSUSE:Factory 
checked in at 2020-01-29 13:20:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hanadb_exporter (Old)
 and      /work/SRC/openSUSE:Factory/.hanadb_exporter.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hanadb_exporter"

Wed Jan 29 13:20:40 2020 rev:8 rq:768195 version:0.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/hanadb_exporter/hanadb_exporter.changes  
2019-12-14 12:23:36.763197206 +0100
+++ 
/work/SRC/openSUSE:Factory/.hanadb_exporter.new.26092/hanadb_exporter.changes   
    2020-01-29 13:21:48.450274958 +0100
@@ -1,0 +2,6 @@
+Wed Jan 15 11:20:30 UTC 2020 - Xabier Arbulu <[email protected]>
+
+- Version 0.6.1 Fix use case where TENANT_DATA_QUERY query 
+returns columns with invalid values (0 number)
+
+-------------------------------------------------------------------

Old:
----
  hanadb_exporter-0.6.0.tar.gz

New:
----
  hanadb_exporter-0.6.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hanadb_exporter.spec ++++++
--- /var/tmp/diff_new_pack.k1054U/_old  2020-01-29 13:21:49.782275638 +0100
+++ /var/tmp/diff_new_pack.k1054U/_new  2020-01-29 13:21:49.782275638 +0100
@@ -25,7 +25,7 @@
 %define _sysconfdir %{_prefix}/etc
 
 Name:           hanadb_exporter
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        SAP HANA database metrics exporter
 License:        Apache-2.0

++++++ hanadb_exporter-0.6.0.tar.gz -> hanadb_exporter-0.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hanadb_exporter-0.6.0/hanadb_exporter/__init__.py 
new/hanadb_exporter-0.6.1/hanadb_exporter/__init__.py
--- old/hanadb_exporter-0.6.0/hanadb_exporter/__init__.py       2019-12-13 
10:04:45.859565696 +0100
+++ new/hanadb_exporter-0.6.1/hanadb_exporter/__init__.py       2020-01-21 
08:40:17.591785221 +0100
@@ -8,4 +8,4 @@
 :since: 2019-05-09
 """
 
-__version__ = "0.6.0"
+__version__ = "0.6.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hanadb_exporter-0.6.0/hanadb_exporter/db_manager.py 
new/hanadb_exporter-0.6.1/hanadb_exporter/db_manager.py
--- old/hanadb_exporter-0.6.0/hanadb_exporter/db_manager.py     2019-12-13 
10:04:45.859565696 +0100
+++ new/hanadb_exporter-0.6.1/hanadb_exporter/db_manager.py     2020-01-21 
08:40:17.591785221 +0100
@@ -30,7 +30,7 @@
 
     TENANT_DATA_QUERY =\
 """SELECT DATABASE_NAME,SQL_PORT FROM SYS_DATABASES.M_SERVICES
-WHERE COORDINATOR_TYPE='MASTER'"""
+WHERE COORDINATOR_TYPE='MASTER' AND SQL_PORT<>0"""
 
     def __init__(self):
         self._logger = logging.getLogger(__name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hanadb_exporter-0.6.0/hanadb_exporter.changes 
new/hanadb_exporter-0.6.1/hanadb_exporter.changes
--- old/hanadb_exporter-0.6.0/hanadb_exporter.changes   2019-12-13 
10:04:45.859565696 +0100
+++ new/hanadb_exporter-0.6.1/hanadb_exporter.changes   2020-01-21 
08:40:17.591785221 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Jan 15 11:20:30 UTC 2020 - Xabier Arbulu <[email protected]>
+
+- Version 0.6.1 Fix use case where TENANT_DATA_QUERY query 
+returns columns with invalid values (0 number)
+
+-------------------------------------------------------------------
 Tue Dec 10 11:18:30 UTC 2019 - Xabier Arbulu <[email protected]>
 
 - Version 0.6.0 Change configuration files location from /etc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hanadb_exporter-0.6.0/hanadb_exporter.spec 
new/hanadb_exporter-0.6.1/hanadb_exporter.spec
--- old/hanadb_exporter-0.6.0/hanadb_exporter.spec      2019-12-13 
10:04:45.859565696 +0100
+++ new/hanadb_exporter-0.6.1/hanadb_exporter.spec      2020-01-21 
08:40:17.591785221 +0100
@@ -25,7 +25,7 @@
 %define _sysconfdir %{_prefix}/etc
 
 Name:           hanadb_exporter
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        SAP HANA database metrics exporter
 License:        Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hanadb_exporter-0.6.0/tests/db_manager_test.py 
new/hanadb_exporter-0.6.1/tests/db_manager_test.py
--- old/hanadb_exporter-0.6.0/tests/db_manager_test.py  2019-12-13 
10:04:45.859565696 +0100
+++ new/hanadb_exporter-0.6.1/tests/db_manager_test.py  2020-01-21 
08:40:17.591785221 +0100
@@ -53,6 +53,7 @@
         for i, data in enumerate(self._db_manager._get_tenants_port()):
             assert data[0] == dbs[i]
             assert data[1] == int(ports[i])
+        assert i == 1 # Check only the ports 30040 and 30041 are yielded
 
     @mock.patch('hanadb_exporter.db_manager.hdb_connector.HdbConnector')
     def test_connect_tenants(self, mock_hdb):


Reply via email to