Microsoft employee tooling: This extension should be used only by Microsoft employees to run SCOPE scripts on cosmos virtual clusters directly from VSCode.
After the extension is installed and the Cosmos SDK is copied locally, you can press F1 and try to run the available commands under ScopeJob and ScopeJob-Extra. In case you are not authenticated to Cosmos resources, you'll have to run the 'ScopeJob: Encode Cosmos User' command or manually run the Set-CosmosEncodedCredential commands in a powershell window. To get a full set of commands in from the Cosmos Powershell Module, you can run the ScopeJob-Extra: Get list of Powershell Cosmos module commands.
If a scope script file is open, press right click and you can access the shortcuts for compiling and running the script.
In order to utilize this extension and execute the commands successfully, you'll need to be a Microsoft employee who has access to at least one cosmos vc and resource access to the cosmos SDK.
This is the initial alpha release of the extension and the main purpose of this release is to test and gather feedback
This release contains the main commands available in Cosmos for compiling, running scripts and checking the job status. More commands will be implemented soon. Until then, you can use the installed SDK to manually run the commands in a terminal window.
Added capability to manually uninstall the Cosmos Powershell Module. The module is not yet automatically uninstalled when the extension is uninstalled so, it gives the option to remove the Cosmos module and SDK files if not intended to be used without the extension itself.
Added a command for encoding the user for cosmos access. This will ease the experience for the first time usage of the extension after install.
Enabled global parameter value persisting capability. The parameters will be auto-populated with the latest value used for that command. They will globally persist for the logged in user.
Added the cosmos SDK path to the user's 'PATH' variable to enable the run of scope.exe commands in the terminal. This will cover more scope/cosmos capabilities than this extension currently offers in alpha version.
The zip file used to install Cosmos SDK, is removed to clear disk space.
Added new changes due to the NTLM deprecation on Cosmos.
A new PowerShell module installation was introduced. The "Install Cosmos Module" will remove the previous Cosmos module and install Az.Cosmos and Az.Accounts modules to enable AAD authentication for getting access to cosmos resources.
Improved the job running experience by adding progress information and the ability of running multiple jobs in parallel without having to wait for the previous job to finalize.
Optionally, you could install the Scope SDK. The SDK is useful only for more advanced scenarios in which users would like to either use custom versions of the SDK or use the scope libraries on other application.