2016-07-29 11:26:30 +00:00
|
|
|
%% -------------------------------------------------------------------
|
|
|
|
%%
|
|
|
|
%% Copyright (c) 2016 Basho Technologies, Inc.
|
|
|
|
%%
|
|
|
|
%% This file is provided to you under the Apache License,
|
|
|
|
%% Version 2.0 (the "License"); you may not use this file
|
|
|
|
%% except in compliance with the License. You may obtain
|
|
|
|
%% a copy of the License at
|
|
|
|
%%
|
|
|
|
%% http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
%%
|
|
|
|
%% Unless required by applicable law or agreed to in writing,
|
|
|
|
%% software distributed under the License is distributed on an
|
|
|
|
%% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
%% KIND, either express or implied. See the License for the
|
|
|
|
%% specific language governing permissions and limitations
|
|
|
|
%% under the License.
|
|
|
|
%%
|
|
|
|
%% -------------------------------------------------------------------
|
|
|
|
|
|
|
|
-ifndef(job_enable_common_included).
|
|
|
|
-define(job_enable_common_included, true).
|
|
|
|
|
|
|
|
-define(ADVANCED_CONFIG_KEY, 'job_accept_class').
|
|
|
|
-define(CUTTLEFISH_PREFIX, "async.enable").
|
|
|
|
|
|
|
|
-define(TOKEN_LIST_BUCKETS, 'list_buckets').
|
|
|
|
-define(TOKEN_LIST_KEYS, 'list_keys').
|
|
|
|
-define(TOKEN_MAP_REDUCE, 'map_reduce').
|
|
|
|
-define(TOKEN_SEC_INDEX, 'secondary_index').
|
|
|
|
-define(TOKEN_YZ_SEARCH, 'riak_search').
|
|
|
|
|
|
|
|
-define(ERRMSG_LIST_BUCKETS_DISABLED,
|
2016-07-29 13:53:43 +00:00
|
|
|
<<"Operation 'list_buckets' is not enabled">>).
|
2016-07-29 11:26:30 +00:00
|
|
|
-define(ERRMSG_LIST_KEYS_DISABLED,
|
2016-07-29 13:53:43 +00:00
|
|
|
<<"Operation 'list_keys' is not enabled">>).
|
2016-07-29 11:26:30 +00:00
|
|
|
-define(ERRMSG_MAP_REDUCE_DISABLED,
|
2016-07-29 13:53:43 +00:00
|
|
|
<<"Operation 'map_reduce' is not enabled">>).
|
2016-07-29 11:26:30 +00:00
|
|
|
-define(ERRMSG_SEC_INDEX_DISABLED,
|
2016-07-29 13:53:43 +00:00
|
|
|
<<"Operation 'secondary_index' is not enabled">>).
|
2016-07-29 11:26:30 +00:00
|
|
|
-define(ERRMSG_YZ_SEARCH_DISABLED,
|
2016-07-29 13:53:43 +00:00
|
|
|
<<"Operation 'riak_search' is not enabled">>).
|
2016-07-29 11:26:30 +00:00
|
|
|
|
|
|
|
-endif. % job_enable_common_included
|