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

asimov-deploy-ui

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asimov-deploy-ui - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

.dockerignore

0

app/agents.js

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ var _ = require('underscore');

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

10

app/services/agent-api-client.js

@@ -37,3 +37,3 @@ /*******************************************************************************

var _getUnitListUrl = function (filters) {
var _getUnitListUrl = function (filters, skipStatusRefresh) {
var url = '/units/list';

@@ -52,2 +52,6 @@ var queryStrings = [];

if (skipStatusRefresh === true) {
queryStrings.push('skipStatusRefresh=true');
}
if (queryStrings.length > 0) {

@@ -60,3 +64,3 @@ url += '?';

this.getUnits = function(filters, dataCallback) {
this.getUnits = function(filters, skipStatusRefresh, dataCallback) {
filters = filters || {};

@@ -82,3 +86,3 @@ var result = [];

var url = _getUnitListUrl(filters);
var url = _getUnitListUrl(filters, skipStatusRefresh);

@@ -85,0 +89,0 @@ async.forEach(agents, function(agent, done) {

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -34,3 +34,5 @@ /*******************************************************************************

agentApiClient.getUnits(filters, function(results) {
var skipStatusRefresh = (req.query.skipStatusRefresh || 'false') === 'true' ? true: false;
agentApiClient.getUnits(filters, skipStatusRefresh, function(results) {
results.forEach(function(item) {

@@ -37,0 +39,0 @@ agentsResp.push({

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ module.exports = function(grunt) {

@@ -0,0 +0,0 @@ Open Source Initiative OSI - The MIT License

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

"author": "Ebay Inc",
"version": "0.9.1",
"version": "0.9.2",
"homepage": "https://github.com/asimov-deploy/asimov-deploy",

@@ -67,3 +67,2 @@ "license": "Apache-2.0",

"start": "node server.js",
"prepublish": "grunt release",
"test": "grunt release"

@@ -70,0 +69,0 @@ },

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -28,3 +28,3 @@ /*******************************************************************************

var loadUnits = function (filtersObj) {
var loadUnits = function (filtersObj, skipStatusRefresh) {
var filters = {};

@@ -36,2 +36,5 @@ _.forEach(Object.keys(filtersObj), function (group) {

});
filters.skipStatusRefresh = skipStatusRefresh;
unitCollection.fetch(filters);

@@ -107,7 +110,7 @@ };

if (unitCollection.length === 0) {
loadUnits(initialFilters);
loadUnits(initialFilters, false);
}
view.on('refresh', function () {
loadUnits(getCurrentFilter());
loadUnits(getCurrentFilter(), false);
});

@@ -128,3 +131,3 @@

loadUnits(currentFilterObj);
loadUnits(currentFilterObj, true);
setCurrentFilter(currentFilterObj);

@@ -144,3 +147,3 @@ });

loadUnits(currentFilterObj);
loadUnits(currentFilterObj, true);
setCurrentFilter(currentFilterObj);

@@ -147,0 +150,0 @@ });

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -43,3 +43,4 @@ /*******************************************************************************

"click .btn-unit-action": "unitAction",
"click .btn-toggle-loadbalancer": "toggleLoadBalancer"
"click .btn-set-loadbalancer-in": "setLoadBalancerIn",
"click .btn-set-loadbalancer-out": "setLoadBalancerOut"
},

@@ -129,11 +130,17 @@

toggleLoadBalancer: function() {
setLoadBalancerIn: function() {
this.setLoadBalancer(true);
},
setLoadBalancerOut: function() {
this.setLoadBalancer(false);
},
setLoadBalancer: function(enable) {
var selectedInstances = this.instances.where({selected: true});
_.each(selectedInstances, function (instance) {
var currentState = instance.get('loadBalancerState');
instance.set({ showAsChanging: true });
new ChangeLoadBalancerStatusCommand({
agentName: instance.get('agentName'),
action: currentState.enabled ? "disable" : "enable"
action: enable ? "enable" : "disable"
}).save();

@@ -140,0 +147,0 @@ });

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ // Backbone.BabySitter

@@ -0,0 +0,0 @@ // Backbone.js 1.0.0

@@ -0,0 +0,0 @@ (function (root, factory) {

@@ -0,0 +0,0 @@ (function (root, factory) {

@@ -0,0 +0,0 @@ /* ===================================================

@@ -0,0 +0,0 @@ /*!

@@ -0,0 +0,0 @@ /*!

@@ -0,0 +0,0 @@ Asimov Deploy [![NPM version](https://badge.fury.io/js/asimov-deploy-ui.png)](https://npmjs.org/package/asimov-deploy-ui) [![Build Status](https://api.travis-ci.org/asimov-deploy/asimov-deploy.png)](https://travis-ci.org/asimov-deploy/asimov-deploy)

@@ -0,0 +0,0 @@ /*******************************************************************************

@@ -76,3 +76,3 @@ require('should');

apiClient.getUnits({agentGroups: ['groupName']}, function(results) {
apiClient.getUnits({agentGroups: ['groupName']}, false, function(results) {
unitListForAgentGroup = results;

@@ -79,0 +79,0 @@ });

@@ -0,0 +0,0 @@ require('should');

@@ -0,0 +0,0 @@ require('should');

@@ -0,0 +0,0 @@ module.exports = function(config) {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ var deps = [];

@@ -0,0 +0,0 @@ "use strict";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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