File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Here the list of libraries tested:
25
25
| :x : | [ clj-sophia] ( ./clj-sophia ) | A fast RAM-Disk hybrid storage | * Runtime error/JNA* |
26
26
| :white_check_mark : | [ clj-uuid] ( ./clj-uuid ) | RFC4122 Unique Identifiers for Clojure | No objects in namespaced uuids |
27
27
| :white_check_mark : | [ clostache] ( ./clostache ) | {{ mustache }} for Clojure | |
28
- | :question : | cognitect/aws-api+s3 | Cloud API library | |
28
+ | :x : | [ cognitect/aws-api+s3] ( ./aws-api-s3 ) | Cloud API library | * Buildtime error * |
29
29
| :white_check_mark : | [ component] ( ./component ) | Managing lifecycle and dependencies of software | |
30
30
| :white_check_mark : | [ datascript] ( ./datascript ) | Immutable database and Datalog query engine | |
31
31
| :warning : | [ fastmath] ( ./fastmath ) | Fast and primitive math and stats library | * See README* |
Original file line number Diff line number Diff line change 1
1
(defproject aws-api-s3 " 0.1.0-SNAPSHOT"
2
2
3
- :dependencies [[org.clojure/clojure " 1.10.0 " ]
4
- [com.cognitect.aws/api " 0.8.301 " ]
5
- [com.cognitect.aws/endpoints " 1.1.11.537 " ]
6
- [com.cognitect.aws/s3 " 714 .2.430 .0" ]]
3
+ :dependencies [[org.clojure/clojure " 1.10.1 " ]
4
+ [com.cognitect.aws/api " 0.8.456 " ]
5
+ [com.cognitect.aws/endpoints " 1.1.11.789 " ]
6
+ [com.cognitect.aws/s3 " 799 .2.682 .0" ]]
7
7
8
8
:main simple.main
9
9
12
12
:dev {:plugins [[lein-shell " 0.5.0" ]]}}
13
13
14
14
:aliases
15
- {" native"
15
+ {" native-config"
16
+ [" shell"
17
+ ; ; run the application to infer the build configuration
18
+ " java" " -agentlib:native-image-agent=config-output-dir=./target/config/"
19
+ " -jar" " ./target/${:uberjar-name:-${:name}-${:version}-standalone.jar}" ]
20
+
21
+ " native"
16
22
[" shell"
17
23
" native-image" " --report-unsupported-elements-at-runtime" " --no-server"
24
+ " -H:+PrintClassInitialization"
25
+ " -H:ConfigurationFileDirectories=./target/config/"
26
+ " -H:+AllowIncompleteClasspath"
18
27
" --initialize-at-build-time"
28
+ ; ;"--initialize-at-run-time=com.amazonaws.auth.DefaultAWSCredentialsProviderChain"
29
+ " --enable-http" " --enable-https" " --enable-all-security-services"
19
30
" -jar" " ./target/${:uberjar-name:-${:name}-${:version}-standalone.jar}"
20
31
" -H:Name=./target/${:name}" ]
21
32
Original file line number Diff line number Diff line change 3
3
(:gen-class ))
4
4
5
5
6
- (def s3 (aws/client {:api :s3 }))
7
-
8
6
(defn -main []
9
- (prn (aws/invoke s3 {:op :ListBuckets })))
7
+ (let [s3 (aws/client {:api :s3 })]
8
+ (prn (aws/invoke s3 {:op :ListBuckets }))))
You can’t perform that action at this time.
0 commit comments