]> git.basschouten.com Git - openhab-addons.git/commit
[http] Add rate-limiting to channel refresh (#9509)
authorJ-N-K <J-N-K@users.noreply.github.com>
Mon, 28 Dec 2020 17:18:06 +0000 (18:18 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Dec 2020 17:18:06 +0000 (09:18 -0800)
commitc556f496915db35418da3133869b72935b70820b
tree38666fd82f277ece476bcf75834778f9953a5199
parent06690bd37efc5666aeb2407ef86c5bb24fec3b5b
[http] Add rate-limiting to channel refresh (#9509)

* add rate limiter for requests and catch transformation exception
* address review comment
* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
bundles/org.openhab.binding.http/README.md
bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/HttpHandlerFactory.java
bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/HttpThingHandler.java
bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/config/HttpThingConfig.java
bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/http/RateLimitedHttpClient.java [new file with mode: 0644]
bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/http/RefreshingUrlCache.java
bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/transform/CascadedValueTransformationImpl.java
bundles/org.openhab.binding.http/src/main/resources/OH-INF/thing/thing-types.xml