1% Licensed under the Apache License, Version 2.0 (the "License"); you may not 2% use this file except in compliance with the License. You may obtain a copy of 3% the License at 4% 5% http://www.apache.org/licenses/LICENSE-2.0 6% 7% Unless required by applicable law or agreed to in writing, software 8% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 9% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 10% License for the specific language governing permissions and limitations under 11% the License. 12 13{application, couch, [ 14 {description, "Apache CouchDB"}, 15 {vsn, "3.2.1"}, 16 {registered, [ 17 couch_db_update, 18 couch_db_update_notifier_sup, 19 couch_httpd, 20 couch_primary_services, 21 couch_proc_manager, 22 couch_secondary_services, 23 couch_server, 24 couch_sup, 25 couch_task_status 26 ]}, 27 {mod, {couch_app, []}}, 28 {applications, [ 29 % stdlib 30 kernel, 31 stdlib, 32 crypto, 33 sasl, 34 inets, 35 ssl, 36 37 % Upstream deps 38 ibrowse, 39 mochiweb, 40 41 % ASF deps 42 couch_epi, 43 b64url, 44 couch_log, 45 couch_event, 46 ioq, 47 couch_stats, 48 hyper, 49 couch_prometheus, 50 couch_dist 51 ]}, 52 {env, [ 53 { httpd_global_handlers, [ 54 {"/", "{couch_httpd_misc_handlers, handle_welcome_req, <<\"Welcome\">>}"}, 55 {"favicon.ico", "{couch_httpd_misc_handlers, handle_favicon_req, \"{{prefix}}/share/www\"}"}, 56 {"_utils", "{couch_httpd_misc_handlers, handle_utils_dir_req, \"{{prefix}}/share/www\"}"}, 57 {"_all_dbs", "{couch_httpd_misc_handlers, handle_all_dbs_req}"}, 58 {"_active_tasks", "{couch_httpd_misc_handlers, handle_task_status_req}"}, 59 {"_config", "{couch_httpd_misc_handlers, handle_config_req}"}, 60 {"_replicate", "{couch_replicator_httpd, handle_req}"}, 61 {"_uuids", "{couch_httpd_misc_handlers, handle_uuids_req}"}, 62 {"_stats", "{couch_stats_httpd, handle_stats_req}"}, 63 {"_session", "{couch_httpd_auth, handle_session_req}"}, 64 {"_plugins", "{couch_plugins_httpd, handle_req}"} 65 ]}, 66 { httpd_db_handlers, [ 67 {"_all_docs", "{couch_mrview_http, handle_all_docs_req}"}, 68 {"_local_docs", "{couch_mrview_http, handle_local_docs_req}"}, 69 {"_design_docs", "{couch_mrview_http, handle_design_docs_req}"}, 70 {"_changes", "{couch_httpd_db, handle_db_changes_req}"}, 71 {"_compact", "{couch_httpd_db, handle_compact_req}"}, 72 {"_design", "{couch_httpd_db, handle_design_req}"}, 73 {"_temp_view", "{couch_mrview_http, handle_temp_view_req}"}, 74 {"_view_cleanup", "{couch_mrview_http, handle_cleanup_req}"} 75 ]}, 76 { httpd_design_handlers, [ 77 {"_compact", "{couch_mrview_http, handle_compact_req}"}, 78 {"_info", "{couch_mrview_http, handle_info_req}"}, 79 {"_list", "{couch_mrview_show, handle_view_list_req}"}, 80 {"_rewrite", "{couch_httpd_rewrite, handle_rewrite_req}"}, 81 {"_show", "{couch_mrview_show, handle_doc_show_req}"}, 82 {"_update", "{couch_mrview_show, handle_doc_update_req}"}, 83 {"_view", "{couch_mrview_http, handle_view_req}"} 84 ]} 85 ]} 86]}. 87