Skip to content

Commit

Permalink
move memored to microgateway-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Jun 7, 2019
1 parent 0b83068 commit 9c86765
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apikeys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var url = require("url");
var rs = require("jsrsasign");
var fs = require("fs");
var path = require("path");
const memoredpath = path.resolve(__dirname,'../../..')+'/third_party/memored/memored';
const memoredpath = '../third_party/memored/index';
var cache = require(memoredpath);
var JWS = rs.jws.JWS;
var requestLib = require("request");
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ module.exports = {
apikeys: require('./apikeys'),
oauthv2: require('./oauthv2'),
extauth: require('./extauth'),
invalidHeader: require('./invalidHeader')
invalidHeader: require('./invalidHeader'),
memored: require('./third_party/memored');
}
2 changes: 1 addition & 1 deletion monitor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

var debug = require('debug')('plugin:monitor');
var path = require('path');
const memoredpath = path.resolve(__dirname,'../../..')+'/third_party/memored/memored';
const memoredpath = '../third_party/memored/index';
var cache = require(memoredpath);
const lynx = require('lynx');

Expand Down
2 changes: 1 addition & 1 deletion oauth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var url = require('url');
var rs = require('jsrsasign');
var fs = require('fs');
var path = require('path');
const memoredpath = path.resolve(__dirname,'../../..')+'/third_party/memored/memored';
const memoredpath = '../third_party/memored/index';
var cache = require(memoredpath);
var map = require(memoredpath);
var JWS = rs.jws.JWS;
Expand Down
2 changes: 1 addition & 1 deletion oauthv2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var url = require('url');
var rs = require('jsrsasign');
var fs = require('fs');
var path = require('path');
const memoredpath = path.resolve(__dirname,'../../..')+'/third_party/memored/memored';
const memoredpath = '../third_party/memored/index';
var map = require(memoredpath);
var JWS = rs.jws.JWS;
var requestLib = require('request');
Expand Down
Loading

0 comments on commit 9c86765

Please sign in to comment.