René's URL Explorer Experiment


Title: Add caching to authorization by jmelinav · Pull Request #884 · feast-dev/feast · GitHub

Open Graph Title: Add caching to authorization by jmelinav · Pull Request #884 · feast-dev/feast

X Title: Add caching to authorization by jmelinav · Pull Request #884 · feast-dev/feast

Description: What this PR does / why we need it: Currently all requests are authorized against an external server, as this can cause latency issues in serving, Caching the authorization for a short span of time will avoid external call on subsequent requests. Which issue(s) this PR fixes: related to #823 Does this PR introduce a user-facing change?:No Project level authorization access requests are now cached.

Open Graph Description: What this PR does / why we need it: Currently all requests are authorized against an external server, as this can cause latency issues in serving, Caching the authorization for a short span of time...

X Description: What this PR does / why we need it: Currently all requests are authorized against an external server, as this can cause latency issues in serving, Caching the authorization for a short span of time...

Opengraph URL: https://github.com/feast-dev/feast/pull/884

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4cdc8d67-1cf5-8707-1f20-8d344ba6a15c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD53A:21572:F073:121EB:697F4A4E
html-safe-nonce90ee631022caba9170470c323715eaa68af106731b649e477e79fc689dad1cb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTNBOjIxNTcyOkYwNzM6MTIxRUI6Njk3RjRBNEUiLCJ2aXNpdG9yX2lkIjoiMzk3Nzg2NDYwOTU2MTI2Njc2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac32657fb1a4103d62262daac98ace1ff862bdafaea79d3bb3b2002a3780cb6928
hovercard-subject-tagpull_request:449507339
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/884/files
twitter:imagehttps://avatars.githubusercontent.com/u/25539467?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/25539467?s=400&v=4
og:image:altWhat this PR does / why we need it: Currently all requests are authorized against an external server, as this can cause latency issues in serving, Caching the authorization for a short span of time...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/884/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F884%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F884%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/884/files
Reloadhttps://github.com/feast-dev/feast/pull/884/files
Reloadhttps://github.com/feast-dev/feast/pull/884/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 183 https://github.com/feast-dev/feast/issues
Pull requests 68 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
feast-ci-bothttps://github.com/feast-ci-bot
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
Cimpress-MCP:cache-authhttps://github.com/Cimpress-MCP/feast/tree/cache-auth
Conversation 19 https://github.com/feast-dev/feast/pull/884
Commits 3 https://github.com/feast-dev/feast/pull/884/commits
Checks 0 https://github.com/feast-dev/feast/pull/884/checks
Files changed https://github.com/feast-dev/feast/pull/884/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/884/files
Add caching to authorization https://github.com/feast-dev/feast/pull/884/files#top
Show all changes 3 commits https://github.com/feast-dev/feast/pull/884/files
27d950c Cache authorization. jmelinav Jul 15, 2020 https://github.com/feast-dev/feast/pull/884/commits/27d950c8fca17b53651aed68e8aceabafa4a159f
cb495c5 fix formatting, removed default key generator and added a bean. jmelinav Jul 20, 2020 https://github.com/feast-dev/feast/pull/884/commits/cb495c57bf27ab1febe79e8ec8cd3ac81b9dbacc
c76be61 fix rebase errors. jmelinav Jul 20, 2020 https://github.com/feast-dev/feast/pull/884/commits/c76be61ad234aadf26bab42e70d6a3044d7b86ea
Clear filters https://github.com/feast-dev/feast/pull/884/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/884/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/884/files
pom.xml https://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
HttpAuthorizationProvider.java https://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
CacheConfiguration.java https://github.com/feast-dev/feast/pull/884/files#diff-12ea9192325fe2396299db6f5ee930b9ae2e93b6e41616b4147cba864cc2314a
AuthUtils.java https://github.com/feast-dev/feast/pull/884/files#diff-f62aa34a4507439276e0985b38e0298ccb4217fe9424dc7acbf401bdc0cec843
HttpAuthorizationProviderCachingTest.java https://github.com/feast-dev/feast/pull/884/files#diff-9be52cab4d93b119702eb7d007aa4bdf23be3fd7b8e4bc9ba8b4d8dfad11bbb4
application.yml https://github.com/feast-dev/feast/pull/884/files#diff-cb96a7758543958bd30e0c4d1ceec43619c0a4fbd7da783119275ea2a4cd797b
auth/pom.xmlhttps://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
View file https://github.com/Cimpress-MCP/feast/blob/c76be61ad234aadf26bab42e70d6a3044d7b86ea/auth/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/884/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
https://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
https://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
https://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
https://github.com/feast-dev/feast/pull/884/files#diff-11133a78db4d20ccca03e84f154248c7327c37a823250c091235723d710814c0
auth/src/main/java/feast/auth/authorization/HttpAuthorizationProvider.javahttps://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
View file https://github.com/Cimpress-MCP/feast/blob/c76be61ad234aadf26bab42e70d6a3044d7b86ea/auth/src/main/java/feast/auth/authorization/HttpAuthorizationProvider.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/884/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
https://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
https://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
https://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
https://github.com/feast-dev/feast/pull/884/files#diff-3256641a4f4308462a6c331cb529025bb3a44f57318cc4f6d559d784f7e3ef80
auth/src/main/java/feast/auth/config/CacheConfiguration.javahttps://github.com/feast-dev/feast/pull/884/files#diff-12ea9192325fe2396299db6f5ee930b9ae2e93b6e41616b4147cba864cc2314a
View file https://github.com/Cimpress-MCP/feast/blob/c76be61ad234aadf26bab42e70d6a3044d7b86ea/auth/src/main/java/feast/auth/config/CacheConfiguration.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/884/{{ revealButtonHref }}
Please reload this pagehttps://github.com/feast-dev/feast/pull/884/files
auth/src/main/java/feast/auth/utils/AuthUtils.javahttps://github.com/feast-dev/feast/pull/884/files#diff-f62aa34a4507439276e0985b38e0298ccb4217fe9424dc7acbf401bdc0cec843
View file https://github.com/Cimpress-MCP/feast/blob/c76be61ad234aadf26bab42e70d6a3044d7b86ea/auth/src/main/java/feast/auth/utils/AuthUtils.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/884/{{ revealButtonHref }}
Please reload this pagehttps://github.com/feast-dev/feast/pull/884/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.