mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Rename "input" plugin to "service". It does many more things than just input.
This commit is contained in:
parent
395e59a33f
commit
9041eabfc1
6 changed files with 24 additions and 24 deletions
|
@ -3,13 +3,13 @@ var syrup = require('syrup')
|
|||
var logger = require('../../../util/logger')
|
||||
|
||||
module.exports = syrup.serial()
|
||||
.dependency(require('./input'))
|
||||
.define(function(options, input) {
|
||||
.dependency(require('./service'))
|
||||
.define(function(options, service) {
|
||||
var log = logger.createLogger('device:plugins:phone')
|
||||
|
||||
function fetch() {
|
||||
log.info('Fetching phone info')
|
||||
return input.getProperties([
|
||||
return service.getProperties([
|
||||
'imei'
|
||||
, 'phoneNumber'
|
||||
, 'iccid'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue