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,30 +67,30 @@ 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_SUCCESS(resp.ctx.ec);
|
87
89
|
}
|
88
90
|
|
89
91
|
{
|
90
92
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
91
|
-
|
93
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
92
94
|
REQUIRE(bucket_settings.bucket_type == resp.bucket.bucket_type);
|
93
95
|
REQUIRE(bucket_settings.name == resp.bucket.name);
|
94
96
|
REQUIRE(Approx(bucket_settings.ram_quota_mb).margin(5) == resp.bucket.ram_quota_mb);
|
@@ -101,10 +103,10 @@ 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_SUCCESS(resp.ctx.ec);
|
108
110
|
bool found = false;
|
109
111
|
for (const auto& bucket : resp.buckets) {
|
110
112
|
if (bucket.name != bucket_name) {
|
@@ -128,35 +130,35 @@ 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_SUCCESS(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_SUCCESS(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_SUCCESS(resp.ctx.ec);
|
160
162
|
REQUIRE(!resp.buckets.empty());
|
161
163
|
auto known_buckets =
|
162
164
|
std::count_if(resp.buckets.begin(), resp.buckets.end(), [&bucket_name](auto& entry) { return entry.name == bucket_name; });
|
@@ -168,14 +170,14 @@ 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);
|
178
|
-
|
180
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
179
181
|
}
|
180
182
|
|
181
183
|
REQUIRE(test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name));
|
@@ -186,54 +188,54 @@ 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
|
-
|
193
|
+
REQUIRE_SUCCESS(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
|
-
|
199
|
+
REQUIRE_SUCCESS(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_SUCCESS(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);
|
228
|
-
|
230
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
229
231
|
}
|
230
232
|
|
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,59 +243,58 @@ 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_SUCCESS(resp.ctx.ec);
|
251
253
|
}
|
252
254
|
|
253
255
|
{
|
254
256
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
255
|
-
|
256
|
-
REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::memcached);
|
257
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
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
|
-
|
272
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
273
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
273
274
|
}
|
274
275
|
|
275
276
|
{
|
276
277
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
277
|
-
|
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);
|
278
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
279
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
|
280
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::no_eviction);
|
280
281
|
}
|
281
282
|
}
|
282
283
|
|
283
284
|
SECTION("nru eviction")
|
284
285
|
{
|
285
286
|
{
|
286
|
-
bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::not_recently_used;
|
287
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
287
|
+
bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::not_recently_used;
|
288
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
288
289
|
auto resp = test::utils::execute(integration.cluster, req);
|
289
|
-
|
290
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
290
291
|
}
|
291
292
|
|
292
293
|
{
|
293
294
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
294
|
-
|
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);
|
295
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
296
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
|
297
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::not_recently_used);
|
297
298
|
}
|
298
299
|
}
|
299
300
|
|
@@ -301,17 +302,17 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
301
302
|
SECTION("storage backend")
|
302
303
|
{
|
303
304
|
{
|
304
|
-
bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::couchstore;
|
305
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
305
|
+
bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::couchstore;
|
306
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
306
307
|
auto resp = test::utils::execute(integration.cluster, req);
|
307
|
-
|
308
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
308
309
|
}
|
309
310
|
|
310
311
|
{
|
311
312
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
312
|
-
|
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);
|
313
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
314
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
|
315
|
+
REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::unknown);
|
315
316
|
}
|
316
317
|
}
|
317
318
|
}
|
@@ -319,42 +320,41 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
319
320
|
|
320
321
|
SECTION("couchbase")
|
321
322
|
{
|
322
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
323
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
323
324
|
bucket_settings.name = bucket_name;
|
324
|
-
bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
|
325
|
+
bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
|
325
326
|
|
326
327
|
SECTION("default eviction")
|
327
328
|
{
|
328
329
|
{
|
329
330
|
|
330
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
331
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
331
332
|
auto resp = test::utils::execute(integration.cluster, req);
|
332
|
-
|
333
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
333
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
334
334
|
}
|
335
335
|
|
336
336
|
{
|
337
337
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
338
|
-
|
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);
|
338
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
339
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
340
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::value_only);
|
341
341
|
}
|
342
342
|
}
|
343
343
|
|
344
344
|
SECTION("full eviction")
|
345
345
|
{
|
346
346
|
{
|
347
|
-
bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::full;
|
348
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
347
|
+
bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::full;
|
348
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
349
349
|
auto resp = test::utils::execute(integration.cluster, req);
|
350
|
-
|
350
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
351
351
|
}
|
352
352
|
|
353
353
|
{
|
354
354
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
355
|
-
|
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);
|
355
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
356
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
357
|
+
REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::full);
|
358
358
|
}
|
359
359
|
}
|
360
360
|
|
@@ -364,17 +364,17 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
364
364
|
SECTION("couchstore")
|
365
365
|
{
|
366
366
|
{
|
367
|
-
bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::couchstore;
|
368
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
367
|
+
bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::couchstore;
|
368
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
369
369
|
auto resp = test::utils::execute(integration.cluster, req);
|
370
|
-
|
370
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
371
371
|
}
|
372
372
|
|
373
373
|
{
|
374
374
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
375
|
-
|
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);
|
375
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
376
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
377
|
+
REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::couchstore);
|
378
378
|
}
|
379
379
|
}
|
380
380
|
|
@@ -382,17 +382,17 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
382
382
|
{
|
383
383
|
{
|
384
384
|
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 };
|
385
|
+
bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::magma;
|
386
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
387
387
|
auto resp = test::utils::execute(integration.cluster, req);
|
388
|
-
|
388
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
389
389
|
}
|
390
390
|
|
391
391
|
{
|
392
392
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
393
|
-
|
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);
|
393
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
394
|
+
REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
|
395
|
+
REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::magma);
|
396
396
|
}
|
397
397
|
}
|
398
398
|
}
|
@@ -402,32 +402,32 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
402
402
|
SECTION("update no bucket")
|
403
403
|
{
|
404
404
|
|
405
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
405
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
406
406
|
bucket_settings.name = bucket_name;
|
407
|
-
couchbase::operations::management::bucket_update_request req;
|
407
|
+
couchbase::core::operations::management::bucket_update_request req;
|
408
408
|
req.bucket = bucket_settings;
|
409
409
|
auto resp = test::utils::execute(integration.cluster, req);
|
410
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
410
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
411
411
|
}
|
412
412
|
|
413
413
|
if (integration.cluster_version().supports_minimum_durability_level()) {
|
414
414
|
SECTION("minimum durability level")
|
415
415
|
{
|
416
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
416
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
417
417
|
bucket_settings.name = bucket_name;
|
418
418
|
|
419
419
|
SECTION("default")
|
420
420
|
{
|
421
421
|
{
|
422
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
422
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
423
423
|
auto resp = test::utils::execute(integration.cluster, req);
|
424
|
-
|
424
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
425
425
|
}
|
426
426
|
|
427
427
|
{
|
428
428
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
429
|
-
|
430
|
-
REQUIRE(resp.bucket.minimum_durability_level == couchbase::
|
429
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
430
|
+
REQUIRE(resp.bucket.minimum_durability_level == couchbase::durability_level::none);
|
431
431
|
}
|
432
432
|
}
|
433
433
|
|
@@ -435,17 +435,16 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
435
435
|
SECTION("majority")
|
436
436
|
{
|
437
437
|
{
|
438
|
-
bucket_settings.minimum_durability_level = couchbase::
|
439
|
-
couchbase::operations::management::bucket_create_request req{ bucket_settings };
|
438
|
+
bucket_settings.minimum_durability_level = couchbase::durability_level::majority;
|
439
|
+
couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
|
440
440
|
auto resp = test::utils::execute(integration.cluster, req);
|
441
|
-
|
442
|
-
REQUIRE_FALSE(resp.ctx.ec);
|
441
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
443
442
|
}
|
444
443
|
|
445
444
|
{
|
446
445
|
auto resp = wait_for_bucket_created(integration, bucket_name);
|
447
|
-
|
448
|
-
REQUIRE(resp.bucket.minimum_durability_level == couchbase::
|
446
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
447
|
+
REQUIRE(resp.bucket.minimum_durability_level == couchbase::durability_level::majority);
|
449
448
|
}
|
450
449
|
}
|
451
450
|
}
|
@@ -456,18 +455,18 @@ TEST_CASE("integration: bucket management", "[integration]")
|
|
456
455
|
|
457
456
|
// drop bucket if not already dropped
|
458
457
|
{
|
459
|
-
couchbase::operations::management::bucket_drop_request req{ bucket_name };
|
458
|
+
couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
|
460
459
|
test::utils::execute(integration.cluster, req);
|
461
460
|
}
|
462
461
|
}
|
463
462
|
|
464
|
-
std::optional<couchbase::topology::collections_manifest::collection>
|
465
|
-
get_collection(std::shared_ptr<couchbase::cluster> cluster,
|
463
|
+
std::optional<couchbase::core::topology::collections_manifest::collection>
|
464
|
+
get_collection(std::shared_ptr<couchbase::core::cluster> cluster,
|
466
465
|
const std::string& bucket_name,
|
467
466
|
const std::string& scope_name,
|
468
467
|
const std::string& collection_name)
|
469
468
|
{
|
470
|
-
couchbase::operations::management::scope_get_all_request req{ bucket_name };
|
469
|
+
couchbase::core::operations::management::scope_get_all_request req{ bucket_name };
|
471
470
|
auto resp = test::utils::execute(cluster, req);
|
472
471
|
if (!resp.ctx.ec) {
|
473
472
|
for (const auto& scope : resp.manifest.scopes) {
|
@@ -484,9 +483,9 @@ get_collection(std::shared_ptr<couchbase::cluster> cluster,
|
|
484
483
|
}
|
485
484
|
|
486
485
|
bool
|
487
|
-
scope_exists(std::shared_ptr<couchbase::cluster> cluster, const std::string& bucket_name, const std::string& scope_name)
|
486
|
+
scope_exists(std::shared_ptr<couchbase::core::cluster> cluster, const std::string& bucket_name, const std::string& scope_name)
|
488
487
|
{
|
489
|
-
couchbase::operations::management::scope_get_all_request req{ bucket_name };
|
488
|
+
couchbase::core::operations::management::scope_get_all_request req{ bucket_name };
|
490
489
|
auto resp = test::utils::execute(cluster, req);
|
491
490
|
if (!resp.ctx.ec) {
|
492
491
|
for (const auto& scope : resp.manifest.scopes) {
|
@@ -512,9 +511,9 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
512
511
|
std::uint32_t max_expiry = 5;
|
513
512
|
|
514
513
|
{
|
515
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
514
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
516
515
|
auto resp = test::utils::execute(integration.cluster, req);
|
517
|
-
|
516
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
518
517
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
519
518
|
REQUIRE(created);
|
520
519
|
}
|
@@ -525,24 +524,24 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
525
524
|
}
|
526
525
|
|
527
526
|
{
|
528
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
527
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
529
528
|
auto resp = test::utils::execute(integration.cluster, req);
|
530
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
529
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::scope_exists);
|
531
530
|
}
|
532
531
|
|
533
532
|
{
|
534
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
533
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
535
534
|
if (integration.cluster_version().is_enterprise()) {
|
536
535
|
req.max_expiry = max_expiry;
|
537
536
|
}
|
538
537
|
auto resp = test::utils::execute(integration.cluster, req);
|
539
|
-
|
538
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
540
539
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
541
540
|
REQUIRE(created);
|
542
541
|
}
|
543
542
|
|
544
543
|
{
|
545
|
-
couchbase::topology::collections_manifest::collection collection;
|
544
|
+
couchbase::core::topology::collections_manifest::collection collection;
|
546
545
|
auto created = test::utils::wait_until([&]() {
|
547
546
|
auto coll = get_collection(integration.cluster, integration.ctx.bucket, scope_name, collection_name);
|
548
547
|
if (coll) {
|
@@ -558,15 +557,15 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
558
557
|
}
|
559
558
|
|
560
559
|
{
|
561
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
560
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
562
561
|
auto resp = test::utils::execute(integration.cluster, req);
|
563
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
562
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::collection_exists);
|
564
563
|
}
|
565
564
|
|
566
565
|
{
|
567
|
-
couchbase::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
566
|
+
couchbase::core::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
568
567
|
auto resp = test::utils::execute(integration.cluster, req);
|
569
|
-
|
568
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
570
569
|
}
|
571
570
|
|
572
571
|
{
|
@@ -576,15 +575,15 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
576
575
|
}
|
577
576
|
|
578
577
|
{
|
579
|
-
couchbase::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
578
|
+
couchbase::core::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
|
580
579
|
auto resp = test::utils::execute(integration.cluster, req);
|
581
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
580
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
|
582
581
|
}
|
583
582
|
|
584
583
|
{
|
585
|
-
couchbase::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
584
|
+
couchbase::core::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
586
585
|
auto resp = test::utils::execute(integration.cluster, req);
|
587
|
-
|
586
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
588
587
|
}
|
589
588
|
|
590
589
|
{
|
@@ -593,15 +592,15 @@ TEST_CASE("integration: collection management", "[integration]")
|
|
593
592
|
}
|
594
593
|
|
595
594
|
{
|
596
|
-
couchbase::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
595
|
+
couchbase::core::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
|
597
596
|
auto resp = test::utils::execute(integration.cluster, req);
|
598
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
597
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
|
599
598
|
}
|
600
599
|
}
|
601
600
|
|
602
601
|
void
|
603
|
-
assert_user_and_metadata(const couchbase::management::rbac::user_and_metadata& user,
|
604
|
-
const couchbase::management::rbac::user_and_metadata& expected)
|
602
|
+
assert_user_and_metadata(const couchbase::core::management::rbac::user_and_metadata& user,
|
603
|
+
const couchbase::core::management::rbac::user_and_metadata& expected)
|
605
604
|
{
|
606
605
|
REQUIRE(user.username == expected.username);
|
607
606
|
REQUIRE(user.groups == expected.groups);
|
@@ -652,23 +651,23 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
652
651
|
auto group_name_1 = test::utils::uniq_id("group");
|
653
652
|
auto group_name_2 = test::utils::uniq_id("group");
|
654
653
|
|
655
|
-
couchbase::management::rbac::group group{};
|
654
|
+
couchbase::core::management::rbac::group group{};
|
656
655
|
group.name = group_name_1;
|
657
656
|
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" } };
|
657
|
+
group.roles = { couchbase::core::management::rbac::role{ "replication_target", integration.ctx.bucket },
|
658
|
+
couchbase::core::management::rbac::role{ "replication_admin" } };
|
660
659
|
group.ldap_group_reference = "asda=price";
|
661
660
|
|
662
661
|
{
|
663
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
662
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
664
663
|
auto resp = test::utils::execute(integration.cluster, req);
|
665
|
-
|
664
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
666
665
|
}
|
667
666
|
|
668
667
|
{
|
669
|
-
couchbase::operations::management::group_get_request req{ group_name_1 };
|
670
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
671
|
-
|
668
|
+
couchbase::core::operations::management::group_get_request req{ group_name_1 };
|
669
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::management::group_not_found);
|
670
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
672
671
|
REQUIRE(resp.group.name == group.name);
|
673
672
|
REQUIRE(resp.group.description == group.description);
|
674
673
|
REQUIRE(resp.group.ldap_group_reference == group.ldap_group_reference);
|
@@ -676,15 +675,15 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
676
675
|
|
677
676
|
{
|
678
677
|
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 };
|
678
|
+
group.roles.push_back(couchbase::core::management::rbac::role{ "query_system_catalog" });
|
679
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
681
680
|
auto resp = test::utils::execute(integration.cluster, req);
|
682
|
-
|
681
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
683
682
|
}
|
684
683
|
|
685
684
|
{
|
686
685
|
auto updated = test::utils::wait_until([&]() {
|
687
|
-
couchbase::operations::management::group_get_request req{ group_name_1 };
|
686
|
+
couchbase::core::operations::management::group_get_request req{ group_name_1 };
|
688
687
|
auto resp = test::utils::execute(integration.cluster, req);
|
689
688
|
return !resp.ctx.ec && resp.group.description == group.description;
|
690
689
|
});
|
@@ -693,53 +692,53 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
693
692
|
|
694
693
|
{
|
695
694
|
group.name = group_name_2;
|
696
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
695
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
697
696
|
auto resp = test::utils::execute(integration.cluster, req);
|
698
|
-
|
697
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
699
698
|
}
|
700
699
|
|
701
700
|
{
|
702
701
|
auto created = test::utils::wait_until([&]() {
|
703
|
-
couchbase::operations::management::group_get_all_request req{ group_name_2 };
|
702
|
+
couchbase::core::operations::management::group_get_all_request req{ group_name_2 };
|
704
703
|
auto resp = test::utils::execute(integration.cluster, req);
|
705
|
-
|
704
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
706
705
|
return resp.groups.size() == 2;
|
707
706
|
});
|
708
707
|
REQUIRE(created);
|
709
708
|
}
|
710
709
|
|
711
710
|
{
|
712
|
-
couchbase::operations::management::role_get_all_request req{};
|
711
|
+
couchbase::core::operations::management::role_get_all_request req{};
|
713
712
|
auto resp = test::utils::execute(integration.cluster, req);
|
714
|
-
|
713
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
715
714
|
REQUIRE(resp.roles.size() > 0);
|
716
715
|
}
|
717
716
|
|
718
717
|
{
|
719
|
-
couchbase::operations::management::group_drop_request req{ group_name_1 };
|
718
|
+
couchbase::core::operations::management::group_drop_request req{ group_name_1 };
|
720
719
|
auto resp = test::utils::execute(integration.cluster, req);
|
721
|
-
|
720
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
722
721
|
}
|
723
722
|
|
724
723
|
{
|
725
|
-
couchbase::operations::management::group_drop_request req{ group_name_2 };
|
724
|
+
couchbase::core::operations::management::group_drop_request req{ group_name_2 };
|
726
725
|
auto resp = test::utils::execute(integration.cluster, req);
|
727
|
-
|
726
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
728
727
|
}
|
729
728
|
}
|
730
729
|
|
731
730
|
SECTION("get missing group")
|
732
731
|
{
|
733
|
-
couchbase::operations::management::group_get_request req{ test::utils::uniq_id("group") };
|
732
|
+
couchbase::core::operations::management::group_get_request req{ test::utils::uniq_id("group") };
|
734
733
|
auto resp = test::utils::execute(integration.cluster, req);
|
735
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
734
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::group_not_found);
|
736
735
|
}
|
737
736
|
|
738
737
|
SECTION("drop missing group")
|
739
738
|
{
|
740
|
-
couchbase::operations::management::group_drop_request req{ test::utils::uniq_id("group") };
|
739
|
+
couchbase::core::operations::management::group_drop_request req{ test::utils::uniq_id("group") };
|
741
740
|
auto resp = test::utils::execute(integration.cluster, req);
|
742
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
741
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::group_not_found);
|
743
742
|
}
|
744
743
|
|
745
744
|
SECTION("user and groups crud")
|
@@ -747,60 +746,60 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
747
746
|
auto group_name = test::utils::uniq_id("group");
|
748
747
|
auto user_name = test::utils::uniq_id("user");
|
749
748
|
|
750
|
-
couchbase::management::rbac::group group{};
|
749
|
+
couchbase::core::management::rbac::group group{};
|
751
750
|
group.name = group_name;
|
752
751
|
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" } };
|
752
|
+
group.roles = { couchbase::core::management::rbac::role{ "replication_target", integration.ctx.bucket },
|
753
|
+
couchbase::core::management::rbac::role{ "replication_admin" } };
|
755
754
|
|
756
755
|
{
|
757
|
-
couchbase::operations::management::group_upsert_request req{ group };
|
756
|
+
couchbase::core::operations::management::group_upsert_request req{ group };
|
758
757
|
auto resp = test::utils::execute(integration.cluster, req);
|
759
|
-
|
758
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
760
759
|
}
|
761
760
|
|
762
|
-
couchbase::management::rbac::user user{ user_name };
|
761
|
+
couchbase::core::management::rbac::user user{ user_name };
|
763
762
|
user.display_name = "display_name";
|
764
763
|
user.password = "password";
|
765
764
|
user.roles = {
|
766
|
-
couchbase::management::rbac::role{ "bucket_admin", integration.ctx.bucket },
|
765
|
+
couchbase::core::management::rbac::role{ "bucket_admin", integration.ctx.bucket },
|
767
766
|
};
|
768
767
|
user.groups = { group_name };
|
769
768
|
|
770
769
|
{
|
771
|
-
couchbase::operations::management::user_upsert_request req{};
|
770
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
772
771
|
req.user = user;
|
773
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
774
|
-
|
772
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::common::invalid_argument);
|
773
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
775
774
|
}
|
776
775
|
|
777
|
-
couchbase::management::rbac::user_and_metadata expected{};
|
776
|
+
couchbase::core::management::rbac::user_and_metadata expected{};
|
778
777
|
expected.username = user.username;
|
779
778
|
expected.display_name = user.display_name;
|
780
779
|
expected.roles = user.roles;
|
781
780
|
expected.groups = user.groups;
|
782
|
-
expected.domain = couchbase::management::rbac::auth_domain::local;
|
781
|
+
expected.domain = couchbase::core::management::rbac::auth_domain::local;
|
783
782
|
|
784
|
-
couchbase::management::rbac::role_and_origins expected_role_1{};
|
783
|
+
couchbase::core::management::rbac::role_and_origins expected_role_1{};
|
785
784
|
expected_role_1.name = "bucket_admin";
|
786
785
|
expected_role_1.bucket = integration.ctx.bucket;
|
787
|
-
expected_role_1.origins = { couchbase::management::rbac::origin{ "user" } };
|
786
|
+
expected_role_1.origins = { couchbase::core::management::rbac::origin{ "user" } };
|
788
787
|
|
789
|
-
couchbase::management::rbac::role_and_origins expected_role_2{};
|
788
|
+
couchbase::core::management::rbac::role_and_origins expected_role_2{};
|
790
789
|
expected_role_2.name = "replication_target";
|
791
790
|
expected_role_2.bucket = integration.ctx.bucket;
|
792
|
-
expected_role_2.origins = { couchbase::management::rbac::origin{ "group", group_name } };
|
791
|
+
expected_role_2.origins = { couchbase::core::management::rbac::origin{ "group", group_name } };
|
793
792
|
|
794
|
-
couchbase::management::rbac::role_and_origins expected_role_3{};
|
793
|
+
couchbase::core::management::rbac::role_and_origins expected_role_3{};
|
795
794
|
expected_role_3.name = "replication_admin";
|
796
|
-
expected_role_3.origins = { couchbase::management::rbac::origin{ "group", group_name } };
|
795
|
+
expected_role_3.origins = { couchbase::core::management::rbac::origin{ "group", group_name } };
|
797
796
|
|
798
797
|
expected.effective_roles = { expected_role_1, expected_role_2, expected_role_3 };
|
799
798
|
|
800
799
|
{
|
801
|
-
couchbase::operations::management::user_get_request req{ user_name };
|
802
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
803
|
-
|
800
|
+
couchbase::core::operations::management::user_get_request req{ user_name };
|
801
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::management::user_not_found);
|
802
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
804
803
|
assert_user_and_metadata(resp.user, expected);
|
805
804
|
}
|
806
805
|
|
@@ -808,27 +807,27 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
808
807
|
expected.display_name = "different_display_name";
|
809
808
|
|
810
809
|
{
|
811
|
-
couchbase::operations::management::user_upsert_request req{};
|
810
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
812
811
|
req.user = user;
|
813
812
|
auto resp = test::utils::execute(integration.cluster, req);
|
814
|
-
|
813
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
815
814
|
}
|
816
815
|
|
817
816
|
{
|
818
|
-
couchbase::operations::management::user_get_response resp;
|
817
|
+
couchbase::core::operations::management::user_get_response resp;
|
819
818
|
test::utils::wait_until([&]() {
|
820
|
-
couchbase::operations::management::user_get_request req{ user.username };
|
819
|
+
couchbase::core::operations::management::user_get_request req{ user.username };
|
821
820
|
resp = test::utils::execute(integration.cluster, req);
|
822
821
|
return !resp.ctx.ec && resp.user.display_name == user.display_name;
|
823
822
|
});
|
824
|
-
|
823
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
825
824
|
assert_user_and_metadata(resp.user, expected);
|
826
825
|
}
|
827
826
|
|
828
827
|
{
|
829
|
-
couchbase::operations::management::user_get_all_request req{};
|
828
|
+
couchbase::core::operations::management::user_get_all_request req{};
|
830
829
|
auto resp = test::utils::execute(integration.cluster, req);
|
831
|
-
|
830
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
832
831
|
REQUIRE_FALSE(resp.users.empty());
|
833
832
|
auto upserted_user =
|
834
833
|
std::find_if(resp.users.begin(), resp.users.end(), [&user_name](const auto& u) { return u.username == user_name; });
|
@@ -837,15 +836,15 @@ TEST_CASE("integration: user groups management", "[integration]")
|
|
837
836
|
}
|
838
837
|
|
839
838
|
{
|
840
|
-
couchbase::operations::management::user_drop_request req{ user_name };
|
839
|
+
couchbase::core::operations::management::user_drop_request req{ user_name };
|
841
840
|
auto resp = test::utils::execute(integration.cluster, req);
|
842
|
-
|
841
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
843
842
|
}
|
844
843
|
|
845
844
|
{
|
846
|
-
couchbase::operations::management::group_drop_request req{ group_name };
|
845
|
+
couchbase::core::operations::management::group_drop_request req{ group_name };
|
847
846
|
auto resp = test::utils::execute(integration.cluster, req);
|
848
|
-
|
847
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
849
848
|
}
|
850
849
|
}
|
851
850
|
}
|
@@ -864,23 +863,23 @@ TEST_CASE("integration: user management", "[integration]")
|
|
864
863
|
|
865
864
|
SECTION("get missing user")
|
866
865
|
{
|
867
|
-
couchbase::operations::management::user_get_request req{ test::utils::uniq_id("user") };
|
866
|
+
couchbase::core::operations::management::user_get_request req{ test::utils::uniq_id("user") };
|
868
867
|
auto resp = test::utils::execute(integration.cluster, req);
|
869
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
868
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::user_not_found);
|
870
869
|
}
|
871
870
|
|
872
871
|
SECTION("drop missing user")
|
873
872
|
{
|
874
|
-
couchbase::operations::management::user_drop_request req{ test::utils::uniq_id("user") };
|
873
|
+
couchbase::core::operations::management::user_drop_request req{ test::utils::uniq_id("user") };
|
875
874
|
auto resp = test::utils::execute(integration.cluster, req);
|
876
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
875
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::user_not_found);
|
877
876
|
}
|
878
877
|
|
879
878
|
SECTION("get roles")
|
880
879
|
{
|
881
|
-
couchbase::operations::management::role_get_all_request req{};
|
880
|
+
couchbase::core::operations::management::role_get_all_request req{};
|
882
881
|
auto resp = test::utils::execute(integration.cluster, req);
|
883
|
-
|
882
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
884
883
|
REQUIRE(resp.roles.size() > 0);
|
885
884
|
}
|
886
885
|
}
|
@@ -900,39 +899,39 @@ TEST_CASE("integration: user management collections roles", "[integration]")
|
|
900
899
|
auto user_name = test::utils::uniq_id("user");
|
901
900
|
|
902
901
|
{
|
903
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
902
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
904
903
|
auto resp = test::utils::execute(integration.cluster, req);
|
905
|
-
|
904
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
906
905
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
907
906
|
REQUIRE(created);
|
908
907
|
}
|
909
908
|
|
910
909
|
{
|
911
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
910
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
912
911
|
auto resp = test::utils::execute(integration.cluster, req);
|
913
|
-
|
912
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
914
913
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
915
914
|
REQUIRE(created);
|
916
915
|
}
|
917
916
|
|
918
|
-
couchbase::management::rbac::user user{ user_name };
|
917
|
+
couchbase::core::management::rbac::user user{ user_name };
|
919
918
|
user.display_name = "display_name";
|
920
919
|
user.password = "password";
|
921
920
|
user.roles = {
|
922
|
-
couchbase::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name },
|
921
|
+
couchbase::core::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name },
|
923
922
|
};
|
924
923
|
|
925
924
|
{
|
926
|
-
couchbase::operations::management::user_upsert_request req{};
|
925
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
927
926
|
req.user = user;
|
928
927
|
auto resp = test::utils::execute(integration.cluster, req);
|
929
|
-
|
928
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
930
929
|
}
|
931
930
|
|
932
931
|
{
|
933
|
-
couchbase::operations::management::user_get_request req{ user_name };
|
934
|
-
auto resp = retry_on_error(integration, req, couchbase::
|
935
|
-
|
932
|
+
couchbase::core::operations::management::user_get_request req{ user_name };
|
933
|
+
auto resp = retry_on_error(integration, req, couchbase::errc::management::user_not_found);
|
934
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
936
935
|
REQUIRE(resp.user.roles.size() == 1);
|
937
936
|
REQUIRE(resp.user.roles[0].name == "data_reader");
|
938
937
|
REQUIRE(resp.user.roles[0].bucket == integration.ctx.bucket);
|
@@ -940,20 +939,20 @@ TEST_CASE("integration: user management collections roles", "[integration]")
|
|
940
939
|
}
|
941
940
|
|
942
941
|
user.roles = {
|
943
|
-
couchbase::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name, collection_name },
|
942
|
+
couchbase::core::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name, collection_name },
|
944
943
|
};
|
945
944
|
|
946
945
|
{
|
947
|
-
couchbase::operations::management::user_upsert_request req{};
|
946
|
+
couchbase::core::operations::management::user_upsert_request req{};
|
948
947
|
req.user = user;
|
949
948
|
auto resp = test::utils::execute(integration.cluster, req);
|
950
|
-
|
949
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
951
950
|
}
|
952
951
|
|
953
952
|
{
|
954
|
-
couchbase::operations::management::user_get_request req{ user_name };
|
953
|
+
couchbase::core::operations::management::user_get_request req{ user_name };
|
955
954
|
auto resp = test::utils::execute(integration.cluster, req);
|
956
|
-
|
955
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
957
956
|
REQUIRE(resp.user.roles.size() == 1);
|
958
957
|
REQUIRE(resp.user.roles[0].name == "data_reader");
|
959
958
|
REQUIRE(resp.user.roles[0].bucket == integration.ctx.bucket);
|
@@ -978,9 +977,9 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
978
977
|
auto bucket_name = test::utils::uniq_id("bucket");
|
979
978
|
|
980
979
|
{
|
981
|
-
couchbase::operations::management::bucket_create_request req;
|
980
|
+
couchbase::core::operations::management::bucket_create_request req;
|
982
981
|
req.bucket.name = bucket_name;
|
983
|
-
req.bucket.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
|
982
|
+
req.bucket.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
|
984
983
|
req.bucket.num_replicas = 0;
|
985
984
|
auto resp = test::utils::execute(integration.cluster, req);
|
986
985
|
}
|
@@ -988,30 +987,30 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
988
987
|
REQUIRE(!wait_for_bucket_created(integration, bucket_name).ctx.ec);
|
989
988
|
|
990
989
|
{
|
991
|
-
couchbase::operations::management::query_index_create_response resp;
|
990
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
992
991
|
bool operation_completed = test::utils::wait_until([&integration, &bucket_name, &resp]() {
|
993
|
-
couchbase::operations::management::query_index_create_request req{};
|
992
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
994
993
|
req.bucket_name = bucket_name;
|
995
994
|
req.is_primary = true;
|
996
995
|
resp = test::utils::execute(integration.cluster, req);
|
997
|
-
return resp.ctx.ec != couchbase::
|
996
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
998
997
|
});
|
999
998
|
REQUIRE(operation_completed);
|
1000
|
-
|
999
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1001
1000
|
}
|
1002
1001
|
|
1003
1002
|
{
|
1004
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1003
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1005
1004
|
req.bucket_name = bucket_name;
|
1006
1005
|
auto resp = test::utils::execute(integration.cluster, req);
|
1007
|
-
|
1006
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1008
1007
|
REQUIRE(resp.indexes.size() == 1);
|
1009
1008
|
REQUIRE(resp.indexes[0].name == "#primary");
|
1010
1009
|
REQUIRE(resp.indexes[0].is_primary);
|
1011
1010
|
}
|
1012
1011
|
|
1013
1012
|
{
|
1014
|
-
couchbase::operations::management::bucket_drop_request req{ bucket_name };
|
1013
|
+
couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
|
1015
1014
|
test::utils::execute(integration.cluster, req);
|
1016
1015
|
}
|
1017
1016
|
}
|
@@ -1020,43 +1019,43 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1020
1019
|
SECTION("non primary index")
|
1021
1020
|
{
|
1022
1021
|
{
|
1023
|
-
couchbase::operations::management::query_index_create_response resp;
|
1022
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1024
1023
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
|
1025
|
-
couchbase::operations::management::query_index_create_request req{};
|
1024
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1026
1025
|
req.bucket_name = integration.ctx.bucket;
|
1027
1026
|
req.index_name = index_name;
|
1028
1027
|
req.fields = { "field", "field2 DESC", "`two words` DESC" };
|
1029
1028
|
resp = test::utils::execute(integration.cluster, req);
|
1030
|
-
return resp.ctx.ec != couchbase::
|
1029
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1031
1030
|
});
|
1032
1031
|
REQUIRE(operation_completed);
|
1033
|
-
|
1032
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1034
1033
|
}
|
1035
1034
|
|
1036
1035
|
{
|
1037
|
-
couchbase::operations::management::query_index_create_request req{};
|
1036
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1038
1037
|
req.bucket_name = integration.ctx.bucket;
|
1039
1038
|
req.index_name = index_name;
|
1040
1039
|
req.fields = { "field" };
|
1041
1040
|
auto resp = test::utils::execute(integration.cluster, req);
|
1042
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1041
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
1043
1042
|
}
|
1044
1043
|
|
1045
1044
|
{
|
1046
|
-
couchbase::operations::management::query_index_create_request req{};
|
1045
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1047
1046
|
req.bucket_name = integration.ctx.bucket;
|
1048
1047
|
req.index_name = index_name;
|
1049
1048
|
req.fields = { "field" };
|
1050
1049
|
req.ignore_if_exists = true;
|
1051
1050
|
auto resp = test::utils::execute(integration.cluster, req);
|
1052
|
-
|
1051
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1053
1052
|
}
|
1054
1053
|
|
1055
1054
|
{
|
1056
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1055
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1057
1056
|
req.bucket_name = integration.ctx.bucket;
|
1058
1057
|
auto resp = test::utils::execute(integration.cluster, req);
|
1059
|
-
|
1058
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1060
1059
|
auto index = std::find_if(
|
1061
1060
|
resp.indexes.begin(), resp.indexes.end(), [&index_name](const auto& exp_index) { return exp_index.name == index_name; });
|
1062
1061
|
REQUIRE(index != resp.indexes.end());
|
@@ -1071,44 +1070,44 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1071
1070
|
}
|
1072
1071
|
|
1073
1072
|
{
|
1074
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1073
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1075
1074
|
req.bucket_name = integration.ctx.bucket;
|
1076
1075
|
req.index_name = index_name;
|
1077
1076
|
auto resp = test::utils::execute(integration.cluster, req);
|
1078
|
-
|
1077
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1079
1078
|
}
|
1080
1079
|
|
1081
1080
|
{
|
1082
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1081
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1083
1082
|
req.bucket_name = integration.ctx.bucket;
|
1084
1083
|
req.index_name = index_name;
|
1085
1084
|
auto resp = test::utils::execute(integration.cluster, req);
|
1086
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1085
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
1087
1086
|
}
|
1088
1087
|
}
|
1089
1088
|
|
1090
1089
|
SECTION("deferred index")
|
1091
1090
|
{
|
1092
1091
|
{
|
1093
|
-
couchbase::operations::management::query_index_create_response resp;
|
1092
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1094
1093
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
|
1095
|
-
couchbase::operations::management::query_index_create_request req{};
|
1094
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1096
1095
|
req.bucket_name = integration.ctx.bucket;
|
1097
1096
|
req.index_name = index_name;
|
1098
1097
|
req.fields = { "field" };
|
1099
1098
|
req.deferred = true;
|
1100
1099
|
resp = test::utils::execute(integration.cluster, req);
|
1101
|
-
return resp.ctx.ec != couchbase::
|
1100
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1102
1101
|
});
|
1103
1102
|
REQUIRE(operation_completed);
|
1104
|
-
|
1103
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1105
1104
|
}
|
1106
1105
|
|
1107
1106
|
{
|
1108
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1107
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1109
1108
|
req.bucket_name = integration.ctx.bucket;
|
1110
1109
|
auto resp = test::utils::execute(integration.cluster, req);
|
1111
|
-
|
1110
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1112
1111
|
auto index = std::find_if(
|
1113
1112
|
resp.indexes.begin(), resp.indexes.end(), [&index_name](const auto& exp_index) { return exp_index.name == index_name; });
|
1114
1113
|
REQUIRE(index != resp.indexes.end());
|
@@ -1116,15 +1115,23 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1116
1115
|
REQUIRE(index->state == "deferred");
|
1117
1116
|
}
|
1118
1117
|
|
1118
|
+
SECTION("public API")
|
1119
1119
|
{
|
1120
|
-
couchbase::
|
1120
|
+
auto manager = couchbase::cluster(integration.cluster).query_indexes();
|
1121
|
+
auto ctx = manager.build_deferred_indexes(integration.ctx.bucket, {}).get();
|
1122
|
+
REQUIRE_SUCCESS(ctx.ec());
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
SECTION("core API")
|
1126
|
+
{
|
1127
|
+
couchbase::core::operations::management::query_index_build_deferred_request req{};
|
1121
1128
|
req.bucket_name = integration.ctx.bucket;
|
1122
1129
|
auto resp = test::utils::execute(integration.cluster, req);
|
1123
|
-
|
1130
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1124
1131
|
}
|
1125
1132
|
|
1126
1133
|
test::utils::wait_until([&integration, &index_name]() {
|
1127
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1134
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1128
1135
|
req.bucket_name = integration.ctx.bucket;
|
1129
1136
|
auto resp = test::utils::execute(integration.cluster, req);
|
1130
1137
|
if (resp.indexes.empty()) {
|
@@ -1138,29 +1145,29 @@ TEST_CASE("integration: query index management", "[integration]")
|
|
1138
1145
|
|
1139
1146
|
SECTION("create missing bucket")
|
1140
1147
|
{
|
1141
|
-
couchbase::operations::management::query_index_create_request req{};
|
1148
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1142
1149
|
req.bucket_name = "missing_bucket";
|
1143
1150
|
req.is_primary = true;
|
1144
1151
|
auto resp = test::utils::execute(integration.cluster, req);
|
1145
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1152
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
1146
1153
|
}
|
1147
1154
|
|
1148
1155
|
SECTION("get missing bucket")
|
1149
1156
|
{
|
1150
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1157
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1151
1158
|
req.bucket_name = "missing_bucket";
|
1152
1159
|
auto resp = test::utils::execute(integration.cluster, req);
|
1153
|
-
|
1160
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1154
1161
|
REQUIRE(resp.indexes.empty());
|
1155
1162
|
}
|
1156
1163
|
|
1157
1164
|
SECTION("drop missing bucket")
|
1158
1165
|
{
|
1159
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1166
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1160
1167
|
req.bucket_name = "missing_bucket";
|
1161
1168
|
req.is_primary = true;
|
1162
1169
|
auto resp = test::utils::execute(integration.cluster, req);
|
1163
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1170
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
|
1164
1171
|
}
|
1165
1172
|
}
|
1166
1173
|
|
@@ -1184,17 +1191,17 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1184
1191
|
|
1185
1192
|
// create the scope and collection that we'll do index management on.
|
1186
1193
|
{
|
1187
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
1194
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
1188
1195
|
auto resp = test::utils::execute(integration.cluster, req);
|
1189
|
-
|
1196
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1190
1197
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
1191
1198
|
REQUIRE(created);
|
1192
1199
|
}
|
1193
1200
|
|
1194
1201
|
{
|
1195
|
-
couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
1202
|
+
couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
|
1196
1203
|
auto resp = test::utils::execute(integration.cluster, req);
|
1197
|
-
|
1204
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1198
1205
|
auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
1199
1206
|
REQUIRE(created);
|
1200
1207
|
}
|
@@ -1202,27 +1209,27 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1202
1209
|
SECTION("primary index")
|
1203
1210
|
{
|
1204
1211
|
{
|
1205
|
-
couchbase::operations::management::query_index_create_response resp;
|
1212
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1206
1213
|
bool operation_completed = test::utils::wait_until([&integration, &scope_name, &collection_name, &resp]() {
|
1207
|
-
couchbase::operations::management::query_index_create_request req{};
|
1214
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1208
1215
|
req.bucket_name = integration.ctx.bucket;
|
1209
1216
|
req.scope_name = scope_name;
|
1210
1217
|
req.collection_name = collection_name;
|
1211
1218
|
req.is_primary = true;
|
1212
1219
|
resp = test::utils::execute(integration.cluster, req);
|
1213
|
-
return resp.ctx.ec != couchbase::
|
1220
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1214
1221
|
});
|
1215
1222
|
REQUIRE(operation_completed);
|
1216
|
-
|
1223
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1217
1224
|
}
|
1218
1225
|
|
1219
1226
|
{
|
1220
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1227
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1221
1228
|
req.bucket_name = integration.ctx.bucket;
|
1222
1229
|
req.scope_name = scope_name;
|
1223
1230
|
req.collection_name = collection_name;
|
1224
1231
|
auto resp = test::utils::execute(integration.cluster, req);
|
1225
|
-
|
1232
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1226
1233
|
REQUIRE(resp.indexes.size() == 1);
|
1227
1234
|
REQUIRE(resp.indexes[0].name == "#primary");
|
1228
1235
|
REQUIRE(resp.indexes[0].is_primary);
|
@@ -1232,76 +1239,76 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1232
1239
|
SECTION("named primary index")
|
1233
1240
|
{
|
1234
1241
|
{
|
1235
|
-
couchbase::operations::management::query_index_create_response resp;
|
1242
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1236
1243
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
|
1237
|
-
couchbase::operations::management::query_index_create_request req{};
|
1244
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1238
1245
|
req.bucket_name = integration.ctx.bucket;
|
1239
1246
|
req.scope_name = scope_name;
|
1240
1247
|
req.collection_name = collection_name;
|
1241
1248
|
req.index_name = index_name;
|
1242
1249
|
req.is_primary = true;
|
1243
1250
|
resp = test::utils::execute(integration.cluster, req);
|
1244
|
-
return resp.ctx.ec != couchbase::
|
1251
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1245
1252
|
});
|
1246
1253
|
REQUIRE(operation_completed);
|
1247
|
-
|
1254
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1248
1255
|
}
|
1249
1256
|
|
1250
1257
|
{
|
1251
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1258
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1252
1259
|
req.bucket_name = integration.ctx.bucket;
|
1253
1260
|
req.scope_name = scope_name;
|
1254
1261
|
req.collection_name = collection_name;
|
1255
1262
|
auto resp = test::utils::execute(integration.cluster, req);
|
1256
|
-
|
1263
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1257
1264
|
REQUIRE(resp.indexes.size() == 1);
|
1258
1265
|
REQUIRE(resp.indexes[0].name == index_name);
|
1259
1266
|
REQUIRE(resp.indexes[0].is_primary);
|
1260
1267
|
}
|
1261
1268
|
|
1262
1269
|
{
|
1263
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1270
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1264
1271
|
req.bucket_name = integration.ctx.bucket;
|
1265
1272
|
req.index_name = index_name;
|
1266
1273
|
req.scope_name = scope_name;
|
1267
1274
|
req.is_primary = true;
|
1268
1275
|
req.collection_name = collection_name;
|
1269
1276
|
auto resp = test::utils::execute(integration.cluster, req);
|
1270
|
-
|
1277
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1271
1278
|
}
|
1272
1279
|
}
|
1273
1280
|
|
1274
1281
|
SECTION("non primary index")
|
1275
1282
|
{
|
1276
1283
|
{
|
1277
|
-
couchbase::operations::management::query_index_create_response resp;
|
1284
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1278
1285
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
|
1279
|
-
couchbase::operations::management::query_index_create_request req{};
|
1286
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1280
1287
|
req.bucket_name = integration.ctx.bucket;
|
1281
1288
|
req.index_name = index_name;
|
1282
1289
|
req.scope_name = scope_name;
|
1283
1290
|
req.collection_name = collection_name;
|
1284
1291
|
req.fields = { "field" };
|
1285
1292
|
resp = test::utils::execute(integration.cluster, req);
|
1286
|
-
return resp.ctx.ec != couchbase::
|
1293
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1287
1294
|
});
|
1288
1295
|
REQUIRE(operation_completed);
|
1289
|
-
|
1296
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1290
1297
|
}
|
1291
1298
|
|
1292
1299
|
{
|
1293
|
-
couchbase::operations::management::query_index_create_request req{};
|
1300
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1294
1301
|
req.bucket_name = integration.ctx.bucket;
|
1295
1302
|
req.index_name = index_name;
|
1296
1303
|
req.scope_name = scope_name;
|
1297
1304
|
req.collection_name = collection_name;
|
1298
1305
|
req.fields = { "field" };
|
1299
1306
|
auto resp = test::utils::execute(integration.cluster, req);
|
1300
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1307
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
1301
1308
|
}
|
1302
1309
|
|
1303
1310
|
{
|
1304
|
-
couchbase::operations::management::query_index_create_request req{};
|
1311
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1305
1312
|
req.bucket_name = integration.ctx.bucket;
|
1306
1313
|
req.index_name = index_name;
|
1307
1314
|
req.scope_name = scope_name;
|
@@ -1309,16 +1316,16 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1309
1316
|
req.fields = { "field" };
|
1310
1317
|
req.ignore_if_exists = true;
|
1311
1318
|
auto resp = test::utils::execute(integration.cluster, req);
|
1312
|
-
|
1319
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1313
1320
|
}
|
1314
1321
|
|
1315
1322
|
{
|
1316
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1323
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1317
1324
|
req.bucket_name = integration.ctx.bucket;
|
1318
1325
|
req.scope_name = scope_name;
|
1319
1326
|
req.collection_name = collection_name;
|
1320
1327
|
auto resp = test::utils::execute(integration.cluster, req);
|
1321
|
-
|
1328
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1322
1329
|
REQUIRE(resp.indexes.size() == 1);
|
1323
1330
|
REQUIRE(resp.indexes[0].name == index_name);
|
1324
1331
|
REQUIRE_FALSE(resp.indexes[0].is_primary);
|
@@ -1331,32 +1338,32 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1331
1338
|
}
|
1332
1339
|
|
1333
1340
|
{
|
1334
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1341
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1335
1342
|
req.bucket_name = integration.ctx.bucket;
|
1336
1343
|
req.index_name = index_name;
|
1337
1344
|
req.scope_name = scope_name;
|
1338
1345
|
req.collection_name = collection_name;
|
1339
1346
|
auto resp = test::utils::execute(integration.cluster, req);
|
1340
|
-
|
1347
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1341
1348
|
}
|
1342
1349
|
|
1343
1350
|
{
|
1344
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1351
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1345
1352
|
req.bucket_name = integration.ctx.bucket;
|
1346
1353
|
req.index_name = index_name;
|
1347
1354
|
req.scope_name = scope_name;
|
1348
1355
|
req.collection_name = collection_name;
|
1349
1356
|
auto resp = test::utils::execute(integration.cluster, req);
|
1350
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1357
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
1351
1358
|
}
|
1352
1359
|
}
|
1353
1360
|
|
1354
1361
|
SECTION("deferred index")
|
1355
1362
|
{
|
1356
1363
|
{
|
1357
|
-
couchbase::operations::management::query_index_create_response resp;
|
1364
|
+
couchbase::core::operations::management::query_index_create_response resp;
|
1358
1365
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
|
1359
|
-
couchbase::operations::management::query_index_create_request req{};
|
1366
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1360
1367
|
req.bucket_name = integration.ctx.bucket;
|
1361
1368
|
req.index_name = index_name;
|
1362
1369
|
req.scope_name = scope_name;
|
@@ -1364,35 +1371,43 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1364
1371
|
req.fields = { "field" };
|
1365
1372
|
req.deferred = true;
|
1366
1373
|
resp = test::utils::execute(integration.cluster, req);
|
1367
|
-
return resp.ctx.ec != couchbase::
|
1374
|
+
return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
|
1368
1375
|
});
|
1369
1376
|
REQUIRE(operation_completed);
|
1370
|
-
|
1377
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1371
1378
|
}
|
1372
1379
|
|
1373
1380
|
{
|
1374
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1381
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1375
1382
|
req.bucket_name = integration.ctx.bucket;
|
1376
1383
|
req.scope_name = scope_name;
|
1377
1384
|
req.collection_name = collection_name;
|
1378
1385
|
auto resp = test::utils::execute(integration.cluster, req);
|
1379
|
-
|
1386
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1380
1387
|
REQUIRE(resp.indexes.size() == 1);
|
1381
1388
|
REQUIRE(resp.indexes[0].name == index_name);
|
1382
1389
|
REQUIRE(resp.indexes[0].state == "deferred");
|
1383
1390
|
}
|
1384
1391
|
|
1392
|
+
SECTION("public API")
|
1393
|
+
{
|
1394
|
+
auto manager = couchbase::cluster(integration.cluster).query_indexes();
|
1395
|
+
auto ctx = manager.build_deferred_indexes(integration.ctx.bucket, {}).get();
|
1396
|
+
REQUIRE_SUCCESS(ctx.ec());
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
SECTION("core API")
|
1385
1400
|
{
|
1386
|
-
couchbase::operations::management::query_index_build_deferred_request req{};
|
1401
|
+
couchbase::core::operations::management::query_index_build_deferred_request req{};
|
1387
1402
|
req.bucket_name = integration.ctx.bucket;
|
1388
1403
|
req.scope_name = scope_name;
|
1389
1404
|
req.collection_name = collection_name;
|
1390
1405
|
auto resp = test::utils::execute(integration.cluster, req);
|
1391
|
-
|
1406
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1392
1407
|
}
|
1393
1408
|
|
1394
1409
|
test::utils::wait_until([&integration, scope_name, collection_name]() {
|
1395
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1410
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1396
1411
|
req.bucket_name = integration.ctx.bucket;
|
1397
1412
|
req.scope_name = scope_name;
|
1398
1413
|
req.collection_name = collection_name;
|
@@ -1406,57 +1421,57 @@ TEST_CASE("integration: collections query index management", "[integration]")
|
|
1406
1421
|
|
1407
1422
|
SECTION("create missing collection")
|
1408
1423
|
{
|
1409
|
-
couchbase::operations::management::query_index_create_request req{};
|
1424
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1410
1425
|
req.bucket_name = integration.ctx.bucket;
|
1411
1426
|
req.scope_name = scope_name;
|
1412
1427
|
req.collection_name = "missing_collection";
|
1413
1428
|
req.is_primary = true;
|
1414
1429
|
auto resp = test::utils::execute(integration.cluster, req);
|
1415
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1430
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
|
1416
1431
|
}
|
1417
1432
|
|
1418
1433
|
SECTION("create missing scope")
|
1419
1434
|
{
|
1420
|
-
couchbase::operations::management::query_index_create_request req{};
|
1435
|
+
couchbase::core::operations::management::query_index_create_request req{};
|
1421
1436
|
req.bucket_name = integration.ctx.bucket;
|
1422
1437
|
req.scope_name = "missing_scope";
|
1423
1438
|
req.collection_name = collection_name;
|
1424
1439
|
req.is_primary = true;
|
1425
1440
|
auto resp = test::utils::execute(integration.cluster, req);
|
1426
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1441
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
|
1427
1442
|
}
|
1428
1443
|
|
1429
1444
|
SECTION("get missing collection")
|
1430
1445
|
{
|
1431
|
-
couchbase::operations::management::query_index_get_all_request req{};
|
1446
|
+
couchbase::core::operations::management::query_index_get_all_request req{};
|
1432
1447
|
req.bucket_name = integration.ctx.bucket;
|
1433
1448
|
req.scope_name = scope_name;
|
1434
1449
|
req.collection_name = "missing_collection";
|
1435
1450
|
auto resp = test::utils::execute(integration.cluster, req);
|
1436
|
-
|
1451
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1437
1452
|
REQUIRE(resp.indexes.empty());
|
1438
1453
|
}
|
1439
1454
|
|
1440
1455
|
SECTION("drop missing collection")
|
1441
1456
|
{
|
1442
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1457
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1443
1458
|
req.bucket_name = integration.ctx.bucket;
|
1444
1459
|
req.scope_name = scope_name;
|
1445
1460
|
req.collection_name = "missing_collection";
|
1446
1461
|
req.is_primary = true;
|
1447
1462
|
auto resp = test::utils::execute(integration.cluster, req);
|
1448
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1463
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
|
1449
1464
|
}
|
1450
1465
|
|
1451
1466
|
SECTION("drop missing scope")
|
1452
1467
|
{
|
1453
|
-
couchbase::operations::management::query_index_drop_request req{};
|
1468
|
+
couchbase::core::operations::management::query_index_drop_request req{};
|
1454
1469
|
req.bucket_name = integration.ctx.bucket;
|
1455
1470
|
req.scope_name = "missing_scope";
|
1456
1471
|
req.collection_name = collection_name;
|
1457
1472
|
req.is_primary = true;
|
1458
1473
|
auto resp = test::utils::execute(integration.cluster, req);
|
1459
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1474
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
|
1460
1475
|
}
|
1461
1476
|
}
|
1462
1477
|
|
@@ -1469,7 +1484,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1469
1484
|
}
|
1470
1485
|
|
1471
1486
|
// MB-47718
|
1472
|
-
if (integration.storage_backend() == couchbase::management::cluster::bucket_storage_backend::magma) {
|
1487
|
+
if (integration.storage_backend() == couchbase::core::management::cluster::bucket_storage_backend::magma) {
|
1473
1488
|
return;
|
1474
1489
|
}
|
1475
1490
|
|
@@ -1480,96 +1495,96 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1480
1495
|
auto index_name = test::utils::uniq_id("index");
|
1481
1496
|
|
1482
1497
|
{
|
1483
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1498
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1484
1499
|
req.dataverse_name = dataverse_name;
|
1485
1500
|
auto resp = test::utils::execute(integration.cluster, req);
|
1486
|
-
|
1501
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1487
1502
|
}
|
1488
1503
|
|
1489
1504
|
{
|
1490
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1505
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1491
1506
|
req.dataverse_name = dataverse_name;
|
1492
1507
|
auto resp = test::utils::execute(integration.cluster, req);
|
1493
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1508
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_exists);
|
1494
1509
|
}
|
1495
1510
|
|
1496
1511
|
{
|
1497
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1512
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1498
1513
|
req.dataverse_name = dataverse_name;
|
1499
1514
|
req.ignore_if_exists = true;
|
1500
1515
|
auto resp = test::utils::execute(integration.cluster, req);
|
1501
|
-
|
1516
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1502
1517
|
}
|
1503
1518
|
|
1504
1519
|
{
|
1505
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1520
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1506
1521
|
req.dataset_name = dataset_name;
|
1507
1522
|
req.bucket_name = integration.ctx.bucket;
|
1508
1523
|
req.dataverse_name = dataverse_name;
|
1509
1524
|
auto resp = test::utils::execute(integration.cluster, req);
|
1510
|
-
|
1525
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1511
1526
|
}
|
1512
1527
|
|
1513
1528
|
{
|
1514
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1529
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1515
1530
|
req.dataset_name = dataset_name;
|
1516
1531
|
req.bucket_name = integration.ctx.bucket;
|
1517
1532
|
req.dataverse_name = dataverse_name;
|
1518
1533
|
auto resp = test::utils::execute(integration.cluster, req);
|
1519
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1534
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataset_exists);
|
1520
1535
|
}
|
1521
1536
|
|
1522
1537
|
{
|
1523
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1538
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1524
1539
|
req.dataset_name = dataset_name;
|
1525
1540
|
req.bucket_name = integration.ctx.bucket;
|
1526
1541
|
req.dataverse_name = dataverse_name;
|
1527
1542
|
req.ignore_if_exists = true;
|
1528
1543
|
auto resp = test::utils::execute(integration.cluster, req);
|
1529
|
-
|
1544
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1530
1545
|
}
|
1531
1546
|
|
1532
1547
|
{
|
1533
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1548
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1534
1549
|
req.dataverse_name = dataverse_name;
|
1535
1550
|
req.dataset_name = dataset_name;
|
1536
1551
|
req.index_name = index_name;
|
1537
1552
|
req.fields["testkey"] = "string";
|
1538
1553
|
auto resp = test::utils::execute(integration.cluster, req);
|
1539
|
-
|
1554
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1540
1555
|
}
|
1541
1556
|
|
1542
1557
|
{
|
1543
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1558
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1544
1559
|
req.dataverse_name = dataverse_name;
|
1545
1560
|
req.dataset_name = dataset_name;
|
1546
1561
|
req.index_name = index_name;
|
1547
1562
|
req.fields["testkey"] = "string";
|
1548
1563
|
auto resp = test::utils::execute(integration.cluster, req);
|
1549
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1564
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
1550
1565
|
}
|
1551
1566
|
|
1552
1567
|
{
|
1553
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1568
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1554
1569
|
req.dataverse_name = dataverse_name;
|
1555
1570
|
req.dataset_name = dataset_name;
|
1556
1571
|
req.index_name = index_name;
|
1557
1572
|
req.fields["testkey"] = "string";
|
1558
1573
|
req.ignore_if_exists = true;
|
1559
1574
|
auto resp = test::utils::execute(integration.cluster, req);
|
1560
|
-
|
1575
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1561
1576
|
}
|
1562
1577
|
|
1563
1578
|
{
|
1564
|
-
couchbase::operations::management::analytics_link_connect_request req{};
|
1579
|
+
couchbase::core::operations::management::analytics_link_connect_request req{};
|
1565
1580
|
auto resp = test::utils::execute(integration.cluster, req);
|
1566
|
-
|
1581
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1567
1582
|
}
|
1568
1583
|
|
1569
1584
|
{
|
1570
|
-
couchbase::operations::management::analytics_dataset_get_all_request req{};
|
1585
|
+
couchbase::core::operations::management::analytics_dataset_get_all_request req{};
|
1571
1586
|
auto resp = test::utils::execute(integration.cluster, req);
|
1572
|
-
|
1587
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1573
1588
|
REQUIRE_FALSE(resp.datasets.empty());
|
1574
1589
|
auto dataset = std::find_if(resp.datasets.begin(), resp.datasets.end(), [&dataset_name](const auto& exp_dataset) {
|
1575
1590
|
return exp_dataset.name == dataset_name;
|
@@ -1581,9 +1596,9 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1581
1596
|
}
|
1582
1597
|
|
1583
1598
|
{
|
1584
|
-
couchbase::operations::management::analytics_index_get_all_request req{};
|
1599
|
+
couchbase::core::operations::management::analytics_index_get_all_request req{};
|
1585
1600
|
auto resp = test::utils::execute(integration.cluster, req);
|
1586
|
-
|
1601
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1587
1602
|
REQUIRE_FALSE(resp.indexes.empty());
|
1588
1603
|
auto index = std::find_if(
|
1589
1604
|
resp.indexes.begin(), resp.indexes.end(), [&index_name](const auto& exp_index) { return exp_index.name == index_name; });
|
@@ -1594,91 +1609,91 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1594
1609
|
}
|
1595
1610
|
|
1596
1611
|
if (integration.cluster_version().supports_analytics_pending_mutations()) {
|
1597
|
-
couchbase::operations::management::analytics_get_pending_mutations_request req{};
|
1612
|
+
couchbase::core::operations::management::analytics_get_pending_mutations_request req{};
|
1598
1613
|
auto resp = test::utils::execute(integration.cluster, req);
|
1599
|
-
|
1614
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1600
1615
|
REQUIRE(resp.stats[index_name] == 0);
|
1601
1616
|
}
|
1602
1617
|
|
1603
1618
|
{
|
1604
|
-
couchbase::operations::management::analytics_link_disconnect_request req{};
|
1619
|
+
couchbase::core::operations::management::analytics_link_disconnect_request req{};
|
1605
1620
|
auto resp = test::utils::execute(integration.cluster, req);
|
1606
|
-
|
1621
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1607
1622
|
}
|
1608
1623
|
|
1609
1624
|
{
|
1610
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1625
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1611
1626
|
req.index_name = index_name;
|
1612
1627
|
req.dataverse_name = dataverse_name;
|
1613
1628
|
req.dataset_name = dataset_name;
|
1614
1629
|
auto resp = test::utils::execute(integration.cluster, req);
|
1615
|
-
|
1630
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1616
1631
|
}
|
1617
1632
|
|
1618
1633
|
{
|
1619
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1634
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1620
1635
|
req.index_name = index_name;
|
1621
1636
|
req.dataverse_name = dataverse_name;
|
1622
1637
|
req.dataset_name = dataset_name;
|
1623
1638
|
auto resp = test::utils::execute(integration.cluster, req);
|
1624
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1639
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
1625
1640
|
}
|
1626
1641
|
|
1627
1642
|
{
|
1628
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1643
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1629
1644
|
req.index_name = index_name;
|
1630
1645
|
req.dataverse_name = dataverse_name;
|
1631
1646
|
req.dataset_name = dataset_name;
|
1632
1647
|
req.ignore_if_does_not_exist = true;
|
1633
1648
|
auto resp = test::utils::execute(integration.cluster, req);
|
1634
|
-
|
1649
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1635
1650
|
}
|
1636
1651
|
|
1637
1652
|
{
|
1638
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1653
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1639
1654
|
req.dataverse_name = dataverse_name;
|
1640
1655
|
req.dataset_name = dataset_name;
|
1641
1656
|
auto resp = test::utils::execute(integration.cluster, req);
|
1642
|
-
|
1657
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1643
1658
|
}
|
1644
1659
|
|
1645
1660
|
{
|
1646
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1661
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1647
1662
|
req.dataverse_name = dataverse_name;
|
1648
1663
|
req.dataset_name = dataset_name;
|
1649
1664
|
auto resp = test::utils::execute(integration.cluster, req);
|
1650
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1665
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataset_not_found);
|
1651
1666
|
}
|
1652
1667
|
|
1653
1668
|
{
|
1654
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1669
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1655
1670
|
req.dataverse_name = dataverse_name;
|
1656
1671
|
req.dataset_name = dataset_name;
|
1657
1672
|
req.ignore_if_does_not_exist = true;
|
1658
1673
|
auto resp = test::utils::execute(integration.cluster, req);
|
1659
|
-
|
1674
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1660
1675
|
}
|
1661
1676
|
|
1662
1677
|
{
|
1663
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1678
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1664
1679
|
req.dataverse_name = dataverse_name;
|
1665
1680
|
auto resp = test::utils::execute(integration.cluster, req);
|
1666
|
-
|
1681
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1667
1682
|
}
|
1668
1683
|
|
1669
1684
|
{
|
1670
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1685
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1671
1686
|
req.dataverse_name = dataverse_name;
|
1672
1687
|
auto resp = test::utils::execute(integration.cluster, req);
|
1673
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1688
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_not_found);
|
1674
1689
|
}
|
1675
1690
|
|
1676
1691
|
{
|
1677
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1692
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1678
1693
|
req.dataverse_name = dataverse_name;
|
1679
1694
|
req.ignore_if_does_not_exist = true;
|
1680
1695
|
auto resp = test::utils::execute(integration.cluster, req);
|
1681
|
-
|
1696
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1682
1697
|
}
|
1683
1698
|
}
|
1684
1699
|
|
@@ -1690,67 +1705,67 @@ TEST_CASE("integration: analytics index management", "[integration]")
|
|
1690
1705
|
auto index_name = test::utils::uniq_id("index");
|
1691
1706
|
|
1692
1707
|
{
|
1693
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1708
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1694
1709
|
req.dataverse_name = dataverse_name;
|
1695
1710
|
auto resp = test::utils::execute(integration.cluster, req);
|
1696
|
-
|
1711
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1697
1712
|
}
|
1698
1713
|
|
1699
1714
|
{
|
1700
|
-
couchbase::operations::management::analytics_dataset_create_request req{};
|
1715
|
+
couchbase::core::operations::management::analytics_dataset_create_request req{};
|
1701
1716
|
req.bucket_name = integration.ctx.bucket;
|
1702
1717
|
req.dataverse_name = dataverse_name;
|
1703
1718
|
req.dataset_name = dataset_name;
|
1704
1719
|
auto resp = test::utils::execute(integration.cluster, req);
|
1705
|
-
|
1720
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1706
1721
|
}
|
1707
1722
|
|
1708
1723
|
{
|
1709
|
-
couchbase::operations::management::analytics_index_create_request req{};
|
1724
|
+
couchbase::core::operations::management::analytics_index_create_request req{};
|
1710
1725
|
req.dataverse_name = dataverse_name;
|
1711
1726
|
req.dataset_name = dataset_name;
|
1712
1727
|
req.index_name = index_name;
|
1713
1728
|
req.fields["testkey"] = "string";
|
1714
1729
|
auto resp = test::utils::execute(integration.cluster, req);
|
1715
|
-
|
1730
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1716
1731
|
}
|
1717
1732
|
|
1718
1733
|
{
|
1719
|
-
couchbase::operations::management::analytics_link_connect_request req{};
|
1734
|
+
couchbase::core::operations::management::analytics_link_connect_request req{};
|
1720
1735
|
req.dataverse_name = dataverse_name;
|
1721
1736
|
auto resp = test::utils::execute(integration.cluster, req);
|
1722
|
-
|
1737
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1723
1738
|
}
|
1724
1739
|
|
1725
1740
|
{
|
1726
|
-
couchbase::operations::management::analytics_link_disconnect_request req{};
|
1741
|
+
couchbase::core::operations::management::analytics_link_disconnect_request req{};
|
1727
1742
|
req.dataverse_name = dataverse_name;
|
1728
1743
|
auto resp = test::utils::execute(integration.cluster, req);
|
1729
|
-
|
1744
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1730
1745
|
}
|
1731
1746
|
|
1732
1747
|
{
|
1733
|
-
couchbase::operations::management::analytics_index_drop_request req{};
|
1748
|
+
couchbase::core::operations::management::analytics_index_drop_request req{};
|
1734
1749
|
req.dataverse_name = dataverse_name;
|
1735
1750
|
req.dataset_name = dataset_name;
|
1736
1751
|
req.index_name = index_name;
|
1737
1752
|
auto resp = test::utils::execute(integration.cluster, req);
|
1738
|
-
|
1753
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1739
1754
|
}
|
1740
1755
|
|
1741
1756
|
{
|
1742
|
-
couchbase::operations::management::analytics_dataset_drop_request req{};
|
1757
|
+
couchbase::core::operations::management::analytics_dataset_drop_request req{};
|
1743
1758
|
req.dataverse_name = dataverse_name;
|
1744
1759
|
req.dataset_name = dataset_name;
|
1745
1760
|
auto resp = test::utils::execute(integration.cluster, req);
|
1746
|
-
|
1761
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1747
1762
|
}
|
1748
1763
|
|
1749
1764
|
{
|
1750
|
-
couchbase::operations::management::analytics_dataverse_drop_request req{};
|
1765
|
+
couchbase::core::operations::management::analytics_dataverse_drop_request req{};
|
1751
1766
|
req.dataverse_name = dataverse_name;
|
1752
1767
|
auto resp = test::utils::execute(integration.cluster, req);
|
1753
|
-
|
1768
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1754
1769
|
}
|
1755
1770
|
}
|
1756
1771
|
}
|
@@ -1760,45 +1775,47 @@ void
|
|
1760
1775
|
run_s3_link_test(test::utils::integration_test_guard& integration, const std::string& dataverse_name, const std::string& link_name)
|
1761
1776
|
{
|
1762
1777
|
{
|
1763
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1778
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1764
1779
|
req.dataverse_name = dataverse_name;
|
1765
1780
|
auto resp = test::utils::execute(integration.cluster, req);
|
1766
|
-
|
1781
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1767
1782
|
}
|
1768
1783
|
|
1769
1784
|
{
|
1770
|
-
couchbase::management::analytics::s3_external_link link{};
|
1785
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
1771
1786
|
link.dataverse = dataverse_name;
|
1772
1787
|
link.access_key_id = "access_key";
|
1773
1788
|
link.secret_access_key = "secret_access_key";
|
1774
1789
|
link.region = "us-east-1";
|
1775
1790
|
link.service_endpoint = "service_endpoint";
|
1776
1791
|
link.link_name = link_name;
|
1777
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
1792
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
1793
|
+
req{};
|
1778
1794
|
req.link = link;
|
1779
1795
|
auto resp = test::utils::execute(integration.cluster, req);
|
1780
|
-
|
1796
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1781
1797
|
}
|
1782
1798
|
|
1783
1799
|
{
|
1784
|
-
couchbase::management::analytics::s3_external_link link{};
|
1800
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
1785
1801
|
link.dataverse = dataverse_name;
|
1786
1802
|
link.access_key_id = "access_key";
|
1787
1803
|
link.secret_access_key = "secret_access_key";
|
1788
1804
|
link.region = "us-east-1";
|
1789
1805
|
link.service_endpoint = "service_endpoint";
|
1790
1806
|
link.link_name = link_name;
|
1791
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
1807
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
1808
|
+
req{};
|
1792
1809
|
req.link = link;
|
1793
1810
|
auto resp = test::utils::execute(integration.cluster, req);
|
1794
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1811
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_exists);
|
1795
1812
|
}
|
1796
1813
|
|
1797
1814
|
{
|
1798
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1815
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1799
1816
|
req.dataverse_name = dataverse_name;
|
1800
1817
|
auto resp = test::utils::execute(integration.cluster, req);
|
1801
|
-
|
1818
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1802
1819
|
REQUIRE(resp.s3.size() == 1);
|
1803
1820
|
REQUIRE(resp.s3[0].link_name == link_name);
|
1804
1821
|
REQUIRE(resp.s3[0].dataverse == dataverse_name);
|
@@ -1809,64 +1826,65 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
|
|
1809
1826
|
}
|
1810
1827
|
|
1811
1828
|
{
|
1812
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1829
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1813
1830
|
req.link_type = "s3";
|
1814
1831
|
req.dataverse_name = dataverse_name;
|
1815
1832
|
auto resp = test::utils::execute(integration.cluster, req);
|
1816
|
-
|
1833
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1817
1834
|
REQUIRE(resp.s3.size() == 1);
|
1818
1835
|
REQUIRE(resp.azure_blob.empty());
|
1819
1836
|
REQUIRE(resp.couchbase.empty());
|
1820
1837
|
}
|
1821
1838
|
|
1822
1839
|
{
|
1823
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1840
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1824
1841
|
req.link_type = "couchbase";
|
1825
1842
|
req.dataverse_name = dataverse_name;
|
1826
1843
|
auto resp = test::utils::execute(integration.cluster, req);
|
1827
|
-
|
1844
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1828
1845
|
REQUIRE(resp.s3.empty());
|
1829
1846
|
REQUIRE(resp.azure_blob.empty());
|
1830
1847
|
REQUIRE(resp.couchbase.empty());
|
1831
1848
|
}
|
1832
1849
|
|
1833
1850
|
{
|
1834
|
-
couchbase::management::analytics::s3_external_link link{};
|
1851
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
1835
1852
|
link.dataverse = dataverse_name;
|
1836
1853
|
link.access_key_id = "access_key";
|
1837
1854
|
link.secret_access_key = "secret_access_key";
|
1838
1855
|
link.region = "eu-west-1";
|
1839
1856
|
link.service_endpoint = "service_endpoint";
|
1840
1857
|
link.link_name = link_name;
|
1841
|
-
couchbase::operations::management::analytics_link_replace_request<couchbase::management::analytics::s3_external_link>
|
1858
|
+
couchbase::core::operations::management::analytics_link_replace_request<couchbase::core::management::analytics::s3_external_link>
|
1859
|
+
req{};
|
1842
1860
|
req.link = link;
|
1843
1861
|
auto resp = test::utils::execute(integration.cluster, req);
|
1844
|
-
|
1862
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1845
1863
|
}
|
1846
1864
|
|
1847
1865
|
{
|
1848
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1866
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1849
1867
|
req.dataverse_name = dataverse_name;
|
1850
1868
|
auto resp = test::utils::execute(integration.cluster, req);
|
1851
|
-
|
1869
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1852
1870
|
REQUIRE(resp.s3.size() == 1);
|
1853
1871
|
REQUIRE(resp.s3[0].region == "eu-west-1");
|
1854
1872
|
}
|
1855
1873
|
|
1856
1874
|
{
|
1857
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1875
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1858
1876
|
req.dataverse_name = dataverse_name;
|
1859
1877
|
req.link_name = link_name;
|
1860
1878
|
auto resp = test::utils::execute(integration.cluster, req);
|
1861
|
-
|
1879
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1862
1880
|
}
|
1863
1881
|
|
1864
1882
|
{
|
1865
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1883
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1866
1884
|
req.dataverse_name = dataverse_name;
|
1867
1885
|
req.link_name = link_name;
|
1868
1886
|
auto resp = test::utils::execute(integration.cluster, req);
|
1869
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1887
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_not_found);
|
1870
1888
|
}
|
1871
1889
|
}
|
1872
1890
|
|
@@ -1874,43 +1892,47 @@ void
|
|
1874
1892
|
run_azure_link_test(test::utils::integration_test_guard& integration, const std::string& dataverse_name, const std::string& link_name)
|
1875
1893
|
{
|
1876
1894
|
{
|
1877
|
-
couchbase::operations::management::analytics_dataverse_create_request req{};
|
1895
|
+
couchbase::core::operations::management::analytics_dataverse_create_request req{};
|
1878
1896
|
req.dataverse_name = dataverse_name;
|
1879
1897
|
auto resp = test::utils::execute(integration.cluster, req);
|
1880
|
-
|
1898
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1881
1899
|
}
|
1882
1900
|
|
1883
1901
|
{
|
1884
|
-
couchbase::management::analytics::azure_blob_external_link link{};
|
1902
|
+
couchbase::core::management::analytics::azure_blob_external_link link{};
|
1885
1903
|
link.dataverse = dataverse_name;
|
1886
1904
|
link.connection_string = "connection_string";
|
1887
1905
|
link.blob_endpoint = "blob_endpoint";
|
1888
1906
|
link.endpoint_suffix = "endpoint_suffix";
|
1889
1907
|
link.link_name = link_name;
|
1890
|
-
couchbase::operations::management::analytics_link_create_request<
|
1908
|
+
couchbase::core::operations::management::analytics_link_create_request<
|
1909
|
+
couchbase::core::management::analytics::azure_blob_external_link>
|
1910
|
+
req{};
|
1891
1911
|
req.link = link;
|
1892
1912
|
auto resp = test::utils::execute(integration.cluster, req);
|
1893
|
-
|
1913
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1894
1914
|
}
|
1895
1915
|
|
1896
1916
|
{
|
1897
|
-
couchbase::management::analytics::azure_blob_external_link link{};
|
1917
|
+
couchbase::core::management::analytics::azure_blob_external_link link{};
|
1898
1918
|
link.dataverse = dataverse_name;
|
1899
1919
|
link.connection_string = "connection_string";
|
1900
1920
|
link.blob_endpoint = "blob_endpoint";
|
1901
1921
|
link.endpoint_suffix = "endpoint_suffix";
|
1902
1922
|
link.link_name = link_name;
|
1903
|
-
couchbase::operations::management::analytics_link_create_request<
|
1923
|
+
couchbase::core::operations::management::analytics_link_create_request<
|
1924
|
+
couchbase::core::management::analytics::azure_blob_external_link>
|
1925
|
+
req{};
|
1904
1926
|
req.link = link;
|
1905
1927
|
auto resp = test::utils::execute(integration.cluster, req);
|
1906
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
1928
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_exists);
|
1907
1929
|
}
|
1908
1930
|
|
1909
1931
|
{
|
1910
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1932
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1911
1933
|
req.dataverse_name = dataverse_name;
|
1912
1934
|
auto resp = test::utils::execute(integration.cluster, req);
|
1913
|
-
|
1935
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1914
1936
|
REQUIRE(resp.azure_blob.size() == 1);
|
1915
1937
|
REQUIRE(resp.azure_blob[0].link_name == link_name);
|
1916
1938
|
REQUIRE(resp.azure_blob[0].dataverse == dataverse_name);
|
@@ -1923,63 +1945,65 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
|
|
1923
1945
|
}
|
1924
1946
|
|
1925
1947
|
{
|
1926
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1948
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1927
1949
|
req.link_type = "azureblob";
|
1928
1950
|
req.dataverse_name = dataverse_name;
|
1929
1951
|
auto resp = test::utils::execute(integration.cluster, req);
|
1930
|
-
|
1952
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1931
1953
|
REQUIRE(resp.azure_blob.size() == 1);
|
1932
1954
|
REQUIRE(resp.s3.empty());
|
1933
1955
|
REQUIRE(resp.couchbase.empty());
|
1934
1956
|
}
|
1935
1957
|
|
1936
1958
|
{
|
1937
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1959
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1938
1960
|
req.link_type = "couchbase";
|
1939
1961
|
req.dataverse_name = dataverse_name;
|
1940
1962
|
auto resp = test::utils::execute(integration.cluster, req);
|
1941
|
-
|
1963
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1942
1964
|
REQUIRE(resp.s3.empty());
|
1943
1965
|
REQUIRE(resp.azure_blob.empty());
|
1944
1966
|
REQUIRE(resp.couchbase.empty());
|
1945
1967
|
}
|
1946
1968
|
|
1947
1969
|
{
|
1948
|
-
couchbase::management::analytics::azure_blob_external_link link{};
|
1970
|
+
couchbase::core::management::analytics::azure_blob_external_link link{};
|
1949
1971
|
link.dataverse = dataverse_name;
|
1950
1972
|
link.connection_string = "connection_string";
|
1951
1973
|
link.blob_endpoint = "new_blob_endpoint";
|
1952
1974
|
link.endpoint_suffix = "endpoint_suffix";
|
1953
1975
|
link.link_name = link_name;
|
1954
|
-
couchbase::operations::management::analytics_link_replace_request<
|
1976
|
+
couchbase::core::operations::management::analytics_link_replace_request<
|
1977
|
+
couchbase::core::management::analytics::azure_blob_external_link>
|
1978
|
+
req{};
|
1955
1979
|
req.link = link;
|
1956
1980
|
auto resp = test::utils::execute(integration.cluster, req);
|
1957
|
-
|
1981
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1958
1982
|
}
|
1959
1983
|
|
1960
1984
|
{
|
1961
|
-
couchbase::operations::management::analytics_link_get_all_request req{};
|
1985
|
+
couchbase::core::operations::management::analytics_link_get_all_request req{};
|
1962
1986
|
req.dataverse_name = dataverse_name;
|
1963
1987
|
auto resp = test::utils::execute(integration.cluster, req);
|
1964
|
-
|
1988
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1965
1989
|
REQUIRE(resp.azure_blob.size() == 1);
|
1966
1990
|
REQUIRE(resp.azure_blob[0].blob_endpoint == "new_blob_endpoint");
|
1967
1991
|
}
|
1968
1992
|
|
1969
1993
|
{
|
1970
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
1994
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1971
1995
|
req.dataverse_name = dataverse_name;
|
1972
1996
|
req.link_name = link_name;
|
1973
1997
|
auto resp = test::utils::execute(integration.cluster, req);
|
1974
|
-
|
1998
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
1975
1999
|
}
|
1976
2000
|
|
1977
2001
|
{
|
1978
|
-
couchbase::operations::management::analytics_link_drop_request req{};
|
2002
|
+
couchbase::core::operations::management::analytics_link_drop_request req{};
|
1979
2003
|
req.dataverse_name = dataverse_name;
|
1980
2004
|
req.link_name = link_name;
|
1981
2005
|
auto resp = test::utils::execute(integration.cluster, req);
|
1982
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2006
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_not_found);
|
1983
2007
|
}
|
1984
2008
|
}
|
1985
2009
|
|
@@ -1992,7 +2016,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
1992
2016
|
}
|
1993
2017
|
|
1994
2018
|
// MB-47718
|
1995
|
-
if (integration.storage_backend() == couchbase::management::cluster::bucket_storage_backend::magma) {
|
2019
|
+
if (integration.storage_backend() == couchbase::core::management::cluster::bucket_storage_backend::magma) {
|
1996
2020
|
return;
|
1997
2021
|
}
|
1998
2022
|
|
@@ -2007,7 +2031,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
2007
2031
|
|
2008
2032
|
SECTION("missing dataverse")
|
2009
2033
|
{
|
2010
|
-
couchbase::management::analytics::s3_external_link link{};
|
2034
|
+
couchbase::core::management::analytics::s3_external_link link{};
|
2011
2035
|
link.dataverse = "missing_dataverse";
|
2012
2036
|
link.access_key_id = "access_key";
|
2013
2037
|
link.secret_access_key = "secret_access_key";
|
@@ -2016,19 +2040,21 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
2016
2040
|
link.link_name = link_name;
|
2017
2041
|
|
2018
2042
|
{
|
2019
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
2043
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
2044
|
+
req{};
|
2020
2045
|
req.link = link;
|
2021
2046
|
auto resp = test::utils::execute(integration.cluster, req);
|
2022
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2047
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_not_found);
|
2023
2048
|
}
|
2024
2049
|
}
|
2025
2050
|
|
2026
2051
|
SECTION("missing argument")
|
2027
2052
|
{
|
2028
|
-
couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link>
|
2029
|
-
|
2053
|
+
couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
|
2054
|
+
req{};
|
2055
|
+
req.link = couchbase::core::management::analytics::s3_external_link{};
|
2030
2056
|
auto resp = test::utils::execute(integration.cluster, req);
|
2031
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2057
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
|
2032
2058
|
}
|
2033
2059
|
|
2034
2060
|
SECTION("link crud")
|
@@ -2054,9 +2080,9 @@ TEST_CASE("integration: analytics external link management", "[integration]")
|
|
2054
2080
|
auto scope_name = test::utils::uniq_id("scope");
|
2055
2081
|
|
2056
2082
|
{
|
2057
|
-
couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
2083
|
+
couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
|
2058
2084
|
auto resp = test::utils::execute(integration.cluster, req);
|
2059
|
-
|
2085
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2060
2086
|
auto created =
|
2061
2087
|
test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
|
2062
2088
|
REQUIRE(created);
|
@@ -2089,121 +2115,151 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2089
2115
|
|
2090
2116
|
SECTION("search indexes crud")
|
2091
2117
|
{
|
2092
|
-
auto index1_name = test::utils::uniq_id("
|
2093
|
-
auto index2_name = test::utils::uniq_id("
|
2118
|
+
auto index1_name = test::utils::uniq_id("index1");
|
2119
|
+
auto index2_name = test::utils::uniq_id("index2");
|
2094
2120
|
auto alias_name = test::utils::uniq_id("alias");
|
2095
2121
|
|
2096
2122
|
{
|
2097
|
-
couchbase::management::search::index index;
|
2123
|
+
couchbase::core::management::search::index index;
|
2098
2124
|
index.name = index1_name;
|
2099
2125
|
index.type = "fulltext-index";
|
2100
2126
|
index.source_type = "couchbase";
|
2101
2127
|
index.source_name = integration.ctx.bucket;
|
2102
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2128
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2103
2129
|
req.index = index;
|
2104
2130
|
auto resp = test::utils::execute(integration.cluster, req);
|
2105
|
-
|
2131
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2106
2132
|
}
|
2107
2133
|
|
2108
2134
|
{
|
2109
|
-
couchbase::management::search::index index;
|
2135
|
+
couchbase::core::management::search::index index;
|
2110
2136
|
index.name = index1_name;
|
2111
2137
|
index.type = "fulltext-index";
|
2112
2138
|
index.source_type = "couchbase";
|
2113
2139
|
index.source_name = integration.ctx.bucket;
|
2114
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2140
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2115
2141
|
req.index = index;
|
2116
2142
|
auto resp = test::utils::execute(integration.cluster, req);
|
2117
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2143
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
|
2118
2144
|
}
|
2119
2145
|
|
2120
2146
|
{
|
2121
|
-
couchbase::management::search::index index;
|
2147
|
+
couchbase::core::management::search::index index;
|
2122
2148
|
index.name = index2_name;
|
2123
2149
|
index.type = "fulltext-index";
|
2124
2150
|
index.source_type = "couchbase";
|
2125
2151
|
index.source_name = integration.ctx.bucket;
|
2126
2152
|
index.plan_params_json = R"({ "indexPartition": 3 })";
|
2127
2153
|
index.params_json = R"({ "store": { "indexType": "upside_down", "kvStoreName": "moss" }})";
|
2128
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2154
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2129
2155
|
req.index = index;
|
2130
2156
|
auto resp = test::utils::execute(integration.cluster, req);
|
2131
|
-
|
2157
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2158
|
+
if (resp.name != index2_name) {
|
2159
|
+
// FIXME: server 7.2 might automatically prepend "{scope}.{collection}." in front of the index name
|
2160
|
+
// to workaround it, we "patch" our variable with the name returned by the server
|
2161
|
+
index2_name = resp.name;
|
2162
|
+
}
|
2132
2163
|
}
|
2133
2164
|
|
2134
2165
|
{
|
2135
|
-
couchbase::management::search::index index;
|
2166
|
+
couchbase::core::management::search::index index;
|
2136
2167
|
index.name = alias_name;
|
2137
2168
|
index.type = "fulltext-alias";
|
2138
2169
|
index.source_type = "nil";
|
2139
|
-
index.params_json = couchbase::utils::json::generate(
|
2170
|
+
index.params_json = couchbase::core::utils::json::generate(
|
2140
2171
|
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{};
|
2172
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2142
2173
|
req.index = index;
|
2143
2174
|
auto resp = test::utils::execute(integration.cluster, req);
|
2144
|
-
|
2175
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2145
2176
|
}
|
2146
2177
|
|
2147
2178
|
{
|
2148
|
-
couchbase::operations::management::search_index_get_request req{};
|
2179
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2149
2180
|
req.index_name = index1_name;
|
2150
2181
|
auto resp = test::utils::execute(integration.cluster, req);
|
2151
|
-
|
2182
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2152
2183
|
REQUIRE(resp.index.name == index1_name);
|
2153
2184
|
REQUIRE(resp.index.type == "fulltext-index");
|
2154
2185
|
}
|
2155
2186
|
|
2156
2187
|
{
|
2157
|
-
couchbase::operations::management::search_index_get_request req{};
|
2188
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2189
|
+
req.index_name = index2_name;
|
2190
|
+
auto resp = test::utils::execute(integration.cluster, req);
|
2191
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2192
|
+
REQUIRE(resp.index.name == index2_name);
|
2193
|
+
REQUIRE(resp.index.type == "fulltext-index");
|
2194
|
+
}
|
2195
|
+
|
2196
|
+
{
|
2197
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2198
|
+
req.index_name = alias_name;
|
2199
|
+
auto resp = test::utils::execute(integration.cluster, req);
|
2200
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2201
|
+
REQUIRE(resp.index.name == alias_name);
|
2202
|
+
REQUIRE(resp.index.type == "fulltext-alias");
|
2203
|
+
}
|
2204
|
+
|
2205
|
+
{
|
2206
|
+
couchbase::core::operations::management::search_index_get_request req{};
|
2158
2207
|
req.index_name = "missing_index";
|
2159
2208
|
auto resp = test::utils::execute(integration.cluster, req);
|
2160
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2209
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
2161
2210
|
}
|
2162
2211
|
|
2163
2212
|
{
|
2164
|
-
couchbase::operations::management::search_index_get_all_request req{};
|
2213
|
+
couchbase::core::operations::management::search_index_get_all_request req{};
|
2165
2214
|
auto resp = test::utils::execute(integration.cluster, req);
|
2166
|
-
|
2215
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2167
2216
|
REQUIRE_FALSE(resp.indexes.empty());
|
2217
|
+
|
2218
|
+
REQUIRE(1 == std::count_if(
|
2219
|
+
resp.indexes.begin(), resp.indexes.end(), [&index1_name](const auto& i) { return i.name == index1_name; }));
|
2220
|
+
REQUIRE(1 == std::count_if(
|
2221
|
+
resp.indexes.begin(), resp.indexes.end(), [&index2_name](const auto& i) { return i.name == index2_name; }));
|
2222
|
+
REQUIRE(1 ==
|
2223
|
+
std::count_if(resp.indexes.begin(), resp.indexes.end(), [&alias_name](const auto& i) { return i.name == alias_name; }));
|
2168
2224
|
}
|
2169
2225
|
|
2170
2226
|
{
|
2171
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2227
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2172
2228
|
req.index_name = index1_name;
|
2173
2229
|
auto resp = test::utils::execute(integration.cluster, req);
|
2174
|
-
|
2230
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2175
2231
|
}
|
2176
2232
|
|
2177
2233
|
{
|
2178
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2234
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2179
2235
|
req.index_name = index2_name;
|
2180
2236
|
auto resp = test::utils::execute(integration.cluster, req);
|
2181
|
-
|
2237
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2182
2238
|
}
|
2183
2239
|
|
2184
2240
|
{
|
2185
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2241
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2186
2242
|
req.index_name = alias_name;
|
2187
2243
|
auto resp = test::utils::execute(integration.cluster, req);
|
2188
|
-
|
2244
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2189
2245
|
}
|
2190
2246
|
|
2191
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2247
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2192
2248
|
req.index_name = "missing_index";
|
2193
2249
|
auto resp = test::utils::execute(integration.cluster, req);
|
2194
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2250
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
|
2195
2251
|
}
|
2196
2252
|
|
2197
2253
|
SECTION("upsert index no name")
|
2198
2254
|
{
|
2199
|
-
couchbase::management::search::index index;
|
2255
|
+
couchbase::core::management::search::index index;
|
2200
2256
|
index.type = "fulltext-index";
|
2201
2257
|
index.source_type = "couchbase";
|
2202
2258
|
index.source_name = integration.ctx.bucket;
|
2203
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2259
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2204
2260
|
req.index = index;
|
2205
2261
|
auto resp = test::utils::execute(integration.cluster, req);
|
2206
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2262
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
|
2207
2263
|
}
|
2208
2264
|
|
2209
2265
|
SECTION("control")
|
@@ -2211,78 +2267,78 @@ TEST_CASE("integration: search index management", "[integration]")
|
|
2211
2267
|
auto index_name = test::utils::uniq_id("index");
|
2212
2268
|
|
2213
2269
|
{
|
2214
|
-
couchbase::management::search::index index;
|
2270
|
+
couchbase::core::management::search::index index;
|
2215
2271
|
index.name = index_name;
|
2216
2272
|
index.type = "fulltext-index";
|
2217
2273
|
index.source_type = "couchbase";
|
2218
2274
|
index.source_name = integration.ctx.bucket;
|
2219
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2275
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2220
2276
|
req.index = index;
|
2221
2277
|
auto resp = test::utils::execute(integration.cluster, req);
|
2222
|
-
|
2278
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2223
2279
|
}
|
2224
2280
|
|
2225
2281
|
SECTION("ingest control")
|
2226
2282
|
{
|
2227
2283
|
{
|
2228
|
-
couchbase::operations::management::search_index_control_ingest_request req{};
|
2284
|
+
couchbase::core::operations::management::search_index_control_ingest_request req{};
|
2229
2285
|
req.index_name = index_name;
|
2230
2286
|
req.pause = true;
|
2231
2287
|
auto resp = test::utils::execute(integration.cluster, req);
|
2232
|
-
|
2288
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2233
2289
|
}
|
2234
2290
|
|
2235
2291
|
{
|
2236
|
-
couchbase::operations::management::search_index_control_ingest_request req{};
|
2292
|
+
couchbase::core::operations::management::search_index_control_ingest_request req{};
|
2237
2293
|
req.index_name = index_name;
|
2238
2294
|
req.pause = false;
|
2239
2295
|
auto resp = test::utils::execute(integration.cluster, req);
|
2240
|
-
|
2296
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2241
2297
|
}
|
2242
2298
|
}
|
2243
2299
|
|
2244
2300
|
SECTION("query control")
|
2245
2301
|
{
|
2246
2302
|
{
|
2247
|
-
couchbase::operations::management::search_index_control_query_request req{};
|
2303
|
+
couchbase::core::operations::management::search_index_control_query_request req{};
|
2248
2304
|
req.index_name = index_name;
|
2249
2305
|
req.allow = true;
|
2250
2306
|
auto resp = test::utils::execute(integration.cluster, req);
|
2251
|
-
|
2307
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2252
2308
|
}
|
2253
2309
|
|
2254
2310
|
{
|
2255
|
-
couchbase::operations::management::search_index_control_query_request req{};
|
2311
|
+
couchbase::core::operations::management::search_index_control_query_request req{};
|
2256
2312
|
req.index_name = index_name;
|
2257
2313
|
req.allow = false;
|
2258
2314
|
auto resp = test::utils::execute(integration.cluster, req);
|
2259
|
-
|
2315
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2260
2316
|
}
|
2261
2317
|
}
|
2262
2318
|
|
2263
2319
|
SECTION("partition control")
|
2264
2320
|
{
|
2265
2321
|
{
|
2266
|
-
couchbase::operations::management::search_index_control_plan_freeze_request req{};
|
2322
|
+
couchbase::core::operations::management::search_index_control_plan_freeze_request req{};
|
2267
2323
|
req.index_name = index_name;
|
2268
2324
|
req.freeze = true;
|
2269
2325
|
auto resp = test::utils::execute(integration.cluster, req);
|
2270
|
-
|
2326
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2271
2327
|
}
|
2272
2328
|
|
2273
2329
|
{
|
2274
|
-
couchbase::operations::management::search_index_control_plan_freeze_request req{};
|
2330
|
+
couchbase::core::operations::management::search_index_control_plan_freeze_request req{};
|
2275
2331
|
req.index_name = index_name;
|
2276
2332
|
req.freeze = false;
|
2277
2333
|
auto resp = test::utils::execute(integration.cluster, req);
|
2278
|
-
|
2334
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2279
2335
|
}
|
2280
2336
|
}
|
2281
2337
|
|
2282
|
-
couchbase::operations::management::search_index_drop_request req{};
|
2338
|
+
couchbase::core::operations::management::search_index_drop_request req{};
|
2283
2339
|
req.index_name = index_name;
|
2284
2340
|
auto resp = test::utils::execute(integration.cluster, req);
|
2285
|
-
|
2341
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2286
2342
|
}
|
2287
2343
|
}
|
2288
2344
|
|
@@ -2291,12 +2347,12 @@ wait_for_search_pindexes_ready(test::utils::integration_test_guard& integration,
|
|
2291
2347
|
{
|
2292
2348
|
return test::utils::wait_until(
|
2293
2349
|
[&integration, &index_name]() {
|
2294
|
-
couchbase::operations::management::search_index_stats_request req{};
|
2350
|
+
couchbase::core::operations::management::search_index_stats_request req{};
|
2295
2351
|
auto resp = test::utils::execute(integration.cluster, req);
|
2296
2352
|
if (resp.ctx.ec || resp.stats.empty()) {
|
2297
2353
|
return false;
|
2298
2354
|
}
|
2299
|
-
auto stats = couchbase::utils::json::parse(resp.stats);
|
2355
|
+
auto stats = couchbase::core::utils::json::parse(resp.stats);
|
2300
2356
|
const auto* num_pindexes_actual = stats.find(fmt::format("{}:{}:num_pindexes_actual", integration.ctx.bucket, index_name));
|
2301
2357
|
if (num_pindexes_actual == nullptr || !num_pindexes_actual->is_number()) {
|
2302
2358
|
return false;
|
@@ -2321,29 +2377,29 @@ TEST_CASE("integration: search index management analyze document", "[integration
|
|
2321
2377
|
auto index_name = test::utils::uniq_id("index");
|
2322
2378
|
|
2323
2379
|
{
|
2324
|
-
couchbase::management::search::index index;
|
2380
|
+
couchbase::core::management::search::index index;
|
2325
2381
|
index.name = index_name;
|
2326
2382
|
index.type = "fulltext-index";
|
2327
2383
|
index.source_type = "couchbase";
|
2328
2384
|
index.source_name = integration.ctx.bucket;
|
2329
|
-
couchbase::operations::management::search_index_upsert_request req{};
|
2385
|
+
couchbase::core::operations::management::search_index_upsert_request req{};
|
2330
2386
|
req.index = index;
|
2331
2387
|
auto resp = test::utils::execute(integration.cluster, req);
|
2332
|
-
|
2388
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2333
2389
|
}
|
2334
2390
|
|
2335
2391
|
REQUIRE(wait_for_search_pindexes_ready(integration, index_name));
|
2336
2392
|
|
2337
|
-
couchbase::operations::management::search_index_analyze_document_response resp;
|
2393
|
+
couchbase::core::operations::management::search_index_analyze_document_response resp;
|
2338
2394
|
bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
|
2339
|
-
couchbase::operations::management::search_index_analyze_document_request req{};
|
2395
|
+
couchbase::core::operations::management::search_index_analyze_document_request req{};
|
2340
2396
|
req.index_name = index_name;
|
2341
2397
|
req.encoded_document = R"({ "name": "hello world" })";
|
2342
2398
|
resp = test::utils::execute(integration.cluster, req);
|
2343
|
-
return resp.ctx.ec != couchbase::
|
2399
|
+
return resp.ctx.ec != couchbase::errc::common::internal_server_failure;
|
2344
2400
|
});
|
2345
2401
|
REQUIRE(operation_completed);
|
2346
|
-
|
2402
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2347
2403
|
REQUIRE_FALSE(resp.analysis.empty());
|
2348
2404
|
}
|
2349
2405
|
|
@@ -2357,37 +2413,37 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2357
2413
|
|
2358
2414
|
SECTION("key_value")
|
2359
2415
|
{
|
2360
|
-
couchbase::operations::management::freeform_request req{};
|
2361
|
-
req.type = couchbase::service_type::key_value;
|
2416
|
+
couchbase::core::operations::management::freeform_request req{};
|
2417
|
+
req.type = couchbase::core::service_type::key_value;
|
2362
2418
|
auto resp = test::utils::execute(integration.cluster, req);
|
2363
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2419
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
|
2364
2420
|
}
|
2365
2421
|
|
2366
2422
|
if (integration.cluster_version().supports_analytics() && integration.has_analytics_service()) {
|
2367
2423
|
SECTION("analytics")
|
2368
2424
|
{
|
2369
|
-
couchbase::operations::management::freeform_request req{};
|
2370
|
-
req.type = couchbase::service_type::analytics;
|
2425
|
+
couchbase::core::operations::management::freeform_request req{};
|
2426
|
+
req.type = couchbase::core::service_type::analytics;
|
2371
2427
|
req.method = "GET";
|
2372
2428
|
req.path = "/admin/ping";
|
2373
2429
|
auto resp = test::utils::execute(integration.cluster, req);
|
2374
|
-
|
2430
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2375
2431
|
REQUIRE(resp.status == 200);
|
2376
2432
|
REQUIRE_FALSE(resp.body.empty());
|
2377
2433
|
INFO(resp.body)
|
2378
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2434
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2379
2435
|
REQUIRE(result.is_object());
|
2380
2436
|
}
|
2381
2437
|
}
|
2382
2438
|
|
2383
2439
|
SECTION("search")
|
2384
2440
|
{
|
2385
|
-
couchbase::operations::management::freeform_request req{};
|
2386
|
-
req.type = couchbase::service_type::search;
|
2441
|
+
couchbase::core::operations::management::freeform_request req{};
|
2442
|
+
req.type = couchbase::core::service_type::search;
|
2387
2443
|
req.method = "GET";
|
2388
2444
|
req.path = "/api/ping";
|
2389
2445
|
auto resp = test::utils::execute(integration.cluster, req);
|
2390
|
-
|
2446
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2391
2447
|
REQUIRE(resp.status == 200);
|
2392
2448
|
REQUIRE(resp.body.empty());
|
2393
2449
|
REQUIRE_FALSE(resp.headers.empty());
|
@@ -2396,16 +2452,16 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2396
2452
|
|
2397
2453
|
SECTION("query")
|
2398
2454
|
{
|
2399
|
-
couchbase::operations::management::freeform_request req{};
|
2400
|
-
req.type = couchbase::service_type::query;
|
2455
|
+
couchbase::core::operations::management::freeform_request req{};
|
2456
|
+
req.type = couchbase::core::service_type::query;
|
2401
2457
|
req.method = "GET";
|
2402
2458
|
req.path = "/admin/ping";
|
2403
2459
|
auto resp = test::utils::execute(integration.cluster, req);
|
2404
|
-
|
2460
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2405
2461
|
REQUIRE(resp.status == 200);
|
2406
2462
|
REQUIRE_FALSE(resp.body.empty());
|
2407
2463
|
INFO(resp.body)
|
2408
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2464
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2409
2465
|
REQUIRE(result.is_object());
|
2410
2466
|
}
|
2411
2467
|
|
@@ -2415,16 +2471,16 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2415
2471
|
auto document_name = test::utils::uniq_id("design_document");
|
2416
2472
|
auto view_name = test::utils::uniq_id("view");
|
2417
2473
|
|
2418
|
-
couchbase::operations::management::freeform_request req{};
|
2419
|
-
req.type = couchbase::service_type::view;
|
2474
|
+
couchbase::core::operations::management::freeform_request req{};
|
2475
|
+
req.type = couchbase::core::service_type::view;
|
2420
2476
|
req.method = "POST";
|
2421
2477
|
req.path = fmt::format("/{}/_design/{}/_view/{}", integration.ctx.bucket, document_name, view_name);
|
2422
2478
|
req.body = R"({"keys":["foo","bar"]})";
|
2423
2479
|
auto resp = test::utils::execute(integration.cluster, req);
|
2424
|
-
|
2480
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2425
2481
|
REQUIRE(resp.status == 404);
|
2426
2482
|
REQUIRE_FALSE(resp.body.empty());
|
2427
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2483
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2428
2484
|
INFO(resp.body)
|
2429
2485
|
REQUIRE(result["error"].get_string() == "not_found");
|
2430
2486
|
}
|
@@ -2432,15 +2488,15 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2432
2488
|
|
2433
2489
|
SECTION("management")
|
2434
2490
|
{
|
2435
|
-
couchbase::operations::management::freeform_request req{};
|
2436
|
-
req.type = couchbase::service_type::management;
|
2491
|
+
couchbase::core::operations::management::freeform_request req{};
|
2492
|
+
req.type = couchbase::core::service_type::management;
|
2437
2493
|
req.method = "GET";
|
2438
2494
|
req.path = "/pools";
|
2439
2495
|
auto resp = test::utils::execute(integration.cluster, req);
|
2440
|
-
|
2496
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2441
2497
|
REQUIRE(resp.status == 200);
|
2442
2498
|
REQUIRE_FALSE(resp.body.empty());
|
2443
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2499
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2444
2500
|
INFO(resp.body)
|
2445
2501
|
REQUIRE(result.find("uuid") != nullptr);
|
2446
2502
|
}
|
@@ -2450,18 +2506,18 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2450
2506
|
{
|
2451
2507
|
auto scope_name = test::utils::uniq_id("freeform_scope");
|
2452
2508
|
|
2453
|
-
couchbase::operations::management::freeform_request req{};
|
2454
|
-
req.type = couchbase::service_type::management;
|
2509
|
+
couchbase::core::operations::management::freeform_request req{};
|
2510
|
+
req.type = couchbase::core::service_type::management;
|
2455
2511
|
req.method = "POST";
|
2456
2512
|
req.path = fmt::format("/pools/default/buckets/{}/scopes", integration.ctx.bucket);
|
2457
2513
|
req.headers["content-type"] = "application/x-www-form-urlencoded";
|
2458
|
-
req.body = fmt::format("name={}", couchbase::utils::string_codec::form_encode(scope_name));
|
2514
|
+
req.body = fmt::format("name={}", couchbase::core::utils::string_codec::form_encode(scope_name));
|
2459
2515
|
auto resp = test::utils::execute(integration.cluster, req);
|
2460
|
-
|
2516
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2461
2517
|
REQUIRE(resp.status == 200);
|
2462
2518
|
REQUIRE_FALSE(resp.headers.empty());
|
2463
2519
|
REQUIRE(resp.headers["content-type"].find("application/json") != std::string::npos);
|
2464
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2520
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2465
2521
|
REQUIRE(result.is_object());
|
2466
2522
|
REQUIRE(result.find("uid") != nullptr);
|
2467
2523
|
}
|
@@ -2471,27 +2527,27 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
|
|
2471
2527
|
SECTION("eventing")
|
2472
2528
|
{
|
2473
2529
|
|
2474
|
-
couchbase::operations::management::freeform_request req{};
|
2475
|
-
req.type = couchbase::service_type::eventing;
|
2530
|
+
couchbase::core::operations::management::freeform_request req{};
|
2531
|
+
req.type = couchbase::core::service_type::eventing;
|
2476
2532
|
req.method = "GET";
|
2477
2533
|
req.path = "/api/v1/functions";
|
2478
2534
|
auto resp = test::utils::execute(integration.cluster, req);
|
2479
|
-
|
2535
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2480
2536
|
REQUIRE(resp.status == 200);
|
2481
2537
|
REQUIRE_FALSE(resp.body.empty());
|
2482
|
-
auto result = couchbase::utils::json::parse(resp.body);
|
2538
|
+
auto result = couchbase::core::utils::json::parse(resp.body);
|
2483
2539
|
INFO(resp.body)
|
2484
2540
|
REQUIRE(result.is_array());
|
2485
2541
|
}
|
2486
2542
|
}
|
2487
2543
|
}
|
2488
2544
|
|
2489
|
-
static couchbase::operations::management::eventing_get_function_response
|
2545
|
+
static couchbase::core::operations::management::eventing_get_function_response
|
2490
2546
|
wait_for_function_created(test::utils::integration_test_guard& integration, const std::string& function_name)
|
2491
2547
|
{
|
2492
|
-
couchbase::operations::management::eventing_get_function_response resp{};
|
2548
|
+
couchbase::core::operations::management::eventing_get_function_response resp{};
|
2493
2549
|
test::utils::wait_until([&integration, &resp, function_name]() {
|
2494
|
-
couchbase::operations::management::eventing_get_function_request req{ function_name };
|
2550
|
+
couchbase::core::operations::management::eventing_get_function_request req{ function_name };
|
2495
2551
|
resp = test::utils::execute(integration.cluster, req);
|
2496
2552
|
return !resp.ctx.ec;
|
2497
2553
|
});
|
@@ -2501,11 +2557,11 @@ wait_for_function_created(test::utils::integration_test_guard& integration, cons
|
|
2501
2557
|
static bool
|
2502
2558
|
wait_for_function_reach_status(test::utils::integration_test_guard& integration,
|
2503
2559
|
const std::string& function_name,
|
2504
|
-
couchbase::management::eventing::function_status status)
|
2560
|
+
couchbase::core::management::eventing::function_status status)
|
2505
2561
|
{
|
2506
2562
|
return test::utils::wait_until(
|
2507
2563
|
[&integration, function_name, status]() {
|
2508
|
-
couchbase::operations::management::eventing_get_status_request req{};
|
2564
|
+
couchbase::core::operations::management::eventing_get_status_request req{};
|
2509
2565
|
auto resp = test::utils::execute(integration.cluster, req);
|
2510
2566
|
if (resp.ctx.ec) {
|
2511
2567
|
return false;
|
@@ -2538,39 +2594,39 @@ TEST_CASE("integration: eventing functions management", "[integration]")
|
|
2538
2594
|
auto function_name = test::utils::uniq_id("name");
|
2539
2595
|
|
2540
2596
|
{
|
2541
|
-
couchbase::operations::management::eventing_drop_function_request req{ function_name };
|
2597
|
+
couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
|
2542
2598
|
auto resp = test::utils::execute(integration.cluster, req);
|
2543
2599
|
if (integration.cluster_version().is_cheshire_cat()) {
|
2544
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2600
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_deployed);
|
2545
2601
|
} else {
|
2546
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2602
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
|
2547
2603
|
}
|
2548
2604
|
}
|
2549
2605
|
|
2550
2606
|
{
|
2551
|
-
couchbase::operations::management::eventing_get_function_request req{ function_name };
|
2607
|
+
couchbase::core::operations::management::eventing_get_function_request req{ function_name };
|
2552
2608
|
auto resp = test::utils::execute(integration.cluster, req);
|
2553
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2609
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
|
2554
2610
|
}
|
2555
2611
|
|
2556
2612
|
auto meta_bucket_name = test::utils::uniq_id("meta");
|
2557
2613
|
{
|
2558
2614
|
|
2559
|
-
couchbase::management::cluster::bucket_settings bucket_settings;
|
2615
|
+
couchbase::core::management::cluster::bucket_settings bucket_settings;
|
2560
2616
|
bucket_settings.name = meta_bucket_name;
|
2561
2617
|
bucket_settings.ram_quota_mb = 256;
|
2562
2618
|
|
2563
2619
|
{
|
2564
|
-
couchbase::operations::management::bucket_create_request req;
|
2620
|
+
couchbase::core::operations::management::bucket_create_request req;
|
2565
2621
|
req.bucket = bucket_settings;
|
2566
2622
|
auto resp = test::utils::execute(integration.cluster, req);
|
2567
|
-
|
2623
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2568
2624
|
}
|
2569
2625
|
}
|
2570
2626
|
|
2571
2627
|
{
|
2572
2628
|
auto resp = wait_for_bucket_created(integration, meta_bucket_name);
|
2573
|
-
|
2629
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2574
2630
|
}
|
2575
2631
|
|
2576
2632
|
std::string source_code = R"(
|
@@ -2584,38 +2640,38 @@ function OnDelete(meta, options) {
|
|
2584
2640
|
)";
|
2585
2641
|
|
2586
2642
|
{
|
2587
|
-
couchbase::operations::management::eventing_upsert_function_request req{};
|
2643
|
+
couchbase::core::operations::management::eventing_upsert_function_request req{};
|
2588
2644
|
req.function.source_keyspace.bucket = integration.ctx.bucket;
|
2589
2645
|
req.function.metadata_keyspace.bucket = meta_bucket_name;
|
2590
2646
|
req.function.name = function_name;
|
2591
2647
|
req.function.code = source_code;
|
2592
2648
|
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 });
|
2649
|
+
req.function.constant_bindings.emplace_back(couchbase::core::management::eventing::function_constant_binding{ "PI", "3.14" });
|
2650
|
+
req.function.bucket_bindings.emplace_back(couchbase::core::management::eventing::function_bucket_binding{
|
2651
|
+
"data", { integration.ctx.bucket }, couchbase::core::management::eventing::function_bucket_access::read_write });
|
2596
2652
|
req.function.url_bindings.emplace_back(
|
2597
|
-
couchbase::management::eventing::function_url_binding{ "home", "https://couchbase.com" });
|
2653
|
+
couchbase::core::management::eventing::function_url_binding{ "home", "https://couchbase.com" });
|
2598
2654
|
auto resp = test::utils::execute(integration.cluster, req);
|
2599
|
-
|
2655
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2600
2656
|
}
|
2601
2657
|
|
2602
2658
|
{
|
2603
2659
|
auto resp = wait_for_function_created(integration, function_name);
|
2604
|
-
|
2660
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2605
2661
|
}
|
2606
2662
|
|
2607
2663
|
{
|
2608
|
-
couchbase::operations::management::eventing_get_all_functions_request req{};
|
2664
|
+
couchbase::core::operations::management::eventing_get_all_functions_request req{};
|
2609
2665
|
auto resp = test::utils::execute(integration.cluster, req);
|
2610
|
-
|
2666
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2611
2667
|
auto function = std::find_if(
|
2612
2668
|
resp.functions.begin(), resp.functions.end(), [&function_name](const auto& fun) { return function_name == fun.name; });
|
2613
2669
|
REQUIRE(function != resp.functions.end());
|
2614
2670
|
REQUIRE(function->code == source_code);
|
2615
2671
|
REQUIRE(function->source_keyspace.bucket == integration.ctx.bucket);
|
2616
2672
|
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);
|
2673
|
+
REQUIRE(function->settings.deployment_status == couchbase::core::management::eventing::function_deployment_status::undeployed);
|
2674
|
+
REQUIRE(function->settings.processing_status == couchbase::core::management::eventing::function_processing_status::paused);
|
2619
2675
|
REQUIRE(!function->settings.handler_headers.empty());
|
2620
2676
|
REQUIRE(function->settings.handler_headers[0] == "// generated by Couchbase C++ SDK");
|
2621
2677
|
REQUIRE(!function->constant_bindings.empty());
|
@@ -2624,99 +2680,102 @@ function OnDelete(meta, options) {
|
|
2624
2680
|
REQUIRE(!function->bucket_bindings.empty());
|
2625
2681
|
REQUIRE(function->bucket_bindings[0].alias == "data");
|
2626
2682
|
REQUIRE(function->bucket_bindings[0].name.bucket == "default");
|
2627
|
-
REQUIRE(function->bucket_bindings[0].access == couchbase::management::eventing::function_bucket_access::read_write);
|
2683
|
+
REQUIRE(function->bucket_bindings[0].access == couchbase::core::management::eventing::function_bucket_access::read_write);
|
2628
2684
|
REQUIRE(!function->url_bindings.empty());
|
2629
2685
|
REQUIRE(function->url_bindings[0].alias == "home");
|
2630
2686
|
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));
|
2687
|
+
REQUIRE(std::holds_alternative<couchbase::core::management::eventing::function_url_no_auth>(function->url_bindings[0].auth));
|
2632
2688
|
}
|
2633
2689
|
|
2634
2690
|
{
|
2635
|
-
couchbase::operations::management::eventing_get_status_request req{};
|
2691
|
+
couchbase::core::operations::management::eventing_get_status_request req{};
|
2636
2692
|
auto resp = test::utils::execute(integration.cluster, req);
|
2637
|
-
|
2693
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2638
2694
|
REQUIRE(resp.status.num_eventing_nodes > 0);
|
2639
2695
|
auto function = std::find_if(resp.status.functions.begin(), resp.status.functions.end(), [&function_name](const auto& fun) {
|
2640
2696
|
return function_name == fun.name;
|
2641
2697
|
});
|
2642
2698
|
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);
|
2699
|
+
REQUIRE(function->status == couchbase::core::management::eventing::function_status::undeployed);
|
2700
|
+
REQUIRE(function->deployment_status == couchbase::core::management::eventing::function_deployment_status::undeployed);
|
2701
|
+
REQUIRE(function->processing_status == couchbase::core::management::eventing::function_processing_status::paused);
|
2646
2702
|
}
|
2647
2703
|
|
2648
2704
|
{
|
2649
|
-
couchbase::operations::management::eventing_undeploy_function_request req{ function_name };
|
2705
|
+
couchbase::core::operations::management::eventing_undeploy_function_request req{ function_name };
|
2650
2706
|
auto resp = test::utils::execute(integration.cluster, req);
|
2651
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2707
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_deployed);
|
2652
2708
|
}
|
2653
2709
|
|
2654
2710
|
{
|
2655
|
-
couchbase::operations::management::eventing_deploy_function_request req{ function_name };
|
2711
|
+
couchbase::core::operations::management::eventing_deploy_function_request req{ function_name };
|
2656
2712
|
auto resp = test::utils::execute(integration.cluster, req);
|
2657
|
-
|
2713
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2658
2714
|
}
|
2659
2715
|
|
2660
|
-
REQUIRE(
|
2716
|
+
REQUIRE(
|
2717
|
+
wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::deployed));
|
2661
2718
|
|
2662
2719
|
{
|
2663
|
-
couchbase::operations::management::eventing_drop_function_request req{ function_name };
|
2720
|
+
couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
|
2664
2721
|
auto resp = test::utils::execute(integration.cluster, req);
|
2665
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2722
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_deployed);
|
2666
2723
|
}
|
2667
2724
|
|
2668
2725
|
{
|
2669
|
-
couchbase::operations::management::eventing_resume_function_request req{ function_name };
|
2726
|
+
couchbase::core::operations::management::eventing_resume_function_request req{ function_name };
|
2670
2727
|
auto resp = test::utils::execute(integration.cluster, req);
|
2671
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2728
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_deployed);
|
2672
2729
|
}
|
2673
2730
|
|
2674
2731
|
{
|
2675
|
-
couchbase::operations::management::eventing_pause_function_request req{ function_name };
|
2732
|
+
couchbase::core::operations::management::eventing_pause_function_request req{ function_name };
|
2676
2733
|
auto resp = test::utils::execute(integration.cluster, req);
|
2677
|
-
|
2734
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2678
2735
|
}
|
2679
2736
|
|
2680
|
-
REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::management::eventing::function_status::paused));
|
2737
|
+
REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::paused));
|
2681
2738
|
|
2682
2739
|
{
|
2683
|
-
couchbase::operations::management::eventing_pause_function_request req{ function_name };
|
2740
|
+
couchbase::core::operations::management::eventing_pause_function_request req{ function_name };
|
2684
2741
|
auto resp = test::utils::execute(integration.cluster, req);
|
2685
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2742
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_paused);
|
2686
2743
|
}
|
2687
2744
|
|
2688
2745
|
{
|
2689
|
-
couchbase::operations::management::eventing_resume_function_request req{ function_name };
|
2746
|
+
couchbase::core::operations::management::eventing_resume_function_request req{ function_name };
|
2690
2747
|
auto resp = test::utils::execute(integration.cluster, req);
|
2691
|
-
|
2748
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2692
2749
|
}
|
2693
2750
|
|
2694
|
-
REQUIRE(
|
2751
|
+
REQUIRE(
|
2752
|
+
wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::deployed));
|
2695
2753
|
|
2696
2754
|
{
|
2697
|
-
couchbase::operations::management::eventing_undeploy_function_request req{ function_name };
|
2755
|
+
couchbase::core::operations::management::eventing_undeploy_function_request req{ function_name };
|
2698
2756
|
auto resp = test::utils::execute(integration.cluster, req);
|
2699
|
-
|
2757
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2700
2758
|
}
|
2701
2759
|
|
2702
|
-
REQUIRE(
|
2760
|
+
REQUIRE(
|
2761
|
+
wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::undeployed));
|
2703
2762
|
|
2704
2763
|
{
|
2705
|
-
couchbase::operations::management::eventing_drop_function_request req{ function_name };
|
2764
|
+
couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
|
2706
2765
|
auto resp = test::utils::execute(integration.cluster, req);
|
2707
|
-
|
2766
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2708
2767
|
}
|
2709
2768
|
|
2710
2769
|
{
|
2711
|
-
couchbase::operations::management::eventing_get_function_request req{ function_name };
|
2770
|
+
couchbase::core::operations::management::eventing_get_function_request req{ function_name };
|
2712
2771
|
auto resp = test::utils::execute(integration.cluster, req);
|
2713
|
-
REQUIRE(resp.ctx.ec == couchbase::
|
2772
|
+
REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
|
2714
2773
|
}
|
2715
2774
|
|
2716
2775
|
{
|
2717
|
-
couchbase::operations::management::bucket_drop_request req{ meta_bucket_name };
|
2776
|
+
couchbase::core::operations::management::bucket_drop_request req{ meta_bucket_name };
|
2718
2777
|
auto resp = test::utils::execute(integration.cluster, req);
|
2719
|
-
|
2778
|
+
REQUIRE_SUCCESS(resp.ctx.ec);
|
2720
2779
|
}
|
2721
2780
|
}
|
2722
2781
|
}
|