🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ee-soa-service

Package Overview
Dependencies
Maintainers
2
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-soa-service - npm Package Compare versions

Comparing version

to
0.2.17

9

lib/DefaultController.js

@@ -23,2 +23,11 @@

/**
* returns a default lsit of controller actions
*/
, getActionNames: function() {
return this.controllerActions;
}
, list: function(queryData, callback) {

@@ -25,0 +34,0 @@ callback(new Error("list action not implemented on controller"));

@@ -72,2 +72,9 @@

// set the loaded flag
this.on('load', function() {
this.loaded = true;
}.bind(this));
// Load configurations

@@ -83,5 +90,22 @@ this._loadConfiguration(function(err) {

}.bind(this));
}
/**
* returns a map of controllers and their actions
*/
, getControllerMap: function(map) {
var map = map || {};
Object.keys(this._controllerCollection).forEach(function(controllerName) {
map[this.name+'.'+controllerName] = this._controllerCollection[controllerName].getActionNames();
}.bind(this));
return map;
}
, isService: function() {

@@ -88,0 +112,0 @@ return true;

2

package.json

@@ -5,3 +5,3 @@ {

, "keywords" : ["ee", "soa", "service"]
, "version" : "0.2.16"
, "version" : "0.2.17"
, "author": {

@@ -8,0 +8,0 @@ "name" : "Tobias Kneubuehler"