Influx write object

Fixes #58 Allow to send metrics via Influx protocol

Support is for the moment limited to points with a value and optionally time columns.
This test goal is to check the current level of support. But adding a new test for Java client support is definitely a good idea. I wasn't aware of this client.

Envoyé depuis mon téléphone Android via TouchDown (www.nitrodesk.com)


-----Original Message-----
From: Heiko W. Rupp [notifications@github.com]
Received: vendredi, 19 déc. 2014, 12:05
To: rhq-project/rhq-metrics [rhq-metrics@noreply.github.com]
CC: Thomas Segismont [tsegismo@redhat.com]
Subject: Re: [rhq-metrics] Influx write object (#99)

> +import com.google.common.collect.Lists;
> +import com.google.common.io.Resources;
> +
> +import org.junit.Rule;
> +import org.junit.Test;
> +import org.junit.rules.ExpectedException;
> +import org.junit.runner.RunWith;
> +import org.junit.runners.Parameterized;
> +
> +import org.rhq.metrics.restServlet.influx.InfluxObject;
> +
> +/**
> + * @author Thomas Segismont
> + */
> +@RunWith(Parameterized.class)
> +public class SupportedInfluxObjectTest {

I wonder if it would make sense to also use the "official client" from https://github.com/influxdb/influxdb-java to run tests with, as this is probably updated when/if influxdb itself is updated.

---
Reply to this email directly or view it on GitHub:
https://github.com/rhq-project/rhq-metrics/pull/99/files#r22099558