Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function group to metadata and sync triggers #9789

Closed
wants to merge 6 commits into from

Conversation

jviau
Copy link
Contributor

@jviau jviau commented Jan 11, 2024

Issue describing the changes in this PR

resolves #9732

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • My changes do not require diagnostic events changes
    • Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
  • I have added all required tests (Unit tests, E2E tests)

Additional information

This PR adds function grouping calculation as an extension method FunctionMetadata.GetFunctonGroup(). Function grouping is included in sync-triggers payload if it is non-null. Function grouping calculation works as follows:

  1. If FunctionMetadata.Properties["FunctionGroup"] is present, return that.
  2. Else, check if HTTP or Durable trigger. Return http or durable respectively.
  3. Return null if none of the above checks succeed.

Some additional changes include binding & function metadata extensions refactoring.

@jviau jviau requested a review from a team as a code owner January 11, 2024 00:02
@jviau jviau changed the title Jviau/func group Add function group to metadata and sync triggers Jan 11, 2024
@jviau jviau closed this Jan 11, 2024
@jviau jviau deleted the jviau/func-group branch January 11, 2024 00:04
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.

None yet

1 participant