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

Commit

Permalink
Merge pull request #37 from Axway/APIGOV-26244
Browse files Browse the repository at this point in the history
- Fix API health dashboard
  • Loading branch information
rathnapandi authored Sep 7, 2023
2 parents b6c64c9 + f09c7d4 commit 01b370e
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 01b370e

Please sign in to comment.