Read data out of spacewalk DB instead of using APIs