first commit
This commit is contained in:
parent
5d14b61d9c
commit
a04804077c
|
@ -166,6 +166,8 @@ public static class ExoCmd
|
|||
|
||||
public static async Task<Boolean> RevokeReadKey(this Installation installation)
|
||||
{
|
||||
//Check exoscale documentation https://openapi-v2.exoscale.com/topic/topic-api-request-signature
|
||||
|
||||
var url = $"https://api-ch-dk-2.exoscale.com/v2/access-key/{installation.S3Key}";
|
||||
var method = $"access-key/{installation.S3Key}";
|
||||
|
||||
|
|
|
@ -181,6 +181,7 @@ public static partial class Db
|
|||
.ToList();
|
||||
|
||||
const String provider = "exo.io";
|
||||
Console.WriteLine("-----------------------UPDATED READ KEYS-------------------------------------------------------------------");
|
||||
|
||||
foreach (var region in regions)
|
||||
{
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
using System.Net.Http.Headers;
|
||||
using System.Net.WebSockets;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
@ -5,6 +6,7 @@ using System.Threading.Channels;
|
|||
using Hellang.Middleware.ProblemDetails;
|
||||
using InnovEnergy.App.Backend.Database;
|
||||
using InnovEnergy.App.Backend.Websockets;
|
||||
using InnovEnergy.Lib.S3Utils.DataTypes;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.OpenApi.Models;
|
||||
|
@ -18,7 +20,6 @@ public static class Program
|
|||
{
|
||||
public static void Main(String[] args)
|
||||
{
|
||||
//Db.CreateFakeRelations();
|
||||
Watchdog.NotifyReady();
|
||||
Db.Init();
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
|
Loading…
Reference in New Issue