This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-04
Channels
- # announcements (1)
- # architecture (18)
- # aws (7)
- # babashka (63)
- # beginners (38)
- # bristol-clojurians (1)
- # circleci (1)
- # clj-kondo (10)
- # clojars (4)
- # clojure (159)
- # clojure-berlin (3)
- # clojure-europe (4)
- # clojure-italy (7)
- # clojure-losangeles (6)
- # clojure-nl (7)
- # clojure-spec (3)
- # clojure-uk (109)
- # clojurescript (54)
- # css (1)
- # cursive (38)
- # data-science (2)
- # datascript (3)
- # datomic (14)
- # docker (2)
- # duct (11)
- # fulcro (47)
- # jobs (8)
- # jobs-discuss (3)
- # kaocha (4)
- # malli (3)
- # nyc (2)
- # off-topic (30)
- # overtone (3)
- # re-frame (17)
- # reagent (33)
- # shadow-cljs (29)
- # spacemacs (3)
- # specter (4)
- # tools-deps (13)
- # xtdb (13)
For the cognitect-labs/aws-api, the code that actually consumes stuff like https://github.com/aws/aws-sdk-js/blob/master/apis/s3-2006-03-01.normal.json and creates specs and the stuff that's needed to run aws-api
, is that proprietary?
The reason I’m asking is that we need to talk to azure, and they have their api specs in swagger, so it’d be fun to use the same approach.
@U04V5VAUN I was inspired by the aws lib to make a docker client: https://github.com/lispyclouds/clj-docker-client This uses docker API's swagger to do its things. This may be of interest? Also I could use some improvements in the process too 😄
@U04V5VAUN It's pretty straightforward to do. We have also written an api that is very similar to aws-api for GCP: https://github.com/ComputeSoftware/gcp-api
gcp-api takes in swagger and transforms it into descriptor files (it only does this to minimize the size of the final artifact). I'm somewhat sure a generic client could be made to take in Swagger and call a service. We're also going to need to build one of these for k8s soon. Once I have a better understanding of where things are common, I may pull the swagger part out into a separate library.