mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Merge branch 'release/0.3.2'
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Contributing to InfluxDB PHP SDK
|
||||
|
||||
## Pull requests are always welcome
|
||||
|
||||
Not sure if that typo is worth a pull request? Found a bug and know how to fix
|
||||
it? Do it! We will appreciate it. Any significant improvement should be
|
||||
documented as a GitHub issue before anybody starts working on it.
|
||||
|
||||
We are always thrilled to receive pull requests. We do our best to process them
|
||||
quickly. If your pull request is not accepted on the first try, don't get
|
||||
discouraged!
|
||||
|
||||
We follows the *vincent driessen's branching model*
|
||||
[http://nvie.com/posts/a-successful-git-branching-model/](http://nvie.com/posts/a-successful-git-branching-model/)
|
||||
|
||||
@@ -12,6 +12,18 @@
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<php>
|
||||
<env name="UDP_PORT" value="5551"/>
|
||||
<env name="UDP_DB" value="udp.test"/>
|
||||
|
||||
<env name="TCP_PORT" value="8086"/>
|
||||
<env name="TCP_DB" value="tcp.test"/>
|
||||
<env name="TCP_PROTOCOL" value="http"/>
|
||||
|
||||
<env name="HOST" value="localhost"/>
|
||||
<env name="USERNAME" value="root"/>
|
||||
<env name="PASSWORD" value="root"/>
|
||||
</php>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">src</directory>
|
||||
|
||||
@@ -195,4 +195,5 @@ class HttpAdapter implements AdapterInterface, QueryableInterface
|
||||
}
|
||||
return $this->parseResponse($response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ namespace InfluxDB\Exception;
|
||||
class InfluxAuthorizationException extends InfluxGeneralException
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ namespace InfluxDB\Exception;
|
||||
class InfluxBadResponseException extends InfluxGeneralException
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ namespace InfluxDB\Exception;
|
||||
class InfluxGeneralException extends \RuntimeException
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ namespace InfluxDB\Exception;
|
||||
class InfluxNoSeriesException extends InfluxGeneralException
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ namespace InfluxDB\Exception;
|
||||
class InfluxUnexpectedResponseException extends InfluxGeneralException
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+11
-11
@@ -1,18 +1,18 @@
|
||||
<?php
|
||||
return [
|
||||
"tcp" => [
|
||||
"host" => "localhost",
|
||||
"port" => 8086,
|
||||
"protocol" => "http",
|
||||
"database" => "tcp.test",
|
||||
"username" => "root",
|
||||
"password" => "root",
|
||||
"host" => getenv('HOST'),
|
||||
"port" => getenv('TCP_PORT'),
|
||||
"protocol" => getenv('TCP_PROTOCOL'),
|
||||
"database" => getenv('TCP_DB'),
|
||||
"username" => getenv('USERNAME'),
|
||||
"password" => getenv('PASSWORD'),
|
||||
],
|
||||
"udp" => [
|
||||
"host" => "localhost",
|
||||
"port" => 5551,
|
||||
"database" => "udp.test",
|
||||
"username" => "root",
|
||||
"password" => "root"
|
||||
"host" => getenv('HOST'),
|
||||
"port" => getenv('UDP_PORT'),
|
||||
"database" => getenv('UDP_DB'),
|
||||
"username" => getenv('USERNAME'),
|
||||
"password" => getenv('PASSWORD'),
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user