Skip to content

Conversation

@taeold
Copy link
Contributor

@taeold taeold commented Dec 15, 2021

This is simply a merge of #999 and #1009 to the master branch which were already separately reviewed.

Merging to allow further development of v2 triggers using the new container contract annotation.

taeold and others added 3 commits November 22, 2021 10:53
In addition to annotating function triggers with `__trigger` property, we add `__endpoint` annotation. This property will be used by the to-be-developed functions runtime to generate/declare deployment manifest that the CLI will use to deploy the function.

There are lots of code duplication between the utility functions for annotating the `__trigger` and `__endpoint` properties. I didn't try to refactor the common code since I expect that we will favor `__endpoint` property in the future.
Follows up #999 to annotate each funuctions with `__endpoint` property.

Highlight of changes:

* Extend unit test coverage for all v1 providers
* Add `__endpoint` annotation to v1 task queue functions
* Add `__requiredAPIs` annotation to task queue and scheduler functions
* Explicitly set `__endpoint` to undefined in the handler namespace
* No SDK-level label setting in the __endpoint annotation.
@taeold taeold marked this pull request as ready for review January 14, 2022 19:49
@taeold taeold requested review from colerogers and inlined and removed request for colerogers January 14, 2022 19:50
@taeold taeold merged commit 4e48f03 into master Jan 19, 2022
@taeold taeold deleted the dl-container-contract branch January 19, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants