diff --git a/.version b/.version index 9084fa2..524cb55 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.1.0 +1.1.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index a29424f..00f2f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 1.1.1 +* add x-instance-identity header ## 1.1.0 * add token verification via JWT * add accounting for applications diff --git a/authenticate/authenticate.go b/authenticate/authenticate.go index eb6aa2e..0c2dbc1 100644 --- a/authenticate/authenticate.go +++ b/authenticate/authenticate.go @@ -108,6 +108,10 @@ func Do(ctx *fasthttp.RequestCtx) (int32, error) { } } + //TODO backward capability for isp-config-service 1.x.x + uuid := config.Get().(*conf.Configuration).InstanceUuid + ctx.Request.Header.Set(utils.InstanceIdHeader, uuid) + return appId, nil }