Commit Graph

9 Commits

Author SHA1 Message Date
Akhmad Fathonih
7e98e4f503 eslint autofix 2017-12-05 17:43:56 +09:00
Akhmad Fathonih
56e18dd9c7 eslint fixes 2017-12-05 17:40:48 +09:00
Akhmad Fathonih
524fd566b7 Implement addAdbPublicKey endpoint
Reason: manually approve adb connection from web UI does not scale for test automation. Especially those that are using different adb keys on each session (eg: via container)

This changes also added swagger doc endpoint. Using `stf local` command, it will end up at: `http://localhost:7106/docs/`
2017-12-05 15:12:57 +09:00
Vishal Banthia
b60cb6ef6a Fix eslint errors 2016-07-22 19:40:27 +05:30
Vishal Banthia
a6266931ad Modify APIs from Aysnc -> Sync using timeout 2016-07-22 19:34:22 +05:30
Vishal Banthia
dccacea43f add new device-reserve and device-release endpoints 2016-07-22 19:34:22 +05:30
Vishal Banthia
221bc78e49 use security handler instead of express middleware for access token validation. 2016-07-22 19:34:22 +05:30
Vishal Banthia
e0a45391ab Add auth middleware in api unit. Now only authorized user can access api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
41f306a7f0 Add basic api unit. This unit will be responsible for providing all stf restful apis. 2016-07-22 19:34:22 +05:30