Skip to content

Commit

Permalink
Add kiboards space
Browse files Browse the repository at this point in the history
  • Loading branch information
Jandini committed Nov 7, 2023
1 parent 5c32a51 commit 0580e88
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
22 changes: 22 additions & 0 deletions src/KiBoards/Models/Spaces/Space.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace KiBoards.Models.Spaces
{
class Space
{
public string Id { get; set; }
public string Name { get; set; }
public string Color { get; set; }
public List<string> DisabledFeatures { get; set; }
public string ImageUrl { get; set; }
public string Description { get; set; }

public static Space KiBoards = new()
{
Id = "kiboards",
Name = "KiBoards",
Color = "#FFFFFF",
DisabledFeatures = new List<string>() { "discover", "enterpriseSearch", "logs", "infrastructure", "apm", "uptime", "observabilityCases", "slo", "siem", "securitySolutionCases", "canvas", "maps", "ml", "visualize", "dev_tools", "advancedSettings", "indexPatterns", "filesManagement", "filesSharedImage", "savedObjectsManagement", "savedObjectsTagging", "osquery", "actions", "generalCases", "guidedOnboardingFeature", "rulesSettings", "maintenanceWindow", "stackAlerts", "fleetv2", "fleet", "monitoring" },
ImageUrl = "data:image/png;base64," + "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQeYVdW1/vcpt8/cKcwwDL13QSkWLCjYsaHGRI2aGI3G/kw1RvP0xZhm7C8kGqO+RBJjiVEEGzYsqKCCSO+C9Dbtzj3lff8+Z985M8wwM9w7w4A53zeCzC3n7NXX+tdaAvvfpQHgjwvAbnD7YQDdAAwAMARAfwCDAZQCKPR/VgO4AMBs/3P4EQ6AMwH8L4AkgA3+z1oAawAsBzAPwCIA6xs5MsP/N34Of/abS+wnd6qIToKT8OrKBzACwGEADgcwFEA5gEQTz0Xi8LPeAzDOfw0/LwbgcwDd/c9v6ly2AVgBYCGADwG84TNGOvB9/Hy+n98VvNcOedQdmQF4b0rSg1JFqT4BwASf8F2CJ8s3CQFXQDjCezrhuC4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53900pnLb5uT/SlohctmHz39RFA5TLUTU5Z4yOzgAZOQ8MWwraTTIIa+QcKs2JopyBxzHoXIND/d70FQwb99gtlPkI2nLiHDhrj80xTOXN8aduBb9HMWNWSJ2cU7qJD9xfGCB4+8qO8s/Gto4TkMKaA+fhDgHQze9kKvXL1NQgHljFK1DxoifHHxJ5lz+BjFvNV/nt1Z/5kk5Qhhff1b9U88t+QfTgrf8/6KvklBEDeoYAAAAASUVORK5CYII=",
Description = "KiBoards dashboards"
};
}
}
12 changes: 12 additions & 0 deletions src/KiBoards/Services/KiBoardsKibanaClient.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading;
using KiBoards.Models.Objects;
using KiBoards.Models.Settings;
using KiBoards.Models.Spaces;
using KiBoards.Models.Status;

namespace KiBoards.Services
Expand Down Expand Up @@ -43,5 +45,15 @@ public async Task<ImportObjectsResponse> ImportSavedObjectsAsync(string ndjsonFi

public async Task<KibanaStatusResponse> GetStatus() => await GetStatus(CancellationToken.None);
public async Task<KibanaStatusResponse> GetStatus(CancellationToken cancellationToken) => await _httpClient.GetFromJsonAsync<KibanaStatusResponse>("api/status", cancellationToken);


public async Task<bool> TryCreateSpaceAsync(Space space) => await TryCreateSpaceAsync(space, CancellationToken.None);
public async Task<bool> TryCreateSpaceAsync(Space space, CancellationToken cancellationToken)
{
var response = await _httpClient.PostAsJsonAsync("api/spaces/space", space, new JsonSerializerOptions() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }, cancellationToken );
return response.IsSuccessStatusCode;
}

public async Task<Space> GetSpaceAsync(string id) => await _httpClient.GetFromJsonAsync<Space>($"api/spaces/space/{id}", new JsonSerializerOptions() { PropertyNameCaseInsensitive = true });
}
}
Loading

0 comments on commit 0580e88

Please sign in to comment.