36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
PROJECT = rabbitmq_auth_backend_http
|
|
PROJECT_DESCRIPTION = RabbitMQ HTTP Authentication Backend
|
|
PROJECT_MOD = rabbit_auth_backend_http_app
|
|
|
|
define PROJECT_ENV
|
|
[
|
|
{http_method, get},
|
|
{request_timeout, 15000},
|
|
{connection_timeout, 15000},
|
|
{user_path, "http://localhost:8000/auth/user"},
|
|
{vhost_path, "http://localhost:8000/auth/vhost"},
|
|
{resource_path, "http://localhost:8000/auth/resource"},
|
|
{topic_path, "http://localhost:8000/auth/topic"}
|
|
]
|
|
endef
|
|
|
|
define PROJECT_APP_EXTRA_KEYS
|
|
{broker_version_requirements, []}
|
|
endef
|
|
|
|
LOCAL_DEPS = inets
|
|
DEPS = rabbit_common rabbit amqp_client
|
|
TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers cowboy
|
|
|
|
DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
|
|
DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
|
|
|
|
# FIXME: Use erlang.mk patched for RabbitMQ, while waiting for PRs to be
|
|
# reviewed and merged.
|
|
|
|
ERLANG_MK_REPO = https://github.com/rabbitmq/erlang.mk.git
|
|
ERLANG_MK_COMMIT = rabbitmq-tmp
|
|
|
|
include ../../rabbitmq-components.mk
|
|
include ../../erlang.mk
|