|
|
@@ -144,7 +144,7 @@ func TestExporters(t *testing.T) {
|
|
|
t.Run("allocation exporter", func(t *testing.T) {
|
|
|
allocSource := NewMockAllocationSource()
|
|
|
memStore := storage.NewMemoryStorage()
|
|
|
- p, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.AllocationPipelineName, ptr(TestResolution))
|
|
|
+ p, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.AllocationPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create path formatter: %v", err)
|
|
|
}
|
|
|
@@ -173,7 +173,7 @@ func TestExporters(t *testing.T) {
|
|
|
t.Run("asset exporter", func(t *testing.T) {
|
|
|
assetSource := NewMockAssetSource()
|
|
|
memStore := storage.NewMemoryStorage()
|
|
|
- p, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.AssetsPipelineName, ptr(TestResolution))
|
|
|
+ p, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.AssetsPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create path formatter: %v", err)
|
|
|
}
|
|
|
@@ -202,7 +202,7 @@ func TestExporters(t *testing.T) {
|
|
|
t.Run("network insight exporter", func(t *testing.T) {
|
|
|
netInsightSource := NewMockNetworkInsightSource()
|
|
|
memStore := storage.NewMemoryStorage()
|
|
|
- p, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.NetworkInsightPipelineName, ptr(TestResolution))
|
|
|
+ p, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.NetworkInsightPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create path formatter: %v", err)
|
|
|
}
|
|
|
@@ -264,15 +264,15 @@ func TestPipelineExportControllers(t *testing.T) {
|
|
|
time.Sleep(time.Second + (750 * time.Millisecond))
|
|
|
exportControllers.Stop()
|
|
|
|
|
|
- allocPath, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.AllocationPipelineName, ptr(TestResolution))
|
|
|
+ allocPath, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.AllocationPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create allocations path formatter: %v", err)
|
|
|
}
|
|
|
- assetPath, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.AssetsPipelineName, ptr(TestResolution))
|
|
|
+ assetPath, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.AssetsPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create assets path formatter: %v", err)
|
|
|
}
|
|
|
- netPath, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.NetworkInsightPipelineName, ptr(TestResolution))
|
|
|
+ netPath, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.NetworkInsightPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create net insights path formatter: %v", err)
|
|
|
}
|
|
|
@@ -300,15 +300,15 @@ func TestPipelineExportControllers(t *testing.T) {
|
|
|
time.Sleep(time.Second + (750 * time.Millisecond))
|
|
|
exportControllers.Stop()
|
|
|
|
|
|
- allocPath, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.AllocationPipelineName, ptr(TestResolution))
|
|
|
+ allocPath, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.AllocationPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create allocations path formatter: %v", err)
|
|
|
}
|
|
|
- assetPath, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.AssetsPipelineName, ptr(TestResolution))
|
|
|
+ assetPath, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.AssetsPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create assets path formatter: %v", err)
|
|
|
}
|
|
|
- netPath, err := pathing.NewBingenStoragePathFormatter("", TestClusterId, pipelines.NetworkInsightPipelineName, ptr(TestResolution))
|
|
|
+ netPath, err := pathing.NewBingenStoragePathFormatter("federated", TestClusterId, pipelines.NetworkInsightPipelineName, ptr(TestResolution))
|
|
|
if err != nil {
|
|
|
t.Fatalf("failed to create net insights path formatter: %v", err)
|
|
|
}
|