zalando / friboo

Utility library for writing microservices in Clojure, with support for Swagger and OAuth
Apache License 2.0
118 stars 16 forks source link

Friboo 2.0.0 #97

Closed dryewo closed 7 years ago

dryewo commented 7 years ago

The New HTTP component is decomplected from Zalando-specific details and made highly configurable. Currently uses org.zalando.stups.friboo.system.new-http, but then to be moved into org.zalando.stups.friboo.system.http, replacing the old one and introducing a breaking change, hence 2.0.0-SNAPSHOT.

Addresses #53, #51, #49, #44, #113

Work in Progress, opened for early feedback. Still lacks tests.

UPD. Tests are written. Still need to isolate all zalando-specific details in a separate namespace.

UPD. Dependencies are isolated. Need to try out migrating some existing microservices to Friboo 2.0 and eventually write a migration guide.

UPD. Essentials now runs on friboo-ext-zalando 2.0.0-beta1 (which is based on friboo 2.0.0-beta1) in production.

UPD. README is updated to reflect 2.0.0

codecov-io commented 7 years ago

Current coverage is 82.78% (diff: 81.98%)

Merging #97 into master will increase coverage by 14.46%

@@             master        #97   diff @@
==========================================
  Files            18         11     -7   
  Lines           890        482   -408   
  Methods           0          0          
  Messages          0          0          
  Branches         46         35    -11   
==========================================
- Hits            608        399   -209   
+ Misses          236         48   -188   
+ Partials         46         35    -11   

Powered by Codecov. Last update 6b0521c...878d18b

dryewo commented 7 years ago

@prayerslayer please take a look at the refactored auth.clj and examples in zalando_specific/system_test.clj

PetrGlad commented 7 years ago

Maybe rename o.z.s.f.zalando-specific -> o.z.s.f.zalando-internal

I think that ideally this should be in a separate project.

dryewo commented 7 years ago

Template released: https://clojars.org/friboo/lein-template/versions/2.0.0-beta1

$ lein new friboo com.example/foo-bar --template-version 2.0.0-beta1
prayerslayer commented 7 years ago

👍

dryewo commented 7 years ago

👍