1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Update STFService. Now both the agent and the service use the same wire proto.

This commit is contained in:
Simo Kinnunen 2014-04-17 02:20:16 +09:00
parent d5c96dc50d
commit ce9733f5da
5 changed files with 152 additions and 106 deletions

View file

@ -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'
}