Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apigeetool

Package Overview
Dependencies
Maintainers
7
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apigeetool - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

12

lib/commands/createproduct.js

@@ -15,2 +15,5 @@ /* jshint node: true */

},
'displayName': {
name: 'Display Name'
},
'productDesc': {

@@ -74,3 +77,7 @@ name: 'Description'

product.name = opts.productName
product.displayName = opts.productName
if(opts.displayName){
product.displayName = opts.displayName
}else{
product.displayName = opts.productName
}
product.description = opts.productDesc

@@ -98,2 +105,5 @@ if(opts.approvalType){

}
if(opts.attributes) {
product.attributes = opts.attributes;
}
if(opts.scopes){

@@ -100,0 +110,0 @@ var split = opts.scopes.split(',')

9

lib/commands/deployproxy.js

@@ -721,5 +721,10 @@ /* jshint node: true */

if (err) { return done(err); }
var jsonBody;
try {
jsonBody = (body ? JSON.parse(body) : null);
} catch(e) {
// fall through -- error handling below will catch any error
}
var jsonBody = (body ? JSON.parse(body) : null);
if (req.statusCode === 200) {

@@ -726,0 +731,0 @@ if (opts.verbose) { console.log('Deployment on %s successful', environment); }

@@ -10,3 +10,3 @@ /* jshint node: true */

function ApigeeTool(defaults) {
this.defaults = (defaults ? defaults : DefaultDefaults);
this.defaults = (defaults ? defaults : DefaultDefaults);
}

@@ -35,3 +35,3 @@

ApigeeTool.deployProxy = function(opts) {
ApigeeTool.deployProxy = function(opts) {
var cb = q.defer()

@@ -50,2 +50,9 @@ var cmd = require('./commands/deployproxy');

ApigeeTool.delete = function(opts) {
var cb = q.defer()
var cmd = require('./commands/delete');
runCommand(cmd, opts, cb);
return cb.promise
};
ApigeeTool.fetchProxy = function(opts) {

@@ -60,3 +67,3 @@ var cb = q.defer()

var cb = q.defer()
var cmd = require('./commands/deploysharedflow.js');
var cmd = require('./commands/deploysharedflow');
runCommand(cmd, opts, cb);

@@ -66,5 +73,12 @@ return cb.promise

ApigeeTool.undeploySharedflow = function(opts) {
var cb = q.defer()
var cmd = require('./commands/undeploysharedflow');
runCommand(cmd, opts, cb);
return cb.promise
};
ApigeeTool.deleteSharedflow = function(opts) {
var cb = q.defer()
var cmd = require('./commands/deletesharedflow.js');
var cmd = require('./commands/deletesharedflow');
runCommand(cmd, opts, cb);

@@ -119,3 +133,3 @@ return cb.promise

try{
var cmd = require('./commands/createproduct');
var cmd = require('./commands/createproduct');
runCommand(cmd, opts, cb);

@@ -132,3 +146,3 @@ }

try{
var cmd = require('./commands/deleteproduct');
var cmd = require('./commands/deleteproduct');
runCommand(cmd, opts, cb);

@@ -236,5 +250,5 @@ }

if(runerr){cb.reject(runerr)}
else { cb.resolve(response)}
else { cb.resolve(response)}
});
});
}
{
"name": "apigeetool",
"version": "0.10.0",
"version": "0.11.0",
"description": "A CLI for Apigee Edge",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc