Add missing dependencies for REST server and include to desktop-feature 70/1070/4
authorjsimomaa <jani.simomaa@gmail.com>
Wed, 4 Oct 2017 05:09:57 +0000 (08:09 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Wed, 4 Oct 2017 06:22:59 +0000 (09:22 +0300)
refs #7374

Change-Id: I3c86f071820657d5582bb1240b19db9527497ee3

bundles/org.simantics.scl.rest/scl/Server/RESTSCL.scl [moved from bundles/org.simantics.scl.rest/scl/SCL/REST/Server.scl with 100% similarity]
bundles/org.simantics.scl.rest/src/org/simantics/scl/rest/SCLRESTServer.java
features/org.simantics.desktop.product.feature/feature.xml
features/org.simantics.scl.rest.feature/feature.xml

index 0e642026ea39ef953b52036a2116aa0092f49712..b7e8090b506fd05036e8c60346aaeadc2d1e7050 100644 (file)
@@ -36,7 +36,6 @@ public class SCLRESTServer {
         server = new Server();
         ServerConnector connector = new ServerConnector(server);
         connector.setPort(preferablePort);
-        connector.setHost("localhost");
         
         server.setConnectors(new Connector[] { connector });
         
index 9bd6f1eda661db7ee46421d7914ad21322f29b5a..59c22464375383ef51b34e2c4080e9c80a8b8937 100644 (file)
          id="org.simantics.modeling.ui.workbench.feature"
          version="0.0.0"/>
 
+   <includes
+         id="org.simantics.scl.rest.feature"
+         version="0.0.0"/>
+
    <plugin
          id="org.simantics.desktop.product"
          download-size="0"
index 4c963457817131119f3815932931b376f0392cf5..450ecc3f2a696d810b074c8510dfc0b09c9fb350 100644 (file)
@@ -228,4 +228,95 @@ This Agreement is governed by the laws of the State of New York and the intellec
          version="0.0.0"
          unpack="false"/>
 
+   <plugin
+         id="org.glassfish.jersey.bundles.repackaged.jersey-guava"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="com.fasterxml.jackson.jaxrs.jackson-jaxrs-base"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="javax.validation.api"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.hk2.api"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.hk2.external.aopalliance-repackaged"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.hk2.locator"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.hk2.osgi-resource-locator"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.hk2.utils"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.jersey.core.jersey-common"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.jersey.ext.jersey-entity-filtering"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.glassfish.jersey.core.jersey-client"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="javassist"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
 </feature>