30 lines
897 B
Makefile
30 lines
897 B
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 = ssl inets crypto public_key
|
|
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
|
|
|
|
include ../../rabbitmq-components.mk
|
|
include ../../erlang.mk
|