anchor.diff:           build_nodes_info_fun/3,
            build_full_node_info/2,
            handle_streaming/3,
  -         is_system_provisioned/0]).
  +         is_system_provisioned/0,
  +         checking_bucket_hostname_access/5]).
   
   -export([ns_log_cat/1, ns_log_code_string/1, alert_key/1]).
   
  
positive.code:               reply_json(Req, {struct, [{servers, Servers}]})
        end).
  
  %% Per-Node Stats URL information
  %% GET /pools/{PoolID}/buckets/{Id}/nodes/{NodeId}
  %%
  
negative.code: %%
  %% TODO: consider what else might be of value here
  handle_bucket_node_info(PoolId, BucketName, Hostname, Req) ->
      checking_bucket_hostname_access(
        PoolId, BucketName, Hostname, Req,
        fun (_Req, _BucketPList, _NodeInfo) ->
                BucketURI = bin_concat_path(["pools", "default", "buckets", BucketName]),
                NodeStatsURI = bin_concat_path(["pools", "default", "buckets", BucketName, "nodes", Hostname, "stats"]),
                reply_json(Req,
                           {struct, [{hostname, list_to_binary(Hostname)},
                                     {bucket, {struct, [{uri, BucketURI}]}},
                                     {stats, {struct, [{uri, NodeStatsURI}]}}]})
        end).
  
  %% this serves fresh nodes replication and health status
  