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

459 Коммитов

Автор SHA1 Сообщение Дата
AzureFunctionsJava 641e9f66c2 Update Java Worker Version to 2.12.1 2023-07-24 20:04:58 +00:00
Shreyas Gopalakrishna 8113687f6c
Update Application Insights agent version to 3.4.15 (#721)
* Update package-pipeline.ps1

* Update setup-tests-pipeline.ps1
2023-07-24 14:45:59 -05:00
dependabot[bot] 31e0a81e85
Bump h2 from 2.1.210 to 2.2.220 in /endtoendtests (#719)
Bumps [h2](https://github.com/h2database/h2database) from 2.1.210 to 2.2.220.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-2.1.210...version-2.2.220)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:23:10 -05:00
AzureFunctionsJava 8c23059631 Update Java Worker Version to 2.12.0 2023-06-01 21:58:09 +00:00
Kirstyn Amperiadis d299f90519
Update Application Insights agent version to 3.4.13 (#715)
* Update Application Insights agent version to 3.4.13

* Update Application Insights agent version to 3.4.13
2023-06-01 12:18:19 -05:00
AzureFunctionsJava f5436d316c Update Java Worker Version to 2.11.0 2023-04-14 17:59:23 +00:00
Shreyas Gopalakrishna dae7412723
Updating Application insights agent version to 3.4.11 (#712)
* Update package-pipeline.ps1

* Update setup-tests-pipeline.ps1
2023-04-14 12:36:16 -05:00
kaibocai 2bc845aeb3
Fix durable return type void issue (#711)
* fix durable return type void issue

add unit tests

* fix stupid test name
2023-04-14 12:35:13 -05:00
Shreyas Gopalakrishna 9881b3a3e8
Update Java Worker Version to 2.10.0 (#710) 2023-03-16 21:08:15 -05:00
kaibocai 80447c446f
update dependency for vulnerablilities fix (#701)
* update dependency for vulnerablilities fix

* remove parent to resolve vul issue

* update surefire version
2023-03-14 13:34:12 -05:00
Shreyas Gopalakrishna 4111a3370b
Updating Application insights agent version to 3.4.10 (#708)
* Updating Application insights agent version to 3.4.10

* Updating Application insights agent version to 3.4.10
2023-03-13 14:12:00 -05:00
kaibocai 0ebfe093b0
Update spring cloud samples (#707)
* update spring cloud function samples

* update readme with simplified samples

* update extension bundle version

* add unit test for hello sample

* update readme to align with official docs
2023-03-06 12:03:59 -06:00
AzureFunctionsJava 555a32241f Update Java Worker Version to 2.9.1 2023-02-17 20:57:33 +00:00
Shreyas Gopalakrishna b22c5c39a9
Revert "Update App insights agent to v3.4.9 (#703)" (#705)
This reverts commit ceda8a1310.
2023-02-17 14:40:01 -06:00
Shreyas Gopalakrishna ceda8a1310
Update App insights agent to v3.4.9 (#703)
* Update package-pipeline.ps1

* Update setup-tests-pipeline.ps1
2023-02-16 16:53:44 -06:00
kaibocai 385d93af4b
add dependecy injection examples with Gooogle Juice and Dagger2 (#698) 2023-02-10 13:41:15 -06:00
dependabot[bot] 79427b3b92
Bump protobuf-java from 3.19.4 to 3.19.6 (#665)
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.4 to 3.19.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.4...v3.19.6)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 09:07:58 -06:00
AzureFunctionsJava ae1ebf69b9 Update Java Worker Version to 2.9.0 2023-02-02 19:45:03 +00:00
kaibocai f66b2fe54c
Warmup java worker before specialization (#672)
* add warm up logics

* update warm up request

* minor updates

* update logs

* add warm up jar

* add more logs for env testing

* remove test logs

* refractor code

* add warm up log

* add fix for java8 systemclassloader - add warmup funciton

* revert pipeline change - add logs

* restrucer warmup handler

* stop system classloader load java library in warmup process

* update warmup function

* update log messages

* adjust logs

* fix warmup jar

* refactor code

* update warm up jar

* style refactoring

* Rename to worker warmup and added capability

* Updating tests

---------

Co-authored-by: Shreyas Gopalakrishna <shreyasg@microsoft.com>
2023-02-02 11:01:30 -06:00
Shreyas Gopalakrishna 1483b116af
Updating proto file to v1.8.0-protofile release (#699)
* Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.8.0-protofile. Commit: e6d025a4a9961e705c36c9aeda7bbb646209bdaa

* Update proto
2023-01-30 22:45:51 -06:00
kaibocai 981825fbfb
add examples for spring cloud function on Azure (#697)
* add examples for spring cloud function

* remove license info

* add hello world example

* renmae folder from examples to samples
2023-01-27 16:10:07 -06:00
kamperiadis efa713a522
Update CONTRIBUTING.md documentation with app settings and extension … (#695)
* Update CONTRIBUTING.md documentation with app settings and extension bundle sections

* Update extension bundle version in sample host.json file
2023-01-26 08:30:15 -06:00
kaibocai 3d297240ed
Migrate from junit4 to junit5 (#692)
* migrate to junit5

* update pom.xml file

* remove lenient stub - correct assertions order

* move java version log to function load request handler
2023-01-19 11:41:13 -06:00
kaibocai 86e4db1ce8
update code owners (#689) 2022-12-16 11:34:25 -06:00
kaibocai 206311be61
update task to install .NET (#686)
* update task to install .NET

* update e2e test project to .net6.0

* update e2e .net version
2022-12-12 16:38:40 -06:00
AzureFunctionsJava 45c6f93917 Update Java Worker Version to 2.8.1 2022-12-07 17:33:12 +00:00
kaibocai 2d9860caae
fix NPE issue (#684)
* fix NPE issue

* double check synchronized block

* name the lock for specific use
2022-12-06 19:28:37 -06:00
AzureFunctionsJava 0c21a91cd4 Update Java Worker Version to 2.8.0 2022-11-16 18:02:08 +00:00
kaibocai c87b77709f update distribute agent version to 3.4.4 2022-11-16 07:22:18 -06:00
Shreyas Gopalakrishna 86bce0e493
Update end to end tests to use extension bundle v4 (#677)
* Updating tests to v4 extension bundle

* Updating host.json

* Update host.json

* Update pom.xml
2022-11-15 10:50:15 -08:00
Shreyas Gopalakrishna 67273fe610
Added durable functions for end to end tests (#676)
* Adding tests for durable functions

* Updating pipeline

* Updating tests

* Updating tests

* Updating tests
2022-11-15 08:16:50 -08:00
kaibocai bd9102e828
add function instance injector supports for dependency injection (#667)
* add di injector supports

* refactor code

* udpate log formatting

* update to non static - change back to log.info
2022-10-31 13:53:23 -05:00
kaibocai ee19add851
update java library, core library, spi versions (#673) 2022-10-31 11:59:05 -05:00
Shreyas Gopalakrishna a2ccca1f2c
Delete "jna-platform" dependency from project (#670)
* Update pom.xml

* Update pom.xml

* Testing Update pom.xml
2022-10-13 16:30:33 -05:00
Shreyas Gopalakrishna 5797268cd5
Revert Update pom.xml (#669) 2022-10-12 14:19:09 -05:00
Shreyas Gopalakrishna e500b22789
Update pom.xml 2022-10-12 14:13:52 -05:00
kaibocai ca5dc5b192
add logback.xml to reduce redunant spring logs (#668) 2022-10-11 14:26:11 -05:00
Shreyas Gopalakrishna 1c60e12a2c
Updated end to end integration tests with Java 17 and Linux (#666)
* Updated end to end integration tests with Java 17 and Linux

* Updated tests
2022-10-11 10:28:40 -05:00
AzureFunctionsJava 9bd7f130cd Update Java Worker Version to 2.7.0 2022-10-05 20:15:16 +00:00
kaibocai c1895b561e
refactor java worker - add middleware support (#652)
* decouple function definition and function executor

* add function exceptions

* remove unnecessary synchronized block

* review updates

* fix invocatioid error

* rename factory get method

* middleware support logics (#659)

* middleware support logics

* refactor code

* rename middleware chain

* refactor code

* fix error

* refactor code

* minor updates

* remove used local varaible

* APIs change accordingly

* update method name

* update method name

* update core lib version to 1.1.0
2022-10-05 14:55:54 -05:00
AzureFunctionsJava d9bf967547 Update Java Worker Version to 2.6.0 2022-09-23 15:02:58 +00:00
Shreyas Gopalakrishna 5c9d4543db
Enable placeholders to start with app insights agent using profiles (#656)
* Add app insights agent as part of worker

* Update worker.config.json with profile conditions

* Update worker.config.json

* Update worker.config.json

* Update AI agent version

* Updated regex

* Updated regex
2022-09-22 20:12:01 -05:00
kaibocai f61a0380e8
Change the pool for testing to reduce pipeline running time (#655)
* fix pool for testing

* add branch for testing

* change to vmImage

* remove pool demands

* change to testing pool
2022-09-22 13:34:06 -07:00
AzureFunctionsJava ff5a2a2eab Update Java Worker Version to 2.5.0 2022-09-21 19:28:23 +00:00
kaibocai 5f53c618c4
Revert "migrate java8 to java11 (#636)" (#649)
This reverts commit f0440c3627.
2022-09-16 09:50:42 -07:00
Shreyas Gopalakrishna 59d7dd1c56
Gracefully shutdown worker on WorkerTerminate request (#631)
* Gracefully shutdown worker on WorkerTerminate request

* Removing empty logger
2022-09-09 10:57:53 -05:00
kaibocai f0440c3627
migrate java8 to java11 (#636)
* migrate java8 to java11

* formulate unit test cases by convention

* remove test code

* update file path to test jar

* test jar file exits

* add log for testing jar file exits

* update test cases follow old pattern

* create FunctionClassLoaderProvider at each test

* add back beforeclass

* remove steps for testing

* test java17 linux

* add test cases to narrow issue

* add logs to locate the issue

* add more logs

* add logs

* fix integration test

* clean up code

* add log

* add logs

* add logs

* add logs

* reset singleton classLoaderInstance

* add back pipeline jobs

* clean up code

* rename unit test ExecutionTraceContextTest

* remove unused logics
2022-09-08 08:00:28 -07:00
kaibocai ac6cb815d9
remove hard code version as it's not necessary (#627)
* remove hard code version as it's not necessary

* update build version
2022-08-19 14:40:20 -05:00
kaibocai 8845d98d17
release worker 2.4.0 (#625) 2022-08-17 14:52:43 -05:00
kaibocai 7c38b5a71e
release worker 2.3.3 (#624) 2022-08-17 14:39:01 -05:00