Skip to content

Commit

Permalink
APIGOV-29540 - add WS02 dataplane type (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbolosan authored Jan 24, 2025
1 parent 0ac61e7 commit fb7f29d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/apic/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ var typeToComponent = map[string]map[string]string{
Traceable.String(): {
management.TraceabilityAgentGVK().Kind: "traceable-agent",
},
WSO2.String(): {
management.DiscoveryAgentGVK().Kind: "wso2-discovery-agent",
management.TraceabilityAgentGVK().Kind: "wso2-traceability-agent",
},
}

func GetComponent(dataplaneType, agentResourceKind string) (string, error) {
Expand Down
1 change: 1 addition & 0 deletions pkg/apic/definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const (
Kafka DataplaneType = "Kafka"
WebMethods DataplaneType = "WebMethods"
SAPAPIPortal DataplaneType = "SAPAPIPortal"
WSO2 DataplaneType = "WSO2"

// AgentSDK Metrics
Kong DataplaneType = "Kong"
Expand Down

0 comments on commit fb7f29d

Please sign in to comment.