forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecating and Removing Crossbar API version 1 (2600hz#6152)
Starting with next major version (v5.0) we no longer support Crossbar version 1 modules. Version 1 has been deprecated for a long time and we no longer use it. * Removing all v1 modules. * Move all v2 modules to non-versioned modules. * Remove code that doing special cares for version 1. * Remove v1 from supported version macro. * Return `410 Gone` HTTP error for `/v1/` requests to let clients know that version 1 is not supported anymore. * Remove deprecated Crossbar modules: * `cb_bulk `: Old unused, error prone, and version 1 API. There is no substituted API. * `cb_freeswitch`: Old unused module. There is no substituted API. * `cb_global_provisioner_templates`: Long deprecated and unsupported provisioner, you should use already migrated to the new 2600Hz provisioner. * `cb_local_provisioner_templates`: Long deprecated and unsupported provisioner, you should use already migrated to the new 2600Hz provisioner. * `cb_local_resources`: APIs for `/local_resources` and `/global_resources` are deprecated for along time. Use the new `/resources` API with or without `{ACCOUNT_ID}` for configuring global or local resources instead. * `cb_onboard`: Old unused, error prone modules. There is no substituted API. * `cb_shared_auth`: Old unused module with possible security issues. * `cb_templates` * `cb_ubiquiti_auth` and `cb_ubiquiti_util` * Relocate non-api files from `modules` folder to another location * `src/modules/cb_migration_disable_notify.erl` → `src/crossbart_migration.erl`: refactor `cb_migration` to call `crossbar_migration` with migration type * `src/modules/cb_modules_util.erl` → `src/cb_modules_util.erl` * `src/modules/cb_jobs_listener.erl` → `crossbar_jobs_listener.erl` * `src/modules/notification_util.erl` → `src/crossbar_notify_util.erl` * `src/modules/phonebook.erl` → `core/kazoo_number_manager/src/knm_phonebook.erl` * Combine `cb_local_resources` and `cb_resources` * These long deprecated and unsupported provisioner are remove: * `super_awesome_provisioner` * `awesome_provisioner` * `simple_provisioner` * Database `global_provisioner` used by these provisioners are remove.
- Loading branch information
1 parent
4526c80
commit 333e778
Showing
150 changed files
with
788 additions
and
10,224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.