From f09c7d49479ebaedecf0133f296ec3c017f976ed Mon Sep 17 00:00:00 2001 From: rathnapandi Date: Thu, 7 Sep 2023 09:02:30 -0700 Subject: [PATCH] - Fix API health dashboard --- pkg/traceability/apieventprocessor.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/traceability/apieventprocessor.go b/pkg/traceability/apieventprocessor.go index 73e0fdf..44f237f 100644 --- a/pkg/traceability/apieventprocessor.go +++ b/pkg/traceability/apieventprocessor.go @@ -265,8 +265,7 @@ func (aep *ApiEventProcessor) createSummaryEvent(eventTime int64, txID string, w // If the API is published to Central as unified catalog item/API service, se the Proxy details with the API definition // The Proxy.Name represents the name of the API // The Proxy.ID should be of format "remoteApiId_". Use transaction.FormatProxyID() to get the formatted value. - SetProxyWithStageVersion(transutil.FormatProxyID(webmethodsEvent.ApiId), webmethodsEvent.ApiName, config.GetConfig().WebMethodConfig.MaturityState, webmethodsEvent.ApiVersion, 0) - + SetProxyWithStageVersion(transutil.FormatProxyID(webmethodsEvent.ApiId), webmethodsEvent.ApiName, config.GetConfig().WebMethodConfig.MaturityState, "", 1) if webmethodsEvent.ApplicationName != "Unknown" && webmethodsEvent.ApplicationId != "Unknown" { builder.SetApplication(transutil.FormatApplicationID(webmethodsEvent.ApplicationId), webmethodsEvent.ApplicationName) }