Walter Dal Mut
aa6ba1e154
Moved to inline protocol.
...
As json messages are deprecated we have moved to inline protocol.
2015-07-28 18:22:12 +02:00
Walter Dal Mut
3fd559fab2
Removed useless condition
...
We can only prepare two adapters
2015-06-27 14:45:26 +02:00
Walter Dal Mut
4924c0b116
Removed old helper file
2015-06-27 14:28:56 +02:00
Walter Dal Mut
932cd992ff
Optimized list to string conversion
...
The inline protocol converts key values to strings
2015-06-25 23:33:32 +02:00
Scrutinizer Auto-Fixer
fa61a3cd7a
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-06-24 20:44:36 +00:00
Walter Dal Mut
ffe45967c1
Fixes code duplication
...
The HTTP endpoint generation is effectively duplicated
2015-06-24 10:01:20 +02:00
Walter Dal Mut
13a419f4f5
Fixes useless client helper complexity
2015-06-23 20:45:31 +02:00
Walter Dal Mut
20a64e724b
Test suite completely rewritten
...
Our test suite mixing integration and few unit tests, is difficult
to understand and expand with new features.
This commit rewrite completely the test suite in order to separate
both: integration and unit tests in different suites in a more
maintainable and useful way.
2015-06-23 08:16:58 +02:00
Evan Darwin and Walter Dal Mut
c6e7b744c3
Silently handle socket errors in the UdpAdapter ( closes #27 ), add testcase
...
Conflicts:
tests/ClientTest.php
2015-06-21 17:56:18 +02:00
Walter Dal Mut
da239ecf8e
Allow URL prefixes
...
This should fixes #34
2015-06-21 17:33:46 +02:00
Walter Dal Mut
88b9e9ce1a
Merge pull request #30 from corley/feature/allows-non-write-adapters
...
Allows non write adapters
2015-06-13 12:16:43 +02:00
Walter Dal Mut
dd255ad271
Removed deprecated from GuzzleAdapter
2015-06-13 12:11:50 +02:00
Walter Dal Mut
452b50fd30
Removed useless return $this during constructor
2015-06-13 12:08:40 +02:00
Walter Dal Mut
c52377aad1
Allows non write adapters
...
* Renamed `AdapterInterface` to `WritableInterface`
* Constructor now allows different adapter implementations
* Check that adapter implements `WritableInterface` during data send
2015-06-13 12:04:04 +02:00
Walter Dal Mut
c162760ab8
Fixes time generation for udp/ip packets
...
Uses microtimes instead of Datetime
2015-06-13 11:23:32 +02:00
Walter Dal Mut
63b8bb4b89
Fixes minor violations
...
* Removed unsed `use` statemment
* Moved helper http url composer to `GuzzleAdapter` (responsibility)
* Removed unused `clearTimePrecision` method
* Updated composer
2015-06-12 07:57:26 +02:00
Walter Dal Mut
adece73b0b
Fixes invalid saved timestamp for UDP/IP
2015-06-10 15:54:07 +02:00
Walter Dal Mut
38f65a75fd
Client dependency with construction injection
...
Removed the adapter setter injection in favor or constructor injection
2015-06-10 15:54:07 +02:00
Walter Dal Mut
9db35097e2
Moved to PSR-4
...
Autoload from PSR-0 to PSR-4
2015-06-10 15:54:07 +02:00
Walter Dal Mut
6f80454725
Removed exceptions
2015-06-10 15:54:07 +02:00
Walter Dal Mut
94fa4e67b2
Complete refactor in order to support RC-32
...
The influxdb RC-32 is quite strange, uses a UDP/IP line protocol with
batch updates.
This commit will cover the base UDP/IP protocol as first implementation
2015-06-10 15:54:06 +02:00
Walter Dal Mut
4fa039337b
Added retention policy as option
2015-06-10 15:54:06 +02:00
Walter Dal Mut
f8bb3fcde4
Use prepared default options
...
In order to use user prepared options the message is alse merged with
all user preapared options.
2015-06-10 15:54:06 +02:00
Walter Dal Mut
4f3fdcb543
Dropped time precision feature
2015-06-10 15:54:06 +02:00
Walter Dal Mut
fd28135fe3
Restore base behavior
2015-06-10 15:54:06 +02:00
Walter Dal Mut
37da8604f1
Restore HTTP adapter for InfluxDB 0.9
2015-06-10 15:53:27 +02:00
Gianluca Arbezzano
e369530539
Remove filters
2015-05-07 14:51:26 +02:00
Walter Dal Mut
4140300e32
Files should end with a newline character
2015-04-08 19:21:51 +02:00
Walter Dal Mut
06ae666e4e
Fixes #14 - guzzle http json_decode -> assoc arrays
2015-03-20 20:23:03 +01:00
lekz and Walter Dal Mut
a8fe33a381
Added new HttpAdapter
...
Conflicts:
src/InfluxDB/Adapter/GuzzleAdapter.php
2015-03-02 20:52:50 +01:00
Gianluca Arbezzano
d789328ac0
Add phpdoc
2015-01-29 23:04:42 +01:00
Walter Dal Mut
d0966dd5a4
Moved default options for factory
2014-09-26 22:06:41 +02:00
Walter Dal Mut
3aa8f3c9b7
Fixes unused property database
2014-09-26 21:56:09 +02:00
Walter Dal Mut
2d0abf0d4b
Fixes namespace on queryable interface
2014-09-26 21:55:57 +02:00
Walter Dal Mut
edbd3e5e27
No time precision in UDP/IP
2014-09-26 21:55:57 +02:00
Walter Dal Mut
89234de46c
Added filters on factory method
2014-09-14 18:04:58 +02:00
Walter Dal Mut
f1e4e8e83a
Added base filter functionality
2014-09-14 17:36:29 +02:00
Walter Dal Mut
88c00c3b02
Fixes #2 - Added factory method
...
In order to obtain a valid client you can use the factory
2014-09-13 11:36:17 +02:00
Walter Dal Mut
cc56f6449d
Fixes #1 - Send data with time_precision
2014-09-13 09:18:01 +02:00
Walter Dal Mut
b5cb30a50d
Added database management for HTTP client
2014-09-13 08:19:51 +02:00
Walter Dal Mut
1a06353b24
Removed connectable interface
2014-09-13 00:10:45 +02:00
Walter Dal Mut
5b5baf20dd
Fixes wrong namespace for connectable
2014-09-12 23:22:37 +02:00
Walter Dal Mut
b835c3a044
Added query method for Http adapter
2014-09-12 20:20:23 +02:00
Walter Dal Mut
ca09343134
Moved database into options
2014-09-12 08:25:51 +02:00
Walter Dal Mut
8bd15a302a
Added HTTP client
2014-09-11 15:04:12 +02:00
Walter Dal Mut
6aa668308e
Removed client interface
2014-09-11 10:03:31 +02:00
Walter Dal Mut
5d2c1d852e
Minor changes on composer
2014-09-11 09:50:53 +02:00
Gianluca Arbezzano
7733cd1743
Change name of Udp adapter in UdpAdapter, add readme.md
2014-09-10 12:55:29 +02:00
Gianluca Arbezzano
8ba6332a08
BUGFIX message
2014-09-10 12:47:26 +02:00
Gianluca Arbezzano
b9248c1e02
Skeleton
2014-09-10 12:00:46 +02:00