Messaging service to respond to internal API requests to receive system and checklist listing information using a NATS Request/Reply scenario.
- openrmf.system.update.{systemGroupId} -- update the title in the body for the Artifacts (used for quicker reading)
- openrmf.system.count.> -- increment or decrement the # of checklists in a system
- openrmf.system.compliance -- get the last compliance generation date
- openrmf.system -- get the system record and return it
- docker run --rm --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats:2.1.2-linux
- this is the default and lets you run a NATS server version 2.x (as of 12/2019)
- just runs in memory and no streaming (that is separate)
- .NET Core 2.x
- running
dotnet add package NATS.Client
to add the package - dotnet restore to pull in all required libraries
- The C# NATS client library available at https://github.com/nats-io/csharp-nats
- make build
- make latest
- ~/mongodb/bin/mongo 'mongodb://root:myp2ssw0rd@localhost'
- use admin
- db.createUser({ user: "openrmf" , pwd: "openrmf1234!", roles: ["readWriteAnyDatabase"]});
- use openrmf
- db.createCollection("Artifacts");
~/mongodb/bin/mongo 'mongodb://openrmf:openrmf1234!@localhost/openrmf?authSource=admin'
db.Artifacts.find(); db.SystemGroups.find();