Inside Out HTTP Job Proxy
"Don't call us, we call you!"
(https://en.wiktionary.org/wiki/Hollywood_principle)
Allows to stream jobs from a long polling server to the proxy, which turns them into outgoing HTTP Requests.
Proxy
Specific options:
inside_out_proxy --help
All options
inside_out_proxy --helpfull
Example:
inside_out_proxy --user=foo --password="$PW" --jobserver="https://..."
Testserver
Included is a test server which allows to check the correct working of the client.
inside_out_proxy_test_jobserver --help
shows its options.
Testrun
Periodic Jobs
This will start the testserver on localhost port 8089, returning jobs from playbook "prod":
inside_out_proxy_test_jobserver --playbook prod --loops=1000 --debug
Now we connect the proxy with default settings:
inside_out_proxy --debug
Speed Test
When we connect with user speed and a password which the testserver accepts, it will load the client with jobs for perf tests:
# server:
inside_out_proxy_test_jobserver --speed_user_password=foo --debug
# client:
inside_out_proxy --debug --user=speed --password=foo
DVCS URL: /scm/hg/AX/inside_out_proxy
Metadata
Release files for inside-out-proxy 190124
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inside_out_proxy-190124.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| inside_out_proxy-190124-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 32.8 kB
Release files / inside_out_proxy-190124.tar.gz
| Download URL | inside_out_proxy-190124.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f99bf03127b0af4ca4d154db4c94c9a4a15e4d4468450f39657705e54957a52
|
|
BLAKE2b-256 checksum How to use checksums |
c6de02d48c0df3881c7ccb4d00f1c7e607dbcf6e1c3041321a1aa64776d7aa48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / inside_out_proxy-190124-py2.py3-none-any.whl
| Download URL | inside_out_proxy-190124-py2.py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3cccceefea954f21671b9d996db8f5cfcefc3a2fa3c5bb003647300efc3bdd0d
|
|
BLAKE2b-256 checksum How to use checksums |
91b9ced9a734cbfb9f17edc3c84cb7fd2d3a5bb03c16a3f8e2c4188868e91029
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|