commit | 31bd1a1b52ea5f17d5ed3fe4e09a3562f65d906e | [log] [tgz] |
---|---|---|
author | Congbin Guo <guocb@google.com> | Tue Jun 02 17:47:13 2020 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 04 06:38:36 2020 +0000 |
tree | 2975a5a54b885715284079de7ebaf9ca48029e8a | |
parent | 3ef1cbbfcc3663241d6bef8e38094f42fe5df60b [diff] |
gs_cache: add a temp URL handler for fake Omaha service As a short term work around, we will split the /update RPC of devserver.py out and temporarily mount it to gs_cache. BUG=chromium:1078188 TEST=Tested manually. 1. Started the service locally $ ./bin/gs_archive_server -p 8889 -c http://localhost:8889 2. Tested by a POST request. $ curl -XPOST -H 'content-type:application/xml' -d '<?xml?><request/>' http://localhost:8889/update/board/version/au_nton?full_update=True Fake Omaha: To be implemented Args: ('board', 'version', 'au_nton') kwargs: {'full_update': u'True'} Data: <?xml?><request/> Change-Id: I6bbab30a6825da40d8d679e2a8f2c84c6266d744 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2227471 Reviewed-by: Sanika Kulkarni <sanikak@chromium.org> Commit-Queue: Congbin Guo <guocb@chromium.org> Tested-by: Congbin Guo <guocb@chromium.org> Auto-Submit: Congbin Guo <guocb@chromium.org>