Commit graph

107 commits

Author SHA1 Message Date
Nate Jones
decf791000
Switch "out" and "err" messages to print and flush instead of println (#57) 2022-09-29 09:27:03 +02:00
Crispin Wellington
53f79da09d
set TCP_NODELAY on transport socket (#55) 2022-09-12 12:43:15 +02:00
Michiel Borkent
8bc0852799
Revert "Revert "Allow env vars OS_NAME & OS_ARCH to override os props (#53)"" (#54)
This reverts commit 6cbbdd118d.
2022-09-07 21:23:32 +02:00
Michiel Borkent
6cbbdd118d Revert "Allow env vars OS_NAME & OS_ARCH to override os props (#53)"
This reverts commit 5754d433aa.
2022-09-07 20:02:27 +02:00
Wes Morgan
5754d433aa
Allow env vars OS_NAME & OS_ARCH to override os props (#53) 2022-09-07 19:47:38 +02:00
Randy Stauner
6df443fabf
Correct spelling of async invocation keys (#51) 2022-07-16 21:00:42 +02:00
Michiel Borkent
93081b75e6
Manifest dir with env var (#50) 2022-07-04 19:57:35 +02:00
Michiel Borkent
66867eee7f CHANGELOG 2022-05-30 10:11:03 +02:00
Michiel Borkent
eb0b01c0a6 fix #49: don't log socket closed exception 2022-05-30 10:10:12 +02:00
Wes Morgan
b9f3a28555
Add babashka/fs to project.clj and deps.edn (#48)
Now that we're using it in the pods.impl ns
2022-05-14 19:28:07 +02:00
Wes Morgan
aee5337cef
Check that cache dir is writable before writing (#47)
...pod metadata cache file
2022-05-14 18:44:00 +02:00
Michiel Borkent
c2d6ba847c pods env var 2022-05-06 14:53:31 +02:00
Michiel Borkent
e075b13bfe
Add fallback for Apple M1 (#46) 2022-03-23 19:32:47 +01:00
Wes Morgan
842ff34739
Fix tests, remove accidental babashka code dependency, & add CI config (#45)
* Update clojure CLI flags in script/test

* Throw error when not one of version or path

...with qualified symbol pod-spec

* Fix some minor formatting issues

* Check for new error message in pod-registry test

* Add a test for resolve fn in edn data readers

* Add CI config

* Try using clojure tools-deps image in CI

* Check for new error message in sci pod-registry test

* Use latest version of buddy in pod-registry test

...for more platform support

* Stop depending on babashka

Instead accept an arg for the thing we were getting from it (location of the bb.edn file)

* Save maven deps in cache in CI
2022-03-23 16:57:56 +01: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