Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/couchbase/protostellar/bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def default_collection
def collections
Management::CollectionManager.new(client: @client, bucket_name: @name)
end

def ping(_options = Options::Ping::DEFAULT)
raise Couchbase::Error::FeatureNotAvailable, "The #{Protostellar::NAME} protocol does not support ping"
end
end
end
end
8 changes: 8 additions & 0 deletions lib/couchbase/protostellar/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ def search_query(index_name, query, options = Couchbase::Options::Search::DEFAUL
ResponseConverter::Search.to_search_result(resp, options)
end

def diagnostics(_options = Options::Diagnostics::DEFAULT)
raise Couchbase::Error::FeatureNotAvailable, "The #{Protostellar::NAME} protocol does not support diagnostics"
end

def ping(_options = Options::Ping::DEFAULT)
raise Couchbase::Error::FeatureNotAvailable, "The #{Protostellar::NAME} protocol does not support ping"
end

private

def initialize(host, options = ConnectOptions.new)
Expand Down