-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from jlongever/feature/add_fabric_service_poll…
…er_workflow Adds Emc OEM FabricService Poller Workflow
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
17
spec/lib/graphs/create-emc-fabric-service-poller-graph-spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
}); | ||
|
||
}); |