function connect(connection) {
  return createClient(connection).pinging();
}
The following function will connect to the datasource
@param {Object} connection connection parameters
@returns {Promise} that resolves when the connection succeeds