Refactored services, rest and rdbms
Added tests Added ac to routes and functions Proxy processer and auth servicer Added options and extensive logging Fixed calls to rbac in service, added default http handler on gateway root
This commit is contained in:
+2
-2
@@ -108,8 +108,8 @@ func (app *CortezaApp) mountHttpRoutes(r chi.Router) {
|
||||
|
||||
// temp api gateway support
|
||||
{
|
||||
apigw.Setup(struct{}{}, app.Log, service.DefaultStore)
|
||||
r.Route("/gateway", apigw.Service().Router(context.Background()))
|
||||
apigw.Setup(options.Apigw(), service.DefaultLogger, service.DefaultStore)
|
||||
r.Route("/gateway", apigw.Service().Router)
|
||||
}
|
||||
|
||||
var fullpathDocs = options.CleanBase(ho.BaseUrl, ho.ApiBaseUrl, "docs")
|
||||
|
||||
Reference in New Issue
Block a user