cloudapi/v2: Listen on /api/image-builder-composer/v2

This commit is contained in:
sanne 2021-10-07 13:49:58 +02:00 committed by Ondřej Budai
parent 01d920ac01
commit 6ce20a9ef6
7 changed files with 80 additions and 75 deletions

View file

@ -8,8 +8,8 @@ import (
)
const (
ErrorCodePrefix = "COMPOSER-"
ErrorHREF = "/api/composer/v2/errors"
ErrorCodePrefix = "IMAGE-BUILDER-COMPOSER-"
ErrorHREF = "/api/image-builder-composer/v2/errors"
// ocm-sdk sends ErrorUnauthenticated with id 401 & code COMPOSER-401
ErrorUnauthenticated ServiceErrorCode = 401