Comparing version 0.8.6 to 0.8.7
@@ -20,3 +20,3 @@ var Communication = require('../lib/Communication'); | ||
this.options = options || {}; | ||
this.logger = Logger.createLogger( 'harcon', { 'harcon': VERSION }, this.options.logger ); | ||
@@ -34,2 +34,3 @@ | ||
name: self.name, | ||
options: self.options, | ||
barrel: self.barrel, | ||
@@ -36,0 +37,0 @@ logger: self.logger, |
{ | ||
"name": "harcon", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"description": "Messaging/Service Bus for the harmonic convergence of node-based enterprise entities.", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
}, | ||
"_id": "harcon@0.8.6" | ||
"_id": "harcon@0.8.7" | ||
} |
module.exports = { | ||
name: 'marie', | ||
context: 'greet', | ||
init: function( options ){ | ||
console.log('Init...', options); | ||
}, | ||
// Simple service function listening to the morning.simple message where morning comes from context and simple is identified by the name of the fuction. | ||
@@ -5,0 +8,0 @@ simple: function(greetings1, greetings2, callback){ |
@@ -14,3 +14,3 @@ var chai = require("chai"); | ||
// also initialize the deployer component which will automaticall publish every component found in folder './test/components' | ||
inflicter = new Inflicter( { logger: { file: 'test.log', level: 'debug' }, idLength: 32, watch:{ folder: './test/components', timeout: -1} } ); | ||
inflicter = new Inflicter( { logger: { file: 'test.log', level: 'debug' }, idLength: 32, watch:{ folder: './test/components', timeout: -1}, marie: {greetings: 'Hi!'} } ); | ||
@@ -17,0 +17,0 @@ // Publishes an event listener function: Peter. It just sends a simple greetings in return |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
415428
1605