Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Showing with 18 additions and 5 deletions.
  1. +13 −0 app/scripts/services/wiggle.js
  2. +1 −1 dist/index.html
  3. +4 −0 dist/scripts/3dae3960.main.js
  4. +0 −4 dist/scripts/b8d44ee7.main.js
@@ -129,6 +129,7 @@ angular.module('fifoApp').factory('wiggle', function ($resource, $http, $cacheFa
//Initialize the caches.
$cacheFactory('datasets')
$cacheFactory('networks')
$cacheFactory('hypervisors')

var controller_layout = '/:id/:controller/:controller_id/:controller_id1/:controller_id2/:controller_id3';
function setUpServices() {
@@ -237,6 +238,18 @@ angular.module('fifoApp').factory('wiggle', function ($resource, $http, $cacheFa
{id: '@id', controller: '@controller', controller_id: '@controller_id'},
{put: {method: 'PUT', headers: withToken()},
delete: {method: 'DELETE', headers: withToken()},
get: {method: 'GET', cache: $cacheFactory.get('hypervisors'), headers: withToken(), interceptor: {
response: function(res) {
//Caching hypervisors call speeds up the vms list. But we need to clean the cache.
var c = $cacheFactory.get('hypervisors');
if (c.info().size > 0)
setTimeout(function() {
if (c.info().size < 1) return;
c.removeAll()
}, 4*1000)
return res.resource;
}
}},
query: {method: 'GET', isArray: true, headers: withToken({'x-full-list': true})},
queryFull: {method: 'GET', isArray: true, headers: withToken({'x-full-list': true}), interceptor: toHash}
});
@@ -18,7 +18,7 @@
<script src="scripts/5d0b108f.bower_components.js"></script>

<script src="scripts/config.js"></script>
<script src="scripts/b8d44ee7.main.js"></script>
<script src="scripts/3dae3960.main.js"></script>

<script src="scripts/c1af14c1.vendor.js"></script>

Large diffs are not rendered by default.

This file was deleted.

No commit comments for this range

You can’t perform that action at this time.