Closed jwalgran closed 4 years ago
The build failure was in Update APT Cache
TASK [Update APT Cache] ********************************************************
Monday 27 July 2020 18:10:56 -0400 (0:00:03.628) 0:00:03.772 ***********
[WARNING]: Updating cache and auto-installing missing dependency: python3-apt
fatal: [services]: FAILED! => {"changed": false, "msg": "Could not import python modules: apt, apt_pkg. Please install python3-apt package."}
Perhaps related to the end of Python 2.7 support. We need to fix the build in general, but this documentation and non-runtime tool update PR is not exercised by CI.
Thanks for the thoughtful review. I address the comments with fixups.
We add API documentation covering available, active endpoints and poviding JSON request and response examples for third-party developers who would like to integrate OTM data into other systems.
We also add a command line tool (
scripts/hmaccurl.py
) to make HMAC signed requests via cURL with support for a small subset of cURL options, suitable for testing API endpoints from the command line.Connects #3298
Testing
To conserve development time this does not need a full interactive test. I used
hmaccurl.py
to generate the JSON responses throughout the document.