Commit graph

103 commits

Author SHA1 Message Date
Wes Morgan
4f016ce038
Stop depending on babashka
Instead accept an arg for the thing we were getting from it (location of the bb.edn file)
2022-03-23 09:45:22 -06:00
Wes Morgan
70279f30f1
Use latest version of buddy in pod-registry test
...for more platform support
2022-03-23 09:44:42 -06:00
Wes Morgan
03a00e1f85
Check for new error message in sci pod-registry test 2022-03-23 09:44:23 -06:00
Wes Morgan
d8f6cf203b
Try using clojure tools-deps image in CI 2022-03-23 09:09:47 -06:00
Wes Morgan
f3b7c46ed1
Add CI config 2022-03-23 09:07:18 -06:00
Wes Morgan
0b58b44c8b
Add a test for resolve fn in edn data readers 2022-03-23 09:07:07 -06:00
Wes Morgan
4331268803
Check for new error message in pod-registry test 2022-03-23 09:06:41 -06:00
Wes Morgan
55c5f879d0
Fix some minor formatting issues 2022-03-23 09:05:50 -06:00
Wes Morgan
fd86ecfffa
Throw error when not one of version or path
...with qualified symbol pod-spec
2022-03-23 09:05:30 -06:00
Wes Morgan
77d5f2b219
Update clojure CLI flags in script/test 2022-03-23 09:04:36 -06:00
Wes Morgan
f2cfdff899
Feature: declarative pods (#44)
* Use non-deprecated string->int method

* Remove unused next-pod-id

* Support declarative pods loaded on require

* Wait for pod shutdown in load-pod-metadata

* Type hint a File return value to avoid reflection

* Return pod metadata instead of putting in ctx

* Fix local pod loading & support :cache opt

* Document :pods in bb.edn

* Cache local pods metadata in project .babashka dir

* Pass pod resolve-fn to describe->metadata

Not only was this just a bug, but the accidental reference to clojure.core/resolve ballooned the final bb image size to >110MB!
2022-03-23 12:26:58 +01:00
Michiel Borkent
5fbf1d7b04 Revert "Feature: declarative pods loaded at require time (#43)"
This reverts commit 8f059da7e6.
2022-03-22 14:00:24 +01:00
Wes Morgan
8f059da7e6
Feature: declarative pods loaded at require time (#43)
* Use non-deprecated string->int method

* Remove unused next-pod-id

* Support declarative pods loaded on require

* Wait for pod shutdown in load-pod-metadata

* Type hint a File return value to avoid reflection

* Return pod metadata instead of putting in ctx

* Fix local pod loading & support :cache opt

* Document :pods in bb.edn

* Cache local pods metadata in project .babashka dir
2022-03-21 20:46:57 +01:00
Michiel Borkent
538fc6f414 v0.1.0 2021-12-19 20:25:20 +01:00
Paula Gearon
f360afa613
Readme update for metadata (#41) 2021-10-15 19:42:50 +02:00
Paula Gearon
973c4e5c9e
[#38] Support metadata on vars 2021-10-15 17:43:12 +02:00
Paula Gearon
401aeecf52
Fixed example (#39)
Fixed minor error in example
2021-10-13 13:15:05 +02:00
Michiel Borkent
de4c3610c9 minor 2021-05-19 23:48:14 +02:00
Michiel Borkent
0f31e57977 Rename 2021-05-19 21:31:51 +02:00
Michiel Borkent
37326045aa Add support for default transit handler #36 2021-05-19 21:19:18 +02:00
Michiel Borkent
6214f06146 Implicit pod-id 2021-05-19 20:34:38 +02:00
Michiel Borkent
05ecf97127 Scope transit read and write handlers to pod ids 2021-05-19 17:20:55 +02:00
Michiel Borkent
1fdd8231bd
[#33] Allow pods to register transit handlers for reading and writing 2021-05-17 11:41:51 +02:00
Huahai Yang
82aa362710
correct clojars badge url (#32) 2021-03-19 18:43:16 +01:00
Michiel Borkent
490073f93a Add clojars badge 2021-03-17 19:55:39 +01:00
Michiel Borkent
39241ebc82 deps 2021-03-17 19:53:42 +01:00
Michiel Borkent
84943b0759 v0.0.1 2021-03-17 19:51:27 +01:00
Jakub Holy
a033bccaf0
Readme: Explain where pods come from (#29) 2021-01-22 15:12:55 +01:00
Michiel Borkent
0bffce3573 Write to output before delivering result 2021-01-03 18:00:42 +01:00
Michiel Borkent
4d73312587 Rename 2021-01-01 11:31:28 +01:00
Michiel Borkent
65f1d280af [babashka/pod-registry#4] Fix issue with unzipping file 2020-12-29 13:57:09 +01:00
Michiel Borkent
280f99888c Pod resolver tests. See borkdude/babashka#690 2020-12-29 11:15:12 +01:00
Michiel Borkent
22f200ef30
Pod resolver. See borkdude/babashka#690 2020-12-27 13:55:50 +01:00
Michael Salihi
9d363c7d3c
Fix wrong URI in Readme (#23) (#24) 2020-12-03 11:39:55 +01:00
Michael Salihi
ddfa4ba866
Fix wrong URI in Readme (#23) 2020-12-03 11:15:56 +01:00
Michiel Borkent
1417f30fc4 doc [skip ci] 2020-11-27 20:25:42 +01:00
Michiel Borkent
e71ae00d03 Get rid of :needs-ctx 2020-11-18 17:44:01 +01:00
Michiel Borkent
a0418d6622 Tweak 2020-10-21 17:28:11 +02:00
Michiel Borkent
02cef05574 Handle socket exception gracefully. 2020-10-21 16:53:52 +02:00
Michiel Borkent
df334946b9 Make unload and invoke take ret val of load-pod 2020-10-21 14:10:31 +02:00
Michiel Borkent
a522cb834f Tweak socket config 2020-10-21 13:58:59 +02:00
Michiel Borkent
a8268683e0 Fix NPE 2020-10-15 17:54:10 +02:00
Michiel Borkent
b81d8b30bf Fix destroy 2020-10-15 17:19:44 +02:00
Michiel Borkent
dd46020efc docs 2020-10-15 11:32:02 +02:00
Michiel Borkent
e1ab6a00e5 [#21] Support transit+json 2020-10-15 11:27:23 +02:00
Michiel Borkent
dd57413d27 [#2] Tests 2020-10-15 10:55:22 +02:00
Michiel Borkent
6fc595392e Implement tests for JSON 2020-10-15 10:35:23 +02:00
Michiel Borkent
0ecf6d6d40 rm debug 2020-10-14 16:52:36 +02:00
Michiel Borkent
8732bc810b [#2] socket support 2020-10-14 16:44:43 +02:00
Michiel Borkent
225f9239d8 [#2] Experimental socket support 2020-10-13 22:34:01 +02:00