diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml
index 58053ef..b9cc2ad 100644
--- a/.github/workflows/nuget-publish.yml
+++ b/.github/workflows/nuget-publish.yml
@@ -60,10 +60,10 @@ jobs:
csproj-paths: |
protocols\dotnet\Devolutions.NowClient\Devolutions.NowClient.csproj
protocols\dotnet\Devolutions.NowProto\Devolutions.NowProto.csproj
- - library: BrokerPolicy
- libpath: ./policies/dotnet/Devolutions.Broker.Policy
+ - library: NowPolicy
+ libpath: ./policies/dotnet/Devolutions.NowPolicy
csproj-paths: |
- policies\dotnet\Devolutions.Broker.Policy\Devolutions.Broker.Policy.csproj
+ policies\dotnet\Devolutions.NowPolicy\Devolutions.NowPolicy.csproj
steps:
- name: Check out ${{ github.repository }}
diff --git a/Cargo.lock b/Cargo.lock
index 4a26c09..41f545c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -80,20 +80,6 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
-[[package]]
-name = "devolutions-broker-policy"
-version = "0.1.0"
-dependencies = [
- "chrono",
- "schemars",
- "semver",
- "serde",
- "serde_json",
- "serde_yaml",
- "thiserror",
- "url",
-]
-
[[package]]
name = "displaydoc"
version = "0.2.6"
@@ -395,6 +381,20 @@ version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
+[[package]]
+name = "now-policy"
+version = "0.1.0"
+dependencies = [
+ "chrono",
+ "schemars",
+ "semver",
+ "serde",
+ "serde_json",
+ "serde_yaml",
+ "thiserror",
+ "url",
+]
+
[[package]]
name = "now-proto-fuzzing"
version = "0.0.0"
diff --git a/README.md b/README.md
index c7c3cc6..ab73744 100644
--- a/README.md
+++ b/README.md
@@ -6,10 +6,10 @@ Shared libraries for Devolutions NOW components.
## Libraries
- [protocols](./protocols/) contains the NOW protocol specifications, Rust crates, .NET libraries, and protocol test tools.
-- [policies](./policies/) is reserved for the UniGetUI/PEDM policy engine libraries.
+- [policies](./policies/) contains Devolutions Agent NOW policy libraries.
## Repository Layout
- Root-level tooling and CI are shared across library families.
- Protocol-specific documentation and source code live under `protocols/`.
-- Policy-specific documentation and source code will live under `policies/`.
\ No newline at end of file
+- Policy-specific documentation and source code live under `policies/`.
\ No newline at end of file
diff --git a/policies/README.md b/policies/README.md
index 70fd5eb..facee08 100644
--- a/policies/README.md
+++ b/policies/README.md
@@ -1,6 +1,6 @@
Policies
========
-This directory is reserved for Devolutions broker policy engine libraries.
+This directory contains Devolutions Agent NOW policy libraries.
-The future policy engine NuGet package and Rust crate will live here.
\ No newline at end of file
+The .NET package is published as `Devolutions.NowPolicy`, and the Rust crate is published as `now-policy`.
\ No newline at end of file
diff --git a/policies/dotnet/Devolutions.Broker.Policy.slnx b/policies/dotnet/Devolutions.Broker.Policy.slnx
deleted file mode 100644
index d52e34a..0000000
--- a/policies/dotnet/Devolutions.Broker.Policy.slnx
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/policies/dotnet/Devolutions.Broker.Policy.Tests/Devolutions.Broker.Policy.Tests.csproj b/policies/dotnet/Devolutions.NowPolicy.Tests/Devolutions.NowPolicy.Tests.csproj
similarity index 75%
rename from policies/dotnet/Devolutions.Broker.Policy.Tests/Devolutions.Broker.Policy.Tests.csproj
rename to policies/dotnet/Devolutions.NowPolicy.Tests/Devolutions.NowPolicy.Tests.csproj
index 27b4e7a..e515722 100644
--- a/policies/dotnet/Devolutions.Broker.Policy.Tests/Devolutions.Broker.Policy.Tests.csproj
+++ b/policies/dotnet/Devolutions.NowPolicy.Tests/Devolutions.NowPolicy.Tests.csproj
@@ -1,22 +1,22 @@
-
-
-
- latest
- enable
- enable
- false
- Devolutions.Broker.Policy.Tests
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ latest
+ enable
+ enable
+ false
+ Devolutions.NowPolicy.Tests
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/policies/dotnet/Devolutions.Broker.Policy.Tests/PolicyTests.cs b/policies/dotnet/Devolutions.NowPolicy.Tests/PolicyTests.cs
similarity index 95%
rename from policies/dotnet/Devolutions.Broker.Policy.Tests/PolicyTests.cs
rename to policies/dotnet/Devolutions.NowPolicy.Tests/PolicyTests.cs
index 542b5d5..19c6005 100644
--- a/policies/dotnet/Devolutions.Broker.Policy.Tests/PolicyTests.cs
+++ b/policies/dotnet/Devolutions.NowPolicy.Tests/PolicyTests.cs
@@ -5,7 +5,7 @@
using Xunit;
-namespace Devolutions.Broker.Policy.Tests;
+namespace Devolutions.NowPolicy.Tests;
public class PolicyTests
{
@@ -13,7 +13,7 @@ public class PolicyTests
private static string SamplesDir => Path.Combine(PolicyCrateRoot, "assets", "samples");
- private static string PolicySchema => Path.Combine(PolicyCrateRoot, "schema", "devolutions.broker-policy.schema.json");
+ private static string PolicySchema => Path.Combine(PolicyCrateRoot, "schema", "devolutions.now-policy.schema.json");
public static IEnumerable