diff options
| author | Ziad Sawalha <github@highbridgellc.com> | 2011-05-23 02:22:28 -0500 |
|---|---|---|
| committer | Ziad Sawalha <github@highbridgellc.com> | 2011-05-23 02:22:28 -0500 |
| commit | 386db5c8d746397697f1ae88223a76b148b47744 (patch) | |
| tree | 461140c085486759dcc4055d1cdb976d67ea0bb2 | |
| parent | dca2f7af0b4d5ab98198f04b35783ad1894cae80 (diff) | |
readme fixes
| -rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -89,9 +89,9 @@ A set of sample data can be added by running a shell script: $ ./bin/sampledata.sh -The script calls keystone-manage to create the sample data +The script calls keystone-manage to create the sample data. -After starting keystone or runnign keystone-manage a keystone.db sqlite database should be created in the keystone folder. +After starting keystone or running keystone-manage a keystone.db sqlite database should be created in the keystone folder. To run client demo (with all auth middleware running locally on sample service): @@ -99,12 +99,14 @@ To run client demo (with all auth middleware running locally on sample service): $ ./echo/bin/echod $ python echo/echo/echo_client.py +NOTE: NOT ALL TESTS CONVERTED TO NEW MODEL YET. MANY FAIL. THIS WILL BE ADDRESSED SOON. + To run unit tests: * go to unit test/unit directory * run tests: python test_keystone -There are 8 groups of tests. They can be run individually or as an entire colection. To run the entire test suite run +There are 10 groups of tests. They can be run individually or as an entire colection. To run the entire test suite run $ python test_keystone.py @@ -144,5 +146,6 @@ in troubleshooting: /etc/keystone.conf or /etc/keystone/keystone.conf have higher priority than <top_dir>/etc/keystone.conf. CURL commands: + curl -d '{"passwordCredentials": {"username": "joeuser", "password": "secrete"}}' -H "Content-type: application/json" http://localhost:8081/v2.0/token curl -d '{"passwordCredentials": {"username": "joeuser", "password": "secrete", "tenant": "1234"}}' -H "Content-type: application/json" http://localhost:8081/v2.0/token |
