valet/valet/tests/api
Tanvir Talukder ad2b7fab31 Fix pep8 and docstring violations
Fix issues in py files in the directories
valet/valet/api/common
valet/api
valet/cli
valet/engine/optimizer/
valet/tests/
valet/tests/tempest
valet_plugins
2017-05-01 19:24:57 -05:00
..
controllers Fix pep8 and docstring violations 2017-05-01 19:24:57 -05:00
README.md Initial commit 2016-12-12 08:50:24 -06:00
Valet.json.postman_collection Initial commit 2016-12-12 08:50:24 -06:00
__init__.py Initial commit 2016-12-12 08:50:24 -06:00
config.py Fix pep8 and docstring violations 2017-05-01 19:24:57 -05:00
conftest.py Fix pep8 and docstring violations 2017-05-01 19:24:57 -05:00

README.md

Using Postman with valet-api

The placement API (valet-api) can be exercised using Postman, by importing the file Valet.json.postman_collection.

Before using the collection, create a Postman environment with the following settings:

  • valet: valet-api endpoint (e.g., http://controller:8090)
  • keystone: keystone-api endpoint (e.g., http://controller:5000)
  • tenant_name: tenant name (e.g., service)
  • username: username (e.g., valet)
  • password: password

All valet-api requests require a valid Keystone token. Use the Keystone Generate Token v2 POST request to generate one. It will be automatically stored in the Postman environment and used for future API requests. Once the token expires ("Authorization Required"), simply generate a new token.

See the valet-api API documentation for a complete list of supported requests.