diff --git a/eclipse-language-servers/org.springframework.tooling.boot.ls/META-INF/MANIFEST.MF b/eclipse-language-servers/org.springframework.tooling.boot.ls/META-INF/MANIFEST.MF
index 6ee759f59..e96369bbc 100644
--- a/eclipse-language-servers/org.springframework.tooling.boot.ls/META-INF/MANIFEST.MF
+++ b/eclipse-language-servers/org.springframework.tooling.boot.ls/META-INF/MANIFEST.MF
@@ -26,10 +26,11 @@ Require-Bundle: org.eclipse.jdt.launching;bundle-version="3.9.0",
org.springsource.ide.eclipse.commons.livexp,
org.apache.commons.lang3,
org.eclipse.wst.sse.ui;bundle-version="1.5.0";resolution:=optional,
- org.json;bundle-version="1.0.0",
org.eclipse.jdt.annotation,
org.eclipse.mylyn.wikitext.markdown,
- org.eclipse.mylyn.wikitext
+ org.eclipse.mylyn.wikitext,
+ org.springframework.ide.eclipse.boot.dash;bundle-version="3.9.12",
+ com.google.gson
Import-Package: com.google.common.base,
com.google.common.collect,
com.google.gson;version="2.7.0",
diff --git a/eclipse-language-servers/org.springframework.tooling.boot.ls/plugin.xml b/eclipse-language-servers/org.springframework.tooling.boot.ls/plugin.xml
index d625751d6..3b4d3e4df 100644
--- a/eclipse-language-servers/org.springframework.tooling.boot.ls/plugin.xml
+++ b/eclipse-language-servers/org.springframework.tooling.boot.ls/plugin.xml
@@ -366,5 +366,11 @@
name="Spring - Live Process Information"
requiresUIAccess="false"/>
+
+
+
+
diff --git a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootDashInjections.java b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootDashInjections.java
new file mode 100644
index 000000000..a19672e33
--- /dev/null
+++ b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootDashInjections.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2019 Pivotal, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Pivotal, Inc. - initial API and implementation
+ *******************************************************************************/
+package org.springframework.tooling.boot.ls;
+
+import org.springframework.ide.eclipse.boot.dash.di.EclipseBeanLoader;
+import org.springframework.ide.eclipse.boot.dash.di.SimpleDIContext;
+import org.springframework.ide.eclipse.boot.dash.model.DefaultBootDashModelContext;
+import org.springframework.ide.eclipse.boot.dash.remoteapps.RemoteBootAppsDataHolder;
+import org.springframework.tooling.boot.ls.prefs.RemoteAppsFromPrefsDataContributor;
+
+/**
+ * Contributes bean definitions to {@link DefaultBootDashModelContext}
+ */
+public class BootDashInjections implements EclipseBeanLoader.Contribution {
+
+ @Override
+ public void applyBeanDefinitions(SimpleDIContext context) throws Exception {
+ context.defInstance(RemoteBootAppsDataHolder.Contributor.class, RemoteAppsFromPrefsDataContributor.INSTANCE);
+ }
+}
diff --git a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootLanguageServerPlugin.java b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootLanguageServerPlugin.java
index d9543505b..ce4a4635f 100644
--- a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootLanguageServerPlugin.java
+++ b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/BootLanguageServerPlugin.java
@@ -21,6 +21,7 @@ import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.keys.IBindingService;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
+import org.springframework.ide.eclipse.boot.dash.remoteapps.RemoteBootAppsDataHolder;
import org.springsource.ide.eclipse.commons.livexp.core.LiveSetVariable;
/**
@@ -101,14 +102,4 @@ public class BootLanguageServerPlugin extends AbstractUIPlugin {
});
}
}
-
- //Should support both older and current formats:
- // - old format = org.apache.commons.lang3.tuple.Pair (jmxUrl,host)
- // - new format = List containing upto 4 elements: jmxUrl, host, port, urlScheme. The last two are optional.
- private static LiveSetVariable