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

Too much overlap in storage plugin URLs for meaningful loadbalancing and config simplicity. Make poorxy emulate the real situation and change related URLs.

This commit is contained in:
Simo Kinnunen 2015-01-07 14:04:36 +09:00
parent 7c16c40dae
commit 8b9e5d58c9
8 changed files with 70 additions and 57 deletions

View file

@ -928,7 +928,7 @@ program
, '--group-timeout', options.groupTimeout
, '--public-ip', options.publicIp
, '--storage-url'
, util.format('http://localhost:%d/', options.storagePort)
, util.format('http://localhost:%d/', options.poorxyPort)
, '--adb-host', options.adbHost
, '--adb-port', options.adbPort
].concat(cliutil.allUnknownArgs(args)))
@ -974,7 +974,7 @@ program
, '--port', options.websocketPort
, '--secret', options.authSecret
, '--storage-url'
, util.format('http://localhost:%d/', options.storagePort)
, util.format('http://localhost:%d/', options.poorxyPort)
, '--connect-sub', options.bindAppPub
, '--connect-push', options.bindAppPull
])
@ -990,7 +990,7 @@ program
'storage-plugin-image'
, '--port', options.storagePluginImagePort
, '--storage-url'
, util.format('http://localhost:%d/', options.storagePort)
, util.format('http://localhost:%d/', options.poorxyPort)
])
// apk processor
@ -998,7 +998,7 @@ program
'storage-plugin-apk'
, '--port', options.storagePluginApkPort
, '--storage-url'
, util.format('http://localhost:%d/', options.storagePort)
, util.format('http://localhost:%d/', options.poorxyPort)
])
// poorxy