Skip to content

LG-7718 ArcgisApi::Geocoder Cache API token#7238

Merged
allthesignals merged 10 commits intomainfrom
wmg/7718-arcgis-client-cache
Oct 27, 2022
Merged

LG-7718 ArcgisApi::Geocoder Cache API token#7238
allthesignals merged 10 commits intomainfrom
wmg/7718-arcgis-client-cache

Conversation

@allthesignals
Copy link
Contributor

🎫 Ticket

Link to the relevant ticket.

🛠 Summary of changes

Cache ArcgisApi::Geocoder token using Rails.cache so that tokens may be shared across multiple application instances.

Previously, tokens were stored as class variables so they could be shared across class instances.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Automated testing includes Rails caching
  • Manual checks in console

🚀 Notes for Deployment

Add credentials to deploy environments

@allthesignals allthesignals changed the title LG-7718 LG-7718 ArcgisApi::Geocoder Cache API token Oct 27, 2022
@allthesignals allthesignals marked this pull request as ready for review October 27, 2022 19:11
@allthesignals allthesignals requested review from a team and aduth October 27, 2022 19:12
Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with Zach's comment, but otherwise LGTM. My comments are pretty minor / optional, so not anything to block if you have reservations about them.

allthesignals and others added 3 commits October 27, 2022 14:38
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
@allthesignals allthesignals merged commit 1e442e2 into main Oct 27, 2022
@allthesignals allthesignals deleted the wmg/7718-arcgis-client-cache branch October 27, 2022 20:22
@aduth aduth mentioned this pull request Oct 31, 2022
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.

3 participants