Граф коммитов

252 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 752522de01
Bump cookie and express in /sample/CustomHandlerRetry (#10525)
Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 12:10:15 -07:00
dependabot[bot] cf6c5604d9
Bump send and express in /sample/CustomHandlerRetry (#10469)
Bumps [send](https://github.com/pillarjs/send) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:33:53 -07:00
Jacob Viau 7c9dc23f5c
Address 1ES CodeQL issues (#10198)
* Address 1ES CodeQL issues

* Switch to nightly build

* Remove unnecessary template
2024-06-27 13:03:37 -07:00
Jacob Viau 0dfa53803e
Update dependencies in CSharp sample (#10133) 2024-05-16 11:39:13 -07:00
dependabot[bot] cbcec46d99
Bump express from 4.18.2 to 4.19.2 in /sample/CustomHandlerRetry (#9948)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 11:15:12 -07:00
Mathew Charles d6653fb45d
Adding explict Function Invoke claim for non-Platform tokens (#9787) 2024-01-18 10:07:43 -08:00
Naren Soni a0b23d3456
Enable worker indexing by default (#9574) 2023-11-17 18:14:58 -08:00
Shyju Krishnankutty 97613c60f1
Adding specialization simulation middleware (#9618)
* Working specialization code path.

* setting env variables in program.cs

* Conditionally remove the middleware file from compilation

* Release notes
2023-10-16 15:34:58 -07:00
Lilian Kasem 44f345c08c
[bug] Do not restart worker channels during requests to get or update function metadata (#9510) 2023-09-26 11:35:17 -07:00
dependabot[bot] 65d758e8db
Bump qs and express in /sample/CustomHandlerRetry (#8955)
Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.9.6 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.9.6...v6.11.0)

Updates `express` from 4.17.2 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.2...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 14:00:01 -08:00
Marc Gravell 51b519c6e2
Reinstate "proxies" support (#8581)
* Revert "removing proxy code (#7705)"

This reverts commit eac199e791.

# Conflicts:
#	WebJobs.Script.sln
#	src/WebJobs.Script.WebHost/Controllers/FunctionsController.cs
#	src/WebJobs.Script.WebHost/Management/FunctionsSyncManager.cs
#	src/WebJobs.Script.WebHost/Middleware/FunctionInvocationMiddleware.cs
#	src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj
#	src/WebJobs.Script/Host/HostFunctionMetadataProvider.cs
#	src/WebJobs.Script/Host/ScriptHost.cs
#	src/WebJobs.Script/WebJobs.Script.csproj
#	test/WebJobs.Script.Tests.Integration/ScriptHostEndToEnd/ScriptHostEndToEndTestFixture.cs
#	test/WebJobs.Script.Tests/Security/KeyVaultSecretsRepositoryTests.cs

* fix package breaks

* resurrect GetDirectTypes - note: this may be undesirable

* fixup GetDirectTypes change and removal of BreakingChangeAnalysis

* without GetDirectTypes, we don't need this suppression

* remove duplicate test SDK ref

* reinstate proxies tests

* Reenabling Proxies

* fixup Validate_HostLogs

* fixup ProxyFunctionDescriptorProviderTests

* fixup ValidateProxyFunctionDescriptor

* update to Gibraltar ("proxies") 2.2.20220829.38

* stabilize scripting tests by reverting Microsoft.CodeAnalysis rev from v4 to v3 (required updating Gibraltar)

* lib rev: revert package updates

* updating runtimeassemblies.json; updating test deps.json

* - gate proxies support via a feature-flag
- enable feature-flag in relevant tests

* fix nits from PR feedback

* experimental; disabling proxies log checks

* - move environment-check inside ProxyFunctionProvider to improve testability
- add feature flag to linux/windows E2E tests

* StandbyModeE2E_Dotnet : perform test with/without proxies - prove that it can be turned off

* enable proxies in more tests

Co-authored-by: Mathew Charles <mathewc@microsoft.com>
Co-authored-by: Brett Samblanet <brettsam@microsoft.com>
2022-09-16 13:12:27 +01:00
Mathew Charles 303117f81b
Adding support for admin API isolation (#8457) 2022-06-22 07:18:30 -07:00
Alexey Rodionov e4b2e5efe3 Revert "Updating Microsoft.Azure.WebJobs to 3.0.33-11924 (#8324)"
This reverts commit c7535d6b55.
2022-05-16 16:30:54 -07:00
Alexey Rodionov c7535d6b55
Updating Microsoft.Azure.WebJobs to 3.0.33-11924 (#8324) 2022-04-27 09:42:27 -07:00
Surgupta b244a9b8db
Host to send load request correctly after fallback is requested by the worker (#8200)
* fix for hostfallback bug

* Added tests

* Sending load request

* Code refactoring

* Added tests

* Python sample app update for worker indexing

* Refactoring  in tests

* Worker indexing tests refactoring

* variable naming fix
2022-03-07 15:44:49 -08:00
Maddie Gordon b88e777a48
Expose retry context to custom handlers (#7768) 2022-02-11 15:09:19 -08:00
Naren Soni 0cb5557576
Updating end to end test to consume cancellation token with drain mode (#8067) 2022-01-20 14:06:17 -08:00
Nick Craver 6c9e9aa941
Solution: simplify Samples inclusion. (#7973)
Instead of having every sample addition or removal be a solution file change, we can use the https://github.com/Microsoft/MSBuildSdks/tree/main/src/NoTargets SDK type in a minimal `.csproj` file to include the whole directory. This simplifies the solution file greatly with the minimal change of moving Samples to a direct project at the bottom (rather than a folder).

I noticed this when I forgot the solution addition in #7964, and we're planning to add some more...so how about we don't modify the `.sln` file for this? I hope that's appealing :)
2021-12-14 11:09:52 -05:00
Nick Craver 7ad0607bf2
Samples: add a benchmarkable sample (#7964)
This would allow us to run Crank benchmarks against the branch without modifications. Currently the `Samples/CSharp` path has throttling limiting throughput as well as authentication, which means effectively we can't pull the `dev` branch and benchmark it. Today to benchmark we need to mutate the baseline branch (removing or changing auth) and do the same to the proposed branch (so that it's not in the proposed PR), meaning we have 3 new branches to baseline 1 against `dev` every time...let's fix that!

It'd be better if we could test authentication with a known key so that we're invoking the authentication path as well, but I'm unsure how to do this (couldn't find it in docs). @fabiocav has ideas - but maybe this can go in as-is and we add the authenticated one beside it so we have benchmarks for both available as neighboring endpoints?

This would unblock me much more easily adding baseline vs. new benchmarks in performance PRs.
2021-12-09 08:26:06 -05:00
Lilian Kasem 0a657a5c67
Drain mode cleanup: remove GET, return 202 Accepted (#7876) 2021-11-30 16:17:42 +00:00
Alexey Rodionov f96130b7de Revert "Removing host level retry specification"
This reverts commit 57a5447641.
2021-11-28 23:38:13 -08:00
Lilian Kasem 3faaf11bb2
Implement resume API for drain mode (#7801) 2021-11-23 17:20:33 +00:00
Brett Samblanet ebe1aafa9b Merge branch 'dev' into v4.x 2021-11-22 08:48:35 -08:00
Alexey Rodionov 57a5447641
Removing host level retry specification 2021-11-19 12:41:07 -08:00
Brett Samblanet 5c8d3f972a Merge branch 'dev' into v4.x 2021-11-10 11:31:19 -08:00
Alexey Rodionov 3340b54353
New API to monitor function app invocation state (#7188, #7792) 2021-10-21 12:00:42 -07:00
Brett Samblanet eac199e791
removing proxy code (#7705) 2021-09-28 15:17:18 -07:00
Mathew Charles 6b95141c64
Moving to SDK 3.0.28 packages (#7283) 2021-04-12 12:58:04 -07:00
Alexey Rodionov 80d8e4561f Adding retry context properties to InvocationRequest 2021-02-22 10:40:58 -08:00
Pragna Gopa dd062a5cc9
Add support to retry function execution on invocation failures (#6603) 2020-09-24 10:30:47 -07:00
Pragna Gopa 1c67e79c38
[CustomHandler]Fix options parsing (#6306) 2020-07-07 17:32:13 -07:00
yojagad b48a1e8030 Fix proxy behavior. 2020-06-09 20:54:01 -07:00
Yogesh Jagadeesan 3385484b2b Worker restart on function timeout (#5794)
Restart worker process(es) on function timeout for out-of-proc languages instead of shutting down host.
2020-04-20 17:01:37 -07:00
Brett Samblanet a2d9bc447a Merge branch 'dev' into v3.x 2020-02-25 11:21:44 -08:00
Brett Samblanet 20bb914995
Update to storage SDK 11.x (#5528)
* Update to storage SDK 11.x
- Pull through Host.Storage 4.x, Extensions.Storage 4.x, WebJobs.Extensions 4.x
- Add test cases

Co-authored-by: Paul Batum <paul.batum@gmail.com>
2020-02-20 19:34:02 -05:00
Marie Hoeger a15c411a38 Node.js Worker 2.0.0 and Capability Flag (#5321)
Update to Node.js Worker 2.0.0 and send appropriate capability flag
2019-12-03 06:04:21 -08:00
Pragna Gopa 0e47f5076f
Implement Http Worker (#5028) 2019-10-23 14:38:20 -07:00
Maheer Iqbal 1e7677116a Include Python Worker NuGet with Host 2019-10-17 13:54:44 -07:00
Pragna Gopa 8f8ff174dc
Add CancellationToken to ActionExtensions- Debouce API (#4643) 2019-07-11 09:28:46 -07:00
Tyler James Leonhardt 9894dd50f7 add powershell e2e test (#4068) 2019-02-11 13:26:08 -08:00
Connor McMahon 06913c48a0 Populate ClaimsPrincipal when no auth key provided 2019-02-05 09:47:52 -08:00
Pragna Gopa 2fc6590888
Initialize Java language worker in placeholder mode (#3936)
* InitializeChannelsAsync in Placeholdermode
* Update Java worker - PicoHelper
* Update E2E test to read environment variable
* Add more tests
2019-01-16 14:21:18 -08:00
Connor McMahon a45a109913 Remove Node support for identities binding 2018-11-23 17:53:47 -08:00
Connor McMahon 6e34b980a6 Add support for identity bindings and samples 2018-10-26 14:14:06 -07:00
Fabio Cavalcante a2d2308ac2 Preventing null binding data values from flowing into language workers 2018-09-24 19:10:53 -07:00
Mathew Charles 2cd38b9617 Cleaning up EndToEnd tests and Sample directories 2018-09-10 15:57:53 -07:00
Brett Samblanet 7aa2486acf adding SystemLogger to WebHost; filtering based on allowed categories 2018-09-07 14:07:25 -07:00
Fabio Cavalcante fdda3d4bc8
Support parameter binding to optional binding parameters 2018-08-29 20:20:23 -07:00
Pragna Gopa 6bfa02626b
enforce single Language functions per function app (#3265)
* Enforce single Language functions per function app
2018-08-24 23:36:32 -07:00
Brett Samblanet d500b5097d throwing exception if no version property in host.json does not equal '2.0' 2018-08-24 15:37:39 -07:00