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 initial support for Workflow connectors #265

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Jul 12, 2024

Changes

  • lower AdaptiveCardMaxVersion from 1.5 to 1.4
    • this almost seems like a bug on Teams' end as this limitation is not communicated (from what I could tell) via https://adaptivecards.io/designer/
    • using a value of 1.4 appears to work equally well for O365 and Workflow connectors
  • treat a 202 response code as sufficient response verification
  • add logic.azure.com to valid URL patterns for default validation
  • debugging / troubleshooting - log status code and response string for O365 connector responses - log validation pattern match

References

- lower `AdaptiveCardMaxVersion` from `1.5` to `1.4`
  - this almost seems like a bug on Teams' end as this limitation is
    not communicated (from what I could tell) via
    https://adaptivecards.io/designer/
  - using a value of `1.4` appears to work equally well for O365 and
    Workflow connectors
- treat a 202 response code as sufficient response verification
  - instead of expecting a `1` in the response body as previously
    confirmed
  - see also #59
- add `logic.azure.com` to valid URL patterns for default validation
- debugging / troubleshooting
    - log status code and response string for O365 connector responses
    - log validation pattern match

refs GH-262
@atc0005 atc0005 added enhancement New feature or request logging labels Jul 12, 2024
@atc0005 atc0005 added this to the v2.11.0-alpha.1 milestone Jul 12, 2024
@atc0005 atc0005 self-assigned this Jul 12, 2024
@atc0005 atc0005 merged commit 0114d92 into development Jul 12, 2024
28 of 29 checks passed
@atc0005 atc0005 deleted the i262-add-support-for-workflow-connectors branch July 12, 2024 11:47
@atc0005 atc0005 added the card format/adaptivecard Adaptive Card support label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
card format/adaptivecard Adaptive Card support enhancement New feature or request logging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant