* Add an API command to start a func task and to check if CLI tools is installed
* Make some updates for isFuncCoreToolsInstalled
* Update apiVersion
* Update apiVersion to minor path
* Use fully qualified path rather than relative
* Use Uri.fspath as key for FuncRunningMap/Port (#4309)
* Use Uri.fspath as key for FuncRunningMap/Port
This commit modifies pickFuncProcess startFuncProcessFromApi removing
the workspaceFolder requirement and adding in the environment variables.
funcHostTask was originally tracked by vscode.WorkspaceFolder via
Task.Scope and DebugConfiguration.WorkspaceFolder. This commit modifies
it to use a new AzureFunctionTaskDefinition.functionsApp property which
is either the `buildPath` from startFuncProcessFromApi or the
vscode.WorkspaceFolder.uri.fsPath to maintain backwards compatibility.
runningFuncTaskMap, funcTaskStartedEmitter, and runningFuncPortMap now
all using the vscode.Uri.fsPath string which can be used to map back to
a WorkspaceFolder. However in the cases the WorkspaceFolder fails, APIs
that used it will now see undefined passed in.
* Make unique 'type' so VS Code will launch multiple tasks
* Address Comments
* Pin core tools to fix tests (#4310)
* Try stable v4 feed
* Fixup
---------
Co-authored-by: Andrew Wang <waan@microsoft.com>
Co-authored-by: Alex Weininger <alex.weininger@live.com>
* try this
* fix build error
* cleanup
* log subscription for verification
* only run function app operations tests?
* try with correct prompt order
* try only function app operations
* add new options to rotating values
* fix create and deploy tests
* run only long running tests
* remove the prompt for programming model version from v2
* test only create new project
* try fixing create new project tests
* try installing java thru the pipeline
* try again
* specify input for F# too
* try installing java again
* try with windows-latest vmImage
* try new pool
* give up on installing java for now
* try all tests again
* test
* install java
* try different pool
* try 2019?
* 2017?
* try creating new EventGrid tests
* remove the preinstall stage
* remove deprecated runtime tests
* remove unnecessary eventgrid tests
* try only create function tests
* remove deprecated language versions
* add prompt for python prog model
* try only Python tests
* try all again
* use python 3.8
* use python 3.9
* test only python tests again
* try fix with only create and deploy tests
* remove deprecated Create API test
* add subscription name step
* remove subscription name step
* try removing function.json line
* add model v4 and model v2 tests and test only create new project
* try with adding validate options
* try extra debugging
* try with suppressing parallel
* create missing version.txt file
* update package.json
* run all tests
* fix create and deploy tests
* add language model types
* add python v2 tests and fix c# and python tests
* remove rogue ampersand
* update target
* use python 3.9
* disable C#Script, Java, and Ballerina tests
* add python v2 create new project tests
* add .NET 8 tests
* update python v2 create tests
* clean up nightly global tests
* clean up
* clean up
* clean up
* clean up
* PR feedback
* more clean up
* fix regexps
* PR feedback
* try this
* fix build error
* cleanup
* log subscription for verification
* only run function app operations tests?
* try with correct prompt order
* try only function app operations
* add new options to rotating values
* fix create and deploy tests
* run only long running tests
* remove the prompt for programming model version from v2
* test only create new project
* try fixing create new project tests
* try installing java thru the pipeline
* try again
* specify input for F# too
* try installing java again
* try with windows-latest vmImage
* try new pool
* give up on installing java for now
* try all tests again
* test
* install java
* try different pool
* try 2019?
* 2017?
* try creating new EventGrid tests
* remove the preinstall stage
* remove deprecated runtime tests
* remove unnecessary eventgrid tests
* try only create function tests
* remove deprecated language versions
* add prompt for python prog model
* try only Python tests
* try all again
* use python 3.8
* use python 3.9
* test only python tests again
* try fix with only create and deploy tests
* remove deprecated Create API test
* add subscription name step
* remove subscription name step
* try removing function.json line
* add model v4 and model v2 tests and test only create new project
* Revert "add model v4 and model v2 tests and test only create new project"
This reverts commit 7280626bfa.
* try all tests again (sanity check)
* remove comment on line
* fix package
* update chokidar
* fix deploy tests
* use python 3.9
* remove C# script tests
* disable Java and Ballerina tests for now
* try re-enabling .NET 3.1 tests
* fix subpath issue
* apply fix for expected patterns too
* try .NET framework?
* clean up
* add .NET 8.0 create function test
* return timeout to normal
* remove extra logging statement
* remove unnecessary comment
* endgame
* remove .NET 8 from create function tests
* add issue reference in disabling java tests comment
* use constant for input
* update comments
* fix typo
* Reverse list
* change to quickpicks
* add test
* remove
* Add another test
* remove
* update comment
* update again
* see if tests work
* delete
* add