def gav_data(gav)
      res = {}
      request = Typhoeus::Request.new(
      "#{host_url}/service/local/artifact/maven/resolve",
      :params  => gav.to_hash,:connecttimeout => 5,
      :headers => { 'Accept' => 'application/json' }
      )
      request.on_failure do |response|
        raise("Failed to get gav data for #{gav.to_s}")
      end
      request.on_complete do |response|
        res = JSON.parse(response.response_body)
      end
      request.run

      res['data']
    end
def gav_data(gav)
      res = {}
      request = Typhoeus::Request.new(
      "#{host_url}/service/local/artifact/maven/resolve",
      :params  => gav.to_hash,:connecttimeout => 5,
      :headers => { 'Accept' => 'application/json' }
      )
      request.on_failure do |response|
        raise("Failed to get gav data for #{gav.to_s}")
      end
      request.on_complete do |response|
        res = JSON.parse(response.response_body)
      end
      request.run

      res['data']
    end
retrieves the attributes of the gav