diff --git a/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodRemoteProviderEnvironment.kt b/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodRemoteProviderEnvironment.kt index 2d01eab105038d..f385b103357350 100644 --- a/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodRemoteProviderEnvironment.kt +++ b/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodRemoteProviderEnvironment.kt @@ -80,7 +80,10 @@ class GitpodRemoteProviderEnvironment( override fun getId(): String = connectParams.uniqueID override fun getName(): String = connectParams.resolvedWorkspaceId - override fun getContentsView(): CompletableFuture = contentsViewFuture + override fun getContentsView(): CompletableFuture { + GitpodLogger.info("=============test.getContentView id: $id") + return contentsViewFuture + } override fun setVisible(visibilityState: EnvironmentVisibilityState) { } diff --git a/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodSSHEnvironmentContentsView.kt b/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodSSHEnvironmentContentsView.kt index 36a4192baf7424..6c5af1e4c1ebc7 100644 --- a/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodSSHEnvironmentContentsView.kt +++ b/components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodSSHEnvironmentContentsView.kt @@ -14,6 +14,7 @@ import io.gitpod.toolbox.service.ConnectParams import io.gitpod.toolbox.service.GitpodConnectionProvider import io.gitpod.toolbox.service.GitpodPublicApiManager import io.gitpod.toolbox.service.Utils +import io.gitpod.toolbox.utils.GitpodLogger import kotlinx.coroutines.future.future import java.util.concurrent.CompletableFuture @@ -30,6 +31,7 @@ class GitpodSSHEnvironmentContentsView( val provider = GitpodConnectionProvider(authManager, connectParams, publicApi) val (connInfo, cancel) = provider.connect() this@GitpodSSHEnvironmentContentsView.cancel = cancel + GitpodLogger.info("=============test.getConnectionInfo port: ${connInfo.port}") return@future connInfo } } @@ -37,6 +39,7 @@ class GitpodSSHEnvironmentContentsView( override fun addEnvironmentContentsListener(p0: ManualEnvironmentContentsView.Listener) { stateListeners += p0 stateListeners.forEach{ + // TODO: get from fetchJoinLink2Info it.onProjectListUpdated(listOf(object : CachedProjectStub { override fun getPath(): String { return "/workspace/template-golang-cli"