RE: Adding http header to SOAP request

2017-12-29 Thread Sean Corfield
Please keep me posted on how that goes. The Zero-Ltd version is a fork of my version, which was a fork of the original which I got up and running on a more recent Clojure version. I abandoned it because it was buggy and didn’t offer much in the way of customization and instead we just used raw

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-29 Thread Luc
The call to the log/error macro. Theres an interaction with the expanded code from the defrecord macro and this macro. I posted both expansions in a message 30secs ago. Ill play with these this weekend to see if I can narrow it down further. On Saturday, 30 December 2017 01:00:05 UTC, Alex

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-29 Thread Luc
I went through the compiler code, it has to do with a bad local binding expression. It crashes in the same way in the REPL with this minimal defrecord: (defrecord NoopJob [name job-controller-channel env job-state parameters job-output] impl/GatewayJob (start-job! [this] (log/error

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-29 Thread Alex Miller
On Fri, Dec 29, 2017 at 6:17 PM, Luc wrote: > here it is, I did not get through the compiler source code yet, it might > be obvious to you: > > java.lang.UnsupportedOperationException: Can't type hint a primitive > local, compiling:(yabug/jobs/noop.clj:21:9) >

Re: Officially support Vert.x

2017-12-29 Thread Alan Moore
As Gary said there are options if you aren’t tied to Vert.x. Of course there is core.async but you might also take a look at Manifold: http://aleph.io/manifold/rationale.html Good luck! Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-29 Thread Luc
Hi Alex, here it is, I did not get through the compiler source code yet, it might be obvious to you: java.lang.UnsupportedOperationException: Can't type hint a primitive local, compiling:(yabug/jobs/noop.clj:21:9) Exception in thread "main" java.lang.UnsupportedOperationException: Can't type

Re: Adding http header to SOAP request

2017-12-29 Thread jmckitrick
Yes, that’s exactly the one I’m looking at. I emailed the recent contributor. We’ll see what happens On Fri, Dec 29, 2017 at 6:06 PM Sean Corfield wrote: > Which clj-soap are you talking about? > > > > There are several unmaintained forks of the original project lying

[ANN] org.clojure/java.jdbc 0.7.5

2017-12-29 Thread Sean Corfield
Clojure Contrib wrapper for JDBC [org.clojure/java.jdbc “0.7.5”] A fairly minor, but useful, update: Previously, if you used execute! with an INSERT statement, all you got back was the number of rows inserted. Now you can specify :return-keys true and you will get back the generated keys from

RE: 1.9 is close to 2.0...

2017-12-29 Thread Sean Corfield
At the moment I expect 1.10 to be next (that’s the current snapshot version). We updated our test suite to multi-version test against 1.9.0 and 1.10.0-master-SNAPSHOT over a week ago  Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're

RE: Adding http header to SOAP request

2017-12-29 Thread Sean Corfield
Which clj-soap are you talking about? There are several unmaintained forks of the original project lying around. This seems to be the only one that’s been getting any love: https://github.com/Zeto-Ltd/clj-soap -- I don’t see any obvious support for passing additional headers there. Sean

Re: Call custom Clojure function with dependencies from Java

2017-12-29 Thread Pablo J. Villacorta
Thanks! You are right, I have tried another minimal statement and does not throw any exception... looks like the statement on that repo is not correct either (I don't know what's wrong with it), but don't know how to output proper error messages. According to the repo,

Adding http header to SOAP request

2017-12-29 Thread Jonathon McKitrick
If anyone has used clj-soap, it has built-in SOAP auth, IIUC. I need to call an endpoint that is expecting custom http authentication headers as well. Has anyone else done this before? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

[ANN] re-graph 0.1.1

2017-12-29 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.1 . re-graph is a graphql client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds

Re: [ANN] CIDER 0.16 (Riga)

2017-12-29 Thread Bastien Guerry
Hi Bozhidar, > Here's one (a bit overdue) Christmas present for all of you - a > major update to CIDER, the popular Clojure interactive development > environment, built on top of Emacs and nREPL. thanks *a lot* for your great work on all this! -- Bastien -- You received this message because

Re: Officially support Vert.x

2017-12-29 Thread Gary Verhaegen
Is vert.x an absolute (external) requirement, or is that a tool you want to use to achieve some goal? If the latter, maybe there are other tools in the Clojure ecosystem that you could use instead? On 29 December 2017 at 13:49, Toby Crawley wrote: > The short answer is no,

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-29 Thread Gary Verhaegen
Can you try deleting code until the error disappears, and try to get to a minimal reproducing case that way? Does it still happen if the protocol and record are in the same ns? Does it still happen if you remove the reset! and >!! forms? Is that whole code within a custom macro? The name e# for

Re: Officially support Vert.x

2017-12-29 Thread Toby Crawley
The short answer is no, there is no Clojure support for Vert.x 3 that I know of. The longer answer: I wrote the Clojure language module for Vert.x 2, which had a pretty low usage rate, partially because core.async was released around the same time. When Vert.x 3 was being written, the Vert.x team

Re: spec key aliasing or different specs for same keyword

2017-12-29 Thread Gary Verhaegen
You could always extract specific keys from the payload and validate that, something like: (GET "/..." req (let [b (:body req) data {:my/result (:resultCount b) :my/other-key (get-in b [:some :path])}] (my-business-logic data))) i.e. spec what your code