100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Minor WebsocketAgent attribute rename
Rich Turnere8db998a4daa
diff --git a/agent/src/main/java/org/openremote/agent/protocol/websocket/WebsocketAgent.java b/agent/src/main/java/org/openremote/agent/protocol/websocket/WebsocketAgent.javaindex 6fb7e3375..152d08e13 100644--- a/agent/src/main/java/org/openremote/agent/protocol/websocket/WebsocketAgent.java+++ b/agent/src/main/java/org/openremote/agent/protocol/websocket/WebsocketAgent.java@@ -60,7 +60,7 @@ public class WebsocketAgent extends IOAgent<WebsocketAgent, WebsocketAgentProtoc/*** Websocket connect endpoint URI*/- public static final AttributeDescriptor<String> CONNECT_URI = new AttributeDescriptor<>("connectUri", ValueType.TEXT);+ public static final AttributeDescriptor<String> CONNECT_URL = new AttributeDescriptor<>("connectURL", ValueType.TEXT);/*** Headers for websocket connect call@@ -88,11 +88,11 @@ public class WebsocketAgent extends IOAgent<WebsocketAgent, WebsocketAgentProtoc}public Optional<String> getConnectUri() {- return getAttributes().getValue(CONNECT_URI);+ return getAttributes().getValue(CONNECT_URL);}public WebsocketAgent setConnectUri(String value) {- getAttributes().getOrCreate(CONNECT_URI).setValue(value);+ getAttributes().getOrCreate(CONNECT_URL).setValue(value);return this;}