openhab-core
openhab-core copied to clipboard
[Enhancement/Support] HTTP feature "Transition feature for backward compatibility"
I've noted, that with a new OH 4.2 installation the http
karaf feature is not part of the default setup anymore:
http | 8.0.27 | | Uninstalled | standard-4.4.6 | Transition feature for backward compatibility
As the feature is marked as transitional it might be a documentation issue after all (then please transfer to doc repository - and I'll follow up). I use http
to make my interactive grafana charts available to OH phone/remote application:
openhab> http:proxy-list
URL │ ProxyTo │ Balancing Policy
─────────┼──────────────────────────────────────────┼─────────────────
/grafana │ https://openhab.home:3000/grafana │
Of course this needs proper SSL setup etc. to work - but might be worth a docu page as well ...
Environment
Clean installation of OH 4.2:
Installation (📦 Docker container)
_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/
|_| 4.2.0 - Release Build
Use '' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '' or 'logout'.
openhab> info
Karaf
Karaf version 4.4.6
Karaf home /openhab/runtime
Karaf base /openhab/userdata
OSGi Framework org.eclipse.osgi-3.18.0.v20220516-2155
JVM
Java Virtual Machine OpenJDK 64-Bit Server VM version 17.0.11+9-Debian-1deb11u1
Version 17.0.11
Vendor Debian
Pid 203
Uptime 2 hours 35 minutes
Process CPU time 3 minutes
Process CPU load 0.00
System CPU load 0.12
Open file descriptors 203
Max file descriptors 1,048,576
Total compile time 1 minute
Threads
Live threads 118
Daemon threads 58
Peak 202
Total started 3114
Memory
Current heap size 276,990 kbytes
Maximum heap size 4,005,888 kbytes
Committed heap size 475,136 kbytes
Pending objects 0
Garbage collector Name = 'G1 Young Generation', Collections = 36, Time = 0.434 seconds
Garbage collector Name = 'G1 Old Generation', Collections = 0, Time = 0.000 seconds
Classes
Current classes loaded 20,045
Total classes loaded 20,223
Total classes unloaded 178
Operating system
Name Linux version 6.5.0-44-generic
Architecture amd64
Processors 8
Total physical memory 16,019,212 kbytes
Free physical memory 741,408 kbytes
Expected Behavior
➡️ for 4.2 this is not an issue, as I can install the transition http
feature manually; but it would be great if the proxy
feature would be part of the default installation.
Information about the current way to do this would be appreciated as well. If desired I can then open a documentation issue and create docu about that feature - as in my opinion it is very powerful to integrate grafana, frontail, etc ... into the UI (using the interactive grafana widgets).