{"id":23284235,"url":"https://github.com/agilecreativity/swiza-httpbin","last_synced_at":"2025-10-04T03:14:39.021Z","repository":{"id":66351323,"uuid":"216921787","full_name":"agilecreativity/swiza-httpbin","owner":"agilecreativity","description":"swiza-httpbin by agilecreativity","archived":false,"fork":false,"pushed_at":"2019-11-12T00:02:10.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T15:15:14.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/agilecreativity/swiza-httpbin","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agilecreativity.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-22T22:36:47.000Z","updated_at":"2019-11-12T00:02:12.000Z","dependencies_parsed_at":"2023-02-24T18:00:53.642Z","dependency_job_id":null,"html_url":"https://github.com/agilecreativity/swiza-httpbin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agilecreativity/swiza-httpbin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-httpbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-httpbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-httpbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-httpbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agilecreativity","download_url":"https://codeload.github.com/agilecreativity/swiza-httpbin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilecreativity%2Fswiza-httpbin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278258571,"owners_count":25957300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T01:38:58.573Z","updated_at":"2025-10-04T03:14:39.015Z","avatar_url":"https://github.com/agilecreativity.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"* swiza-httpbin - Code example from my [[https://github.com/clj-syd/clj-syd/wiki/Next-Meetings#october-22-2019][clj-syd - October 2019]] talks\n\nBasic Clojure Cli with GraalVM, lein-native-image, lein-binplus.\n\n** Basic Usage\n\n*** Build using =lein-native-image= plugin\n   #+begin_src sh\n   git clone git@github.com:agilecreativity/swiza-httpbin \u0026\u0026 cd swiza-httpbin\n   lein native-image\n   #+end_src\n\n*** Build using =lein-bin= plugin\n   #+begin_src sh\n   git clone git@github.com:agilecreativity/swiza-httpbin \u0026\u0026 cd swiza-httpbin\n   lein bin\n   #+end_src\n\n** Test Area - with [[http://httpbin.org][httpbin]]\n*** target outputs =ls -alt=\n\n    #+begin_example\n      #ls -alt target\n      total 102276\n      drwxr-xr-x 11 bchoomnuan      352 Oct 22 15:33 ..\n      drwxr-xr-x  8 bchoomnuan      256 Oct 22 15:31 .\n      -rwxr-xr-x  1 bchoomnuan 45754508 Oct 22 15:31 httpbin-graal\n      -rw-r--r--  1 bchoomnuan 49172434 Oct 22 15:31 httpbin-graal.o\n      -rw-r--r--  1 bchoomnuan  8225521 Oct 22 15:19 net.b12n.swiza-httpbin-0.1.0-standalone.jar\n      -rw-r--r--  1 bchoomnuan  1198548 Oct 22 15:19 net.b12n.swiza-httpbin-0.1.0.jar\n      drwxr-xr-x 12 bchoomnuan      384 Oct 22 15:19 classes\n      drwxr-xr-x  3 bchoomnuan       96 Oct 22 15:19 stale\n    #+end_example\n\n*** Sample Output =lein native-image=\n\n    #+begin_example\n      $lein native-image\n      Warning: Using a deprecated option --rerun-class-initialization-at-runtime. Currently there is no replacement for this option. Try using --initialize-at-run-time or use the non-API option -H:ClassInitialization directly.\n      Executing [\n      /Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/bin/java \\\n      -XX:+UnlockExperimentalVMOptions \\\n      -XX:+EnableJVMCI \\\n      -Dtruffle.TrustAllTruffleRuntimeProviders=true \\\n      -Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime \\\n      -Dgraalvm.ForcePolyglotInvalid=true \\\n      -Dgraalvm.locatorDisabled=true \\\n      -d64 \\\n      -XX:-UseJVMCIClassLoader \\\n      -XX:+UseJVMCINativeLibrary \\\n      -Xss10m \\\n      -Xms1g \\\n      -Xmx13743895344 \\\n      -Duser.country=US \\\n      -Duser.language=en \\\n      -Dorg.graalvm.version=19.2.0 \\\n      -Dorg.graalvm.config=CE \\\n      -Dcom.oracle.graalvm.isaot=true \\\n      -Djvmci.class.path.append=/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal.jar \\\n      -Xbootclasspath/a:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graaljs-scriptengine.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graal-sdk.jar \\\n      -cp \\\n      /Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-wrapper.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/javacpp.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/objectfile.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/graal-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-platform-specific.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/pointsto.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal-management.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-api.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-hotspot.jar \\\n      com.oracle.svm.hosted.NativeImageGeneratorRunner \\\n      -imagecp \\\n      /Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graaljs-scriptengine.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graal-sdk.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-wrapper.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/javacpp.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/objectfile.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/graal-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-platform-specific.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/pointsto.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal-management.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-api.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-hotspot.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/library-support.jar:/Users/bchoomnuan/apps/swiza/swiza-httpbin/src/test/clojure:/Users/bchoomnuan/apps/swiza/swiza-httpbin/src/test/java:/Users/bchoomnuan/apps/swiza/swiza-httpbin/src/main/clojure:/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/classes:/Users/bchoomnuan/.m2/repository/org/clojars/hozumi/clj-commons-exec/1.2.0/clj-commons-exec-1.2.0.jar:/Users/bchoomnuan/.m2/repository/org/flatland/classlojure/0.7.0/classlojure-0.7.0.jar:/Users/bchoomnuan/.m2/repository/nrepl/nrepl/0.6.0/nrepl-0.6.0.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.9/jackson-datatype-jsr310-2.9.9.jar:/Users/bchoomnuan/.m2/repository/alembic/alembic/0.3.2/alembic-0.3.2.jar:/Users/bchoomnuan/.m2/repository/clojure-complete/clojure-complete/0.2.5/clojure-complete-0.2.5.jar:/Users/bchoomnuan/.m2/repository/expound/expound/0.7.2/expound-0.7.2.jar:/Users/bchoomnuan/.m2/repository/cucl/cucl/0.1.11/cucl-0.1.11.jar:/Users/bchoomnuan/.m2/repository/camel-snake-kebab/camel-snake-kebab/0.4.0/camel-snake-kebab-0.4.0.jar:/Users/bchoomnuan/.m2/repository/org/clojars/brenton/google-diff-match-patch/0.1/google-diff-match-patch-0.1.jar:/Users/bchoomnuan/.m2/repository/lein-as-resource/lein-as-resource/2.5.0/lein-as-resource-2.5.0.jar:/Users/bchoomnuan/.m2/repository/org/tcrawley/dynapath/0.2.3/dynapath-0.2.3.jar:/Users/bchoomnuan/.m2/repository/clj-time/clj-time/0.15.1/clj-time-0.15.1.jar:/Users/bchoomnuan/.m2/repository/org/clojure/test.check/0.9.0/test.check-0.9.0.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9.1/jackson-databind-2.9.9.1.jar:/Users/bchoomnuan/.m2/repository/cli-matic/cli-matic/0.3.8/cli-matic-0.3.8.jar:/Users/bchoomnuan/.m2/repository/lambdaisland/ansi/0.1.6/ansi-0.1.6.jar:/Users/bchoomnuan/.m2/repository/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/Users/bchoomnuan/.m2/repository/org/clojure/clojure/1.9.0/clojure-1.9.0.jar:/Users/bchoomnuan/.m2/repository/http-kit/http-kit/2.3.0/http-kit-2.3.0.jar:/Users/bchoomnuan/.m2/repository/joda-time/joda-time/2.10/joda-time-2.10.jar:/Users/bchoomnuan/.m2/repository/jonase/eastwood/0.3.6/eastwood-0.3.6.jar:/Users/bchoomnuan/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar:/Users/bchoomnuan/.m2/repository/net/b12n/swiza-commons/0.1.2/swiza-commons-0.1.2.jar:/Users/bchoomnuan/.m2/repository/org/clojure/core.specs.alpha/0.1.24/core.specs.alpha-0.1.24.jar:/Users/bchoomnuan/.m2/repository/org/clojure/tools.namespace/0.2.11/tools.namespace-0.2.11.jar:/Users/bchoomnuan/.m2/repository/akvo/fs/20180904-152732.6dad3934/fs-20180904-152732.6dad3934.jar:/Users/bchoomnuan/.m2/repository/org/clojure/data.xml/0.0.8/data.xml-0.0.8.jar:/Users/bchoomnuan/.m2/repository/org/clojure/tools.cli/0.4.2/tools.cli-0.4.2.jar:/Users/bchoomnuan/.m2/repository/metosin/jsonista/0.2.4/jsonista-0.2.4.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/bchoomnuan/.m2/repository/org/apache/commons/commons-compress/1.8/commons-compress-1.8.jar:/Users/bchoomnuan/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/bchoomnuan/.m2/repository/circleci/circleci.test/0.4.2/circleci.test-0.4.2.jar:/Users/bchoomnuan/.m2/repository/aero/aero/1.1.3/aero-1.1.3.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/Users/bchoomnuan/.m2/repository/org/clojure/spec.alpha/0.1.143/spec.alpha-0.1.143.jar \\\n      -H:Path=/Users/bchoomnuan/apps/swiza/swiza-httpbin \\\n      -H:+ReportUnsupportedElementsAtRuntime \\\n      -H:ClassInitialization=:build_time \\\n      -H:FallbackThreshold=0 \\\n      -H:ClassInitialization=javax.net.ssl.SslContext:rerun,org.httpkit.client.SslContextFactory:rerun,org.httpkit.client.HttpClient:rerun,sun.security.ssl.SSLContextImpl$DefaultSSLContext:rerun \\\n      -H:EnableURLProtocols=http,https \\\n      -H:EnableURLProtocols=http \\\n      -H:EnableURLProtocols=https \\\n      -H:+EnableAllSecurityServices \\\n      -H:+ReportExceptionStackTraces \\\n      -H:Name=/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal \\\n      -H:CLibraryPath=/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/clibraries/darwin-amd64 \\\n      -H:Class=b12n.swiza.httpbin.core_utils\n      ]\n      Warning: Using a deprecated option --rerun-class-initialization-at-runtime. Currently there is no replacement for this option. Try using --initialize-at-run-time or use the non-API option -H:ClassInitialization directly.\n      Executing [\n      /Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/bin/java \\\n      -XX:+UnlockExperimentalVMOptions \\\n      -XX:+EnableJVMCI \\\n      -Dtruffle.TrustAllTruffleRuntimeProviders=true \\\n      -Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime \\\n      -Dgraalvm.ForcePolyglotInvalid=true \\\n      -Dgraalvm.locatorDisabled=true \\\n      -d64 \\\n      -XX:-UseJVMCIClassLoader \\\n      -XX:+UseJVMCINativeLibrary \\\n      -Xss10m \\\n      -Xms1g \\\n      -Xmx13743895344 \\\n      -Duser.country=US \\\n      -Duser.language=en \\\n      -Dorg.graalvm.version=19.2.0 \\\n      -Dorg.graalvm.config=CE \\\n      -Dcom.oracle.graalvm.isaot=true \\\n      -Djvmci.class.path.append=/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal.jar \\\n      -Xbootclasspath/a:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graaljs-scriptengine.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graal-sdk.jar \\\n      -cp \\\n      /Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-wrapper.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/javacpp.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/objectfile.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/graal-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-platform-specific.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/pointsto.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal-management.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-api.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-hotspot.jar \\\n      com.oracle.svm.hosted.NativeImageGeneratorRunner \\\n      -imagecp \\\n      /Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graaljs-scriptengine.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/boot/graal-sdk.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-wrapper.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/javacpp.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/objectfile.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/graal-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/svm-llvm.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/llvm-platform-specific.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/builder/pointsto.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/graal-management.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-api.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/jvmci/jvmci-hotspot.jar:/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/library-support.jar:/Users/bchoomnuan/apps/swiza/swiza-httpbin/src/test/clojure:/Users/bchoomnuan/apps/swiza/swiza-httpbin/src/test/java:/Users/bchoomnuan/apps/swiza/swiza-httpbin/src/main/clojure:/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/classes:/Users/bchoomnuan/.m2/repository/org/clojars/hozumi/clj-commons-exec/1.2.0/clj-commons-exec-1.2.0.jar:/Users/bchoomnuan/.m2/repository/org/flatland/classlojure/0.7.0/classlojure-0.7.0.jar:/Users/bchoomnuan/.m2/repository/nrepl/nrepl/0.6.0/nrepl-0.6.0.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.9/jackson-datatype-jsr310-2.9.9.jar:/Users/bchoomnuan/.m2/repository/alembic/alembic/0.3.2/alembic-0.3.2.jar:/Users/bchoomnuan/.m2/repository/clojure-complete/clojure-complete/0.2.5/clojure-complete-0.2.5.jar:/Users/bchoomnuan/.m2/repository/expound/expound/0.7.2/expound-0.7.2.jar:/Users/bchoomnuan/.m2/repository/cucl/cucl/0.1.11/cucl-0.1.11.jar:/Users/bchoomnuan/.m2/repository/camel-snake-kebab/camel-snake-kebab/0.4.0/camel-snake-kebab-0.4.0.jar:/Users/bchoomnuan/.m2/repository/org/clojars/brenton/google-diff-match-patch/0.1/google-diff-match-patch-0.1.jar:/Users/bchoomnuan/.m2/repository/lein-as-resource/lein-as-resource/2.5.0/lein-as-resource-2.5.0.jar:/Users/bchoomnuan/.m2/repository/org/tcrawley/dynapath/0.2.3/dynapath-0.2.3.jar:/Users/bchoomnuan/.m2/repository/clj-time/clj-time/0.15.1/clj-time-0.15.1.jar:/Users/bchoomnuan/.m2/repository/org/clojure/test.check/0.9.0/test.check-0.9.0.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9.1/jackson-databind-2.9.9.1.jar:/Users/bchoomnuan/.m2/repository/cli-matic/cli-matic/0.3.8/cli-matic-0.3.8.jar:/Users/bchoomnuan/.m2/repository/lambdaisland/ansi/0.1.6/ansi-0.1.6.jar:/Users/bchoomnuan/.m2/repository/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/Users/bchoomnuan/.m2/repository/org/clojure/clojure/1.9.0/clojure-1.9.0.jar:/Users/bchoomnuan/.m2/repository/http-kit/http-kit/2.3.0/http-kit-2.3.0.jar:/Users/bchoomnuan/.m2/repository/joda-time/joda-time/2.10/joda-time-2.10.jar:/Users/bchoomnuan/.m2/repository/jonase/eastwood/0.3.6/eastwood-0.3.6.jar:/Users/bchoomnuan/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar:/Users/bchoomnuan/.m2/repository/net/b12n/swiza-commons/0.1.2/swiza-commons-0.1.2.jar:/Users/bchoomnuan/.m2/repository/org/clojure/core.specs.alpha/0.1.24/core.specs.alpha-0.1.24.jar:/Users/bchoomnuan/.m2/repository/org/clojure/tools.namespace/0.2.11/tools.namespace-0.2.11.jar:/Users/bchoomnuan/.m2/repository/akvo/fs/20180904-152732.6dad3934/fs-20180904-152732.6dad3934.jar:/Users/bchoomnuan/.m2/repository/org/clojure/data.xml/0.0.8/data.xml-0.0.8.jar:/Users/bchoomnuan/.m2/repository/org/clojure/tools.cli/0.4.2/tools.cli-0.4.2.jar:/Users/bchoomnuan/.m2/repository/metosin/jsonista/0.2.4/jsonista-0.2.4.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/bchoomnuan/.m2/repository/org/apache/commons/commons-compress/1.8/commons-compress-1.8.jar:/Users/bchoomnuan/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/bchoomnuan/.m2/repository/circleci/circleci.test/0.4.2/circleci.test-0.4.2.jar:/Users/bchoomnuan/.m2/repository/aero/aero/1.1.3/aero-1.1.3.jar:/Users/bchoomnuan/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/Users/bchoomnuan/.m2/repository/org/clojure/spec.alpha/0.1.143/spec.alpha-0.1.143.jar \\\n      -H:Path=/Users/bchoomnuan/apps/swiza/swiza-httpbin \\\n      -H:+ReportUnsupportedElementsAtRuntime \\\n      -H:ClassInitialization=:build_time \\\n      -H:FallbackThreshold=0 \\\n      -H:ClassInitialization=javax.net.ssl.SslContext:rerun,org.httpkit.client.SslContextFactory:rerun,org.httpkit.client.HttpClient:rerun,sun.security.ssl.SSLContextImpl$DefaultSSLContext:rerun \\\n      -H:EnableURLProtocols=http,https \\\n      -H:EnableURLProtocols=http \\\n      -H:EnableURLProtocols=https \\\n      -H:+EnableAllSecurityServices \\\n      -H:+ReportExceptionStackTraces \\\n      -H:Name=/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal \\\n      -H:CLibraryPath=/Users/bchoomnuan/apps/graalvm-ce-19.2.0/Contents/Home/jre/lib/svm/clibraries/darwin-amd64 \\\n      -H:Class=b12n.swiza.httpbin.core_utils\n      ]\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]    classlist:   3,759.16 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]        (cap):   3,948.61 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]        setup:   5,551.56 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]   (typeflow):  56,630.47 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]    (objects):  14,518.45 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]   (features):   1,332.19 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]     analysis:  73,859.57 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]     (clinit):     795.09 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]     universe:   2,359.76 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]      (parse):   4,518.44 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]     (inline):   6,480.42 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]    (compile):  40,101.76 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]      compile:  53,162.62 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]        image:   3,665.59 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]        write:   1,260.40 ms\n      [/Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal:89795]      [total]: 147,043.38 ms\n      Created native image /Users/bchoomnuan/apps/swiza/swiza-httpbin/target/httpbin-graal\n    #+end_example\n\n\n** Sample Outputs\n*** Run as regular =java=\n\n    #+begin_src sh\n    java -jar target/net.b12n.swiza-httpbin-0.1.0-standalone.jar post-cmd\n    #+end_src\n\n    #+begin_src sh\n    java -jar target/net.b12n.swiza-httpbin-0.1.0-standalone.jar get-cmd\n    #+end_src\n\n*** Run via =Leiningen=\n\n    #+begin_src sh\n    lein run post-cmd\n    #+end_src\n\n    #+begin_src sh\n    lein run get-cmd\n    #+end_src\n\n*** Run via =GraalVM= native image\n\n    #+begin_src sh\n    ## built it first\n    lein native-image\n\n    # then run it with\n    ./httpbin-graal post-cmd # or ./httpbin-graal get-cmd\n    #+end_src\n\n*** Run via =lein bin=\n\n    #+begin_src sh\n   lein bin\n   ~/bin/httpbin post-cmd ## ~/bin/httpbin get-cmd\n    #+end_src\n\n\n** Useful Links\n*** [[https://github.com/l3nz/cli-matic][cli-matic]]\n*** [[https://github.com/BrunoBonacci/lein-binplus][lein-binplus]]\n*** [[https://github.com/taylorwood/lein-native-image][lein-native-image]]\n*** [[https://stackoverflow.com/questions/5725430/http-test-server-accepting-get-post-requests][stackoverflow - httpbin]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilecreativity%2Fswiza-httpbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagilecreativity%2Fswiza-httpbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilecreativity%2Fswiza-httpbin/lists"}