This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-28
Channels
- # admin-announcements (2)
- # alda (5)
- # arachne (4)
- # beginners (49)
- # boot (92)
- # capetown (3)
- # cider (9)
- # cljs-dev (6)
- # cljs-edn (1)
- # cljsjs (29)
- # cljsrn (4)
- # clojure (65)
- # clojure-android (1)
- # clojure-berlin (2)
- # clojure-chicago (2)
- # clojure-gamedev (2)
- # clojure-greece (11)
- # clojure-india (1)
- # clojure-japan (1)
- # clojure-new-zealand (2)
- # clojure-quebec (2)
- # clojure-russia (49)
- # clojure-spec (73)
- # clojure-uk (38)
- # clojurescript (118)
- # clojutre (4)
- # community-development (17)
- # cursive (3)
- # data-science (1)
- # datascript (1)
- # datomic (17)
- # emacs (6)
- # euroclojure (2)
- # events (2)
- # immutant (30)
- # keechma (11)
- # leiningen (4)
- # luminus (2)
- # off-topic (19)
- # om (14)
- # onyx (28)
- # planck (9)
- # re-frame (11)
- # reagent (35)
- # ring-swagger (4)
- # schema (4)
- # slack-help (6)
- # spacemacs (2)
- # specter (11)
- # testing (4)
- # untangled (88)
- # utah-clojurians (2)
- # vim (2)
- # yada (9)
Hi, I'm just trying out the new onyx lein template (I'm also an onyx noob in general) and I'm getting a failure when running lein test
:
lein test :only try-onyx-template.jobs.basic-test/basic-test
ERROR in (basic-test) (core.clj:151)
Uncaught exception, not in assertion.
expected: nil
actual: clojure.lang.ExceptionInfo: Value does not match schema: {:onyx.log/config (not (map? nil))}
at schema.core$validator$fn__11050.invoke (core.clj:151)
schema.core$validate.invokeStatic (core.clj:160)
Any ideas?Lemme have a look for you. How was this generated? lein new onyx-app my-app-name?
K, one sec
FYI - I've been working my way through https://github.com/onyx-platform/onyx-starter and that's been running OK
Yeah, this is almost definitely a bug in onyx-template
we probably changed the schema recently, or something like that
Ah, new config feature (bug)
edit resources/config.edn
:onyx.log/config #profile {:default nil
:docker {:level :info}}}
K. At least I surfaced it for you 😄
change :default nil to be default {:level :info}
. Our schema doesn’t like it ever being nil
Cool. I'll give that a try.
It looks like you’ll hit another error
I changed that :default
entry in two places in config.edn and it ran OK
in :env-config
and in :peer-config
mine was another transient issue that we’ve fixed upstream
We’ll get that fixed. Thanks
No prob. Thank you.
I am trying out the docker version of the template now. I have figured out how to run the docker services using docker-compose up
for the template, but I'm struggling with how to run basic-job after that. Any pointers?
Yea you can run it through lein test
But in order to have it running on a docker cluster it needs to either have some sample data supplied to it through a lifecycle or fleshed out a little more. Refer to onyx-Twitter-sample repository.
I can link momentarily
@agile_geek: this is an example of using the template structure to build out a functional Onyx job https://github.com/onyx-platform/onyx-twitter-sample
@gardnervickers: thanks. I saw this in your hangout but haven't got around to trying it out.