-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Radoslav Radev
committed
Mar 9, 2024
1 parent
d3b3bbd
commit 062622f
Showing
50 changed files
with
637 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
Backend/Account/Migrations/20240309121534_InitialCreate.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
Backend/Account/Migrations/20240309121534_InitialCreate.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using System; | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Account.Migrations | ||
{ | ||
/// <inheritdoc /> | ||
public partial class InitialCreate : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterDatabase() | ||
.Annotation("MySql:CharSet", "utf8mb4"); | ||
|
||
migrationBuilder.CreateTable( | ||
name: "Accounts", | ||
columns: table => new | ||
{ | ||
AccId = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"), | ||
Email = table.Column<string>(type: "longtext", nullable: false) | ||
.Annotation("MySql:CharSet", "utf8mb4"), | ||
PasswordHashed = table.Column<string>(type: "longtext", nullable: false) | ||
.Annotation("MySql:CharSet", "utf8mb4"), | ||
Balance = table.Column<decimal>(type: "decimal(18,2)", nullable: false), | ||
SubscriptionValidUntil = table.Column<DateTime>(type: "datetime(6)", nullable: true) | ||
}, | ||
constraints: table => | ||
{ | ||
table.PrimaryKey("PK_Accounts", x => x.AccId); | ||
}) | ||
.Annotation("MySql:CharSet", "utf8mb4"); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropTable( | ||
name: "Accounts"); | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
Backend/Account/Migrations/DatabaseContextModelSnapshot.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// <auto-generated /> | ||
using System; | ||
using Account.Repository.EFC; | ||
using Microsoft.EntityFrameworkCore; | ||
using Microsoft.EntityFrameworkCore.Infrastructure; | ||
using Microsoft.EntityFrameworkCore.Metadata; | ||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; | ||
|
||
#nullable disable | ||
|
||
namespace Account.Migrations | ||
{ | ||
[DbContext(typeof(DatabaseContext))] | ||
partial class DatabaseContextModelSnapshot : ModelSnapshot | ||
{ | ||
protected override void BuildModel(ModelBuilder modelBuilder) | ||
{ | ||
#pragma warning disable 612, 618 | ||
modelBuilder | ||
.HasAnnotation("ProductVersion", "8.0.2") | ||
.HasAnnotation("Relational:MaxIdentifierLength", 64); | ||
|
||
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder); | ||
|
||
modelBuilder.Entity("Account.Repository.Entities.Account", b => | ||
{ | ||
b.Property<Guid>("AccId") | ||
.ValueGeneratedOnAdd() | ||
.HasColumnType("char(36)"); | ||
|
||
b.Property<decimal>("Balance") | ||
.HasColumnType("decimal(18, 2)"); | ||
|
||
b.Property<string>("Email") | ||
.IsRequired() | ||
.HasColumnType("longtext"); | ||
|
||
b.Property<string>("PasswordHashed") | ||
.IsRequired() | ||
.HasColumnType("longtext"); | ||
|
||
b.Property<DateTime?>("SubscriptionValidUntil") | ||
.HasColumnType("datetime(6)"); | ||
|
||
b.HasKey("AccId"); | ||
|
||
b.ToTable("Accounts"); | ||
}); | ||
#pragma warning restore 612, 618 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
consul.exe |
2 changes: 1 addition & 1 deletion
2
Backend/OpenVidStreamer.ManagementNdiscovary/var/checkpoint-signature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...4d3d605d1fb2e931f0ad2c9fd42b75c499a525cb1 → ...03a67903d6fa06f993737132e6c74f9684d4e2073
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-18735830-2ff0-4d59-858d-775a2b16434f","Name":"Service 'OpenVisStreamer.RecommendationAlgo' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-18735830-2ff0-4d59-858d-775a2b16434f","ServiceName":"OpenVisStreamer.RecommendationAlgo","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5006/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-4fd79d63-818e-4aa3-a150-bba8aeac77c0","Name":"Service 'OpenVisStreamer.RecommendationAlgo' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-4fd79d63-818e-4aa3-a150-bba8aeac77c0","ServiceName":"OpenVisStreamer.RecommendationAlgo","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5006/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} |
1 change: 1 addition & 0 deletions
1
...entNdiscovary/var/checks/7c28c7ae729d256ab887bf0163d8d5c7632b88e857ab37e55e9741dd3d253a0f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-5a6d808b-1a1a-4dc1-9dcd-e999fa66863f","Name":"Service 'OpenVisStreamer.Upload' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-5a6d808b-1a1a-4dc1-9dcd-e999fa66863f","ServiceName":"OpenVisStreamer.Upload","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5008/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} |
1 change: 1 addition & 0 deletions
1
...entNdiscovary/var/checks/954151230592812024c4d7f0c64e04df824b6d3249e93f386c724744fefffeaa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-63aa5e41-def8-470d-b199-ecc62f1e8ff5","Name":"Service 'OpenVisStreamer.Upload' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-63aa5e41-def8-470d-b199-ecc62f1e8ff5","ServiceName":"OpenVisStreamer.Upload","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5008/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} |
1 change: 1 addition & 0 deletions
1
...entNdiscovary/var/checks/9d35ebd061ca92b6a356396242fd6383c4663192a49d1a4f08ff92cf022a9d83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-2fac3c74-5694-47a2-89a0-45c7b13f824f","Name":"Service 'OpenVisStreamer.Upload' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-2fac3c74-5694-47a2-89a0-45c7b13f824f","ServiceName":"OpenVisStreamer.Upload","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5008/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} |
1 change: 0 additions & 1 deletion
1
...entNdiscovary/var/checks/a1c15452fbb80cdd7b4691f854e92c3258eb739b680f99ee615d3ed245a04cad
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...8f070425fd71014a59e7b2f74286ed9b713ae1c03 → ...028888aad5b6fa3eaf8e07ae42f539f632b8efb3d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-f0e80451-b36e-4ea6-a517-7586cd2a271f","Name":"Service 'OpenVisStreamer.VideoLibrary' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-f0e80451-b36e-4ea6-a517-7586cd2a271f","ServiceName":"OpenVisStreamer.VideoLibrary","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5004/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} | ||
{"Check":{"Node":"OpenVidStreamer.ManagementNdiscovary","CheckID":"service:ServiceName-raga70sRog-4fe37622-1df7-4a32-8cf0-775f254627ac","Name":"Service 'OpenVisStreamer.VideoLibrary' check","Status":"critical","Notes":"","Output":"","ServiceID":"ServiceName-raga70sRog-4fe37622-1df7-4a32-8cf0-775f254627ac","ServiceName":"OpenVisStreamer.VideoLibrary","ServiceTags":null,"Type":"http","Interval":"30s","Timeout":"","ExposedPort":0,"Definition":{},"CreateIndex":0,"ModifyIndex":0},"ChkType":{"CheckID":"","Name":"","Status":"","Notes":"","ScriptArgs":null,"HTTP":"https://localhost:5004/health","H2PING":"","H2PingUseTLS":false,"Header":null,"Method":"","Body":"","DisableRedirects":false,"TCP":"","TCPUseTLS":false,"UDP":"","Interval":30000000000,"AliasNode":"","AliasService":"","DockerContainerID":"","Shell":"","GRPC":"","GRPCUseTLS":false,"OSService":"","TLSServerName":"","TLSSkipVerify":false,"Timeout":0,"TTL":0,"SuccessBeforePassing":0,"FailuresBeforeWarning":0,"FailuresBeforeCritical":0,"ProxyHTTP":"","ProxyGRPC":"","DeregisterCriticalServiceAfter":0,"OutputMaxSize":0},"Token":"","Source":"remote"} |
1 change: 0 additions & 1 deletion
1
...entNdiscovary/var/checks/a785d6854fe8d828d2d96d784551ef7946659c0dc7abef0542dfe859a248699b
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...entNdiscovary/var/checks/e20f1c0e59b938cce1d7aa862bc6e465738f8acd4466bd4f917a0e7e00383152
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...entNdiscovary/var/checks/fb8b90e4f642e9f90bcb4a85af1075a25e12f0025b41a24dc592fffeadd5a4a2
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
9dd4b92d-5da4-8eb5-9ba6-925d5d5a1a89 | ||
f576fa39-64b7-f602-5f9b-025f9482fd86 |
Binary file modified
BIN
-1.5 MB
(25%)
Backend/OpenVidStreamer.ManagementNdiscovary/var/raft/raft.db
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
Backend/OpenVidStreamer.ManagementNdiscovary/var/serf/remote.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
alive: OpenVidStreamer.ManagementNdiscovary.dc1 127.0.0.1:8302 | ||
alive: OpenVidStreamer.ManagementNdiscovary.dc1 127.0.0.1:8302 | ||
alive: OpenVidStreamer.ManagementNdiscovary.dc1 127.0.0.1:8302 |
2 changes: 1 addition & 1 deletion
2
Backend/OpenVidStreamer.ManagementNdiscovary/var/server_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"last_seen_unix":1709549896} | ||
{"last_seen_unix":1709993285} |
Oops, something went wrong.