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.12.tar.gz (3.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: tivendor-0.0.12.tar.gz
  • Upload date:
  • Size: 3.3 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.12.tar.gz
Algorithm Hash digest
SHA256 64bda6b8fc59a4cdf935e7b0bb2e23d6fba30b0ed6fd05ede3ad0b38b719ba0c
MD5 da53c8926fa63a3b0db7d60ab3f01243
BLAKE2b-256 319a8fb7b68681032ac18eb018f6e7d64f85a64d1102bc2a1aff3e50ac0794d9

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