Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
- Fix API health dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi committed Sep 7, 2023
1 parent 94043a9 commit f09c7d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/traceability/apieventprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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_<ID Of the API on remote gateway>". Use transaction.FormatProxyID(<ID Of the API on remote gateway>) 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)
}
Expand Down

0 comments on commit f09c7d4

Please sign in to comment.