4 references to CreateSyntheticClusterName
Aspire.Hosting.Yarp (2)
ConfigurationBuilder\IYarpConfigurationBuilder.cs (1)
281_ => builder.AddRoute(path, builder.AddCluster(YarpConfigurationBuilderHelpers.CreateSyntheticClusterName(path, destination), destination)),
ConfigurationBuilder\YarpConfigurationBuilder.cs (1)
82var cluster = AddCluster(YarpConfigurationBuilderHelpers.CreateSyntheticClusterName(path, destination.ToString()!), [destination]);
Aspire.Hosting.Yarp.Tests (2)
YarpClusterTests.cs (2)
265Assert.Equal($"cluster_{YarpConfigurationBuilderHelpers.CreateSyntheticClusterName("/string/{**catchall}", "https://example.net")}", cluster.ClusterConfig.ClusterId); 286Assert.Equal($"cluster_{YarpConfigurationBuilderHelpers.CreateSyntheticClusterName("/{**catchall}", "https://example.org")}", cluster.ClusterConfig.ClusterId);