Fork me on GitHub
#babashka
<
2023-11-07
>
littleli12:11:27

Hello. Is there a chance that martian is able to run on top of babashka?

borkdude12:11:51

It should already work

littleli12:11:06

:melting_face: if it's the case my ❤️ is going to melt

littleli12:11:49

👀 I have to play around

mmer12:11:41

I have used it from babashka.

borkdude12:11:37

I made it bb compatible myself, it's tested on their CI

littleli12:11:18

this is awesome news

littleli12:11:23

"news" 🙂

maleghast13:11:24

I know I could Google it, but what is martian (in this context)?

littleli13:11:31

Martian is able to sniff swagger definition of RESTful service (that exposes it) and from that it is able to build a client for that API at runtime

maleghast13:11:13

That sounds spectacular - I will seek it out later on. Thanks very much!

Tomas Brejla10:11:31

Btw a bit similar kind of project for those poor souls out there who have to occasionally work with SOAP/WSDL services https://github.com/xapix-io/paos You give it a wsdl file and it significantly helps you with calling of the wsdl-defined operations. It probably has more low-level API than martian and probably doesn't work with babashka (it's using soap-ws java library) It's been a while since I had to use it (which is good, any day without SOAP is a good day 🙂), but I remember being able to interatively call some operation from REPL session in a matter of minutes, having just a valid URL to .wsdl definition in my hands. Tools like martian and paos are just great for interactive exploring of remote services.

💯 1
littleli10:11:18

btw I'm extremely happy with Martian... now the disaster is, company does not allow me to use Clojure at work

😱 3
😿 2
maleghast10:11:39

I have also used paos and can heartily recommend it as well.

borkdude10:11:45

@UBLU3FQRZ but this is not Clojure, it's bb, an entirely new shiny hip thing that just replaces a few bash scripts in your project 😈

😁 3
littleli10:11:19

I use it from clojure, because I could not make it work with babashka (yet). I wasn't trying enough though

littleli10:11:50

I was result oriented and was lucky that it worked immediately with clojure/calva setup. I did a small intro to colleagues, and they love it...

littleli10:11:19

company is quite restrictive when it comes to "stacks", it's somewhat given. my team is mostly golang

littleli10:11:16

sorry I'm stealing thread, but these are daily devs pain points, you know :-/

borkdude10:11:35

ok, well, anyway, martian should work with bb, if not, let me know

littleli10:11:40

I'm pretty sure it works. however I had to setup everything from scratch on my new Macbook Air and something wasn't working immediately and I haven't investigated and went with Clojure on JDK setup, you know

littleli10:11:51

@U04V15CAJ is portal also available

littleli10:11:03

:melting_face: I want to cry now

borkdude10:11:36

and also, SCI is used inside of portal to do client side scripting, so I guess it can be full stack SCI ;)

littleli10:11:40

I need to have a serious talk with managers 😎 I see devs pain when they have to use Postman or Insomnia with our complex APIs.

littleli10:11:58

and I bootstrapped the thing in like what... few minutes

littleli10:11:02

there are even people on the team who actually did Common Lisp at university and they immediately understood what's going on 😄

❤️ 1
littleli15:11:18

@U04V15CAJ of course it works well, there was a only a small caveat with ' (quote) in the example

👏 2
littleli15:11:35

noice! this is basically perfect

borkdude15:11:40

cool, perhaps you can make a PR to fix the offending quote 🙏

littleli16:11:28

I'll check what I can do