aboutsummaryrefslogtreecommitdiff
path: root/Plugins/CacheBroker
diff options
context:
space:
mode:
authorLibravatar vman <public@vaughnnugent.com>2022-11-20 16:42:01 -0500
committerLibravatar vman <public@vaughnnugent.com>2022-11-20 16:42:01 -0500
commit71ad09dda9ac67ef481d115fb9544dcd56834f22 (patch)
tree2341c80e519e6eac5ade89b4e36f9c7df967b5d1 /Plugins/CacheBroker
parent47f23c50713fa4fa99a793cdc6a0a9474382b5b6 (diff)
License + readme update
Diffstat (limited to 'Plugins/CacheBroker')
-rw-r--r--Plugins/CacheBroker/CacheBroker.csproj1
-rw-r--r--Plugins/CacheBroker/CacheBrokerEntry.cs21
-rw-r--r--Plugins/CacheBroker/Endpoints/BrokerRegistrationEndpoint.cs14
3 files changed, 16 insertions, 20 deletions
diff --git a/Plugins/CacheBroker/CacheBroker.csproj b/Plugins/CacheBroker/CacheBroker.csproj
index 5f8d771..47a48cf 100644
--- a/Plugins/CacheBroker/CacheBroker.csproj
+++ b/Plugins/CacheBroker/CacheBroker.csproj
@@ -35,6 +35,7 @@
<ItemGroup>
<ProjectReference Include="..\..\..\..\VNLib\Essentials\VNLib.Plugins.Essentials.csproj" />
+ <ProjectReference Include="..\..\..\..\VNLib\Hashing\src\VNLib.Hashing.Portable.csproj" />
<ProjectReference Include="..\..\..\Extensions\VNLib.Plugins.Extensions.Loading\VNLib.Plugins.Extensions.Loading.csproj" />
<ProjectReference Include="..\..\..\PluginBase\VNLib.Plugins.PluginBase.csproj" />
<ProjectReference Include="..\..\..\VNLib.Net.Rest.Client\VNLib.Net.Rest.Client.csproj" />
diff --git a/Plugins/CacheBroker/CacheBrokerEntry.cs b/Plugins/CacheBroker/CacheBrokerEntry.cs
index 876e030..7fea7fa 100644
--- a/Plugins/CacheBroker/CacheBrokerEntry.cs
+++ b/Plugins/CacheBroker/CacheBrokerEntry.cs
@@ -9,21 +9,20 @@
* VNLib collection of libraries and utilities.
*
* CacheBroker is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published
-* by the Free Software Foundation, either version 2 of the License,
-* or (at your option) any later version.
+* it under the terms of the GNU Affero General Public License as
+* published by the Free Software Foundation, either version 3 of the
+* License, or (at your option) any later version.
*
* CacheBroker is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* General Public License for more details.
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
*
-* You should have received a copy of the GNU General Public License
-* along with CacheBroker. If not, see http://www.gnu.org/licenses/.
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see https://www.gnu.org/licenses/.
*/
using System;
-using System.IO;
using System.Collections.Generic;
using VNLib.Utils.Logging;
@@ -34,7 +33,7 @@ namespace VNLib.Plugins.Cache.Broker
{
public sealed class CacheBrokerEntry : PluginBase
{
- public override string PluginName => "Cache.Broker";
+ public override string PluginName => "ObjectCache.Broker";
protected override void OnLoad()
{
@@ -44,10 +43,6 @@ namespace VNLib.Plugins.Cache.Broker
Log.Information("Plugin loaded");
}
- catch (FileNotFoundException)
- {
- Log.Error("Public key file was not found at the specified path");
- }
catch (KeyNotFoundException knf)
{
Log.Error("Required configuration keys were not found {mess}", knf.Message);
diff --git a/Plugins/CacheBroker/Endpoints/BrokerRegistrationEndpoint.cs b/Plugins/CacheBroker/Endpoints/BrokerRegistrationEndpoint.cs
index 1c8cd5a..2c454bf 100644
--- a/Plugins/CacheBroker/Endpoints/BrokerRegistrationEndpoint.cs
+++ b/Plugins/CacheBroker/Endpoints/BrokerRegistrationEndpoint.cs
@@ -9,17 +9,17 @@
* VNLib collection of libraries and utilities.
*
* CacheBroker is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published
-* by the Free Software Foundation, either version 2 of the License,
-* or (at your option) any later version.
+* it under the terms of the GNU Affero General Public License as
+* published by the Free Software Foundation, either version 3 of the
+* License, or (at your option) any later version.
*
* CacheBroker is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* General Public License for more details.
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
*
-* You should have received a copy of the GNU General Public License
-* along with CacheBroker. If not, see http://www.gnu.org/licenses/.
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see https://www.gnu.org/licenses/.
*/
using System;