correccion del nombre de la coleccion
This commit is contained in:
@@ -25,7 +25,7 @@ public class AuditRecordRepository : MongoRepository<AuditRecord>, IAuditRecordR
|
||||
|
||||
public override string GetCollectionName()
|
||||
{
|
||||
return "AuditRecords";
|
||||
return "audit_records";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<!-- Informacion para NuGet -->
|
||||
<PackageId>AuditLogs</PackageId>
|
||||
<Version>1.0.19</Version>
|
||||
<Version>1.0.20</Version>
|
||||
<Authors>Epigram</Authors>
|
||||
<Company>Epigram</Company>
|
||||
<Description>Library for recording audit logs using MongoDB.</Description>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"audit-logs/1.0.19": {
|
||||
"audit-logs/1.0.20": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Hosting": "8.0.0",
|
||||
"MongoDB.Driver": "2.23.1",
|
||||
@@ -569,7 +569,7 @@
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"audit-logs/1.0.19": {
|
||||
"audit-logs/1.0.20": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AuditLogs</id>
|
||||
<version>1.0.19</version>
|
||||
<authors>Epigram</authors>
|
||||
<license type="expression">MIT</license>
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<description>Library for recording audit logs using MongoDB.</description>
|
||||
<tags>audit logs mongodb</tags>
|
||||
<repository type="git" url="https://git.teralevel.io/jrojas/audit/src/branch/master/audit-logs" commit="6327554e6c78280b33d49754e731d310bbf89d1a" />
|
||||
<dependencies>
|
||||
<group targetFramework="net8.0">
|
||||
<dependency id="Microsoft.Extensions.Hosting" version="8.0.0" exclude="Build,Analyzers" />
|
||||
<dependency id="MongoDB.Driver" version="2.23.1" exclude="Build,Analyzers" />
|
||||
<dependency id="Newtonsoft.Json" version="13.0.3" exclude="Build,Analyzers" />
|
||||
<dependency id="Serilog" version="4.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="/home/julian/Documentos/repos/audit/audit-logs/audit-logs/bin/Debug/net8.0/audit-logs.dll" target="lib/net8.0/audit-logs.dll" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AuditLogs</id>
|
||||
<version>1.0.20</version>
|
||||
<authors>Epigram</authors>
|
||||
<license type="expression">MIT</license>
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<description>Library for recording audit logs using MongoDB.</description>
|
||||
<tags>audit logs mongodb</tags>
|
||||
<repository type="git" url="https://git.teralevel.io/jrojas/audit/src/branch/master/audit-logs" commit="6327554e6c78280b33d49754e731d310bbf89d1a" />
|
||||
<dependencies>
|
||||
<group targetFramework="net8.0">
|
||||
<dependency id="Microsoft.Extensions.Hosting" version="8.0.0" exclude="Build,Analyzers" />
|
||||
<dependency id="MongoDB.Driver" version="2.23.1" exclude="Build,Analyzers" />
|
||||
<dependency id="Newtonsoft.Json" version="13.0.3" exclude="Build,Analyzers" />
|
||||
<dependency id="Serilog" version="4.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="/home/julian/Documentos/repos/audit/audit-logs/audit-logs/bin/Debug/net8.0/audit-logs.dll" target="lib/net8.0/audit-logs.dll" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -13,11 +13,11 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Epigram")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyDescriptionAttribute("Library for recording audit logs using MongoDB.")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.19.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.19+7c08e6e218b786bd1ac8663615a55b7a1bbd429a")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.20.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.20+6327554e6c78280b33d49754e731d310bbf89d1a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("audit-logs")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("audit-logs")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.19.0")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.20.0")]
|
||||
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://git.teralevel.io/jrojas/audit/src/branch/master/audit-logs")]
|
||||
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
|
||||
@@ -1 +1 @@
|
||||
88955e77972330336b26e79f5f072c1699f7c7a6c645f80e4ccc5579a9275d67
|
||||
5cf035fe69dd1917e86105a11c193a7c7359e1fbb4f3bdd45e2479da73c202d2
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"projects": {
|
||||
"/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj": {
|
||||
"version": "1.0.17",
|
||||
"version": "1.0.19",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj",
|
||||
"projectName": "AuditLogs",
|
||||
|
||||
@@ -2567,7 +2567,7 @@
|
||||
"/home/julian/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.17",
|
||||
"version": "1.0.19",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj",
|
||||
"projectName": "AuditLogs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "dTEHYGtSsoE=",
|
||||
"dgSpecHash": "QykavS2sE4Y=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj",
|
||||
"expectedPackageFiles": [
|
||||
|
||||
@@ -1 +1 @@
|
||||
17326086729278728
|
||||
17326358893202983
|
||||
@@ -1 +1 @@
|
||||
17326358893202983
|
||||
17328160760523427
|
||||
@@ -67,7 +67,7 @@ public class AuditRecordRepositoryTests
|
||||
public async Task Cleanup()
|
||||
{
|
||||
|
||||
await IntegrationDb.Database.DropCollectionAsync("AuditRecords");
|
||||
await IntegrationDb.Database.DropCollectionAsync("audit_records");
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class AuditServiceFilterTests
|
||||
public void Setup()
|
||||
{
|
||||
// Limpia la base de datos antes de cada prueba
|
||||
IntegrationDb.Database.DropCollectionAsync("AuditRecords").Wait();
|
||||
IntegrationDb.Database.DropCollectionAsync("audit_records").Wait();
|
||||
_service = new AuditService(IntegrationDb.Database);
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ public class AuditServiceIntegrationTests
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
IntegrationDb.Database.DropCollectionAsync("AuditRecords");
|
||||
IntegrationDb.Database.DropCollectionAsync("audit_records");
|
||||
//_repository = new AuditRecordRepository(IntegrationDb.Database);
|
||||
_service = new AuditService(IntegrationDb.Database);
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,7 @@
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"audit-test/1.0.0": {
|
||||
"dependencies": {
|
||||
"AuditLogs": "1.0.17",
|
||||
"AuditLogs": "1.0.19",
|
||||
"Microsoft.Extensions.Hosting": "8.0.0",
|
||||
"Microsoft.NET.Test.Sdk": "17.8.0",
|
||||
"Mongo2Go": "2.2.16",
|
||||
@@ -18,7 +18,7 @@
|
||||
"NUnit3TestAdapter": "4.5.0",
|
||||
"coverlet.collector": "6.0.0",
|
||||
"xunit": "2.9.2",
|
||||
"audit-logs": "1.0.18.0"
|
||||
"audit-logs": "1.0.19.0"
|
||||
},
|
||||
"runtime": {
|
||||
"audit-test.dll": {}
|
||||
@@ -944,7 +944,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AuditLogs/1.0.17": {
|
||||
"AuditLogs/1.0.19": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Hosting": "8.0.0",
|
||||
"MongoDB.Driver": "2.23.1",
|
||||
@@ -953,16 +953,16 @@
|
||||
},
|
||||
"runtime": {
|
||||
"audit-logs.dll": {
|
||||
"assemblyVersion": "1.0.17",
|
||||
"fileVersion": "1.0.18.0"
|
||||
"assemblyVersion": "1.0.19",
|
||||
"fileVersion": "1.0.19.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"audit-logs/1.0.18.0": {
|
||||
"audit-logs/1.0.19.0": {
|
||||
"runtime": {
|
||||
"audit-logs.dll": {
|
||||
"assemblyVersion": "1.0.18.0",
|
||||
"fileVersion": "1.0.18.0"
|
||||
"assemblyVersion": "1.0.19.0",
|
||||
"fileVersion": "1.0.19.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1471,12 +1471,12 @@
|
||||
"path": "zstdsharp.port/0.7.3",
|
||||
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
|
||||
},
|
||||
"AuditLogs/1.0.17": {
|
||||
"AuditLogs/1.0.19": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"audit-logs/1.0.18.0": {
|
||||
"audit-logs/1.0.19.0": {
|
||||
"type": "reference",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("audit-test")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7c08e6e218b786bd1ac8663615a55b7a1bbd429a")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6327554e6c78280b33d49754e731d310bbf89d1a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("audit-test")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("audit-test")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
beadb3471c102aa4f942699573b0c6b6cc2905637a4cf47b218f532af9de08f7
|
||||
5373d48fe47830c9e7ab94db54e8ca4c0dd7205123a4242fa95f6ea98332cc8b
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"projects": {
|
||||
"/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj": {
|
||||
"version": "1.0.17",
|
||||
"version": "1.0.19",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/julian/Documentos/repos/audit/audit-logs/audit-logs/audit-logs.csproj",
|
||||
"projectName": "AuditLogs",
|
||||
|
||||
@@ -1448,7 +1448,7 @@
|
||||
"lib/net7.0/ZstdSharp.dll": {}
|
||||
}
|
||||
},
|
||||
"AuditLogs/1.0.17": {
|
||||
"AuditLogs/1.0.19": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v8.0",
|
||||
"dependencies": {
|
||||
@@ -3799,7 +3799,7 @@
|
||||
"zstdsharp.port.nuspec"
|
||||
]
|
||||
},
|
||||
"AuditLogs/1.0.17": {
|
||||
"AuditLogs/1.0.19": {
|
||||
"type": "project",
|
||||
"path": "../audit-logs/audit-logs.csproj",
|
||||
"msbuildProject": "../audit-logs/audit-logs.csproj"
|
||||
@@ -3807,7 +3807,7 @@
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": [
|
||||
"AuditLogs >= 1.0.17",
|
||||
"AuditLogs >= 1.0.19",
|
||||
"Microsoft.Extensions.Hosting >= 8.0.0",
|
||||
"Microsoft.NET.Test.Sdk >= 17.8.0",
|
||||
"Mongo2Go >= 2.2.16",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "f3yoSH3jMzc=",
|
||||
"dgSpecHash": "sRXtVtg1AIc=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/julian/Documentos/repos/audit/audit-logs/audit-test/audit-test.csproj",
|
||||
"expectedPackageFiles": [
|
||||
@@ -75,7 +75,7 @@
|
||||
"/home/julian/.nuget/packages/xunit.extensibility.core/2.9.2/xunit.extensibility.core.2.9.2.nupkg.sha512",
|
||||
"/home/julian/.nuget/packages/xunit.extensibility.execution/2.9.2/xunit.extensibility.execution.2.9.2.nupkg.sha512",
|
||||
"/home/julian/.nuget/packages/zstdsharp.port/0.7.3/zstdsharp.port.0.7.3.nupkg.sha512",
|
||||
"/home/julian/.nuget/packages/auditlogs/1.0.17/auditlogs.1.0.17.nupkg.sha512"
|
||||
"/home/julian/.nuget/packages/auditlogs/1.0.19/auditlogs.1.0.19.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
17326086729278728
|
||||
17326358893202983
|
||||
@@ -1 +1 @@
|
||||
17326358893202983
|
||||
17328160760563428
|
||||
Reference in New Issue
Block a user