https://github.com/zatosource/ide-vscode
Zato integration for Visual Studio Code
https://github.com/zatosource/ide-vscode
Last synced: 8 months ago
JSON representation
Zato integration for Visual Studio Code
- Host: GitHub
- URL: https://github.com/zatosource/ide-vscode
- Owner: zatosource
- License: other
- Created: 2018-01-02T12:05:54.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-07-01T16:58:06.000Z (10 months ago)
- Last Synced: 2025-07-01T17:25:21.350Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 389 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Zato for Visual Studio Code
This is a Visual Studio Code extension that enables single keypress and single
click hot-deployment of the active Python source file to a Zato cluster
specified in your workspace or global configuration.
## Setup
* Once you have installed the extension, visit the **Security -> HTTP Basic
Auth** section of the Dashboard UI for your cluster:

* Select the **Change password** option for the pre-installed **ide_publisher**
account:

* Set the password to a strong one, and choose **OK**.
* Open **User Settings** in Visual Studio Code, and filter the file by using
the string "zato".
* Update the `url` key to point to the base URL of either your one of your Zato
cluster servers, or its load balancer address. For example,
`http://zato:17010/ide-deploy`.
* Update the `password` to match the password you entered above.
* Open the Visual Studio command palette (Cmd-Shift-P or Ctrl-Shift-P) and
search for "zato".
* Select the **Test Zato Connection** command. A message will appear
indicating communication with the cluster was successful.
## Deployment
Make sure that each Python module with Zato services contains this marker at the top:
**zato: ide-deploy=True**
That will signal to the extension that this particular Python file contains services that can be
hot-deployed to clusters.
Next, while editing a Python source file, simply tap Ctrl-Shift-L (or Cmd-Shift-L on
Mac) to start deployment of the current file. The file's basename is used as
its module filename on the server.
The hot-deploy feature is additionally available from the command palette
(Ctrl-Shift-P) and as an editor toolbar option.
The source file is always assumed to be in UTF-8. This matches the expectation
that Zato modules are always written in UTF-8.
