mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Update STFService. Now both the agent and the service use the same wire proto.
This commit is contained in:
@@ -15,16 +15,13 @@ module.exports = syrup.serial()
|
||||
var log = logger.createLogger('device:resources:service')
|
||||
|
||||
var resource = {
|
||||
requiredVersion: '0.4.1'
|
||||
requiredVersion: '0.5.0'
|
||||
, pkg: 'jp.co.cyberagent.stf'
|
||||
, main: 'jp.co.cyberagent.stf.Agent'
|
||||
, apk: pathutil.vendor('STFService/STFService.apk')
|
||||
, agentProto: ProtoBuf.loadProtoFile(
|
||||
pathutil.vendor('STFService/proto/agent.proto')
|
||||
).build().jp.co.cyberagent.stf.proto
|
||||
, serviceProto: ProtoBuf.loadProtoFile(
|
||||
pathutil.vendor('STFService/proto/service.proto')
|
||||
).build().jp.co.cyberagent.stf.proto
|
||||
, wire: ProtoBuf.loadProtoFile(
|
||||
pathutil.vendor('STFService/wire.proto')
|
||||
).build().jp.co.cyberagent.stf
|
||||
, startAction: 'jp.co.cyberagent.stf.ACTION_START'
|
||||
, stopAction: 'jp.co.cyberagent.stf.ACTION_STOP'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user