You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Configuration.md
+24-21Lines changed: 24 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,19 +137,21 @@ First, configure one or more servers. You can use the plus sign (`+`) at the top
137
137
138
138
Provide the following values when prompted:
139
139
140
-
-**Name of new server definition** - an arbitrary name to identify this server.
141
-
-**Description (optional)** - a brief description of the server.
142
-
-**Hostname or IP address of web server** - the host for this server.
143
-
-**Port of web server** - the WebServer port number for this server.
144
-
-**Username** - the username to use in logging in to this server.
145
-
-**Confirm connection type** - the protocol used for connections, possible values are **http** and **https**.
140
+
-**Name of new server definition** - An arbitrary name to identify this server.
141
+
-**Description (optional)** - A brief description of the server.
142
+
-**Hostname or IP address of web server** - The host of the InterSystems server, or a standalone web server that publishes the web services of your target InterSystems server via the InterSystems Web Gateway.
143
+
-**Port of web server** - The WebServer port number for this server's private web server, or the port number of the standalone web server.
144
+
-**Username** - The username to use when logging in to this server.
145
+
-**Confirm connection type** - The protocol used for connections. Possible values are **http** and **https**.
146
146
147
-
Once you have entered these values, the server definition is stored in your user-level `settings.json` file, and the server appears at the top of the **Recent** folder in the InterSystems Tools view.
147
+
Once you have entered these values the server definition is stored in your user-level `settings.json` file, and the server appears at the top of the **Recent** folder in the InterSystems Tools view.
148
148
149
149
If you want to store a password for this server definition, select **Store Password in Keychain** from the context menu for the server in the InterSystems Tools view. If you do not store a password, users are prompted for a password each time they connect to the server. To remove a password from the keychain, Select **Clear Password from Keychain** from the server context menu. For more information, see [Server Context Menu](../extensionui#server-context-menu).
150
150
151
151
You can create a configuration for a server that is not currently running.
152
152
153
+
If you are connecting via a standalone web server which bublishes services for more than one InterSystems server you will need to edit the server configuration in your `settings.json` file to add a `pathPrefix` property. See the next section.
154
+
153
155
## Editing a Server Configuration
154
156
155
157
If you need to modify a server configuration select **File > Preferences > Settings** (**Code > Preferences > Settings** on Mac) from the menu. Select the **User** settings level. Find **Extensions** in the list in the left pane of the editor window, click to open, then select **InterSystems Server Manager** from the list to find the **InterSystems Server Manager** area of the edit pane, as illustrated in the following screen shot:
@@ -180,23 +182,24 @@ The server configuration in *settings.json* looks similar to the following, with
180
182
```
181
183
The components of the server definition are as follows:
182
184
183
-
-**iris-1** - An arbitrary name to identify this server
184
-
-**webServer** - The collection of properties that define the web server
185
-
-**scheme** - The protocol used for connections
186
-
-**host** - the host for this server
187
-
-**port** - the WebServer port number for this server
188
-
-**username** - the username to use in logging in to this server
189
-
-**password** - password for the specified username. Entering the password in this file is acceptable only in limited situations with very low need for security.
185
+
-**iris-1** - An arbitrary name to identify this server.
186
+
-**webServer** - The collection of properties that define the web server through which you will connect. This can either be the InterSystems server's private web server or a standalone web server configured as an InterSystems Web Gateway.
187
+
-**scheme** - The protocol used for connections (http or https).
188
+
-**host** - The host of the web server.
189
+
-**port** - The port number for this web server.
190
+
-**pathPrefix** - Only required when connecting through a standalone web server that publishes the target server's web services under a subfolder.
191
+
-**username** - The username to use in logging in to this server.
192
+
-**password** - Password for the specified username. Entering the password as plaintext in this file is acceptable only in limited situations with very low need for security.
190
193
191
-
If you do not store the password securely in the system Keychain or add it to the server definition, anyone using the server needs to supply the password. The InterSystems Server Manager provides the following commands for managing stored passwords in the Command Palette:
194
+
If you do not store the password securely in your workstation keychain or add it to the server definition, anyone using the server needs to supply the password. The InterSystems Server Manager provides the following commands for managing stored passwords in the Command Palette:
192
195
193
-
-**InterSystems Server Manager: Clear Password from Keychain** - remove the password for a selected server
194
-
-**InterSystems Server Manager: Store Password in Keychain** - select a server or create a new one and enter a password
196
+
-**InterSystems Server Manager: Clear Password from Keychain** - Remove the password for a selected server.
197
+
-**InterSystems Server Manager: Store Password in Keychain** - Select a server or create a new one, then enter a password.
195
198
196
199
{: #config-server-conn}
197
200
## Configuring a Server Connection
198
201
199
-
Open the folder where you want client-side files to be located. Select the **ObjectScript Explorer** button on the Activity Bar. Select the **Choose Server and Namespace** button. This action opens a dialog that lets you select a server, or create a new one. Once you have selected a server and namespace, connection configuration is complete. VS Code adds the server and namespace to the status bar, as shown in the following screen shot.
202
+
Open the folder where you want client-side files to be located. Select the **ObjectScript Explorer** button on the Activity Bar. Select the **Choose Server and Namespace** button. This action opens a dialog that lets you select a server or create a new one. Once you have selected a server and namespace, connection configuration is complete. VS Code adds the server and namespace to the status bar, as shown in the following screen shot.
200
203
201
204

202
205
@@ -218,9 +221,9 @@ The connection configuration looks like this:
218
221
219
222
The components of this configuration are:
220
223
221
-
-**ns** - namespace to use on the server
222
-
-**server** - server name as specified in the server configuration
223
-
-**active** - specifies whether the connection is active.
224
+
-**ns** - Namespace to use on the server
225
+
-**server** - Server name as specified in the server configuration
226
+
-**active** - Specifies whether the connection is active.
0 commit comments