turnerlabs / catalogit-api Goto Github PK
View Code? Open in Web Editor NEWAn API that indexes containers, regardless of which registry is used.
License: Other
An API that indexes containers, regardless of which registry is used.
License: Other
Underscores seem to cause catalogit to throw up on itself. Let's fix this.
When trying to POST to /v1/containers
with an already existing (name, version) tuple, CatalogIt will barf all over itself and return a 422 to the client with nary any indication as to what really went on:
error 10-May-2017 15:08:28 * About to connect() to catalogit.services.dmtio.net port 80 (#0)
error 10-May-2017 15:08:28 * Trying 10.61.6.71... connected
error 10-May-2017 15:08:28 > POST /v1/containers HTTP/1.1
error 10-May-2017 15:08:28 > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
error 10-May-2017 15:08:28 > Host: catalogit.services.dmtio.net
error 10-May-2017 15:08:28 > Accept: */*
error 10-May-2017 15:08:28 > Content-Type: application/json
error 10-May-2017 15:08:28 > Content-Length: 202
error 10-May-2017 15:08:28 >
error 10-May-2017 15:08:28 } [data not shown]
error 10-May-2017 15:08:28 * upload completely sent off: 202out of 202 bytes
error 10-May-2017 15:08:28 * The requested URL returned error: 422
error 10-May-2017 15:08:28 * Closing connection #0
error 10-May-2017 15:08:28 [ERROR] Posting image to CatalogIt failed.
This makes debugging, e.g., Bamboo build failures kind of a pain when considering CatalogIt itself as a black box.
Might be nice for clients to have an endpoint that could be called multiples times without errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.