couchbase 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
- package/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
- package/deps/couchbase-cxx-client/CMakeLists.txt +209 -21
- package/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
- package/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
- package/deps/couchbase-cxx-client/bin/build-tests +7 -0
- package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-cxx-client/bin/run-tests +6 -0
- package/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
- package/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
- package/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
- package/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
- package/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
- package/deps/couchbase-cxx-client/core/cluster.hxx +480 -0
- package/deps/couchbase-cxx-client/core/cluster_options.cxx +50 -0
- package/deps/couchbase-cxx-client/core/cluster_options.hxx +84 -0
- package/deps/couchbase-cxx-client/core/config_profile.cxx +25 -0
- package/deps/couchbase-cxx-client/core/config_profile.hxx +92 -0
- package/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
- package/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
- package/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
- package/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
- package/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
- package/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
- package/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
- package/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
- package/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
- package/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
- package/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
- package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
- package/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
- package/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
- package/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
- package/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
- package/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
- package/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
- package/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
- package/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
- package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
- package/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
- package/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
- package/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
- package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
- package/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
- package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
- package/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
- package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
- package/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
- package/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
- package/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +49 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
- package/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
- package/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
- package/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
- package/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
- package/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
- package/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
- package/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
- package/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
- package/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
- package/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
- package/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
- package/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
- package/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
- package/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
- package/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
- package/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
- package/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
- package/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
- package/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
- package/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
- package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
- package/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
- package/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
- package/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
- package/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
- package/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
- package/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
- package/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
- package/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
- package/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
- package/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
- package/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
- package/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
- package/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
- package/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
- package/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
- package/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
- package/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
- package/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
- package/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
- package/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
- package/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
- package/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
- package/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
- package/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
- package/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
- package/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
- package/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
- package/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
- package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
- package/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
- package/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
- package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
- package/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
- package/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
- package/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
- package/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
- package/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
- package/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
- package/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
- package/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
- package/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
- package/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
- package/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
- package/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/query.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +107 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
- package/deps/couchbase-cxx-client/core/operations.hxx +44 -0
- package/deps/couchbase-cxx-client/core/origin.hxx +195 -0
- package/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
- package/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
- package/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
- package/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
- package/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
- package/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
- package/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
- package/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
- package/deps/couchbase-cxx-client/core/platform/random.h +39 -0
- package/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
- package/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
- package/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
- package/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
- package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
- package/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
- package/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
- package/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
- package/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
- package/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
- package/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
- package/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
- package/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
- package/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
- package/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
- package/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
- package/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
- package/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
- package/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
- package/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
- package/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
- package/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
- package/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
- package/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
- package/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
- package/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
- package/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
- package/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
- package/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
- package/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
- package/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
- package/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
- package/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
- package/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
- package/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
- package/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
- package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
- package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
- package/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
- package/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
- package/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
- package/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
- package/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
- package/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
- package/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
- package/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
- package/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
- package/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
- package/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
- package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
- package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
- package/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
- package/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
- package/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
- package/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
- package/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
- package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
- package/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
- package/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
- package/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
- package/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
- package/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
- package/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
- package/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
- package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
- package/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
- package/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
- package/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
- package/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
- package/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +87 -0
- package/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
- package/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
- package/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
- package/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
- package/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
- package/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
- package/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
- package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
- package/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
- package/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
- package/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
- package/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
- package/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
- package/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
- package/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
- package/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
- package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
- package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +254 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
- package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
- package/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +173 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
- package/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
- package/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
- package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
- package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
- package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
- package/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
- package/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
- package/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
- package/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
- package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
- package/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
- package/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
- package/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
- package/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
- package/deps/couchbase-cxx-client/test/CMakeLists.txt +6 -0
- package/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +5 -6
- package/deps/couchbase-cxx-client/test/profile.hxx +62 -0
- package/deps/couchbase-cxx-client/test/test_helper.hxx +3 -0
- package/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
- package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +64 -63
- package/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
- package/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +26 -38
- package/deps/couchbase-cxx-client/test/test_integration_collections.cxx +39 -39
- package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +19 -19
- package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +197 -182
- package/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +75 -76
- package/deps/couchbase-cxx-client/test/test_integration_durability.cxx +171 -26
- package/deps/couchbase-cxx-client/test/test_integration_management.cxx +632 -573
- package/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
- package/deps/couchbase-cxx-client/test/test_integration_query.cxx +114 -71
- package/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +232 -0
- package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +336 -297
- package/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
- package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +574 -0
- package/deps/couchbase-cxx-client/test/test_unit_config_profiles.cxx +132 -0
- package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
- package/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +19 -18
- package/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +210 -0
- package/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
- package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
- package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
- package/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
- package/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
- package/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
- package/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
- package/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
- package/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
- package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
- package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CMakeLists.txt +208 -21
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests +7 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/run-tests +6 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.hxx +476 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query.hxx +24 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations.hxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/origin.hxx +195 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.h +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +216 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +135 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/CMakeLists.txt +5 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +6 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/profile.hxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper.hxx +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +50 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +32 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_collections.cxx +34 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_connect.cxx +17 -17
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_crud.cxx +201 -182
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +74 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_durability.cxx +181 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_management.cxx +460 -418
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_query.cxx +100 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +334 -295
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +531 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +14 -13
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +204 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
- package/deps/couchbase-transactions-cxx/examples/game_server.cxx +22 -22
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/async_attempt_context.hxx +9 -7
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/attempt_context.hxx +7 -7
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/atr_cleanup_entry.hxx +3 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/doc_record.hxx +3 -3
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/exceptions_internal.hxx +1 -0
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transaction_context.hxx +4 -4
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transactions_cleanup.hxx +10 -18
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/utils.hxx +36 -37
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/per_transaction_config.hxx +5 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_config.hxx +5 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_get_result.hxx +8 -8
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_keyspace.hxx +2 -2
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_query_options.hxx +11 -10
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions.hxx +8 -8
- package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.cxx +2 -3
- package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.hxx +27 -21
- package/deps/couchbase-transactions-cxx/src/transactions/atr_cleanup_entry.cxx +67 -51
- package/deps/couchbase-transactions-cxx/src/transactions/atr_ids.cxx +2 -2
- package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.cxx +199 -192
- package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.hxx +26 -26
- package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.cxx +28 -0
- package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.hxx +30 -0
- package/deps/couchbase-transactions-cxx/src/transactions/exceptions.cxx +11 -12
- package/deps/couchbase-transactions-cxx/src/transactions/logging.cxx +10 -10
- package/deps/couchbase-transactions-cxx/src/transactions/result.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/result.hxx +33 -13
- package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.cxx +54 -34
- package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.hxx +7 -7
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_config.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_context.cxx +3 -3
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_get_result.cxx +33 -29
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_query_options.cxx +4 -4
- package/deps/couchbase-transactions-cxx/src/transactions/transactions.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/transactions_cleanup.cxx +50 -42
- package/deps/couchbase-transactions-cxx/src/transactions/uid_generator.cxx +4 -2
- package/deps/couchbase-transactions-cxx/tests/transactions/logging_t.cpp +16 -17
- package/deps/couchbase-transactions-cxx/tests/transactions/simple_async_t.cpp +21 -21
- package/deps/couchbase-transactions-cxx/tests/transactions/simple_t.cpp +4 -4
- package/deps/couchbase-transactions-cxx/tests/transactions/transaction_context_t.cpp +13 -13
- package/deps/couchbase-transactions-cxx/tests/transactions/transactions_env.h +35 -33
- package/deps/couchbase-transactions-cxx/tests/transactions/waitable_op_list_t.cpp +8 -5
- package/dist/analyticsexecutor.js +1 -1
- package/dist/authenticators.d.ts +18 -0
- package/dist/authenticators.js +15 -0
- package/dist/binarycollection.d.ts +48 -0
- package/dist/binding.d.ts +518 -295
- package/dist/binding.js +55 -40
- package/dist/bindingutilities.d.ts +16 -4
- package/dist/bindingutilities.js +208 -87
- package/dist/bucketmanager.d.ts +21 -21
- package/dist/bucketmanager.js +6 -5
- package/dist/cluster.d.ts +12 -0
- package/dist/cluster.js +38 -8
- package/dist/collection.d.ts +121 -1
- package/dist/collection.js +304 -53
- package/dist/configProfile.d.ts +69 -0
- package/dist/configProfile.js +80 -0
- package/dist/crudoptypes.d.ts +27 -0
- package/dist/crudoptypes.js +17 -1
- package/dist/errors.d.ts +16 -0
- package/dist/errors.js +24 -2
- package/dist/queryindexmanager.js +2 -2
- package/dist/streamablepromises.d.ts +8 -0
- package/dist/streamablepromises.js +23 -1
- package/package.json +1 -1
- package/src/binding.cpp +10 -10
- package/src/cas.cpp +2 -2
- package/src/connection.cpp +34 -9
- package/src/connection.hpp +18 -3
- package/src/connection_autogen.cpp +429 -232
- package/src/constants.cpp +736 -588
- package/src/instance.cpp +1 -1
- package/src/instance.hpp +2 -2
- package/src/jstocbpp_autogen.hpp +3250 -2192
- package/src/jstocbpp_basic.hpp +13 -12
- package/src/jstocbpp_errors.hpp +74 -42
- package/src/jstocbpp_transactions.hpp +27 -27
- package/src/mutationtoken.cpp +17 -20
- package/src/mutationtoken.hpp +1 -1
- package/src/transaction.cpp +30 -27
- package/src/transactions.hpp +1 -1
- package/tools/gen-bindings-js.js +43 -9
- package/tools/gen-bindings-json.py +159 -101
- package/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
- package/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
- package/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
- package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
- package/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
- package/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
- package/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
- package/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
- package/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
- package/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
- package/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
- package/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
- package/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
- package/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
- package/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
- package/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
- package/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
- package/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
- package/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
- package/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
- package/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
- package/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
- package/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
- package/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
- package/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
- package/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
- package/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
- package/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
- package/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
- package/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
- package/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
- package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
- package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
- package/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
- package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
- package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
- package/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
- package/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
- package/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
- package/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
- package/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
- package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
- package/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
- package/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
- package/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
- package/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
- package/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
- package/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
- package/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
- package/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
- package/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
- package/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
- package/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
- package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
- package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
- package/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
- package/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
- package/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
- package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
- package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
- package/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
- package/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
- package/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
- package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
- package/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
- package/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
- package/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
- package/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
- package/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
- package/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
- package/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
- package/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
- package/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
- package/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
- package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
- package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
- package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
- package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
- package/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
- package/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
- package/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
- package/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
- package/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
- package/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
- package/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
- package/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
- package/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
- package/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
- package/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
- package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
- package/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
- package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
- package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
- package/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
- package/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
- package/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
@@ -17,21 +17,23 @@
|
|
17
17
|
|
18
18
|
#include "test_helper_integration.hxx"
|
19
19
|
|
20
|
-
#include
|
21
|
-
#include
|
22
|
-
#include
|
23
|
-
#include
|
24
|
-
#include
|
25
|
-
#include
|
26
|
-
#include
|
27
|
-
#include
|
28
|
-
#include
|
29
|
-
|
30
|
-
|
20
|
+
#include "core/management/analytics_link.hxx"
|
21
|
+
#include "core/operations/management/analytics.hxx"
|
22
|
+
#include "core/operations/management/bucket.hxx"
|
23
|
+
#include "core/operations/management/collections.hxx"
|
24
|
+
#include "core/operations/management/eventing.hxx"
|
25
|
+
#include "core/operations/management/freeform.hxx"
|
26
|
+
#include "core/operations/management/query.hxx"
|
27
|
+
#include "core/operations/management/search.hxx"
|
28
|
+
#include "core/operations/management/user.hxx"
|
29
|
+
|
30
|
+
#include <couchbase/cluster.hxx>
|
31
|
+
|
32
|
+
static couchbase::core::operations::management::bucket_get_response
|
31
33
|
wait_for_bucket_created(test::utils::integration_test_guard& integration, const std::string& bucket_name)
|
32
34
|
{
|
33
35
|
test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name);
|
34
|
-
couchbase::operations::management::bucket_get_request req{ bucket_name };
|
36
|
+
couchbase::core::operations::management::bucket_get_request req{ bucket_name };
|
35
37
|
auto resp = test::utils::execute(integration.cluster, req);
|
36
38
|
return resp;
|
37
39
|
}
|
@@ -65,22 +67,22 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
65
67
|
|
66
68
|
SECTION("crud")
|
67
69
|
{
|
68
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
70
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
69
71
|
bucket_settings.name = bucket_name;
|
70
72
|
bucket_settings.ram_quota_mb = 100;
|
71
73
|
bucket_settings.num_replicas = 1;
|
72
|
-
bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
|
73
|
-
bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::value_only;
|
74
|
+
bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
|
75
|
+
bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::value_only;
|
74
76
|
bucket_settings.flush_enabled = true;
|
75
77
|
if (integration.cluster_version().is_enterprise()) {
|
76
78
|
bucket_settings.max_expiry = 10;
|
77
|
-
bucket_settings.compression_mode = couchbase::management::cluster::bucket_compression::active;
|
79
|
+
bucket_settings.compression_mode = couchbase::core::management::cluster::bucket_compression::active;
|
78
80
|
}
|
79
81
|
bucket_settings.replica_indexes = true;
|
80
|
-
bucket_settings.conflict_resolution_type = couchbase::management::cluster::bucket_conflict_resolution::sequence_number;
|
82
|
+
bucket_settings.conflict_resolution_type = couchbase::core::management::cluster::bucket_conflict_resolution::sequence_number;
|
81
83
|
|
82
84
|
{
|
83
|
-
couchbase::operations::management::bucket_create_request req;
|
85
|
+
couchbase::core::operations::management::bucket_create_request req;
|
84
86
|
req.bucket = bucket_settings;
|
85
87
|
auto resp = test::utils::execute(integration.cluster, req);
|
86
88
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -101,7 +103,7 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
101
103
|
}
|
102
104
|
std::uint64_t old_quota_mb{ 0 };
|
103
105
|
{
|
104
|
-
couchbase::operations::management::bucket_get_all_request req{};
|
106
|
+
couchbase::core::operations::management::bucket_get_all_request req{};
|
105
107
|
auto resp = test::utils::execute(integration.cluster, req);
|
106
108
|
INFO(resp.ctx.http_body)
|
107
109
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -128,33 +130,33 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
128
130
|
|
129
131
|
{
|
130
132
|
bucket_settings.ram_quota_mb = old_quota_mb + 20;
|
131
|
-
couchbase::operations::management::bucket_update_request req;
|
133
|
+
couchbase::core::operations::management::bucket_update_request req;
|
132
134
|
req.bucket = bucket_settings;
|
133
135
|
auto resp = test::utils::execute(integration.cluster, req);
|
134
136
|
REQUIRE_FALSE(resp.ctx.ec);
|
135
137
|
}
|
136
138
|
|
137
139
|
auto ram_quota_updated = test::utils::wait_until([&integration, &bucket_name, old_quota_mb]() {
|
138
|
-
couchbase::operations::management::bucket_get_request req{ bucket_name };
|
140
|
+
couchbase::core::operations::management::bucket_get_request req{ bucket_name };
|
139
141
|
auto resp = test::utils::execute(integration.cluster, req);
|
140
142
|
return !resp.ctx.ec && resp.bucket.ram_quota_mb > old_quota_mb;
|
141
143
|
});
|
142
144
|
REQUIRE(ram_quota_updated);
|
143
145
|
|
144
146
|
{
|
145
|
-
couchbase::operations::management::bucket_drop_request req{ bucket_name };
|
147
|
+
couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
|
146
148
|
auto resp = test::utils::execute(integration.cluster, req);
|
147
149
|
REQUIRE_FALSE(resp.ctx.ec);
|
148
150
|
}
|
149
151
|
|
150
152
|
{
|
151
|
-
couchbase::operations::management::bucket_get_request req{ bucket_name };
|
153
|
+
couchbase::core::operations::management::bucket_get_request req{ bucket_name };
|
152
154
|
auto resp = retry_on_error(integration, req, {});
|
153
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
155
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
154
156
|
}
|
155
157
|
|
156
158
|
{
|
157
|
-
couchbase::operations::management::bucket_get_all_request req;
|
159
|
+
couchbase::core::operations::management::bucket_get_all_request req;
|
158
160
|
auto resp = test::utils::execute(integration.cluster, req);
|
159
161
|
REQUIRE_FALSE(resp.ctx.ec);
|
160
162
|
REQUIRE(!resp.buckets.empty());
|
@@ -168,10 +170,10 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
168
170
|
{
|
169
171
|
SECTION("flush item")
|
170
172
|
{
|
171
|
-
couchbase::document_id id{ bucket_name, "_default", "_default", test::utils::uniq_id("foo") };
|
173
|
+
couchbase::core::document_id id{ bucket_name, "_default", "_default", test::utils::uniq_id("foo") };
|
172
174
|
|
173
175
|
{
|
174
|
-
couchbase::operations::management::bucket_create_request req;
|
176
|
+
couchbase::core::operations::management::bucket_create_request req;
|
175
177
|
req.bucket.name = bucket_name;
|
176
178
|
req.bucket.flush_enabled = true;
|
177
179
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -186,42 +188,42 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
186
188
|
const tao::json::value value = {
|
187
189
|
{ "a", 1.0 },
|
188
190
|
};
|
189
|
-
couchbase::operations::insert_request req{ id, couchbase::utils::json::generate_binary(value) };
|
191
|
+
couchbase::core::operations::insert_request req{ id, couchbase::core::utils::json::generate_binary(value) };
|
190
192
|
auto resp = test::utils::execute(integration.cluster, req);
|
191
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
193
|
+
REQUIRE_FALSE(resp.ctx.ec());
|
192
194
|
}
|
193
195
|
|
194
196
|
{
|
195
|
-
couchbase::operations::get_request req{ id };
|
197
|
+
couchbase::core::operations::get_request req{ id };
|
196
198
|
auto resp = test::utils::execute(integration.cluster, req);
|
197
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
199
|
+
REQUIRE_FALSE(resp.ctx.ec());
|
198
200
|
}
|
199
201
|
|
200
202
|
{
|
201
|
-
couchbase::operations::management::bucket_flush_request req{ bucket_name };
|
203
|
+
couchbase::core::operations::management::bucket_flush_request req{ bucket_name };
|
202
204
|
auto resp = test::utils::execute(integration.cluster, req);
|
203
205
|
REQUIRE_FALSE(resp.ctx.ec);
|
204
206
|
}
|
205
207
|
|
206
208
|
auto flushed = test::utils::wait_until([&integration, id]() {
|
207
|
-
couchbase::operations::get_request req{ id };
|
209
|
+
couchbase::core::operations::get_request req{ id };
|
208
210
|
auto resp = test::utils::execute(integration.cluster, req);
|
209
|
-
return resp.ctx.ec == couchbase::
|
211
|
+
return resp.ctx.ec() == couchbase::errc::key_value::document_not_found;
|
210
212
|
});
|
211
213
|
REQUIRE(flushed);
|
212
214
|
}
|
213
215
|
|
214
216
|
SECTION("no bucket")
|
215
217
|
{
|
216
|
-
couchbase::operations::management::bucket_flush_request req{ bucket_name };
|
218
|
+
couchbase::core::operations::management::bucket_flush_request req{ bucket_name };
|
217
219
|
auto resp = test::utils::execute(integration.cluster, req);
|
218
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
220
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
219
221
|
}
|
220
222
|
|
221
223
|
SECTION("flush disabled")
|
222
224
|
{
|
223
225
|
{
|
224
|
-
couchbase::operations::management::bucket_create_request req;
|
226
|
+
couchbase::core::operations::management::bucket_create_request req;
|
225
227
|
req.bucket.name = bucket_name;
|
226
228
|
req.bucket.flush_enabled = false;
|
227
229
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -231,9 +233,9 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
231
233
|
REQUIRE(test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name));
|
232
234
|
|
233
235
|
{
|
234
|
-
couchbase::operations::management::bucket_flush_request req{ bucket_name };
|
236
|
+
couchbase::core::operations::management::bucket_flush_request req{ bucket_name };
|
235
237
|
auto resp = test::utils::execute(integration.cluster, req);
|
236
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
238
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::bucket_not_flushable);
|
237
239
|
}
|
238
240
|
}
|
239
241
|
}
|
@@ -241,11 +243,11 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
241
243
|
SECTION("memcached")
|
242
244
|
{
|
243
245
|
{
|
244
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
246
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
245
247
|
bucket_settings.name = bucket_name;
|
246
|
-
bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::memcached;
|
248
|
+
bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::memcached;
|
247
249
|
bucket_settings.num_replicas = 0;
|
248
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
250
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
249
251
|
auto resp = test::utils::execute(integration.cluster, req);
|
250
252
|
REQUIRE_FALSE(resp.ctx.ec);
|
251
253
|
}
|
@@ -253,20 +255,20 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
253
255
|
{
|
254
256
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
255
257
|
REQUIRE_FALSE(resp.ctx.ec);
|
256
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::memcached);
|
258
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::memcached);
|
257
259
|
}
|
258
260
|
}
|
259
261
|
|
260
262
|
SECTION("ephemeral")
|
261
263
|
{
|
262
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
264
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
263
265
|
bucket_settings.name = bucket_name;
|
264
|
-
bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::ephemeral;
|
266
|
+
bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::ephemeral;
|
265
267
|
|
266
268
|
SECTION("default eviction")
|
267
269
|
{
|
268
270
|
{
|
269
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
271
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
270
272
|
auto resp = test::utils::execute(integration.cluster, req);
|
271
273
|
INFO(resp.error_message)
|
272
274
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -275,16 +277,16 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
275
277
|
{
|
276
278
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
277
279
|
REQUIRE_FALSE(resp.ctx.ec);
|
278
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::ephemeral);
|
279
|
-
REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::no_eviction);
|
280
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
|
281
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::no_eviction);
|
280
282
|
}
|
281
283
|
}
|
282
284
|
|
283
285
|
SECTION("nru eviction")
|
284
286
|
{
|
285
287
|
{
|
286
|
-
bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::not_recently_used;
|
287
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
288
|
+
bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::not_recently_used;
|
289
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
288
290
|
auto resp = test::utils::execute(integration.cluster, req);
|
289
291
|
REQUIRE_FALSE(resp.ctx.ec);
|
290
292
|
}
|
@@ -292,8 +294,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
292
294
|
{
|
293
295
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
294
296
|
REQUIRE_FALSE(resp.ctx.ec);
|
295
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::ephemeral);
|
296
|
-
REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::not_recently_used);
|
297
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
|
298
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::not_recently_used);
|
297
299
|
}
|
298
300
|
}
|
299
301
|
|
@@ -301,8 +303,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
301
303
|
SECTION("storage backend")
|
302
304
|
{
|
303
305
|
{
|
304
|
-
bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::couchstore;
|
305
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
306
|
+
bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::couchstore;
|
307
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
306
308
|
auto resp = test::utils::execute(integration.cluster, req);
|
307
309
|
REQUIRE_FALSE(resp.ctx.ec);
|
308
310
|
}
|
@@ -310,8 +312,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
310
312
|
{
|
311
313
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
312
314
|
REQUIRE_FALSE(resp.ctx.ec);
|
313
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::ephemeral);
|
314
|
-
REQUIRE(resp.bucket.storage_backend == couchbase::management::cluster::bucket_storage_backend::unknown);
|
315
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
|
316
|
+
REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::unknown);
|
315
317
|
}
|
316
318
|
}
|
317
319
|
}
|
@@ -319,15 +321,15 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
319
321
|
|
320
322
|
SECTION("couchbase")
|
321
323
|
{
|
322
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
324
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
323
325
|
bucket_settings.name = bucket_name;
|
324
|
-
bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
|
326
|
+
bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
|
325
327
|
|
326
328
|
SECTION("default eviction")
|
327
329
|
{
|
328
330
|
{
|
329
331
|
|
330
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
332
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
331
333
|
auto resp = test::utils::execute(integration.cluster, req);
|
332
334
|
INFO(resp.error_message)
|
333
335
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -336,16 +338,16 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
336
338
|
{
|
337
339
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
338
340
|
REQUIRE_FALSE(resp.ctx.ec);
|
339
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
|
340
|
-
REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::value_only);
|
341
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
342
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::value_only);
|
341
343
|
}
|
342
344
|
}
|
343
345
|
|
344
346
|
SECTION("full eviction")
|
345
347
|
{
|
346
348
|
{
|
347
|
-
bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::full;
|
348
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
349
|
+
bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::full;
|
350
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
349
351
|
auto resp = test::utils::execute(integration.cluster, req);
|
350
352
|
REQUIRE_FALSE(resp.ctx.ec);
|
351
353
|
}
|
@@ -353,8 +355,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
353
355
|
{
|
354
356
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
355
357
|
REQUIRE_FALSE(resp.ctx.ec);
|
356
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
|
357
|
-
REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::full);
|
358
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
359
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::full);
|
358
360
|
}
|
359
361
|
}
|
360
362
|
|
@@ -364,8 +366,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
364
366
|
SECTION("couchstore")
|
365
367
|
{
|
366
368
|
{
|
367
|
-
bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::couchstore;
|
368
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
369
|
+
bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::couchstore;
|
370
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
369
371
|
auto resp = test::utils::execute(integration.cluster, req);
|
370
372
|
REQUIRE_FALSE(resp.ctx.ec);
|
371
373
|
}
|
@@ -373,8 +375,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
373
375
|
{
|
374
376
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
375
377
|
REQUIRE_FALSE(resp.ctx.ec);
|
376
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
|
377
|
-
REQUIRE(resp.bucket.storage_backend == couchbase::management::cluster::bucket_storage_backend::couchstore);
|
378
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
379
|
+
REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::couchstore);
|
378
380
|
}
|
379
381
|
}
|
380
382
|
|
@@ -382,8 +384,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
382
384
|
{
|
383
385
|
{
|
384
386
|
bucket_settings.ram_quota_mb = integration.cluster_version().is_neo() ? 1'024 : 256;
|
385
|
-
bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::magma;
|
386
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
387
|
+
bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::magma;
|
388
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
387
389
|
auto resp = test::utils::execute(integration.cluster, req);
|
388
390
|
REQUIRE_FALSE(resp.ctx.ec);
|
389
391
|
}
|
@@ -391,8 +393,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
391
393
|
{
|
392
394
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
393
395
|
REQUIRE_FALSE(resp.ctx.ec);
|
394
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
|
395
|
-
REQUIRE(resp.bucket.storage_backend == couchbase::management::cluster::bucket_storage_backend::magma);
|
396
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
397
|
+
REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::magma);
|
396
398
|
}
|
397
399
|
}
|
398
400
|
}
|
@@ -402,24 +404,24 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
402
404
|
SECTION("update no bucket")
|
403
405
|
{
|
404
406
|
|
405
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
407
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
406
408
|
bucket_settings.name = bucket_name;
|
407
|
-
couchbase::operations::management::bucket_update_request req;
|
409
|
+
couchbase::core::operations::management::bucket_update_request req;
|
408
410
|
req.bucket = bucket_settings;
|
409
411
|
auto resp = test::utils::execute(integration.cluster, req);
|
410
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
412
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
411
413
|
}
|
412
414
|
|
413
415
|
if (integration.cluster_version().supports_minimum_durability_level()) {
|
414
416
|
SECTION("minimum durability level")
|
415
417
|
{
|
416
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
418
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
417
419
|
bucket_settings.name = bucket_name;
|
418
420
|
|
419
421
|
SECTION("default")
|
420
422
|
{
|
421
423
|
{
|
422
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
424
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
423
425
|
auto resp = test::utils::execute(integration.cluster, req);
|
424
426
|
REQUIRE_FALSE(resp.ctx.ec);
|
425
427
|
}
|
@@ -427,7 +429,7 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
427
429
|
{
|
428
430
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
429
431
|
REQUIRE_FALSE(resp.ctx.ec);
|
430
|
-
REQUIRE(resp.bucket.minimum_durability_level == couchbase::
|
432
|
+
REQUIRE(resp.bucket.minimum_durability_level == couchbase::durability_level::none);
|
431
433
|
}
|
432
434
|
}
|
433
435
|
|
@@ -435,8 +437,8 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
435
437
|
SECTION("majority")
|
436
438
|
{
|
437
439
|
{
|
438
|
-
bucket_settings.minimum_durability_level = couchbase::
|
439
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
440
|
+
bucket_settings.minimum_durability_level = couchbase::durability_level::majority;
|
441
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
440
442
|
auto resp = test::utils::execute(integration.cluster, req);
|
441
443
|
INFO(resp.error_message)
|
442
444
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -445,7 +447,7 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
445
447
|
{
|
446
448
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
447
449
|
REQUIRE_FALSE(resp.ctx.ec);
|
448
|
-
REQUIRE(resp.bucket.minimum_durability_level == couchbase::
|
450
|
+
REQUIRE(resp.bucket.minimum_durability_level == couchbase::durability_level::majority);
|
449
451
|
}
|
450
452
|
}
|
451
453
|
}
|
@@ -456,18 +458,18 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
456
458
|
|
457
459
|
// drop bucket if not already dropped
|
458
460
|
{
|
459
|
-
couchbase::operations::management::bucket_drop_request req{ bucket_name };
|
461
|
+
couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
|
460
462
|
test::utils::execute(integration.cluster, req);
|
461
463
|
}
|
462
464
|
}
|
463
465
|
|
464
|
-
std::optional<couchbase::topology::collections_manifest::collection>
|
465
|
-
get_collection(std::shared_ptr<couchbase::cluster> cluster,
|
466
|
+
std::optional<couchbase::core::topology::collections_manifest::collection>
|
467
|
+
get_collection(std::shared_ptr<couchbase::core::cluster> cluster,
|
466
468
|
const std::string& bucket_name,
|
467
469
|
const std::string& scope_name,
|
468
470
|
const std::string& collection_name)
|
469
471
|
{
|
470
|
-
couchbase::operations::management::scope_get_all_request req{ bucket_name };
|
472
|
+
couchbase::core::operations::management::scope_get_all_request req{ bucket_name };
|
471
473
|
auto resp = test::utils::execute(cluster, req);
|
472
474
|
if (!resp.ctx.ec) {
|
473
475
|
for (const auto& scope : resp.manifest.scopes) {
|
@@ -484,9 +486,9 @@ get_collection(std::shared_ptr<couchbase::cluster> cluster,
|
|
484
486
|
}
|
485
487
|
|
486
488
|
bool
|
487
|
-
scope_exists(std::shared_ptr<couchbase::cluster> cluster, const std::string& bucket_name, const std::string& scope_name)
|
489
|
+
scope_exists(std::shared_ptr<couchbase::core::cluster> cluster, const std::string& bucket_name, const std::string& scope_name)
|
488
490
|
{
|
489
|
-
couchbase::operations::management::scope_get_all_request req{ bucket_name };
|
491
|
+
couchbase::core::operations::management::scope_get_all_request req{ bucket_name };
|
490
492
|
auto resp = test::utils::execute(cluster, req);
|
491
493
|
if (!resp.ctx.ec) {
|
492
494
|
for (const auto& scope : resp.manifest.scopes) {
|
@@ -512,7 +514,7 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
512
514
|
std::uint32_t max_expiry = 5;
|
513
515
|
|
514
516
|
{
|
515
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
517
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
516
518
|
auto resp = test::utils::execute(integration.cluster, req);
|
517
519
|
REQUIRE_FALSE(resp.ctx.ec);
|
518
520
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
@@ -525,13 +527,13 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
525
527
|
}
|
526
528
|
|
527
529
|
{
|
528
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
530
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
529
531
|
auto resp = test::utils::execute(integration.cluster, req);
|
530
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
532
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::scope_exists);
|
531
533
|
}
|
532
534
|
|
533
535
|
{
|
534
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
536
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
535
537
|
if (integration.cluster_version().is_enterprise()) {
|
536
538
|
req.max_expiry = max_expiry;
|
537
539
|
}
|
@@ -542,7 +544,7 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
542
544
|
}
|
543
545
|
|
544
546
|
{
|
545
|
-
couchbase::topology::collections_manifest::collection collection;
|
547
|
+
couchbase::core::topology::collections_manifest::collection collection;
|
546
548
|
auto created = test::utils::wait_until([&]() {
|
547
549
|
auto coll = get_collection(integration.cluster, integration.ctx.bucket, scope_name, collection_name);
|
548
550
|
if (coll) {
|
@@ -558,13 +560,13 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
558
560
|
}
|
559
561
|
|
560
562
|
{
|
561
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
563
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
562
564
|
auto resp = test::utils::execute(integration.cluster, req);
|
563
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
565
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::collection_exists);
|
564
566
|
}
|
565
567
|
|
566
568
|
{
|
567
|
-
couchbase::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
569
|
+
couchbase::core::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
568
570
|
auto resp = test::utils::execute(integration.cluster, req);
|
569
571
|
REQUIRE_FALSE(resp.ctx.ec);
|
570
572
|
}
|
@@ -576,13 +578,13 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
576
578
|
}
|
577
579
|
|
578
580
|
{
|
579
|
-
couchbase::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
581
|
+
couchbase::core::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
580
582
|
auto resp = test::utils::execute(integration.cluster, req);
|
581
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
583
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
|
582
584
|
}
|
583
585
|
|
584
586
|
{
|
585
|
-
couchbase::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
587
|
+
couchbase::core::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
586
588
|
auto resp = test::utils::execute(integration.cluster, req);
|
587
589
|
REQUIRE_FALSE(resp.ctx.ec);
|
588
590
|
}
|
@@ -593,15 +595,15 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
593
595
|
}
|
594
596
|
|
595
597
|
{
|
596
|
-
couchbase::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
598
|
+
couchbase::core::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
597
599
|
auto resp = test::utils::execute(integration.cluster, req);
|
598
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
600
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
|
599
601
|
}
|
600
602
|
}
|
601
603
|
|
602
604
|
void
|
603
|
-
assert_user_and_metadata(const couchbase::management::rbac::user_and_metadata& user,
|
604
|
-
const couchbase::management::rbac::user_and_metadata& expected)
|
605
|
+
assert_user_and_metadata(const couchbase::core::management::rbac::user_and_metadata& user,
|
606
|
+
const couchbase::core::management::rbac::user_and_metadata& expected)
|
605
607
|
{
|
606
608
|
REQUIRE(user.username == expected.username);
|
607
609
|
REQUIRE(user.groups == expected.groups);
|
@@ -652,22 +654,22 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
652
654
|
auto group_name_1 = test::utils::uniq_id("group");
|
653
655
|
auto group_name_2 = test::utils::uniq_id("group");
|
654
656
|
|
655
|
-
couchbase::management::rbac::group group{};
|
657
|
+
couchbase::core::management::rbac::group group{};
|
656
658
|
group.name = group_name_1;
|
657
659
|
group.description = "this is a test";
|
658
|
-
group.roles = { couchbase::management::rbac::role{ "replication_target", integration.ctx.bucket },
|
659
|
-
couchbase::management::rbac::role{ "replication_admin" } };
|
660
|
+
group.roles = { couchbase::core::management::rbac::role{ "replication_target", integration.ctx.bucket },
|
661
|
+
couchbase::core::management::rbac::role{ "replication_admin" } };
|
660
662
|
group.ldap_group_reference = "asda=price";
|
661
663
|
|
662
664
|
{
|
663
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
665
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
664
666
|
auto resp = test::utils::execute(integration.cluster, req);
|
665
667
|
REQUIRE_FALSE(resp.ctx.ec);
|
666
668
|
}
|
667
669
|
|
668
670
|
{
|
669
|
-
couchbase::operations::management::group_get_request req{ group_name_1 };
|
670
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
671
|
+
couchbase::core::operations::management::group_get_request req{ group_name_1 };
|
672
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::management::group_not_found);
|
671
673
|
REQUIRE_FALSE(resp.ctx.ec);
|
672
674
|
REQUIRE(resp.group.name == group.name);
|
673
675
|
REQUIRE(resp.group.description == group.description);
|
@@ -676,15 +678,15 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
676
678
|
|
677
679
|
{
|
678
680
|
group.description = "this is still a test";
|
679
|
-
group.roles.push_back(couchbase::management::rbac::role{ "query_system_catalog" });
|
680
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
681
|
+
group.roles.push_back(couchbase::core::management::rbac::role{ "query_system_catalog" });
|
682
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
681
683
|
auto resp = test::utils::execute(integration.cluster, req);
|
682
684
|
REQUIRE_FALSE(resp.ctx.ec);
|
683
685
|
}
|
684
686
|
|
685
687
|
{
|
686
688
|
auto updated = test::utils::wait_until([&]() {
|
687
|
-
couchbase::operations::management::group_get_request req{ group_name_1 };
|
689
|
+
couchbase::core::operations::management::group_get_request req{ group_name_1 };
|
688
690
|
auto resp = test::utils::execute(integration.cluster, req);
|
689
691
|
return !resp.ctx.ec && resp.group.description == group.description;
|
690
692
|
});
|
@@ -693,14 +695,14 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
693
695
|
|
694
696
|
{
|
695
697
|
group.name = group_name_2;
|
696
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
698
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
697
699
|
auto resp = test::utils::execute(integration.cluster, req);
|
698
700
|
REQUIRE_FALSE(resp.ctx.ec);
|
699
701
|
}
|
700
702
|
|
701
703
|
{
|
702
704
|
auto created = test::utils::wait_until([&]() {
|
703
|
-
couchbase::operations::management::group_get_all_request req{ group_name_2 };
|
705
|
+
couchbase::core::operations::management::group_get_all_request req{ group_name_2 };
|
704
706
|
auto resp = test::utils::execute(integration.cluster, req);
|
705
707
|
REQUIRE_FALSE(resp.ctx.ec);
|
706
708
|
return resp.groups.size() == 2;
|
@@ -709,20 +711,20 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
709
711
|
}
|
710
712
|
|
711
713
|
{
|
712
|
-
couchbase::operations::management::role_get_all_request req{};
|
714
|
+
couchbase::core::operations::management::role_get_all_request req{};
|
713
715
|
auto resp = test::utils::execute(integration.cluster, req);
|
714
716
|
REQUIRE_FALSE(resp.ctx.ec);
|
715
717
|
REQUIRE(resp.roles.size() > 0);
|
716
718
|
}
|
717
719
|
|
718
720
|
{
|
719
|
-
couchbase::operations::management::group_drop_request req{ group_name_1 };
|
721
|
+
couchbase::core::operations::management::group_drop_request req{ group_name_1 };
|
720
722
|
auto resp = test::utils::execute(integration.cluster, req);
|
721
723
|
REQUIRE_FALSE(resp.ctx.ec);
|
722
724
|
}
|
723
725
|
|
724
726
|
{
|
725
|
-
couchbase::operations::management::group_drop_request req{ group_name_2 };
|
727
|
+
couchbase::core::operations::management::group_drop_request req{ group_name_2 };
|
726
728
|
auto resp = test::utils::execute(integration.cluster, req);
|
727
729
|
REQUIRE_FALSE(resp.ctx.ec);
|
728
730
|
}
|
@@ -730,16 +732,16 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
730
732
|
|
731
733
|
SECTION("get missing group")
|
732
734
|
{
|
733
|
-
couchbase::operations::management::group_get_request req{ test::utils::uniq_id("group") };
|
735
|
+
couchbase::core::operations::management::group_get_request req{ test::utils::uniq_id("group") };
|
734
736
|
auto resp = test::utils::execute(integration.cluster, req);
|
735
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
737
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::group_not_found);
|
736
738
|
}
|
737
739
|
|
738
740
|
SECTION("drop missing group")
|
739
741
|
{
|
740
|
-
couchbase::operations::management::group_drop_request req{ test::utils::uniq_id("group") };
|
742
|
+
couchbase::core::operations::management::group_drop_request req{ test::utils::uniq_id("group") };
|
741
743
|
auto resp = test::utils::execute(integration.cluster, req);
|
742
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
744
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::group_not_found);
|
743
745
|
}
|
744
746
|
|
745
747
|
SECTION("user and groups crud")
|
@@ -747,59 +749,59 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
747
749
|
auto group_name = test::utils::uniq_id("group");
|
748
750
|
auto user_name = test::utils::uniq_id("user");
|
749
751
|
|
750
|
-
couchbase::management::rbac::group group{};
|
752
|
+
couchbase::core::management::rbac::group group{};
|
751
753
|
group.name = group_name;
|
752
754
|
group.description = "this is a test";
|
753
|
-
group.roles = { couchbase::management::rbac::role{ "replication_target", integration.ctx.bucket },
|
754
|
-
couchbase::management::rbac::role{ "replication_admin" } };
|
755
|
+
group.roles = { couchbase::core::management::rbac::role{ "replication_target", integration.ctx.bucket },
|
756
|
+
couchbase::core::management::rbac::role{ "replication_admin" } };
|
755
757
|
|
756
758
|
{
|
757
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
759
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
758
760
|
auto resp = test::utils::execute(integration.cluster, req);
|
759
761
|
REQUIRE_FALSE(resp.ctx.ec);
|
760
762
|
}
|
761
763
|
|
762
|
-
couchbase::management::rbac::user user{ user_name };
|
764
|
+
couchbase::core::management::rbac::user user{ user_name };
|
763
765
|
user.display_name = "display_name";
|
764
766
|
user.password = "password";
|
765
767
|
user.roles = {
|
766
|
-
couchbase::management::rbac::role{ "bucket_admin", integration.ctx.bucket },
|
768
|
+
couchbase::core::management::rbac::role{ "bucket_admin", integration.ctx.bucket },
|
767
769
|
};
|
768
770
|
user.groups = { group_name };
|
769
771
|
|
770
772
|
{
|
771
|
-
couchbase::operations::management::user_upsert_request req{};
|
773
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
772
774
|
req.user = user;
|
773
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
775
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::common::invalid_argument);
|
774
776
|
REQUIRE_FALSE(resp.ctx.ec);
|
775
777
|
}
|
776
778
|
|
777
|
-
couchbase::management::rbac::user_and_metadata expected{};
|
779
|
+
couchbase::core::management::rbac::user_and_metadata expected{};
|
778
780
|
expected.username = user.username;
|
779
781
|
expected.display_name = user.display_name;
|
780
782
|
expected.roles = user.roles;
|
781
783
|
expected.groups = user.groups;
|
782
|
-
expected.domain = couchbase::management::rbac::auth_domain::local;
|
784
|
+
expected.domain = couchbase::core::management::rbac::auth_domain::local;
|
783
785
|
|
784
|
-
couchbase::management::rbac::role_and_origins expected_role_1{};
|
786
|
+
couchbase::core::management::rbac::role_and_origins expected_role_1{};
|
785
787
|
expected_role_1.name = "bucket_admin";
|
786
788
|
expected_role_1.bucket = integration.ctx.bucket;
|
787
|
-
expected_role_1.origins = { couchbase::management::rbac::origin{ "user" } };
|
789
|
+
expected_role_1.origins = { couchbase::core::management::rbac::origin{ "user" } };
|
788
790
|
|
789
|
-
couchbase::management::rbac::role_and_origins expected_role_2{};
|
791
|
+
couchbase::core::management::rbac::role_and_origins expected_role_2{};
|
790
792
|
expected_role_2.name = "replication_target";
|
791
793
|
expected_role_2.bucket = integration.ctx.bucket;
|
792
|
-
expected_role_2.origins = { couchbase::management::rbac::origin{ "group", group_name } };
|
794
|
+
expected_role_2.origins = { couchbase::core::management::rbac::origin{ "group", group_name } };
|
793
795
|
|
794
|
-
couchbase::management::rbac::role_and_origins expected_role_3{};
|
796
|
+
couchbase::core::management::rbac::role_and_origins expected_role_3{};
|
795
797
|
expected_role_3.name = "replication_admin";
|
796
|
-
expected_role_3.origins = { couchbase::management::rbac::origin{ "group", group_name } };
|
798
|
+
expected_role_3.origins = { couchbase::core::management::rbac::origin{ "group", group_name } };
|
797
799
|
|
798
800
|
expected.effective_roles = { expected_role_1, expected_role_2, expected_role_3 };
|
799
801
|
|
800
802
|
{
|
801
|
-
couchbase::operations::management::user_get_request req{ user_name };
|
802
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
803
|
+
couchbase::core::operations::management::user_get_request req{ user_name };
|
804
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::management::user_not_found);
|
803
805
|
REQUIRE_FALSE(resp.ctx.ec);
|
804
806
|
assert_user_and_metadata(resp.user, expected);
|
805
807
|
}
|
@@ -808,16 +810,16 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
808
810
|
expected.display_name = "different_display_name";
|
809
811
|
|
810
812
|
{
|
811
|
-
couchbase::operations::management::user_upsert_request req{};
|
813
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
812
814
|
req.user = user;
|
813
815
|
auto resp = test::utils::execute(integration.cluster, req);
|
814
816
|
REQUIRE_FALSE(resp.ctx.ec);
|
815
817
|
}
|
816
818
|
|
817
819
|
{
|
818
|
-
couchbase::operations::management::user_get_response resp;
|
820
|
+
couchbase::core::operations::management::user_get_response resp;
|
819
821
|
test::utils::wait_until([&]() {
|
820
|
-
couchbase::operations::management::user_get_request req{ user.username };
|
822
|
+
couchbase::core::operations::management::user_get_request req{ user.username };
|
821
823
|
resp = test::utils::execute(integration.cluster, req);
|
822
824
|
return !resp.ctx.ec && resp.user.display_name == user.display_name;
|
823
825
|
});
|
@@ -826,7 +828,7 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
826
828
|
}
|
827
829
|
|
828
830
|
{
|
829
|
-
couchbase::operations::management::user_get_all_request req{};
|
831
|
+
couchbase::core::operations::management::user_get_all_request req{};
|
830
832
|
auto resp = test::utils::execute(integration.cluster, req);
|
831
833
|
REQUIRE_FALSE(resp.ctx.ec);
|
832
834
|
REQUIRE_FALSE(resp.users.empty());
|
@@ -837,13 +839,13 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
837
839
|
}
|
838
840
|
|
839
841
|
{
|
840
|
-
couchbase::operations::management::user_drop_request req{ user_name };
|
842
|
+
couchbase::core::operations::management::user_drop_request req{ user_name };
|
841
843
|
auto resp = test::utils::execute(integration.cluster, req);
|
842
844
|
REQUIRE_FALSE(resp.ctx.ec);
|
843
845
|
}
|
844
846
|
|
845
847
|
{
|
846
|
-
couchbase::operations::management::group_drop_request req{ group_name };
|
848
|
+
couchbase::core::operations::management::group_drop_request req{ group_name };
|
847
849
|
auto resp = test::utils::execute(integration.cluster, req);
|
848
850
|
REQUIRE_FALSE(resp.ctx.ec);
|
849
851
|
}
|
@@ -864,21 +866,21 @@ TEST_CASE("integration: user management", "[integration]")
|
|
864
866
|
|
865
867
|
SECTION("get missing user")
|
866
868
|
{
|
867
|
-
couchbase::operations::management::user_get_request req{ test::utils::uniq_id("user") };
|
869
|
+
couchbase::core::operations::management::user_get_request req{ test::utils::uniq_id("user") };
|
868
870
|
auto resp = test::utils::execute(integration.cluster, req);
|
869
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
871
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::user_not_found);
|
870
872
|
}
|
871
873
|
|
872
874
|
SECTION("drop missing user")
|
873
875
|
{
|
874
|
-
couchbase::operations::management::user_drop_request req{ test::utils::uniq_id("user") };
|
876
|
+
couchbase::core::operations::management::user_drop_request req{ test::utils::uniq_id("user") };
|
875
877
|
auto resp = test::utils::execute(integration.cluster, req);
|
876
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
878
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::user_not_found);
|
877
879
|
}
|
878
880
|
|
879
881
|
SECTION("get roles")
|
880
882
|
{
|
881
|
-
couchbase::operations::management::role_get_all_request req{};
|
883
|
+
couchbase::core::operations::management::role_get_all_request req{};
|
882
884
|
auto resp = test::utils::execute(integration.cluster, req);
|
883
885
|
REQUIRE_FALSE(resp.ctx.ec);
|
884
886
|
REQUIRE(resp.roles.size() > 0);
|
@@ -900,7 +902,7 @@ TEST_CASE("integration: user management collections roles", "[integration]")
|
|
900
902
|
auto user_name = test::utils::uniq_id("user");
|
901
903
|
|
902
904
|
{
|
903
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
905
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
904
906
|
auto resp = test::utils::execute(integration.cluster, req);
|
905
907
|
REQUIRE_FALSE(resp.ctx.ec);
|
906
908
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
@@ -908,30 +910,30 @@ TEST_CASE("integration: user management collections roles", "[integration]")
|
|
908
910
|
}
|
909
911
|
|
910
912
|
{
|
911
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
913
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
912
914
|
auto resp = test::utils::execute(integration.cluster, req);
|
913
915
|
REQUIRE_FALSE(resp.ctx.ec);
|
914
916
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
915
917
|
REQUIRE(created);
|
916
918
|
}
|
917
919
|
|
918
|
-
couchbase::management::rbac::user user{ user_name };
|
920
|
+
couchbase::core::management::rbac::user user{ user_name };
|
919
921
|
user.display_name = "display_name";
|
920
922
|
user.password = "password";
|
921
923
|
user.roles = {
|
922
|
-
couchbase::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name },
|
924
|
+
couchbase::core::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name },
|
923
925
|
};
|
924
926
|
|
925
927
|
{
|
926
|
-
couchbase::operations::management::user_upsert_request req{};
|
928
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
927
929
|
req.user = user;
|
928
930
|
auto resp = test::utils::execute(integration.cluster, req);
|
929
931
|
REQUIRE_FALSE(resp.ctx.ec);
|
930
932
|
}
|
931
933
|
|
932
934
|
{
|
933
|
-
couchbase::operations::management::user_get_request req{ user_name };
|
934
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
935
|
+
couchbase::core::operations::management::user_get_request req{ user_name };
|
936
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::management::user_not_found);
|
935
937
|
REQUIRE_FALSE(resp.ctx.ec);
|
936
938
|
REQUIRE(resp.user.roles.size() == 1);
|
937
939
|
REQUIRE(resp.user.roles[0].name == "data_reader");
|
@@ -940,18 +942,18 @@ TEST_CASE("integration: user management collections roles", "[integration]")
|
|
940
942
|
}
|
941
943
|
|
942
944
|
user.roles = {
|
943
|
-
couchbase::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name, collection_name },
|
945
|
+
couchbase::core::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name, collection_name },
|
944
946
|
};
|
945
947
|
|
946
948
|
{
|
947
|
-
couchbase::operations::management::user_upsert_request req{};
|
949
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
948
950
|
req.user = user;
|
949
951
|
auto resp = test::utils::execute(integration.cluster, req);
|
950
952
|
REQUIRE_FALSE(resp.ctx.ec);
|
951
953
|
}
|
952
954
|
|
953
955
|
{
|
954
|
-
couchbase::operations::management::user_get_request req{ user_name };
|
956
|
+
couchbase::core::operations::management::user_get_request req{ user_name };
|
955
957
|
auto resp = test::utils::execute(integration.cluster, req);
|
956
958
|
REQUIRE_FALSE(resp.ctx.ec);
|
957
959
|
REQUIRE(resp.user.roles.size() == 1);
|
@@ -978,9 +980,9 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
978
980
|
auto bucket_name = test::utils::uniq_id("bucket");
|
979
981
|
|
980
982
|
{
|
981
|
-
couchbase::operations::management::bucket_create_request req;
|
983
|
+
couchbase::core::operations::management::bucket_create_request req;
|
982
984
|
req.bucket.name = bucket_name;
|
983
|
-
req.bucket.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
|
985
|
+
req.bucket.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
|
984
986
|
req.bucket.num_replicas = 0;
|
985
987
|
auto resp = test::utils::execute(integration.cluster, req);
|
986
988
|
}
|
@@ -988,20 +990,20 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
988
990
|
REQUIRE(!wait_for_bucket_created(integration, bucket_name).ctx.ec);
|
989
991
|
|
990
992
|
{
|
991
|
-
couchbase::operations::management::query_index_create_response resp;
|
993
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
992
994
|
bool operation_completed = test::utils::wait_until([&integration, &bucket_name, &resp]() {
|
993
|
-
couchbase::operations::management::query_index_create_request req{};
|
995
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
994
996
|
req.bucket_name = bucket_name;
|
995
997
|
req.is_primary = true;
|
996
998
|
resp = test::utils::execute(integration.cluster, req);
|
997
|
-
return resp.ctx.ec != couchbase::
|
999
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
998
1000
|
});
|
999
1001
|
REQUIRE(operation_completed);
|
1000
1002
|
REQUIRE_FALSE(resp.ctx.ec);
|
1001
1003
|
}
|
1002
1004
|
|
1003
1005
|
{
|
1004
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1006
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1005
1007
|
req.bucket_name = bucket_name;
|
1006
1008
|
auto resp = test::utils::execute(integration.cluster, req);
|
1007
1009
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1011,7 +1013,7 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1011
1013
|
}
|
1012
1014
|
|
1013
1015
|
{
|
1014
|
-
couchbase::operations::management::bucket_drop_request req{ bucket_name };
|
1016
|
+
couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
|
1015
1017
|
test::utils::execute(integration.cluster, req);
|
1016
1018
|
}
|
1017
1019
|
}
|
@@ -1020,30 +1022,30 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1020
1022
|
SECTION("non primary index")
|
1021
1023
|
{
|
1022
1024
|
{
|
1023
|
-
couchbase::operations::management::query_index_create_response resp;
|
1025
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1024
1026
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
|
1025
|
-
couchbase::operations::management::query_index_create_request req{};
|
1027
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1026
1028
|
req.bucket_name = integration.ctx.bucket;
|
1027
1029
|
req.index_name = index_name;
|
1028
1030
|
req.fields = { "field", "field2 DESC", "`two words` DESC" };
|
1029
1031
|
resp = test::utils::execute(integration.cluster, req);
|
1030
|
-
return resp.ctx.ec != couchbase::
|
1032
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1031
1033
|
});
|
1032
1034
|
REQUIRE(operation_completed);
|
1033
1035
|
REQUIRE_FALSE(resp.ctx.ec);
|
1034
1036
|
}
|
1035
1037
|
|
1036
1038
|
{
|
1037
|
-
couchbase::operations::management::query_index_create_request req{};
|
1039
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1038
1040
|
req.bucket_name = integration.ctx.bucket;
|
1039
1041
|
req.index_name = index_name;
|
1040
1042
|
req.fields = { "field" };
|
1041
1043
|
auto resp = test::utils::execute(integration.cluster, req);
|
1042
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1044
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
1043
1045
|
}
|
1044
1046
|
|
1045
1047
|
{
|
1046
|
-
couchbase::operations::management::query_index_create_request req{};
|
1048
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1047
1049
|
req.bucket_name = integration.ctx.bucket;
|
1048
1050
|
req.index_name = index_name;
|
1049
1051
|
req.fields = { "field" };
|
@@ -1053,7 +1055,7 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1053
1055
|
}
|
1054
1056
|
|
1055
1057
|
{
|
1056
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1058
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1057
1059
|
req.bucket_name = integration.ctx.bucket;
|
1058
1060
|
auto resp = test::utils::execute(integration.cluster, req);
|
1059
1061
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1071,7 +1073,7 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1071
1073
|
}
|
1072
1074
|
|
1073
1075
|
{
|
1074
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1076
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1075
1077
|
req.bucket_name = integration.ctx.bucket;
|
1076
1078
|
req.index_name = index_name;
|
1077
1079
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1079,33 +1081,33 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1079
1081
|
}
|
1080
1082
|
|
1081
1083
|
{
|
1082
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1084
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1083
1085
|
req.bucket_name = integration.ctx.bucket;
|
1084
1086
|
req.index_name = index_name;
|
1085
1087
|
auto resp = test::utils::execute(integration.cluster, req);
|
1086
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1088
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
1087
1089
|
}
|
1088
1090
|
}
|
1089
1091
|
|
1090
1092
|
SECTION("deferred index")
|
1091
1093
|
{
|
1092
1094
|
{
|
1093
|
-
couchbase::operations::management::query_index_create_response resp;
|
1095
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1094
1096
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
|
1095
|
-
couchbase::operations::management::query_index_create_request req{};
|
1097
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1096
1098
|
req.bucket_name = integration.ctx.bucket;
|
1097
1099
|
req.index_name = index_name;
|
1098
1100
|
req.fields = { "field" };
|
1099
1101
|
req.deferred = true;
|
1100
1102
|
resp = test::utils::execute(integration.cluster, req);
|
1101
|
-
return resp.ctx.ec != couchbase::
|
1103
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1102
1104
|
});
|
1103
1105
|
REQUIRE(operation_completed);
|
1104
1106
|
REQUIRE_FALSE(resp.ctx.ec);
|
1105
1107
|
}
|
1106
1108
|
|
1107
1109
|
{
|
1108
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1110
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1109
1111
|
req.bucket_name = integration.ctx.bucket;
|
1110
1112
|
auto resp = test::utils::execute(integration.cluster, req);
|
1111
1113
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1117,14 +1119,13 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1117
1119
|
}
|
1118
1120
|
|
1119
1121
|
{
|
1120
|
-
couchbase::
|
1121
|
-
|
1122
|
-
|
1123
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
1122
|
+
auto manager = couchbase::cluster(integration.cluster).query_indexes();
|
1123
|
+
auto ctx = manager.build_deferred_indexes(integration.ctx.bucket, {}).get();
|
1124
|
+
REQUIRE_FALSE(ctx.ec());
|
1124
1125
|
}
|
1125
1126
|
|
1126
1127
|
test::utils::wait_until([&integration, &index_name]() {
|
1127
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1128
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1128
1129
|
req.bucket_name = integration.ctx.bucket;
|
1129
1130
|
auto resp = test::utils::execute(integration.cluster, req);
|
1130
1131
|
if (resp.indexes.empty()) {
|
@@ -1138,16 +1139,16 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1138
1139
|
|
1139
1140
|
SECTION("create missing bucket")
|
1140
1141
|
{
|
1141
|
-
couchbase::operations::management::query_index_create_request req{};
|
1142
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1142
1143
|
req.bucket_name = "missing_bucket";
|
1143
1144
|
req.is_primary = true;
|
1144
1145
|
auto resp = test::utils::execute(integration.cluster, req);
|
1145
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1146
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
1146
1147
|
}
|
1147
1148
|
|
1148
1149
|
SECTION("get missing bucket")
|
1149
1150
|
{
|
1150
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1151
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1151
1152
|
req.bucket_name = "missing_bucket";
|
1152
1153
|
auto resp = test::utils::execute(integration.cluster, req);
|
1153
1154
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1156,11 +1157,11 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1156
1157
|
|
1157
1158
|
SECTION("drop missing bucket")
|
1158
1159
|
{
|
1159
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1160
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1160
1161
|
req.bucket_name = "missing_bucket";
|
1161
1162
|
req.is_primary = true;
|
1162
1163
|
auto resp = test::utils::execute(integration.cluster, req);
|
1163
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1164
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
1164
1165
|
}
|
1165
1166
|
}
|
1166
1167
|
|
@@ -1184,7 +1185,7 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1184
1185
|
|
1185
1186
|
// create the scope and collection that we'll do index management on.
|
1186
1187
|
{
|
1187
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
1188
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
1188
1189
|
auto resp = test::utils::execute(integration.cluster, req);
|
1189
1190
|
REQUIRE_FALSE(resp.ctx.ec);
|
1190
1191
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
@@ -1192,7 +1193,7 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1192
1193
|
}
|
1193
1194
|
|
1194
1195
|
{
|
1195
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
1196
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
1196
1197
|
auto resp = test::utils::execute(integration.cluster, req);
|
1197
1198
|
REQUIRE_FALSE(resp.ctx.ec);
|
1198
1199
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
@@ -1202,22 +1203,22 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1202
1203
|
SECTION("primary index")
|
1203
1204
|
{
|
1204
1205
|
{
|
1205
|
-
couchbase::operations::management::query_index_create_response resp;
|
1206
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1206
1207
|
bool operation_completed = test::utils::wait_until([&integration, &scope_name, &collection_name, &resp]() {
|
1207
|
-
couchbase::operations::management::query_index_create_request req{};
|
1208
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1208
1209
|
req.bucket_name = integration.ctx.bucket;
|
1209
1210
|
req.scope_name = scope_name;
|
1210
1211
|
req.collection_name = collection_name;
|
1211
1212
|
req.is_primary = true;
|
1212
1213
|
resp = test::utils::execute(integration.cluster, req);
|
1213
|
-
return resp.ctx.ec != couchbase::
|
1214
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1214
1215
|
});
|
1215
1216
|
REQUIRE(operation_completed);
|
1216
1217
|
REQUIRE_FALSE(resp.ctx.ec);
|
1217
1218
|
}
|
1218
1219
|
|
1219
1220
|
{
|
1220
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1221
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1221
1222
|
req.bucket_name = integration.ctx.bucket;
|
1222
1223
|
req.scope_name = scope_name;
|
1223
1224
|
req.collection_name = collection_name;
|
@@ -1232,23 +1233,23 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1232
1233
|
SECTION("named primary index")
|
1233
1234
|
{
|
1234
1235
|
{
|
1235
|
-
couchbase::operations::management::query_index_create_response resp;
|
1236
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1236
1237
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
|
1237
|
-
couchbase::operations::management::query_index_create_request req{};
|
1238
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1238
1239
|
req.bucket_name = integration.ctx.bucket;
|
1239
1240
|
req.scope_name = scope_name;
|
1240
1241
|
req.collection_name = collection_name;
|
1241
1242
|
req.index_name = index_name;
|
1242
1243
|
req.is_primary = true;
|
1243
1244
|
resp = test::utils::execute(integration.cluster, req);
|
1244
|
-
return resp.ctx.ec != couchbase::
|
1245
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1245
1246
|
});
|
1246
1247
|
REQUIRE(operation_completed);
|
1247
1248
|
REQUIRE_FALSE(resp.ctx.ec);
|
1248
1249
|
}
|
1249
1250
|
|
1250
1251
|
{
|
1251
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1252
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1252
1253
|
req.bucket_name = integration.ctx.bucket;
|
1253
1254
|
req.scope_name = scope_name;
|
1254
1255
|
req.collection_name = collection_name;
|
@@ -1260,7 +1261,7 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1260
1261
|
}
|
1261
1262
|
|
1262
1263
|
{
|
1263
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1264
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1264
1265
|
req.bucket_name = integration.ctx.bucket;
|
1265
1266
|
req.index_name = index_name;
|
1266
1267
|
req.scope_name = scope_name;
|
@@ -1274,34 +1275,34 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1274
1275
|
SECTION("non primary index")
|
1275
1276
|
{
|
1276
1277
|
{
|
1277
|
-
couchbase::operations::management::query_index_create_response resp;
|
1278
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1278
1279
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
|
1279
|
-
couchbase::operations::management::query_index_create_request req{};
|
1280
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1280
1281
|
req.bucket_name = integration.ctx.bucket;
|
1281
1282
|
req.index_name = index_name;
|
1282
1283
|
req.scope_name = scope_name;
|
1283
1284
|
req.collection_name = collection_name;
|
1284
1285
|
req.fields = { "field" };
|
1285
1286
|
resp = test::utils::execute(integration.cluster, req);
|
1286
|
-
return resp.ctx.ec != couchbase::
|
1287
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1287
1288
|
});
|
1288
1289
|
REQUIRE(operation_completed);
|
1289
1290
|
REQUIRE_FALSE(resp.ctx.ec);
|
1290
1291
|
}
|
1291
1292
|
|
1292
1293
|
{
|
1293
|
-
couchbase::operations::management::query_index_create_request req{};
|
1294
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1294
1295
|
req.bucket_name = integration.ctx.bucket;
|
1295
1296
|
req.index_name = index_name;
|
1296
1297
|
req.scope_name = scope_name;
|
1297
1298
|
req.collection_name = collection_name;
|
1298
1299
|
req.fields = { "field" };
|
1299
1300
|
auto resp = test::utils::execute(integration.cluster, req);
|
1300
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1301
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
1301
1302
|
}
|
1302
1303
|
|
1303
1304
|
{
|
1304
|
-
couchbase::operations::management::query_index_create_request req{};
|
1305
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1305
1306
|
req.bucket_name = integration.ctx.bucket;
|
1306
1307
|
req.index_name = index_name;
|
1307
1308
|
req.scope_name = scope_name;
|
@@ -1313,7 +1314,7 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1313
1314
|
}
|
1314
1315
|
|
1315
1316
|
{
|
1316
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1317
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1317
1318
|
req.bucket_name = integration.ctx.bucket;
|
1318
1319
|
req.scope_name = scope_name;
|
1319
1320
|
req.collection_name = collection_name;
|
@@ -1331,7 +1332,7 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1331
1332
|
}
|
1332
1333
|
|
1333
1334
|
{
|
1334
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1335
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1335
1336
|
req.bucket_name = integration.ctx.bucket;
|
1336
1337
|
req.index_name = index_name;
|
1337
1338
|
req.scope_name = scope_name;
|
@@ -1341,22 +1342,22 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1341
1342
|
}
|
1342
1343
|
|
1343
1344
|
{
|
1344
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1345
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1345
1346
|
req.bucket_name = integration.ctx.bucket;
|
1346
1347
|
req.index_name = index_name;
|
1347
1348
|
req.scope_name = scope_name;
|
1348
1349
|
req.collection_name = collection_name;
|
1349
1350
|
auto resp = test::utils::execute(integration.cluster, req);
|
1350
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1351
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
1351
1352
|
}
|
1352
1353
|
}
|
1353
1354
|
|
1354
1355
|
SECTION("deferred index")
|
1355
1356
|
{
|
1356
1357
|
{
|
1357
|
-
couchbase::operations::management::query_index_create_response resp;
|
1358
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1358
1359
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
|
1359
|
-
couchbase::operations::management::query_index_create_request req{};
|
1360
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1360
1361
|
req.bucket_name = integration.ctx.bucket;
|
1361
1362
|
req.index_name = index_name;
|
1362
1363
|
req.scope_name = scope_name;
|
@@ -1364,14 +1365,14 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1364
1365
|
req.fields = { "field" };
|
1365
1366
|
req.deferred = true;
|
1366
1367
|
resp = test::utils::execute(integration.cluster, req);
|
1367
|
-
return resp.ctx.ec != couchbase::
|
1368
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1368
1369
|
});
|
1369
1370
|
REQUIRE(operation_completed);
|
1370
1371
|
REQUIRE_FALSE(resp.ctx.ec);
|
1371
1372
|
}
|
1372
1373
|
|
1373
1374
|
{
|
1374
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1375
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1375
1376
|
req.bucket_name = integration.ctx.bucket;
|
1376
1377
|
req.scope_name = scope_name;
|
1377
1378
|
req.collection_name = collection_name;
|
@@ -1383,16 +1384,13 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1383
1384
|
}
|
1384
1385
|
|
1385
1386
|
{
|
1386
|
-
couchbase::
|
1387
|
-
|
1388
|
-
|
1389
|
-
req.collection_name = collection_name;
|
1390
|
-
auto resp = test::utils::execute(integration.cluster, req);
|
1391
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
1387
|
+
auto manager = couchbase::cluster(integration.cluster).query_indexes();
|
1388
|
+
auto ctx = manager.build_deferred_indexes(integration.ctx.bucket, {}).get();
|
1389
|
+
REQUIRE_FALSE(ctx.ec());
|
1392
1390
|
}
|
1393
1391
|
|
1394
1392
|
test::utils::wait_until([&integration, scope_name, collection_name]() {
|
1395
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1393
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1396
1394
|
req.bucket_name = integration.ctx.bucket;
|
1397
1395
|
req.scope_name = scope_name;
|
1398
1396
|
req.collection_name = collection_name;
|
@@ -1406,29 +1404,29 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1406
1404
|
|
1407
1405
|
SECTION("create missing collection")
|
1408
1406
|
{
|
1409
|
-
couchbase::operations::management::query_index_create_request req{};
|
1407
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1410
1408
|
req.bucket_name = integration.ctx.bucket;
|
1411
1409
|
req.scope_name = scope_name;
|
1412
1410
|
req.collection_name = "missing_collection";
|
1413
1411
|
req.is_primary = true;
|
1414
1412
|
auto resp = test::utils::execute(integration.cluster, req);
|
1415
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1413
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
|
1416
1414
|
}
|
1417
1415
|
|
1418
1416
|
SECTION("create missing scope")
|
1419
1417
|
{
|
1420
|
-
couchbase::operations::management::query_index_create_request req{};
|
1418
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1421
1419
|
req.bucket_name = integration.ctx.bucket;
|
1422
1420
|
req.scope_name = "missing_scope";
|
1423
1421
|
req.collection_name = collection_name;
|
1424
1422
|
req.is_primary = true;
|
1425
1423
|
auto resp = test::utils::execute(integration.cluster, req);
|
1426
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1424
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
|
1427
1425
|
}
|
1428
1426
|
|
1429
1427
|
SECTION("get missing collection")
|
1430
1428
|
{
|
1431
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1429
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1432
1430
|
req.bucket_name = integration.ctx.bucket;
|
1433
1431
|
req.scope_name = scope_name;
|
1434
1432
|
req.collection_name = "missing_collection";
|
@@ -1439,24 +1437,24 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1439
1437
|
|
1440
1438
|
SECTION("drop missing collection")
|
1441
1439
|
{
|
1442
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1440
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1443
1441
|
req.bucket_name = integration.ctx.bucket;
|
1444
1442
|
req.scope_name = scope_name;
|
1445
1443
|
req.collection_name = "missing_collection";
|
1446
1444
|
req.is_primary = true;
|
1447
1445
|
auto resp = test::utils::execute(integration.cluster, req);
|
1448
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1446
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
|
1449
1447
|
}
|
1450
1448
|
|
1451
1449
|
SECTION("drop missing scope")
|
1452
1450
|
{
|
1453
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1451
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1454
1452
|
req.bucket_name = integration.ctx.bucket;
|
1455
1453
|
req.scope_name = "missing_scope";
|
1456
1454
|
req.collection_name = collection_name;
|
1457
1455
|
req.is_primary = true;
|
1458
1456
|
auto resp = test::utils::execute(integration.cluster, req);
|
1459
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1457
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
|
1460
1458
|
}
|
1461
1459
|
}
|
1462
1460
|
|
@@ -1469,7 +1467,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1469
1467
|
}
|
1470
1468
|
|
1471
1469
|
// MB-47718
|
1472
|
-
if (integration.storage_backend() == couchbase::management::cluster::bucket_storage_backend::magma) {
|
1470
|
+
if (integration.storage_backend() == couchbase::core::management::cluster::bucket_storage_backend::magma) {
|
1473
1471
|
return;
|
1474
1472
|
}
|
1475
1473
|
|
@@ -1480,21 +1478,21 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1480
1478
|
auto index_name = test::utils::uniq_id("index");
|
1481
1479
|
|
1482
1480
|
{
|
1483
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1481
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1484
1482
|
req.dataverse_name = dataverse_name;
|
1485
1483
|
auto resp = test::utils::execute(integration.cluster, req);
|
1486
1484
|
REQUIRE_FALSE(resp.ctx.ec);
|
1487
1485
|
}
|
1488
1486
|
|
1489
1487
|
{
|
1490
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1488
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1491
1489
|
req.dataverse_name = dataverse_name;
|
1492
1490
|
auto resp = test::utils::execute(integration.cluster, req);
|
1493
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1491
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_exists);
|
1494
1492
|
}
|
1495
1493
|
|
1496
1494
|
{
|
1497
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1495
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1498
1496
|
req.dataverse_name = dataverse_name;
|
1499
1497
|
req.ignore_if_exists = true;
|
1500
1498
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1502,7 +1500,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1502
1500
|
}
|
1503
1501
|
|
1504
1502
|
{
|
1505
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1503
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1506
1504
|
req.dataset_name = dataset_name;
|
1507
1505
|
req.bucket_name = integration.ctx.bucket;
|
1508
1506
|
req.dataverse_name = dataverse_name;
|
@@ -1511,16 +1509,16 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1511
1509
|
}
|
1512
1510
|
|
1513
1511
|
{
|
1514
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1512
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1515
1513
|
req.dataset_name = dataset_name;
|
1516
1514
|
req.bucket_name = integration.ctx.bucket;
|
1517
1515
|
req.dataverse_name = dataverse_name;
|
1518
1516
|
auto resp = test::utils::execute(integration.cluster, req);
|
1519
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1517
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataset_exists);
|
1520
1518
|
}
|
1521
1519
|
|
1522
1520
|
{
|
1523
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1521
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1524
1522
|
req.dataset_name = dataset_name;
|
1525
1523
|
req.bucket_name = integration.ctx.bucket;
|
1526
1524
|
req.dataverse_name = dataverse_name;
|
@@ -1530,7 +1528,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1530
1528
|
}
|
1531
1529
|
|
1532
1530
|
{
|
1533
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1531
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1534
1532
|
req.dataverse_name = dataverse_name;
|
1535
1533
|
req.dataset_name = dataset_name;
|
1536
1534
|
req.index_name = index_name;
|
@@ -1540,17 +1538,17 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1540
1538
|
}
|
1541
1539
|
|
1542
1540
|
{
|
1543
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1541
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1544
1542
|
req.dataverse_name = dataverse_name;
|
1545
1543
|
req.dataset_name = dataset_name;
|
1546
1544
|
req.index_name = index_name;
|
1547
1545
|
req.fields["testkey"] = "string";
|
1548
1546
|
auto resp = test::utils::execute(integration.cluster, req);
|
1549
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1547
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
1550
1548
|
}
|
1551
1549
|
|
1552
1550
|
{
|
1553
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1551
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1554
1552
|
req.dataverse_name = dataverse_name;
|
1555
1553
|
req.dataset_name = dataset_name;
|
1556
1554
|
req.index_name = index_name;
|
@@ -1561,13 +1559,13 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1561
1559
|
}
|
1562
1560
|
|
1563
1561
|
{
|
1564
|
-
couchbase::operations::management::analytics_link_connect_request req{};
|
1562
|
+
couchbase::core::operations::management::analytics_link_connect_request req{};
|
1565
1563
|
auto resp = test::utils::execute(integration.cluster, req);
|
1566
1564
|
REQUIRE_FALSE(resp.ctx.ec);
|
1567
1565
|
}
|
1568
1566
|
|
1569
1567
|
{
|
1570
|
-
couchbase::operations::management::analytics_dataset_get_all_request req{};
|
1568
|
+
couchbase::core::operations::management::analytics_dataset_get_all_request req{};
|
1571
1569
|
auto resp = test::utils::execute(integration.cluster, req);
|
1572
1570
|
REQUIRE_FALSE(resp.ctx.ec);
|
1573
1571
|
REQUIRE_FALSE(resp.datasets.empty());
|
@@ -1581,7 +1579,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1581
1579
|
}
|
1582
1580
|
|
1583
1581
|
{
|
1584
|
-
couchbase::operations::management::analytics_index_get_all_request req{};
|
1582
|
+
couchbase::core::operations::management::analytics_index_get_all_request req{};
|
1585
1583
|
auto resp = test::utils::execute(integration.cluster, req);
|
1586
1584
|
REQUIRE_FALSE(resp.ctx.ec);
|
1587
1585
|
REQUIRE_FALSE(resp.indexes.empty());
|
@@ -1594,20 +1592,20 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1594
1592
|
}
|
1595
1593
|
|
1596
1594
|
if (integration.cluster_version().supports_analytics_pending_mutations()) {
|
1597
|
-
couchbase::operations::management::analytics_get_pending_mutations_request req{};
|
1595
|
+
couchbase::core::operations::management::analytics_get_pending_mutations_request req{};
|
1598
1596
|
auto resp = test::utils::execute(integration.cluster, req);
|
1599
1597
|
REQUIRE_FALSE(resp.ctx.ec);
|
1600
1598
|
REQUIRE(resp.stats[index_name] == 0);
|
1601
1599
|
}
|
1602
1600
|
|
1603
1601
|
{
|
1604
|
-
couchbase::operations::management::analytics_link_disconnect_request req{};
|
1602
|
+
couchbase::core::operations::management::analytics_link_disconnect_request req{};
|
1605
1603
|
auto resp = test::utils::execute(integration.cluster, req);
|
1606
1604
|
REQUIRE_FALSE(resp.ctx.ec);
|
1607
1605
|
}
|
1608
1606
|
|
1609
1607
|
{
|
1610
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1608
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1611
1609
|
req.index_name = index_name;
|
1612
1610
|
req.dataverse_name = dataverse_name;
|
1613
1611
|
req.dataset_name = dataset_name;
|
@@ -1616,16 +1614,16 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1616
1614
|
}
|
1617
1615
|
|
1618
1616
|
{
|
1619
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1617
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1620
1618
|
req.index_name = index_name;
|
1621
1619
|
req.dataverse_name = dataverse_name;
|
1622
1620
|
req.dataset_name = dataset_name;
|
1623
1621
|
auto resp = test::utils::execute(integration.cluster, req);
|
1624
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1622
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
1625
1623
|
}
|
1626
1624
|
|
1627
1625
|
{
|
1628
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1626
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1629
1627
|
req.index_name = index_name;
|
1630
1628
|
req.dataverse_name = dataverse_name;
|
1631
1629
|
req.dataset_name = dataset_name;
|
@@ -1635,7 +1633,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1635
1633
|
}
|
1636
1634
|
|
1637
1635
|
{
|
1638
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1636
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1639
1637
|
req.dataverse_name = dataverse_name;
|
1640
1638
|
req.dataset_name = dataset_name;
|
1641
1639
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1643,15 +1641,15 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1643
1641
|
}
|
1644
1642
|
|
1645
1643
|
{
|
1646
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1644
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1647
1645
|
req.dataverse_name = dataverse_name;
|
1648
1646
|
req.dataset_name = dataset_name;
|
1649
1647
|
auto resp = test::utils::execute(integration.cluster, req);
|
1650
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1648
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataset_not_found);
|
1651
1649
|
}
|
1652
1650
|
|
1653
1651
|
{
|
1654
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1652
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1655
1653
|
req.dataverse_name = dataverse_name;
|
1656
1654
|
req.dataset_name = dataset_name;
|
1657
1655
|
req.ignore_if_does_not_exist = true;
|
@@ -1660,21 +1658,21 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1660
1658
|
}
|
1661
1659
|
|
1662
1660
|
{
|
1663
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1661
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1664
1662
|
req.dataverse_name = dataverse_name;
|
1665
1663
|
auto resp = test::utils::execute(integration.cluster, req);
|
1666
1664
|
REQUIRE_FALSE(resp.ctx.ec);
|
1667
1665
|
}
|
1668
1666
|
|
1669
1667
|
{
|
1670
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1668
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1671
1669
|
req.dataverse_name = dataverse_name;
|
1672
1670
|
auto resp = test::utils::execute(integration.cluster, req);
|
1673
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1671
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_not_found);
|
1674
1672
|
}
|
1675
1673
|
|
1676
1674
|
{
|
1677
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1675
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1678
1676
|
req.dataverse_name = dataverse_name;
|
1679
1677
|
req.ignore_if_does_not_exist = true;
|
1680
1678
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1690,14 +1688,14 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1690
1688
|
auto index_name = test::utils::uniq_id("index");
|
1691
1689
|
|
1692
1690
|
{
|
1693
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1691
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1694
1692
|
req.dataverse_name = dataverse_name;
|
1695
1693
|
auto resp = test::utils::execute(integration.cluster, req);
|
1696
1694
|
REQUIRE_FALSE(resp.ctx.ec);
|
1697
1695
|
}
|
1698
1696
|
|
1699
1697
|
{
|
1700
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1698
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1701
1699
|
req.bucket_name = integration.ctx.bucket;
|
1702
1700
|
req.dataverse_name = dataverse_name;
|
1703
1701
|
req.dataset_name = dataset_name;
|
@@ -1706,7 +1704,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1706
1704
|
}
|
1707
1705
|
|
1708
1706
|
{
|
1709
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1707
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1710
1708
|
req.dataverse_name = dataverse_name;
|
1711
1709
|
req.dataset_name = dataset_name;
|
1712
1710
|
req.index_name = index_name;
|
@@ -1716,21 +1714,21 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1716
1714
|
}
|
1717
1715
|
|
1718
1716
|
{
|
1719
|
-
couchbase::operations::management::analytics_link_connect_request req{};
|
1717
|
+
couchbase::core::operations::management::analytics_link_connect_request req{};
|
1720
1718
|
req.dataverse_name = dataverse_name;
|
1721
1719
|
auto resp = test::utils::execute(integration.cluster, req);
|
1722
1720
|
REQUIRE_FALSE(resp.ctx.ec);
|
1723
1721
|
}
|
1724
1722
|
|
1725
1723
|
{
|
1726
|
-
couchbase::operations::management::analytics_link_disconnect_request req{};
|
1724
|
+
couchbase::core::operations::management::analytics_link_disconnect_request req{};
|
1727
1725
|
req.dataverse_name = dataverse_name;
|
1728
1726
|
auto resp = test::utils::execute(integration.cluster, req);
|
1729
1727
|
REQUIRE_FALSE(resp.ctx.ec);
|
1730
1728
|
}
|
1731
1729
|
|
1732
1730
|
{
|
1733
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1731
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1734
1732
|
req.dataverse_name = dataverse_name;
|
1735
1733
|
req.dataset_name = dataset_name;
|
1736
1734
|
req.index_name = index_name;
|
@@ -1739,7 +1737,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1739
1737
|
}
|
1740
1738
|
|
1741
1739
|
{
|
1742
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1740
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1743
1741
|
req.dataverse_name = dataverse_name;
|
1744
1742
|
req.dataset_name = dataset_name;
|
1745
1743
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1747,7 +1745,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1747
1745
|
}
|
1748
1746
|
|
1749
1747
|
{
|
1750
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1748
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1751
1749
|
req.dataverse_name = dataverse_name;
|
1752
1750
|
auto resp = test::utils::execute(integration.cluster, req);
|
1753
1751
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1760,42 +1758,44 @@ void
|
|
1760
1758
|
run_s3_link_test(test::utils::integration_test_guard& integration, const std::string& dataverse_name, const std::string& link_name)
|
1761
1759
|
{
|
1762
1760
|
{
|
1763
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1761
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1764
1762
|
req.dataverse_name = dataverse_name;
|
1765
1763
|
auto resp = test::utils::execute(integration.cluster, req);
|
1766
1764
|
REQUIRE_FALSE(resp.ctx.ec);
|
1767
1765
|
}
|
1768
1766
|
|
1769
1767
|
{
|
1770
|
-
couchbase::management::analytics::s3_external_link link{};
|
1768
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
1771
1769
|
link.dataverse = dataverse_name;
|
1772
1770
|
link.access_key_id = "access_key";
|
1773
1771
|
link.secret_access_key = "secret_access_key";
|
1774
1772
|
link.region = "us-east-1";
|
1775
1773
|
link.service_endpoint = "service_endpoint";
|
1776
1774
|
link.link_name = link_name;
|
1777
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
1775
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
1776
|
+
req{};
|
1778
1777
|
req.link = link;
|
1779
1778
|
auto resp = test::utils::execute(integration.cluster, req);
|
1780
1779
|
REQUIRE_FALSE(resp.ctx.ec);
|
1781
1780
|
}
|
1782
1781
|
|
1783
1782
|
{
|
1784
|
-
couchbase::management::analytics::s3_external_link link{};
|
1783
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
1785
1784
|
link.dataverse = dataverse_name;
|
1786
1785
|
link.access_key_id = "access_key";
|
1787
1786
|
link.secret_access_key = "secret_access_key";
|
1788
1787
|
link.region = "us-east-1";
|
1789
1788
|
link.service_endpoint = "service_endpoint";
|
1790
1789
|
link.link_name = link_name;
|
1791
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
1790
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
1791
|
+
req{};
|
1792
1792
|
req.link = link;
|
1793
1793
|
auto resp = test::utils::execute(integration.cluster, req);
|
1794
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1794
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_exists);
|
1795
1795
|
}
|
1796
1796
|
|
1797
1797
|
{
|
1798
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1798
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1799
1799
|
req.dataverse_name = dataverse_name;
|
1800
1800
|
auto resp = test::utils::execute(integration.cluster, req);
|
1801
1801
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1809,7 +1809,7 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
|
|
1809
1809
|
}
|
1810
1810
|
|
1811
1811
|
{
|
1812
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1812
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1813
1813
|
req.link_type = "s3";
|
1814
1814
|
req.dataverse_name = dataverse_name;
|
1815
1815
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1820,7 +1820,7 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
|
|
1820
1820
|
}
|
1821
1821
|
|
1822
1822
|
{
|
1823
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1823
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1824
1824
|
req.link_type = "couchbase";
|
1825
1825
|
req.dataverse_name = dataverse_name;
|
1826
1826
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1831,21 +1831,22 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
|
|
1831
1831
|
}
|
1832
1832
|
|
1833
1833
|
{
|
1834
|
-
couchbase::management::analytics::s3_external_link link{};
|
1834
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
1835
1835
|
link.dataverse = dataverse_name;
|
1836
1836
|
link.access_key_id = "access_key";
|
1837
1837
|
link.secret_access_key = "secret_access_key";
|
1838
1838
|
link.region = "eu-west-1";
|
1839
1839
|
link.service_endpoint = "service_endpoint";
|
1840
1840
|
link.link_name = link_name;
|
1841
|
-
couchbase::operations::management::analytics_link_replace_request<couchbase::management::analytics::s3_external_link>
|
1841
|
+
couchbase::core::operations::management::analytics_link_replace_request<couchbase::core::management::analytics::s3_external_link>
|
1842
|
+
req{};
|
1842
1843
|
req.link = link;
|
1843
1844
|
auto resp = test::utils::execute(integration.cluster, req);
|
1844
1845
|
REQUIRE_FALSE(resp.ctx.ec);
|
1845
1846
|
}
|
1846
1847
|
|
1847
1848
|
{
|
1848
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1849
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1849
1850
|
req.dataverse_name = dataverse_name;
|
1850
1851
|
auto resp = test::utils::execute(integration.cluster, req);
|
1851
1852
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1854,7 +1855,7 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
|
|
1854
1855
|
}
|
1855
1856
|
|
1856
1857
|
{
|
1857
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1858
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1858
1859
|
req.dataverse_name = dataverse_name;
|
1859
1860
|
req.link_name = link_name;
|
1860
1861
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1862,11 +1863,11 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
|
|
1862
1863
|
}
|
1863
1864
|
|
1864
1865
|
{
|
1865
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1866
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1866
1867
|
req.dataverse_name = dataverse_name;
|
1867
1868
|
req.link_name = link_name;
|
1868
1869
|
auto resp = test::utils::execute(integration.cluster, req);
|
1869
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1870
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_not_found);
|
1870
1871
|
}
|
1871
1872
|
}
|
1872
1873
|
|
@@ -1874,40 +1875,44 @@ void
|
|
1874
1875
|
run_azure_link_test(test::utils::integration_test_guard& integration, const std::string& dataverse_name, const std::string& link_name)
|
1875
1876
|
{
|
1876
1877
|
{
|
1877
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1878
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1878
1879
|
req.dataverse_name = dataverse_name;
|
1879
1880
|
auto resp = test::utils::execute(integration.cluster, req);
|
1880
1881
|
REQUIRE_FALSE(resp.ctx.ec);
|
1881
1882
|
}
|
1882
1883
|
|
1883
1884
|
{
|
1884
|
-
couchbase::management::analytics::azure_blob_external_link link{};
|
1885
|
+
couchbase::core::management::analytics::azure_blob_external_link link{};
|
1885
1886
|
link.dataverse = dataverse_name;
|
1886
1887
|
link.connection_string = "connection_string";
|
1887
1888
|
link.blob_endpoint = "blob_endpoint";
|
1888
1889
|
link.endpoint_suffix = "endpoint_suffix";
|
1889
1890
|
link.link_name = link_name;
|
1890
|
-
couchbase::operations::management::analytics_link_create_request<
|
1891
|
+
couchbase::core::operations::management::analytics_link_create_request<
|
1892
|
+
couchbase::core::management::analytics::azure_blob_external_link>
|
1893
|
+
req{};
|
1891
1894
|
req.link = link;
|
1892
1895
|
auto resp = test::utils::execute(integration.cluster, req);
|
1893
1896
|
REQUIRE_FALSE(resp.ctx.ec);
|
1894
1897
|
}
|
1895
1898
|
|
1896
1899
|
{
|
1897
|
-
couchbase::management::analytics::azure_blob_external_link link{};
|
1900
|
+
couchbase::core::management::analytics::azure_blob_external_link link{};
|
1898
1901
|
link.dataverse = dataverse_name;
|
1899
1902
|
link.connection_string = "connection_string";
|
1900
1903
|
link.blob_endpoint = "blob_endpoint";
|
1901
1904
|
link.endpoint_suffix = "endpoint_suffix";
|
1902
1905
|
link.link_name = link_name;
|
1903
|
-
couchbase::operations::management::analytics_link_create_request<
|
1906
|
+
couchbase::core::operations::management::analytics_link_create_request<
|
1907
|
+
couchbase::core::management::analytics::azure_blob_external_link>
|
1908
|
+
req{};
|
1904
1909
|
req.link = link;
|
1905
1910
|
auto resp = test::utils::execute(integration.cluster, req);
|
1906
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1911
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_exists);
|
1907
1912
|
}
|
1908
1913
|
|
1909
1914
|
{
|
1910
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1915
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1911
1916
|
req.dataverse_name = dataverse_name;
|
1912
1917
|
auto resp = test::utils::execute(integration.cluster, req);
|
1913
1918
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1923,7 +1928,7 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
|
|
1923
1928
|
}
|
1924
1929
|
|
1925
1930
|
{
|
1926
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1931
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1927
1932
|
req.link_type = "azureblob";
|
1928
1933
|
req.dataverse_name = dataverse_name;
|
1929
1934
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1934,7 +1939,7 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
|
|
1934
1939
|
}
|
1935
1940
|
|
1936
1941
|
{
|
1937
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1942
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1938
1943
|
req.link_type = "couchbase";
|
1939
1944
|
req.dataverse_name = dataverse_name;
|
1940
1945
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1945,20 +1950,22 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
|
|
1945
1950
|
}
|
1946
1951
|
|
1947
1952
|
{
|
1948
|
-
couchbase::management::analytics::azure_blob_external_link link{};
|
1953
|
+
couchbase::core::management::analytics::azure_blob_external_link link{};
|
1949
1954
|
link.dataverse = dataverse_name;
|
1950
1955
|
link.connection_string = "connection_string";
|
1951
1956
|
link.blob_endpoint = "new_blob_endpoint";
|
1952
1957
|
link.endpoint_suffix = "endpoint_suffix";
|
1953
1958
|
link.link_name = link_name;
|
1954
|
-
couchbase::operations::management::analytics_link_replace_request<
|
1959
|
+
couchbase::core::operations::management::analytics_link_replace_request<
|
1960
|
+
couchbase::core::management::analytics::azure_blob_external_link>
|
1961
|
+
req{};
|
1955
1962
|
req.link = link;
|
1956
1963
|
auto resp = test::utils::execute(integration.cluster, req);
|
1957
1964
|
REQUIRE_FALSE(resp.ctx.ec);
|
1958
1965
|
}
|
1959
1966
|
|
1960
1967
|
{
|
1961
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1968
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1962
1969
|
req.dataverse_name = dataverse_name;
|
1963
1970
|
auto resp = test::utils::execute(integration.cluster, req);
|
1964
1971
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -1967,7 +1974,7 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
|
|
1967
1974
|
}
|
1968
1975
|
|
1969
1976
|
{
|
1970
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1977
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1971
1978
|
req.dataverse_name = dataverse_name;
|
1972
1979
|
req.link_name = link_name;
|
1973
1980
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -1975,11 +1982,11 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
|
|
1975
1982
|
}
|
1976
1983
|
|
1977
1984
|
{
|
1978
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1985
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1979
1986
|
req.dataverse_name = dataverse_name;
|
1980
1987
|
req.link_name = link_name;
|
1981
1988
|
auto resp = test::utils::execute(integration.cluster, req);
|
1982
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1989
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_not_found);
|
1983
1990
|
}
|
1984
1991
|
}
|
1985
1992
|
|
@@ -1992,7 +1999,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
1992
1999
|
}
|
1993
2000
|
|
1994
2001
|
// MB-47718
|
1995
|
-
if (integration.storage_backend() == couchbase::management::cluster::bucket_storage_backend::magma) {
|
2002
|
+
if (integration.storage_backend() == couchbase::core::management::cluster::bucket_storage_backend::magma) {
|
1996
2003
|
return;
|
1997
2004
|
}
|
1998
2005
|
|
@@ -2007,7 +2014,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
2007
2014
|
|
2008
2015
|
SECTION("missing dataverse")
|
2009
2016
|
{
|
2010
|
-
couchbase::management::analytics::s3_external_link link{};
|
2017
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
2011
2018
|
link.dataverse = "missing_dataverse";
|
2012
2019
|
link.access_key_id = "access_key";
|
2013
2020
|
link.secret_access_key = "secret_access_key";
|
@@ -2016,19 +2023,21 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
2016
2023
|
link.link_name = link_name;
|
2017
2024
|
|
2018
2025
|
{
|
2019
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
2026
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
2027
|
+
req{};
|
2020
2028
|
req.link = link;
|
2021
2029
|
auto resp = test::utils::execute(integration.cluster, req);
|
2022
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2030
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_not_found);
|
2023
2031
|
}
|
2024
2032
|
}
|
2025
2033
|
|
2026
2034
|
SECTION("missing argument")
|
2027
2035
|
{
|
2028
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
2029
|
-
|
2036
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
2037
|
+
req{};
|
2038
|
+
req.link = couchbase::core::management::analytics::s3_external_link{};
|
2030
2039
|
auto resp = test::utils::execute(integration.cluster, req);
|
2031
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2040
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
|
2032
2041
|
}
|
2033
2042
|
|
2034
2043
|
SECTION("link crud")
|
@@ -2054,7 +2063,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
2054
2063
|
auto scope_name = test::utils::uniq_id("scope");
|
2055
2064
|
|
2056
2065
|
{
|
2057
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
2066
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
2058
2067
|
auto resp = test::utils::execute(integration.cluster, req);
|
2059
2068
|
REQUIRE_FALSE(resp.ctx.ec);
|
2060
2069
|
auto created =
|
@@ -2089,63 +2098,68 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2089
2098
|
|
2090
2099
|
SECTION("search indexes crud")
|
2091
2100
|
{
|
2092
|
-
auto index1_name = test::utils::uniq_id("
|
2093
|
-
auto index2_name = test::utils::uniq_id("
|
2101
|
+
auto index1_name = test::utils::uniq_id("index1");
|
2102
|
+
auto index2_name = test::utils::uniq_id("index2");
|
2094
2103
|
auto alias_name = test::utils::uniq_id("alias");
|
2095
2104
|
|
2096
2105
|
{
|
2097
|
-
couchbase::management::search::index index;
|
2106
|
+
couchbase::core::management::search::index index;
|
2098
2107
|
index.name = index1_name;
|
2099
2108
|
index.type = "fulltext-index";
|
2100
2109
|
index.source_type = "couchbase";
|
2101
2110
|
index.source_name = integration.ctx.bucket;
|
2102
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2111
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2103
2112
|
req.index = index;
|
2104
2113
|
auto resp = test::utils::execute(integration.cluster, req);
|
2105
2114
|
REQUIRE_FALSE(resp.ctx.ec);
|
2106
2115
|
}
|
2107
2116
|
|
2108
2117
|
{
|
2109
|
-
couchbase::management::search::index index;
|
2118
|
+
couchbase::core::management::search::index index;
|
2110
2119
|
index.name = index1_name;
|
2111
2120
|
index.type = "fulltext-index";
|
2112
2121
|
index.source_type = "couchbase";
|
2113
2122
|
index.source_name = integration.ctx.bucket;
|
2114
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2123
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2115
2124
|
req.index = index;
|
2116
2125
|
auto resp = test::utils::execute(integration.cluster, req);
|
2117
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2126
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
2118
2127
|
}
|
2119
2128
|
|
2120
2129
|
{
|
2121
|
-
couchbase::management::search::index index;
|
2130
|
+
couchbase::core::management::search::index index;
|
2122
2131
|
index.name = index2_name;
|
2123
2132
|
index.type = "fulltext-index";
|
2124
2133
|
index.source_type = "couchbase";
|
2125
2134
|
index.source_name = integration.ctx.bucket;
|
2126
2135
|
index.plan_params_json = R"({ "indexPartition": 3 })";
|
2127
2136
|
index.params_json = R"({ "store": { "indexType": "upside_down", "kvStoreName": "moss" }})";
|
2128
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2137
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2129
2138
|
req.index = index;
|
2130
2139
|
auto resp = test::utils::execute(integration.cluster, req);
|
2131
2140
|
REQUIRE_FALSE(resp.ctx.ec);
|
2141
|
+
if (resp.name != index2_name) {
|
2142
|
+
// FIXME: server 7.2 might automatically prepend "{scope}.{collection}." in front of the index name
|
2143
|
+
// to workaround it, we "patch" our variable with the name returned by the server
|
2144
|
+
index2_name = resp.name;
|
2145
|
+
}
|
2132
2146
|
}
|
2133
2147
|
|
2134
2148
|
{
|
2135
|
-
couchbase::management::search::index index;
|
2149
|
+
couchbase::core::management::search::index index;
|
2136
2150
|
index.name = alias_name;
|
2137
2151
|
index.type = "fulltext-alias";
|
2138
2152
|
index.source_type = "nil";
|
2139
|
-
index.params_json = couchbase::utils::json::generate(
|
2153
|
+
index.params_json = couchbase::core::utils::json::generate(
|
2140
2154
|
tao::json::value{ { "targets", { { index1_name, tao::json::empty_object }, { index2_name, tao::json::empty_object } } } });
|
2141
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2155
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2142
2156
|
req.index = index;
|
2143
2157
|
auto resp = test::utils::execute(integration.cluster, req);
|
2144
2158
|
REQUIRE_FALSE(resp.ctx.ec);
|
2145
2159
|
}
|
2146
2160
|
|
2147
2161
|
{
|
2148
|
-
couchbase::operations::management::search_index_get_request req{};
|
2162
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2149
2163
|
req.index_name = index1_name;
|
2150
2164
|
auto resp = test::utils::execute(integration.cluster, req);
|
2151
2165
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -2154,56 +2168,81 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2154
2168
|
}
|
2155
2169
|
|
2156
2170
|
{
|
2157
|
-
couchbase::operations::management::search_index_get_request req{};
|
2171
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2172
|
+
req.index_name = index2_name;
|
2173
|
+
auto resp = test::utils::execute(integration.cluster, req);
|
2174
|
+
REQUIRE_FALSE(resp.ctx.ec);
|
2175
|
+
REQUIRE(resp.index.name == index2_name);
|
2176
|
+
REQUIRE(resp.index.type == "fulltext-index");
|
2177
|
+
}
|
2178
|
+
|
2179
|
+
{
|
2180
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2181
|
+
req.index_name = alias_name;
|
2182
|
+
auto resp = test::utils::execute(integration.cluster, req);
|
2183
|
+
REQUIRE_FALSE(resp.ctx.ec);
|
2184
|
+
REQUIRE(resp.index.name == alias_name);
|
2185
|
+
REQUIRE(resp.index.type == "fulltext-alias");
|
2186
|
+
}
|
2187
|
+
|
2188
|
+
{
|
2189
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2158
2190
|
req.index_name = "missing_index";
|
2159
2191
|
auto resp = test::utils::execute(integration.cluster, req);
|
2160
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2192
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
2161
2193
|
}
|
2162
2194
|
|
2163
2195
|
{
|
2164
|
-
couchbase::operations::management::search_index_get_all_request req{};
|
2196
|
+
couchbase::core::operations::management::search_index_get_all_request req{};
|
2165
2197
|
auto resp = test::utils::execute(integration.cluster, req);
|
2166
2198
|
REQUIRE_FALSE(resp.ctx.ec);
|
2167
2199
|
REQUIRE_FALSE(resp.indexes.empty());
|
2200
|
+
|
2201
|
+
REQUIRE(1 == std::count_if(
|
2202
|
+
resp.indexes.begin(), resp.indexes.end(), [&index1_name](const auto& i) { return i.name == index1_name; }));
|
2203
|
+
REQUIRE(1 == std::count_if(
|
2204
|
+
resp.indexes.begin(), resp.indexes.end(), [&index2_name](const auto& i) { return i.name == index2_name; }));
|
2205
|
+
REQUIRE(1 ==
|
2206
|
+
std::count_if(resp.indexes.begin(), resp.indexes.end(), [&alias_name](const auto& i) { return i.name == alias_name; }));
|
2168
2207
|
}
|
2169
2208
|
|
2170
2209
|
{
|
2171
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2210
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2172
2211
|
req.index_name = index1_name;
|
2173
2212
|
auto resp = test::utils::execute(integration.cluster, req);
|
2174
2213
|
REQUIRE_FALSE(resp.ctx.ec);
|
2175
2214
|
}
|
2176
2215
|
|
2177
2216
|
{
|
2178
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2217
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2179
2218
|
req.index_name = index2_name;
|
2180
2219
|
auto resp = test::utils::execute(integration.cluster, req);
|
2181
2220
|
REQUIRE_FALSE(resp.ctx.ec);
|
2182
2221
|
}
|
2183
2222
|
|
2184
2223
|
{
|
2185
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2224
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2186
2225
|
req.index_name = alias_name;
|
2187
2226
|
auto resp = test::utils::execute(integration.cluster, req);
|
2188
2227
|
REQUIRE_FALSE(resp.ctx.ec);
|
2189
2228
|
}
|
2190
2229
|
|
2191
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2230
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2192
2231
|
req.index_name = "missing_index";
|
2193
2232
|
auto resp = test::utils::execute(integration.cluster, req);
|
2194
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2233
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
2195
2234
|
}
|
2196
2235
|
|
2197
2236
|
SECTION("upsert index no name")
|
2198
2237
|
{
|
2199
|
-
couchbase::management::search::index index;
|
2238
|
+
couchbase::core::management::search::index index;
|
2200
2239
|
index.type = "fulltext-index";
|
2201
2240
|
index.source_type = "couchbase";
|
2202
2241
|
index.source_name = integration.ctx.bucket;
|
2203
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2242
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2204
2243
|
req.index = index;
|
2205
2244
|
auto resp = test::utils::execute(integration.cluster, req);
|
2206
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2245
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
|
2207
2246
|
}
|
2208
2247
|
|
2209
2248
|
SECTION("control")
|
@@ -2211,12 +2250,12 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2211
2250
|
auto index_name = test::utils::uniq_id("index");
|
2212
2251
|
|
2213
2252
|
{
|
2214
|
-
couchbase::management::search::index index;
|
2253
|
+
couchbase::core::management::search::index index;
|
2215
2254
|
index.name = index_name;
|
2216
2255
|
index.type = "fulltext-index";
|
2217
2256
|
index.source_type = "couchbase";
|
2218
2257
|
index.source_name = integration.ctx.bucket;
|
2219
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2258
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2220
2259
|
req.index = index;
|
2221
2260
|
auto resp = test::utils::execute(integration.cluster, req);
|
2222
2261
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -2225,7 +2264,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2225
2264
|
SECTION("ingest control")
|
2226
2265
|
{
|
2227
2266
|
{
|
2228
|
-
couchbase::operations::management::search_index_control_ingest_request req{};
|
2267
|
+
couchbase::core::operations::management::search_index_control_ingest_request req{};
|
2229
2268
|
req.index_name = index_name;
|
2230
2269
|
req.pause = true;
|
2231
2270
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2233,7 +2272,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2233
2272
|
}
|
2234
2273
|
|
2235
2274
|
{
|
2236
|
-
couchbase::operations::management::search_index_control_ingest_request req{};
|
2275
|
+
couchbase::core::operations::management::search_index_control_ingest_request req{};
|
2237
2276
|
req.index_name = index_name;
|
2238
2277
|
req.pause = false;
|
2239
2278
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2244,7 +2283,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2244
2283
|
SECTION("query control")
|
2245
2284
|
{
|
2246
2285
|
{
|
2247
|
-
couchbase::operations::management::search_index_control_query_request req{};
|
2286
|
+
couchbase::core::operations::management::search_index_control_query_request req{};
|
2248
2287
|
req.index_name = index_name;
|
2249
2288
|
req.allow = true;
|
2250
2289
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2252,7 +2291,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2252
2291
|
}
|
2253
2292
|
|
2254
2293
|
{
|
2255
|
-
couchbase::operations::management::search_index_control_query_request req{};
|
2294
|
+
couchbase::core::operations::management::search_index_control_query_request req{};
|
2256
2295
|
req.index_name = index_name;
|
2257
2296
|
req.allow = false;
|
2258
2297
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2263,7 +2302,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2263
2302
|
SECTION("partition control")
|
2264
2303
|
{
|
2265
2304
|
{
|
2266
|
-
couchbase::operations::management::search_index_control_plan_freeze_request req{};
|
2305
|
+
couchbase::core::operations::management::search_index_control_plan_freeze_request req{};
|
2267
2306
|
req.index_name = index_name;
|
2268
2307
|
req.freeze = true;
|
2269
2308
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2271,7 +2310,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2271
2310
|
}
|
2272
2311
|
|
2273
2312
|
{
|
2274
|
-
couchbase::operations::management::search_index_control_plan_freeze_request req{};
|
2313
|
+
couchbase::core::operations::management::search_index_control_plan_freeze_request req{};
|
2275
2314
|
req.index_name = index_name;
|
2276
2315
|
req.freeze = false;
|
2277
2316
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2279,7 +2318,7 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2279
2318
|
}
|
2280
2319
|
}
|
2281
2320
|
|
2282
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2321
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2283
2322
|
req.index_name = index_name;
|
2284
2323
|
auto resp = test::utils::execute(integration.cluster, req);
|
2285
2324
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -2291,12 +2330,12 @@ wait_for_search_pindexes_ready(test::utils::integration_test_guard& integration,
|
|
2291
2330
|
{
|
2292
2331
|
return test::utils::wait_until(
|
2293
2332
|
[&integration, &index_name]() {
|
2294
|
-
couchbase::operations::management::search_index_stats_request req{};
|
2333
|
+
couchbase::core::operations::management::search_index_stats_request req{};
|
2295
2334
|
auto resp = test::utils::execute(integration.cluster, req);
|
2296
2335
|
if (resp.ctx.ec || resp.stats.empty()) {
|
2297
2336
|
return false;
|
2298
2337
|
}
|
2299
|
-
auto stats = couchbase::utils::json::parse(resp.stats);
|
2338
|
+
auto stats = couchbase::core::utils::json::parse(resp.stats);
|
2300
2339
|
const auto* num_pindexes_actual = stats.find(fmt::format("{}:{}:num_pindexes_actual", integration.ctx.bucket, index_name));
|
2301
2340
|
if (num_pindexes_actual == nullptr || !num_pindexes_actual->is_number()) {
|
2302
2341
|
return false;
|
@@ -2321,12 +2360,12 @@ TEST_CASE("integration: search index management analyze document", "[integration
|
|
2321
2360
|
auto index_name = test::utils::uniq_id("index");
|
2322
2361
|
|
2323
2362
|
{
|
2324
|
-
couchbase::management::search::index index;
|
2363
|
+
couchbase::core::management::search::index index;
|
2325
2364
|
index.name = index_name;
|
2326
2365
|
index.type = "fulltext-index";
|
2327
2366
|
index.source_type = "couchbase";
|
2328
2367
|
index.source_name = integration.ctx.bucket;
|
2329
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2368
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2330
2369
|
req.index = index;
|
2331
2370
|
auto resp = test::utils::execute(integration.cluster, req);
|
2332
2371
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -2334,13 +2373,13 @@ TEST_CASE("integration: search index management analyze document", "[integration
|
|
2334
2373
|
|
2335
2374
|
REQUIRE(wait_for_search_pindexes_ready(integration, index_name));
|
2336
2375
|
|
2337
|
-
couchbase::operations::management::search_index_analyze_document_response resp;
|
2376
|
+
couchbase::core::operations::management::search_index_analyze_document_response resp;
|
2338
2377
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
|
2339
|
-
couchbase::operations::management::search_index_analyze_document_request req{};
|
2378
|
+
couchbase::core::operations::management::search_index_analyze_document_request req{};
|
2340
2379
|
req.index_name = index_name;
|
2341
2380
|
req.encoded_document = R"({ "name": "hello world" })";
|
2342
2381
|
resp = test::utils::execute(integration.cluster, req);
|
2343
|
-
return resp.ctx.ec != couchbase::
|
2382
|
+
return resp.ctx.ec != couchbase::errc::common::internal_server_failure;
|
2344
2383
|
});
|
2345
2384
|
REQUIRE(operation_completed);
|
2346
2385
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -2357,17 +2396,17 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2357
2396
|
|
2358
2397
|
SECTION("key_value")
|
2359
2398
|
{
|
2360
|
-
couchbase::operations::management::freeform_request req{};
|
2361
|
-
req.type = couchbase::service_type::key_value;
|
2399
|
+
couchbase::core::operations::management::freeform_request req{};
|
2400
|
+
req.type = couchbase::core::service_type::key_value;
|
2362
2401
|
auto resp = test::utils::execute(integration.cluster, req);
|
2363
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2402
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
|
2364
2403
|
}
|
2365
2404
|
|
2366
2405
|
if (integration.cluster_version().supports_analytics() && integration.has_analytics_service()) {
|
2367
2406
|
SECTION("analytics")
|
2368
2407
|
{
|
2369
|
-
couchbase::operations::management::freeform_request req{};
|
2370
|
-
req.type = couchbase::service_type::analytics;
|
2408
|
+
couchbase::core::operations::management::freeform_request req{};
|
2409
|
+
req.type = couchbase::core::service_type::analytics;
|
2371
2410
|
req.method = "GET";
|
2372
2411
|
req.path = "/admin/ping";
|
2373
2412
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2375,15 +2414,15 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2375
2414
|
REQUIRE(resp.status == 200);
|
2376
2415
|
REQUIRE_FALSE(resp.body.empty());
|
2377
2416
|
INFO(resp.body)
|
2378
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2417
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2379
2418
|
REQUIRE(result.is_object());
|
2380
2419
|
}
|
2381
2420
|
}
|
2382
2421
|
|
2383
2422
|
SECTION("search")
|
2384
2423
|
{
|
2385
|
-
couchbase::operations::management::freeform_request req{};
|
2386
|
-
req.type = couchbase::service_type::search;
|
2424
|
+
couchbase::core::operations::management::freeform_request req{};
|
2425
|
+
req.type = couchbase::core::service_type::search;
|
2387
2426
|
req.method = "GET";
|
2388
2427
|
req.path = "/api/ping";
|
2389
2428
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2396,8 +2435,8 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2396
2435
|
|
2397
2436
|
SECTION("query")
|
2398
2437
|
{
|
2399
|
-
couchbase::operations::management::freeform_request req{};
|
2400
|
-
req.type = couchbase::service_type::query;
|
2438
|
+
couchbase::core::operations::management::freeform_request req{};
|
2439
|
+
req.type = couchbase::core::service_type::query;
|
2401
2440
|
req.method = "GET";
|
2402
2441
|
req.path = "/admin/ping";
|
2403
2442
|
auto resp = test::utils::execute(integration.cluster, req);
|
@@ -2405,7 +2444,7 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2405
2444
|
REQUIRE(resp.status == 200);
|
2406
2445
|
REQUIRE_FALSE(resp.body.empty());
|
2407
2446
|
INFO(resp.body)
|
2408
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2447
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2409
2448
|
REQUIRE(result.is_object());
|
2410
2449
|
}
|
2411
2450
|
|
@@ -2415,8 +2454,8 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2415
2454
|
auto document_name = test::utils::uniq_id("design_document");
|
2416
2455
|
auto view_name = test::utils::uniq_id("view");
|
2417
2456
|
|
2418
|
-
couchbase::operations::management::freeform_request req{};
|
2419
|
-
req.type = couchbase::service_type::view;
|
2457
|
+
couchbase::core::operations::management::freeform_request req{};
|
2458
|
+
req.type = couchbase::core::service_type::view;
|
2420
2459
|
req.method = "POST";
|
2421
2460
|
req.path = fmt::format("/{}/_design/{}/_view/{}", integration.ctx.bucket, document_name, view_name);
|
2422
2461
|
req.body = R"({"keys":["foo","bar"]})";
|
@@ -2424,7 +2463,7 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2424
2463
|
REQUIRE_FALSE(resp.ctx.ec);
|
2425
2464
|
REQUIRE(resp.status == 404);
|
2426
2465
|
REQUIRE_FALSE(resp.body.empty());
|
2427
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2466
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2428
2467
|
INFO(resp.body)
|
2429
2468
|
REQUIRE(result["error"].get_string() == "not_found");
|
2430
2469
|
}
|
@@ -2432,15 +2471,15 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2432
2471
|
|
2433
2472
|
SECTION("management")
|
2434
2473
|
{
|
2435
|
-
couchbase::operations::management::freeform_request req{};
|
2436
|
-
req.type = couchbase::service_type::management;
|
2474
|
+
couchbase::core::operations::management::freeform_request req{};
|
2475
|
+
req.type = couchbase::core::service_type::management;
|
2437
2476
|
req.method = "GET";
|
2438
2477
|
req.path = "/pools";
|
2439
2478
|
auto resp = test::utils::execute(integration.cluster, req);
|
2440
2479
|
REQUIRE_FALSE(resp.ctx.ec);
|
2441
2480
|
REQUIRE(resp.status == 200);
|
2442
2481
|
REQUIRE_FALSE(resp.body.empty());
|
2443
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2482
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2444
2483
|
INFO(resp.body)
|
2445
2484
|
REQUIRE(result.find("uuid") != nullptr);
|
2446
2485
|
}
|
@@ -2450,18 +2489,18 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2450
2489
|
{
|
2451
2490
|
auto scope_name = test::utils::uniq_id("freeform_scope");
|
2452
2491
|
|
2453
|
-
couchbase::operations::management::freeform_request req{};
|
2454
|
-
req.type = couchbase::service_type::management;
|
2492
|
+
couchbase::core::operations::management::freeform_request req{};
|
2493
|
+
req.type = couchbase::core::service_type::management;
|
2455
2494
|
req.method = "POST";
|
2456
2495
|
req.path = fmt::format("/pools/default/buckets/{}/scopes", integration.ctx.bucket);
|
2457
2496
|
req.headers["content-type"] = "application/x-www-form-urlencoded";
|
2458
|
-
req.body = fmt::format("name={}", couchbase::utils::string_codec::form_encode(scope_name));
|
2497
|
+
req.body = fmt::format("name={}", couchbase::core::utils::string_codec::form_encode(scope_name));
|
2459
2498
|
auto resp = test::utils::execute(integration.cluster, req);
|
2460
2499
|
REQUIRE_FALSE(resp.ctx.ec);
|
2461
2500
|
REQUIRE(resp.status == 200);
|
2462
2501
|
REQUIRE_FALSE(resp.headers.empty());
|
2463
2502
|
REQUIRE(resp.headers["content-type"].find("application/json") != std::string::npos);
|
2464
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2503
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2465
2504
|
REQUIRE(result.is_object());
|
2466
2505
|
REQUIRE(result.find("uid") != nullptr);
|
2467
2506
|
}
|
@@ -2471,27 +2510,27 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2471
2510
|
SECTION("eventing")
|
2472
2511
|
{
|
2473
2512
|
|
2474
|
-
couchbase::operations::management::freeform_request req{};
|
2475
|
-
req.type = couchbase::service_type::eventing;
|
2513
|
+
couchbase::core::operations::management::freeform_request req{};
|
2514
|
+
req.type = couchbase::core::service_type::eventing;
|
2476
2515
|
req.method = "GET";
|
2477
2516
|
req.path = "/api/v1/functions";
|
2478
2517
|
auto resp = test::utils::execute(integration.cluster, req);
|
2479
2518
|
REQUIRE_FALSE(resp.ctx.ec);
|
2480
2519
|
REQUIRE(resp.status == 200);
|
2481
2520
|
REQUIRE_FALSE(resp.body.empty());
|
2482
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2521
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2483
2522
|
INFO(resp.body)
|
2484
2523
|
REQUIRE(result.is_array());
|
2485
2524
|
}
|
2486
2525
|
}
|
2487
2526
|
}
|
2488
2527
|
|
2489
|
-
static couchbase::operations::management::eventing_get_function_response
|
2528
|
+
static couchbase::core::operations::management::eventing_get_function_response
|
2490
2529
|
wait_for_function_created(test::utils::integration_test_guard& integration, const std::string& function_name)
|
2491
2530
|
{
|
2492
|
-
couchbase::operations::management::eventing_get_function_response resp{};
|
2531
|
+
couchbase::core::operations::management::eventing_get_function_response resp{};
|
2493
2532
|
test::utils::wait_until([&integration, &resp, function_name]() {
|
2494
|
-
couchbase::operations::management::eventing_get_function_request req{ function_name };
|
2533
|
+
couchbase::core::operations::management::eventing_get_function_request req{ function_name };
|
2495
2534
|
resp = test::utils::execute(integration.cluster, req);
|
2496
2535
|
return !resp.ctx.ec;
|
2497
2536
|
});
|
@@ -2501,11 +2540,11 @@ wait_for_function_created(test::utils::integration_test_guard& integration, cons
|
|
2501
2540
|
static bool
|
2502
2541
|
wait_for_function_reach_status(test::utils::integration_test_guard& integration,
|
2503
2542
|
const std::string& function_name,
|
2504
|
-
couchbase::management::eventing::function_status status)
|
2543
|
+
couchbase::core::management::eventing::function_status status)
|
2505
2544
|
{
|
2506
2545
|
return test::utils::wait_until(
|
2507
2546
|
[&integration, function_name, status]() {
|
2508
|
-
couchbase::operations::management::eventing_get_status_request req{};
|
2547
|
+
couchbase::core::operations::management::eventing_get_status_request req{};
|
2509
2548
|
auto resp = test::utils::execute(integration.cluster, req);
|
2510
2549
|
if (resp.ctx.ec) {
|
2511
2550
|
return false;
|
@@ -2538,30 +2577,30 @@ TEST_CASE("integration: eventing functions management", "[integration]")
|
|
2538
2577
|
auto function_name = test::utils::uniq_id("name");
|
2539
2578
|
|
2540
2579
|
{
|
2541
|
-
couchbase::operations::management::eventing_drop_function_request req{ function_name };
|
2580
|
+
couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
|
2542
2581
|
auto resp = test::utils::execute(integration.cluster, req);
|
2543
2582
|
if (integration.cluster_version().is_cheshire_cat()) {
|
2544
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2583
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_deployed);
|
2545
2584
|
} else {
|
2546
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2585
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
|
2547
2586
|
}
|
2548
2587
|
}
|
2549
2588
|
|
2550
2589
|
{
|
2551
|
-
couchbase::operations::management::eventing_get_function_request req{ function_name };
|
2590
|
+
couchbase::core::operations::management::eventing_get_function_request req{ function_name };
|
2552
2591
|
auto resp = test::utils::execute(integration.cluster, req);
|
2553
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2592
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
|
2554
2593
|
}
|
2555
2594
|
|
2556
2595
|
auto meta_bucket_name = test::utils::uniq_id("meta");
|
2557
2596
|
{
|
2558
2597
|
|
2559
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
2598
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
2560
2599
|
bucket_settings.name = meta_bucket_name;
|
2561
2600
|
bucket_settings.ram_quota_mb = 256;
|
2562
2601
|
|
2563
2602
|
{
|
2564
|
-
couchbase::operations::management::bucket_create_request req;
|
2603
|
+
couchbase::core::operations::management::bucket_create_request req;
|
2565
2604
|
req.bucket = bucket_settings;
|
2566
2605
|
auto resp = test::utils::execute(integration.cluster, req);
|
2567
2606
|
REQUIRE_FALSE(resp.ctx.ec);
|
@@ -2584,17 +2623,17 @@ function OnDelete(meta, options) {
|
|
2584
2623
|
)";
|
2585
2624
|
|
2586
2625
|
{
|
2587
|
-
couchbase::operations::management::eventing_upsert_function_request req{};
|
2626
|
+
couchbase::core::operations::management::eventing_upsert_function_request req{};
|
2588
2627
|
req.function.source_keyspace.bucket = integration.ctx.bucket;
|
2589
2628
|
req.function.metadata_keyspace.bucket = meta_bucket_name;
|
2590
2629
|
req.function.name = function_name;
|
2591
2630
|
req.function.code = source_code;
|
2592
2631
|
req.function.settings.handler_headers = { "// generated by Couchbase C++ SDK" };
|
2593
|
-
req.function.constant_bindings.emplace_back(couchbase::management::eventing::function_constant_binding{ "PI", "3.14" });
|
2594
|
-
req.function.bucket_bindings.emplace_back(couchbase::management::eventing::function_bucket_binding{
|
2595
|
-
"data", { integration.ctx.bucket }, couchbase::management::eventing::function_bucket_access::read_write });
|
2632
|
+
req.function.constant_bindings.emplace_back(couchbase::core::management::eventing::function_constant_binding{ "PI", "3.14" });
|
2633
|
+
req.function.bucket_bindings.emplace_back(couchbase::core::management::eventing::function_bucket_binding{
|
2634
|
+
"data", { integration.ctx.bucket }, couchbase::core::management::eventing::function_bucket_access::read_write });
|
2596
2635
|
req.function.url_bindings.emplace_back(
|
2597
|
-
couchbase::management::eventing::function_url_binding{ "home", "https://couchbase.com" });
|
2636
|
+
couchbase::core::management::eventing::function_url_binding{ "home", "https://couchbase.com" });
|
2598
2637
|
auto resp = test::utils::execute(integration.cluster, req);
|
2599
2638
|
REQUIRE_FALSE(resp.ctx.ec);
|
2600
2639
|
}
|
@@ -2605,7 +2644,7 @@ function OnDelete(meta, options) {
|
|
2605
2644
|
}
|
2606
2645
|
|
2607
2646
|
{
|
2608
|
-
couchbase::operations::management::eventing_get_all_functions_request req{};
|
2647
|
+
couchbase::core::operations::management::eventing_get_all_functions_request req{};
|
2609
2648
|
auto resp = test::utils::execute(integration.cluster, req);
|
2610
2649
|
REQUIRE_FALSE(resp.ctx.ec);
|
2611
2650
|
auto function = std::find_if(
|
@@ -2614,8 +2653,8 @@ function OnDelete(meta, options) {
|
|
2614
2653
|
REQUIRE(function->code == source_code);
|
2615
2654
|
REQUIRE(function->source_keyspace.bucket == integration.ctx.bucket);
|
2616
2655
|
REQUIRE(function->metadata_keyspace.bucket == meta_bucket_name);
|
2617
|
-
REQUIRE(function->settings.deployment_status == couchbase::management::eventing::function_deployment_status::undeployed);
|
2618
|
-
REQUIRE(function->settings.processing_status == couchbase::management::eventing::function_processing_status::paused);
|
2656
|
+
REQUIRE(function->settings.deployment_status == couchbase::core::management::eventing::function_deployment_status::undeployed);
|
2657
|
+
REQUIRE(function->settings.processing_status == couchbase::core::management::eventing::function_processing_status::paused);
|
2619
2658
|
REQUIRE(!function->settings.handler_headers.empty());
|
2620
2659
|
REQUIRE(function->settings.handler_headers[0] == "// generated by Couchbase C++ SDK");
|
2621
2660
|
REQUIRE(!function->constant_bindings.empty());
|
@@ -2624,15 +2663,15 @@ function OnDelete(meta, options) {
|
|
2624
2663
|
REQUIRE(!function->bucket_bindings.empty());
|
2625
2664
|
REQUIRE(function->bucket_bindings[0].alias == "data");
|
2626
2665
|
REQUIRE(function->bucket_bindings[0].name.bucket == "default");
|
2627
|
-
REQUIRE(function->bucket_bindings[0].access == couchbase::management::eventing::function_bucket_access::read_write);
|
2666
|
+
REQUIRE(function->bucket_bindings[0].access == couchbase::core::management::eventing::function_bucket_access::read_write);
|
2628
2667
|
REQUIRE(!function->url_bindings.empty());
|
2629
2668
|
REQUIRE(function->url_bindings[0].alias == "home");
|
2630
2669
|
REQUIRE(function->url_bindings[0].hostname == "https://couchbase.com");
|
2631
|
-
REQUIRE(std::holds_alternative<couchbase::management::eventing::function_url_no_auth>(function->url_bindings[0].auth));
|
2670
|
+
REQUIRE(std::holds_alternative<couchbase::core::management::eventing::function_url_no_auth>(function->url_bindings[0].auth));
|
2632
2671
|
}
|
2633
2672
|
|
2634
2673
|
{
|
2635
|
-
couchbase::operations::management::eventing_get_status_request req{};
|
2674
|
+
couchbase::core::operations::management::eventing_get_status_request req{};
|
2636
2675
|
auto resp = test::utils::execute(integration.cluster, req);
|
2637
2676
|
REQUIRE_FALSE(resp.ctx.ec);
|
2638
2677
|
REQUIRE(resp.status.num_eventing_nodes > 0);
|
@@ -2640,81 +2679,84 @@ function OnDelete(meta, options) {
|
|
2640
2679
|
return function_name == fun.name;
|
2641
2680
|
});
|
2642
2681
|
REQUIRE(function != resp.status.functions.end());
|
2643
|
-
REQUIRE(function->status == couchbase::management::eventing::function_status::undeployed);
|
2644
|
-
REQUIRE(function->deployment_status == couchbase::management::eventing::function_deployment_status::undeployed);
|
2645
|
-
REQUIRE(function->processing_status == couchbase::management::eventing::function_processing_status::paused);
|
2682
|
+
REQUIRE(function->status == couchbase::core::management::eventing::function_status::undeployed);
|
2683
|
+
REQUIRE(function->deployment_status == couchbase::core::management::eventing::function_deployment_status::undeployed);
|
2684
|
+
REQUIRE(function->processing_status == couchbase::core::management::eventing::function_processing_status::paused);
|
2646
2685
|
}
|
2647
2686
|
|
2648
2687
|
{
|
2649
|
-
couchbase::operations::management::eventing_undeploy_function_request req{ function_name };
|
2688
|
+
couchbase::core::operations::management::eventing_undeploy_function_request req{ function_name };
|
2650
2689
|
auto resp = test::utils::execute(integration.cluster, req);
|
2651
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2690
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_deployed);
|
2652
2691
|
}
|
2653
2692
|
|
2654
2693
|
{
|
2655
|
-
couchbase::operations::management::eventing_deploy_function_request req{ function_name };
|
2694
|
+
couchbase::core::operations::management::eventing_deploy_function_request req{ function_name };
|
2656
2695
|
auto resp = test::utils::execute(integration.cluster, req);
|
2657
2696
|
REQUIRE_FALSE(resp.ctx.ec);
|
2658
2697
|
}
|
2659
2698
|
|
2660
|
-
REQUIRE(
|
2699
|
+
REQUIRE(
|
2700
|
+
wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::deployed));
|
2661
2701
|
|
2662
2702
|
{
|
2663
|
-
couchbase::operations::management::eventing_drop_function_request req{ function_name };
|
2703
|
+
couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
|
2664
2704
|
auto resp = test::utils::execute(integration.cluster, req);
|
2665
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2705
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_deployed);
|
2666
2706
|
}
|
2667
2707
|
|
2668
2708
|
{
|
2669
|
-
couchbase::operations::management::eventing_resume_function_request req{ function_name };
|
2709
|
+
couchbase::core::operations::management::eventing_resume_function_request req{ function_name };
|
2670
2710
|
auto resp = test::utils::execute(integration.cluster, req);
|
2671
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2711
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_deployed);
|
2672
2712
|
}
|
2673
2713
|
|
2674
2714
|
{
|
2675
|
-
couchbase::operations::management::eventing_pause_function_request req{ function_name };
|
2715
|
+
couchbase::core::operations::management::eventing_pause_function_request req{ function_name };
|
2676
2716
|
auto resp = test::utils::execute(integration.cluster, req);
|
2677
2717
|
REQUIRE_FALSE(resp.ctx.ec);
|
2678
2718
|
}
|
2679
2719
|
|
2680
|
-
REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::management::eventing::function_status::paused));
|
2720
|
+
REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::paused));
|
2681
2721
|
|
2682
2722
|
{
|
2683
|
-
couchbase::operations::management::eventing_pause_function_request req{ function_name };
|
2723
|
+
couchbase::core::operations::management::eventing_pause_function_request req{ function_name };
|
2684
2724
|
auto resp = test::utils::execute(integration.cluster, req);
|
2685
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2725
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_paused);
|
2686
2726
|
}
|
2687
2727
|
|
2688
2728
|
{
|
2689
|
-
couchbase::operations::management::eventing_resume_function_request req{ function_name };
|
2729
|
+
couchbase::core::operations::management::eventing_resume_function_request req{ function_name };
|
2690
2730
|
auto resp = test::utils::execute(integration.cluster, req);
|
2691
2731
|
REQUIRE_FALSE(resp.ctx.ec);
|
2692
2732
|
}
|
2693
2733
|
|
2694
|
-
REQUIRE(
|
2734
|
+
REQUIRE(
|
2735
|
+
wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::deployed));
|
2695
2736
|
|
2696
2737
|
{
|
2697
|
-
couchbase::operations::management::eventing_undeploy_function_request req{ function_name };
|
2738
|
+
couchbase::core::operations::management::eventing_undeploy_function_request req{ function_name };
|
2698
2739
|
auto resp = test::utils::execute(integration.cluster, req);
|
2699
2740
|
REQUIRE_FALSE(resp.ctx.ec);
|
2700
2741
|
}
|
2701
2742
|
|
2702
|
-
REQUIRE(
|
2743
|
+
REQUIRE(
|
2744
|
+
wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::undeployed));
|
2703
2745
|
|
2704
2746
|
{
|
2705
|
-
couchbase::operations::management::eventing_drop_function_request req{ function_name };
|
2747
|
+
couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
|
2706
2748
|
auto resp = test::utils::execute(integration.cluster, req);
|
2707
2749
|
REQUIRE_FALSE(resp.ctx.ec);
|
2708
2750
|
}
|
2709
2751
|
|
2710
2752
|
{
|
2711
|
-
couchbase::operations::management::eventing_get_function_request req{ function_name };
|
2753
|
+
couchbase::core::operations::management::eventing_get_function_request req{ function_name };
|
2712
2754
|
auto resp = test::utils::execute(integration.cluster, req);
|
2713
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2755
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
|
2714
2756
|
}
|
2715
2757
|
|
2716
2758
|
{
|
2717
|
-
couchbase::operations::management::bucket_drop_request req{ meta_bucket_name };
|
2759
|
+
couchbase::core::operations::management::bucket_drop_request req{ meta_bucket_name };
|
2718
2760
|
auto resp = test::utils::execute(integration.cluster, req);
|
2719
2761
|
REQUIRE_FALSE(resp.ctx.ec);
|
2720
2762
|
}
|