Skip to main content

HTTP Proxy

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inside_out_proxy-190126.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

inside_out_proxy-190126-py2.py3-none-any.whl (22.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file inside_out_proxy-190126.tar.gz.

File metadata

  • Download URL: inside_out_proxy-190126.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for inside_out_proxy-190126.tar.gz
Algorithm Hash digest
SHA256 3435c2793107a7d54148cc5ca675c08d8e1a9de16e5f95c6a1b67a80e7763c48
MD5 eac87b58d58809ad7f2d3a91ff9882b2
BLAKE2b-256 ff5dc391999ab7b77a9dcf0eb0e07c4ef15dfcc0840f409b4db95406b7f1fd97

See more details on using hashes here.

File details

Details for the file inside_out_proxy-190126-py2.py3-none-any.whl.

File metadata

  • Download URL: inside_out_proxy-190126-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for inside_out_proxy-190126-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e06dc22ab6766dd2dc7248787488aeaffc499a47f4225bdde6bd488f5adb691a
MD5 3740c9a20c9145a8e2008caa16c47004
BLAKE2b-256 60eab299acb14b53f8285ef78dc7e5553f8833e8285cb0fd96ef50267a0d1801

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page