org.zalando.stups.friboo.system.http/def-http-component
is removed in favor oforg.zalando.stups.friboo.system.http/make-http
. For the old Zalando-specific functionality useorg.zalando.stups.friboo.zalando-internal.system.http/make-zalando-http
from friboo-ext-zalando.- Notion of controller is introduced to decouple Http serving and API handling. Controller is a component that contains all the dependencies that API handlers might need access to - such as database, metrics, authorizer etc. API handlers
by default are called with
[controller params request]
now, this can be customized through{:s1st-options {:executor <your_resolver_fn>}}
.system_test.clj
contains an example. org.zalando.stups.friboo.system.db/def-db-component
is removed. One should useorg.zalando.stups.friboo.system.db/map->DB
to create DB component,:auto-migration?
is provided as part of normal config.org.zalando.stups.friboo.config/load-configuration
is broken down intoorg.zalando.stups.friboo.config/load-config
andorg.zalando.stups.friboo.zalando-internal.config/load-config
, signature changed.org.zalando.stups.friboo.system.db/generate-hystrix-commands
now by default does not use any nonfatal exception detection, every exception will cause circuit breaking. For the old behavior use(generate-hystrix-commands :ignore-exception-fn? org.zalando.stups.friboo.zalando-internal.system.db/ignore-nonfatal-psqlexception)
from friboo-ext-zalando.
Things moved to friboo-ext-zalando and broken there:
org.zalando.stups.friboo.zalando-internal.config
HTTP_TOKENINFO_URL
environment variable is ignored now,TOKENINFO_URL
andGLOBAL_TOKENINFO_URL
are used to enable OAuth 2.0 access token checking inHttp
component created bymake-zalando-http
.org.zalando.stups.friboo.auth
namespace is renamed toorg.zalando.stups.friboo.zalando-specific.auth
,Authorizer
component is introduced,fetch-auth
andget-auth
functions changed signatures.HTTP_MAGNIFICENT_URL
should be replaced withAUTH_MAGNIFICENT_URL
.