From e142d372fdf2e335e3532ea844e108bc4cedc6c7 Mon Sep 17 00:00:00 2001 From: Sergii Leshchenko Date: Tue, 3 Jul 2018 15:27:00 +0300 Subject: [PATCH] Mark exec-agent, terminal, wsmaster servers secure --- .../installers/1.0.0/org.eclipse.che.exec.json | 10 ++++++++-- .../installers/1.0.1/org.eclipse.che.exec.json | 10 ++++++++-- .../installers/1.0.0/org.eclipse.che.terminal.json | 5 ++++- .../installers/1.0.1/org.eclipse.che.terminal.json | 5 ++++- .../installers/1.0.0/org.eclipse.che.ws-agent.json | 10 ++++++++-- .../installers/1.0.1/org.eclipse.che.ws-agent.json | 10 ++++++++-- .../installers/1.0.2/org.eclipse.che.ws-agent.json | 10 ++++++++-- .../installers/1.0.3/org.eclipse.che.ws-agent.json | 10 ++++++++-- 8 files changed, 56 insertions(+), 14 deletions(-) diff --git a/agents/exec/installer/src/main/resources/installers/1.0.0/org.eclipse.che.exec.json b/agents/exec/installer/src/main/resources/installers/1.0.0/org.eclipse.che.exec.json index 26373e4495..fa71a8925d 100644 --- a/agents/exec/installer/src/main/resources/installers/1.0.0/org.eclipse.che.exec.json +++ b/agents/exec/installer/src/main/resources/installers/1.0.0/org.eclipse.che.exec.json @@ -9,12 +9,18 @@ "exec-agent/http": { "port": "4412/tcp", "protocol": "http", - "path" : "/process" + "path" : "/process", + "attributes": { + "secure": "true" + } }, "exec-agent/ws": { "port": "4412/tcp", "protocol": "ws", - "path": "/connect" + "path": "/connect", + "attributes": { + "secure": "true" + } } } } diff --git a/agents/exec/installer/src/main/resources/installers/1.0.1/org.eclipse.che.exec.json b/agents/exec/installer/src/main/resources/installers/1.0.1/org.eclipse.che.exec.json index 8f7e3e0384..e08d9f35ea 100644 --- a/agents/exec/installer/src/main/resources/installers/1.0.1/org.eclipse.che.exec.json +++ b/agents/exec/installer/src/main/resources/installers/1.0.1/org.eclipse.che.exec.json @@ -9,12 +9,18 @@ "exec-agent/http": { "port": "4412/tcp", "protocol": "http", - "path" : "/process" + "path" : "/process", + "attributes": { + "secure": "true" + } }, "exec-agent/ws": { "port": "4412/tcp", "protocol": "ws", - "path": "/connect" + "path": "/connect", + "attributes": { + "secure": "true" + } } } } diff --git a/agents/terminal/src/main/resources/installers/1.0.0/org.eclipse.che.terminal.json b/agents/terminal/src/main/resources/installers/1.0.0/org.eclipse.che.terminal.json index 120f212ee9..58fdadfd51 100644 --- a/agents/terminal/src/main/resources/installers/1.0.0/org.eclipse.che.terminal.json +++ b/agents/terminal/src/main/resources/installers/1.0.0/org.eclipse.che.terminal.json @@ -9,7 +9,10 @@ "terminal": { "port": "4411/tcp", "protocol": "ws", - "path" : "/pty" + "path" : "/pty", + "attributes": { + "secure": "true" + } } } } diff --git a/agents/terminal/src/main/resources/installers/1.0.1/org.eclipse.che.terminal.json b/agents/terminal/src/main/resources/installers/1.0.1/org.eclipse.che.terminal.json index 0890cb3961..cfd12111fc 100644 --- a/agents/terminal/src/main/resources/installers/1.0.1/org.eclipse.che.terminal.json +++ b/agents/terminal/src/main/resources/installers/1.0.1/org.eclipse.che.terminal.json @@ -9,7 +9,10 @@ "terminal": { "port": "4411/tcp", "protocol": "ws", - "path" : "/pty" + "path" : "/pty", + "attributes": { + "secure": "true" + } } } } diff --git a/wsagent/agent/src/main/resources/installers/1.0.0/org.eclipse.che.ws-agent.json b/wsagent/agent/src/main/resources/installers/1.0.0/org.eclipse.che.ws-agent.json index 92fdd63013..2df0eecf51 100644 --- a/wsagent/agent/src/main/resources/installers/1.0.0/org.eclipse.che.ws-agent.json +++ b/wsagent/agent/src/main/resources/installers/1.0.0/org.eclipse.che.ws-agent.json @@ -12,12 +12,18 @@ "wsagent/http": { "port": "4401/tcp", "protocol": "http", - "path" : "/api" + "path" : "/api", + "attributes": { + "secure": "true" + } }, "wsagent/ws": { "port": "4401/tcp", "protocol": "ws", - "path" : "/wsagent" + "path" : "/wsagent", + "attributes": { + "secure": "true" + } } } } diff --git a/wsagent/agent/src/main/resources/installers/1.0.1/org.eclipse.che.ws-agent.json b/wsagent/agent/src/main/resources/installers/1.0.1/org.eclipse.che.ws-agent.json index 2b1398b50c..5b5d33f0a8 100644 --- a/wsagent/agent/src/main/resources/installers/1.0.1/org.eclipse.che.ws-agent.json +++ b/wsagent/agent/src/main/resources/installers/1.0.1/org.eclipse.che.ws-agent.json @@ -12,12 +12,18 @@ "wsagent/http": { "port": "4401/tcp", "protocol": "http", - "path" : "/api" + "path" : "/api", + "attributes": { + "secure": "true" + } }, "wsagent/ws": { "port": "4401/tcp", "protocol": "ws", - "path" : "/wsagent" + "path" : "/wsagent", + "attributes": { + "secure": "true" + } }, "wsagent-debug": { "port": "4403/tcp", diff --git a/wsagent/agent/src/main/resources/installers/1.0.2/org.eclipse.che.ws-agent.json b/wsagent/agent/src/main/resources/installers/1.0.2/org.eclipse.che.ws-agent.json index 8ee354599b..b48e5cd0c0 100644 --- a/wsagent/agent/src/main/resources/installers/1.0.2/org.eclipse.che.ws-agent.json +++ b/wsagent/agent/src/main/resources/installers/1.0.2/org.eclipse.che.ws-agent.json @@ -12,12 +12,18 @@ "wsagent/http": { "port": "4401/tcp", "protocol": "http", - "path" : "/api" + "path" : "/api", + "attributes": { + "secure": "true" + } }, "wsagent/ws": { "port": "4401/tcp", "protocol": "ws", - "path" : "/wsagent" + "path" : "/wsagent", + "attributes": { + "secure": "true" + } }, "wsagent-debug": { "port": "4403/tcp", diff --git a/wsagent/agent/src/main/resources/installers/1.0.3/org.eclipse.che.ws-agent.json b/wsagent/agent/src/main/resources/installers/1.0.3/org.eclipse.che.ws-agent.json index 2d40a32df9..f4cac844b9 100644 --- a/wsagent/agent/src/main/resources/installers/1.0.3/org.eclipse.che.ws-agent.json +++ b/wsagent/agent/src/main/resources/installers/1.0.3/org.eclipse.che.ws-agent.json @@ -9,12 +9,18 @@ "wsagent/http": { "port": "4401/tcp", "protocol": "http", - "path" : "/api" + "path" : "/api", + "attributes": { + "secure": "true" + } }, "wsagent/ws": { "port": "4401/tcp", "protocol": "ws", - "path" : "/wsagent" + "path" : "/wsagent", + "attributes": { + "secure": "true" + } }, "wsagent-debug": { "port": "4403/tcp",