zorbash / opus

A framework for pluggable business logic components
MIT License
360 stars 21 forks source link

rename tee_stage.exs to tee_stage_test.exs #3

Closed mindreframer closed 6 years ago

mindreframer commented 6 years ago

otherwise it is not picked up by the ExUnit test runner...

Nice library, btw!

Cheers, Roman

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 62


Totals Coverage Status
Change from base Build 61: 0.0%
Covered Lines: 151
Relevant Lines: 151

💛 - Coveralls
coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 62


Totals Coverage Status
Change from base Build 61: 0.0%
Covered Lines: 151
Relevant Lines: 151

💛 - Coveralls
zorbash commented 6 years ago

Good catch! Thank you very much for submitting this PR.

mindreframer commented 6 years ago

Thank you for this library, I think it is really useful. Normal Elixir pipe operator is too limited for some cases. Thumbs up!

On Thu, Jul 19, 2018, 8:27 PM Dimitrios Zorbas notifications@github.com wrote:

Good catch! Thank you very much for submitting this PR.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Zorbash/opus/pull/3#issuecomment-406371460, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAE0IJriNN0v2_942x8U0m64VoqTg9sks5uIM-jgaJpZM4VW0jU .

zorbash commented 6 years ago

@mindreframer I'd be really interested to find out if / how you use this library. I'm preparing a blogpost and more real-word use-cases would only make it more interesting I think.

mindreframer commented 6 years ago

@Zorbash I'm not currently using it, just thinking about it. My use-case would be server configuration in Kubernetes with tenant isolation and own database (servers + users). This would also allow life cycle upgrades (like DB upgrade, moving to another kubernetes cluster, changing some configuration parameters). Having those moving parts clearly defined and being understandable / readable is kinda important. I was also looking into https://github.com/Nebo15/sage, it is a bit more advanced, yet opus looks like a nice unix-y way to combine smaller functions into a cohesive pipeline. Not sure if that is a blogpost-suitable real-world use-case, but here you go :)

Flow:

That is a rough sketch of requirements.

Have a nice weekend!