0.2.0 • Published 8 years ago

nonstop-registry-resource v0.2.0

Weekly downloads
13
License
MIT
Repository
github
Last release
8 years ago

nonstop registry resource

This module can be used to provide the nonstop service hosts with a regsitration hypermedia API to any autohost server that's using hyped.

Why?

The service hosts register themselves and push status on an interval to provide a centralized source of information about what hosts are up and what package they're running.

Using with Autohost

NPM install this module to your project

npm install nonstop-registry-resource hyped -S

Add the module to the modules property in your autohost init:

var hyped = require( 'hyped' );
var host = require( 'autohost' );

host.init( {
		port: 8888,
		noOptions: true,
		urlStrategy: hyped.urlStrategy,
		modules: [ 'nonstop-registry-resource' ]
	} )
	.then( hyped.addResources );
hyped.setupMiddleware( host );
0.2.0

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.0

9 years ago