zalando-stups / kio

The application registry in the STUPS ecosystem
http://docs.stups.io/en/latest/components/kio.html
Other
23 stars 11 forks source link

Kio returns 503 HTTP status for unique key violations (e.g. existing approvals) #42

Open hjacobs opened 8 years ago

hjacobs commented 8 years ago

Kio currently returns the 503 status code for failing DB queries (as SQL is wrapped with Hystrix). This is annoying esp. for unique key violations such as when trying to "overwrite" existing approvals.