A developer's front end for Qorus Integration Engine
The extension makes possible remote deployment of edited Qorus source files directly from the VSCode editor.
How to use
Configuration data and corresponding tree view
In order to work with the extension a project must be open in the VSCode editor. By project we mean the root directory of a project (the root of a git repository, for a typical example).
Next, in the root directory there needs to be a project configuration file named qorusproject.json defining development environments and Qorus instances used during the project development. If the configuration file qorusproject.json is not there it can be generated from a template so that the user can simply edit its contents seeing the required structure. Creation of the file is offered in the context menu over each file and each folder within the project.
Based on the configuration file contents a Qorus instances tree view is provided in the explorer pane. Switching to the Qorus instances tree view is done by clicking the hexagon [Q] icon in the activity bar.
More projects (directories) can be open at the same time. When editing alternately files from different projects the Qorus instances tree view changes accordingly.
The configuration file data structure is explained by the following example:
The interpretation of the data is depicted by a tree with three levels:
The corresponding tree looks as follows:
There are three deployment actions:
The deployment is targeted to the Qorus instance that is currently set as active. A Qorus instance can be set as active in the Qorus instances tree view, either from the context menu over a Qorus instance node (second level node) or simply by clicking the Qorus instance node directly. Active Qorus instance is marked by the green light icon. Of course, at most one Qorus instance can be active at a time, setting another instance active inactivates the instance that was active before.
If a Qorus instance requires authentication (and the user has not yet logged in that instance) the
The context menus over the Qorus instance tree nodes offer also the following commands