Skip to content

Commit

Permalink
Removal of connectsdk library and its dependencies.
Browse files Browse the repository at this point in the history
Replaced connectsdk with OH native json, websocket, UpnpDiscovery.
Signed-off-by: Sebastian Prehn <[email protected]>
  • Loading branch information
sprehn committed Sep 13, 2019
1 parent 793205e commit 2a29aaf
Show file tree
Hide file tree
Showing 44 changed files with 2,854 additions and 1,007 deletions.
1 change: 0 additions & 1 deletion bundles/org.openhab.binding.lgwebos/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/Connect-SDK-Java-Core-1.0.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
23 changes: 0 additions & 23 deletions bundles/org.openhab.binding.lgwebos/.project

This file was deleted.

23 changes: 4 additions & 19 deletions bundles/org.openhab.binding.lgwebos/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,7 @@ https://github.com/openhab/openhab2-addons

== Third-party Content

Connect-SDK-Java-Core
* License: Apache 2.0 License
* Project: https://github.com/ConnectSDK/Connect-SDK-Android-Core
* Source: https://github.com/sprehn/Connect-SDK-Java-Core/releases

Java-WebSocket
* License: MIT License
* Project: https://tootallnate.github.io/Java-WebSocket
* Source: https://github.com/TooTallNate/Java-WebSocket

json
* License: JSON License
* Project: https://www.json.org
* Source: https://github.com/douglascrockford/JSON-java

xpp3
* License: Apache 2.0 License
* Project: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1
* Source: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1
Jetty WebSocket-Websocket
* License: Eclipse Public License v1.0 and Apache License v2.0
* Project: https://www.eclipse.org/jetty/
* Source: http://github.com/eclipse/jetty.project
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.lgwebos/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# LG webOS Binding

The binding integrates LG WebOS based smart TVs.
This binding uses a [forked version](https://github.com/sprehn/Connect-SDK-Java-Core) of LG's [Connect SDK](https://github.com/ConnectSDK/Connect-SDK-Android-Core) library.
This binding is an adoption of LG's [Connect SDK](https://github.com/ConnectSDK/Connect-SDK-Android-Core) library, which is no longer maintained and which was specific to Android.

## Supported Things

Expand Down
Binary file not shown.
18 changes: 3 additions & 15 deletions bundles/org.openhab.binding.lgwebos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,9 @@

<dependencies>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3</artifactId>
<version>1.1.4c</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openhab.osgiify</groupId>
<artifactId>org.java-websocket.java-websocket</artifactId>
<version>1.3.2</version>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-client</artifactId>
<version>9.4.11.v20180605</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@

<feature name="openhab-binding-lgwebos" description="LG webOS Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle dependency="true">mvn:org.apache.httpcomponents/httpcore-osgi/4.4.4</bundle>
<bundle dependency="true">mvn:org.apache.httpcomponents/httpclient-osgi/4.5.2</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_7</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json/20140107_1</bundle>
<bundle dependency="true">mvn:org.openhab.osgiify/org.java-websocket.java-websocket/1.3.2</bundle>
<feature>openhab-transport-upnp</feature>
<bundle dependency="true">mvn:org.eclipse.jetty.websocket/websocket-client/9.4.11.v20180605</bundle>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.lgwebos/${project.version}</bundle>
</feature>
</features>
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
*/
package org.openhab.binding.lgwebos.action;

import org.eclipse.jdt.annotation.NonNullByDefault;

/**
* This represents id and name of a WebOS application.
*
* @author Sebastian Prehn - Initial contribution
*/
@NonNullByDefault
public class Application {
private String id;
private String name;
Expand Down
Loading

0 comments on commit 2a29aaf

Please sign in to comment.