Skip to main content

vendor request of taiqiyun [private]

Project description

tivendor

Usage

from tivendor import TiVendor

config =  {
    'TIADMIN_HOST': 'http://tiadmin.kong:8000',
    'KAFKA_ENABLE': 'on',
    'KAFKA_HOST': 'kafka-kafka.kafka:9092',
    'KAFKA_TOPIC': 'supplier-request',
    'DEFAULT_SERVICE_NAME': 'bqsblmatch',
    'LOGGER_NAME': 'main',
}
vendor = TiVendor(config)

r = vendor.request('bqsblmatch-test', service_name='bqsblmatch', ti_request_headers={}, json={'name': 'Johnny',})
print(r.json())

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

tivendor-0.0.22.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file tivendor-0.0.22.tar.gz.

File metadata

  • Download URL: tivendor-0.0.22.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for tivendor-0.0.22.tar.gz
Algorithm Hash digest
SHA256 faea96bd0df77e4ebf3f95986ee8d8b58730c2be74c36fe2b20a773d8664b396
MD5 708747fe13de4e77832eb6ec770386d2
BLAKE2b-256 20eed61d22aa40058700a255c7a3fede9a65a3b5be230fdf56ae0380c2f6f0c5

See more details on using hashes here.

Supported by

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