Connecting to a runtime environment¶
To enable distributed application workflows, configure VS Code to connect to your Teracloud Streams domain.
Running Streams domain required
You will need a running Streams domain before you can connect the extension to one. Follow the steps in the Set up a runtime environment section if you do not already have one.
Note
Only one domain can be connected to the extension at a time.
Configuring VS Code proxy¶
Streams domains by default have self-signed certificates. In order for the VS Code extension to communicate with domains with self-signed certificates, you need to set http.proxySupport to allow self-signed communication.
- Click here to open the setting in VS Code, or navigate to Settings and search for
http.proxySupport - Double-check the scope you want the setting at:
User,Remote, orWorkspace - Change the value to
fallback
Connecting to a domain¶
- Click the (Streams Explorer) icon in the Activity Bar
- Click the Add Domain button to bring up a series of prompts
-
Enter the REST API URL for the domain
Tip
You can get this value by running
streamtool geturl --apiin your deployed environment. -
Enter your username
- Enter your password
After connecting to a Streams domain, you can administer Streams instances and submit distributed applications if you have a running instance.
Disconnecting from a domain¶
- Click on the (Accounts) icon in the lower-left of the Activity Bar
- Hover over the account with (Teracloud Streams Domain)
- Click Sign Out