feat: complete final jetstream parity transport and runtime baselines

This commit is contained in:
Joseph Doherty
2026-02-23 11:04:43 -05:00
parent 53585012f3
commit 8bce096f55
61 changed files with 2655 additions and 129 deletions

View File

@@ -0,0 +1,17 @@
using NATS.Server.JetStream;
using NATS.Server.JetStream.Api;
namespace NATS.Server.Tests;
public class JetStreamAccountControlApiTests
{
[Fact]
public void Account_and_server_control_subjects_are_routable()
{
var router = new JetStreamApiRouter(new StreamManager(), new ConsumerManager());
router.Route("$JS.API.SERVER.REMOVE", "{}"u8).Error.ShouldBeNull();
router.Route("$JS.API.ACCOUNT.PURGE.ACC", "{}"u8).Error.ShouldBeNull();
router.Route("$JS.API.ACCOUNT.STREAM.MOVE.ACC", "{}"u8).Error.ShouldBeNull();
router.Route("$JS.API.ACCOUNT.STREAM.MOVE.CANCEL.ACC", "{}"u8).Error.ShouldBeNull();
}
}