Skip to content

Commit

Permalink
Add additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
uladzislau-dziuba committed Aug 9, 2024
1 parent 2a5c800 commit ac6f0ac
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class MetadataNodeGroup(
private fun createV3Group(node: NodeV3): Group {
val nodeMetadata = NodeMetadata(node.metadata, properties)
val serviceName = serviceName(nodeMetadata)
val serviceId = nodeMetadata.serviceId
val serviceId = serviceId(nodeMetadata)
val discoveryServiceName = nodeMetadata.discoveryServiceName
val proxySettings = proxySettings(nodeMetadata)
val listenersConfig = createListenersConfig(node.id, node.metadata, node.userAgentBuildVersion)
Expand Down Expand Up @@ -209,6 +209,13 @@ class MetadataNodeGroup(
metadata.proxySettings.outgoing.allServicesDependencies
}

private fun serviceId(metadata: NodeMetadata): String? {
val serviceId = metadata.serviceId
logger.info("Service id is $serviceId")

return serviceId
}

private fun serviceName(metadata: NodeMetadata): String {
return metadata.serviceName.orEmpty()
}
Expand Down

0 comments on commit ac6f0ac

Please sign in to comment.