Skip to content

Commit

Permalink
Merge pull request #89 from jlongever/feature/add_fabric_service_poll…
Browse files Browse the repository at this point in the history
…er_workflow

Adds Emc OEM FabricService Poller Workflow
  • Loading branch information
jlongever committed Apr 26, 2016
2 parents f7f3b23 + 285155a commit 1d07733
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
28 changes: 28 additions & 0 deletions lib/graphs/create-emc-fabric-service-poller-graph.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2016, EMC, Inc.

'use strict';

module.exports = {
friendlyName: 'Create Emc FabricService Pollers',
injectableName: 'Graph.Emc.Redfish.FabricService.Poller.Create',
options: {
defaults: {
nodeId: null,
pollers: [
{
"type": "redfish",
"pollInterval": 10000,
"config": {
"command": "fabricservice"
}
}
]
}
},
tasks: [
{
label: 'create-redfish-pollers',
taskName: 'Task.Pollers.CreateDefault'
}
]
};
17 changes: 17 additions & 0 deletions spec/lib/graphs/create-emc-fabric-service-poller-graph-spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';

describe(require('path').basename(__filename), function () {
var base = require('./base-graph-spec');

base.before(function (context) {
context.taskdefinition = helper.require('/lib/graphs/create-emc-fabric-service-poller-graph.js');
});

describe('graph', function () {
base.examples();
});

});

0 comments on commit 1d07733

Please sign in to comment.