mattermost / mattermost-plugin-apps

Powers the Mattermost App Framework
https://developers.mattermost.com/integrate/apps/
Apache License 2.0
34 stars 29 forks source link

Cached store part #1: API #457

Open levb opened 1 year ago

levb commented 1 year ago

This is a precursor PR for the cached store, it adds an API struct to pass around static API pointers, and makes it available in incoming.Request

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 18.79% and project coverage change: +0.56 :tada:

Comparison is base (8bfe37b) 20.31% compared to head (061a175) 20.88%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #457 +/- ## ========================================== + Coverage 20.31% 20.88% +0.56% ========================================== Files 78 79 +1 Lines 5266 5416 +150 ========================================== + Hits 1070 1131 +61 - Misses 4066 4153 +87 - Partials 130 132 +2 ``` | [Impacted Files](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost) | Coverage Δ | | |---|---|---| | [apps/goapp/http.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-YXBwcy9nb2FwcC9odHRwLmdv) | `0.00% <0.00%> (ø)` | | | [server/config/service.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL2NvbmZpZy9zZXJ2aWNlLmdv) | `0.00% <0.00%> (ø)` | | | [server/config/test\_service.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL2NvbmZpZy90ZXN0X3NlcnZpY2UuZ28=) | `0.00% <0.00%> (ø)` | | | [server/proxy/enable.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L2VuYWJsZS5nbw==) | `4.05% <0.00%> (-0.36%)` | :arrow_down: | | [server/proxy/expand\_getter.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L2V4cGFuZF9nZXR0ZXIuZ28=) | `0.00% <0.00%> (ø)` | | | [server/proxy/install.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L2luc3RhbGwuZ28=) | `0.00% <0.00%> (ø)` | | | [server/proxy/invoke\_oauth2.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L2ludm9rZV9vYXV0aDIuZ28=) | `0.00% <0.00%> (ø)` | | | [server/proxy/invoke\_static.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L2ludm9rZV9zdGF0aWMuZ28=) | `18.91% <0.00%> (ø)` | | | [server/proxy/invoke\_webhook.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L2ludm9rZV93ZWJob29rLmdv) | `0.00% <0.00%> (ø)` | | | [server/proxy/notify.go](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost#diff-c2VydmVyL3Byb3h5L25vdGlmeS5nbw==) | `0.00% <0.00%> (ø)` | | | ... and [17 more](https://codecov.io/gh/mattermost/mattermost-plugin-apps/pull/457?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattermost)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

mattermost-build commented 1 year ago

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!