diff options
Diffstat (limited to 'deps/rabbitmq_auth_backend_http/Makefile')
-rw-r--r-- | deps/rabbitmq_auth_backend_http/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/deps/rabbitmq_auth_backend_http/Makefile b/deps/rabbitmq_auth_backend_http/Makefile new file mode 100644 index 0000000000..56480b4aa9 --- /dev/null +++ b/deps/rabbitmq_auth_backend_http/Makefile @@ -0,0 +1,33 @@ +PROJECT = rabbitmq_auth_backend_http +PROJECT_DESCRIPTION = RabbitMQ HTTP Authentication Backend +PROJECT_MOD = rabbit_auth_backend_http_app + +define PROJECT_ENV +[ + {http_method, get}, + {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 |