docbrown/app/errors
Alex 7149070bca
[deploy] Create FastlyConfig & refactor params safe list (#7630)
* Fastly refactor

- Create FastlyConfig
- Create FastlyConfig::Base
- Create FastlyConfig::Snippets
- Move safe_params to its own VCL file
- Rescue unauthorized errors in development
- Add FastlyConfig errors

* Move active version to method

* Update naming option --> config

* Refactor InvalidConfigsFormat msg to Error class

* Refactor active version logic

* Fix log_to_datadog call

* Move get_active_version logic back into method

* Add some specs ¯\_(ツ)_/¯

* Update Fastly rake task

* Remove old Fastly way

* Update docs for Fastly

* Move snippets to config/ & remove old config

* Change update_config to upsert_config

* Change error type to SubclassResponsibility

* Refactor get_updated_files with filter_map

* Refactor update

* Cleanup update_config --> upsert_config

* Fix updater specs
2020-05-01 11:23:48 -04:00
..
fastly_config.rb [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
payments.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
search.rb Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
subclass_responsibility.rb [deploy] Authentication refactoring - step 1 (#7259) 2020-04-15 12:13:10 -04:00
unauthorized_error.rb Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
uninferrable_decorator_error.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00