add x-instance-identity header
This commit is contained in:
1 parent
9eb5a3030b
commit
f9138cbbfe
3 files changed
+7
-1
No files matched your search
@@ -1,3 +1,5 @@
|
||||
## 1.1.1
|
||||
* add x-instance-identity header
|
||||
## 1.1.0
|
||||
* add token verification via JWT
|
||||
* add accounting for applications
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user