Sign inSign up

cingulara/openrmf-msg-template

By cingulara

•Updated 5 months ago

The messaging microservice for the OpenRMF tool for listening for templates by title.

Image
0

10K+

cingulara/openrmf-msg-template repository overview

.NET Core Build and Test

⁠openrmf-msg-checklist

Messaging service to respond to internal API requests to receive artifact and template information using a NATS Request/Reply scenario.

  • openrmf.template.read

⁠Running the NATS docker images

  • 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)

⁠What is required

⁠Making your local Docker image

  • make build
  • make latest

⁠creating the database user

  • ~/mongodb/bin/mongo 'mongodb://root:myp2ssw0rd@localhost'
  • use admin
  • db.createUser({ user: "openrmf" , pwd: "openrmf1234!", roles: ["readWriteAnyDatabase"]});
  • use openrmftemplate
  • db.createCollection("Templates");

⁠connecting to the database collection straight

~/mongodb/bin/mongo 'mongodb://openrmf:openrmf1234!@localhost/openrmftemplate?authSource=admin'

⁠List out the Artifacts you have inserted/updated

db.Templates.find();

Tag summary

Content type

Image

Digest

Size

42.7 MB

Last updated

over 5 years ago

docker pull cingulara/openrmf-msg-template