315 Commits

Author SHA1 Message Date
Terry Howe
202c3e375b Closes-Bug: #1262322 Make links clickable
Change-Id: I61302ff5274cdaa09801cb9b0dc9bfd353ac687f
2013-12-25 09:41:17 -07:00
Terry Howe
12f31eed2f Closes-Bug: #1262321
Remove the unimplemented post_process method call

Change-Id: Iaed526cc25a651008a66ad7f0050070ab2b4c595
2013-12-19 20:06:54 -07:00
Dean Troyer
de27c1b455 Release notes for 0.3.0 release
Change-Id: I6f025b745378613eb674e13dd503e57d049a3e50
2013-12-17 09:22:17 -06:00
Dean Troyer
4595ca1365 Remove mox3 requirement
mox3 is only used got py3 testing when converting tests from mox,
all OSC tests are new so we don't need it.

Change-Id: I2fae539e99143f91048c95d1e46cfbd7b0e9bdb0
2013-12-17 09:21:03 -06:00
OpenStack Jenkins
c645049c24 Updated from global requirements
Change-Id: I065a67d560efca0907da9fcaa8d5ce4712dfa2c1
2013-12-10 23:45:49 +00:00
Jenkins
facdc8704e Merge "Bring RESTApi closer to ithe imminent keystoneclient.Session" 2013-12-06 22:48:29 +00:00
Jenkins
cd870886fc Merge "Update docs for plugins and release notes" 2013-12-06 22:47:15 +00:00
Jenkins
b88a7b8ccc Merge "Add module list command" 2013-12-05 23:34:31 +00:00
Dean Troyer
4f1ebe8069 Update docs for plugins and release notes
* Fill out the existing command and man page
* Add a plugins page.
* Begin the release notes for 0.3.0

Change-Id: I4527fed28a10a9d79fc8f6c1d925a4bf0d0a7a36
2013-12-05 17:29:35 -06:00
Jenkins
e06e1a2cce Merge "Add missing requests and six requirements" 2013-12-05 17:22:34 +00:00
Sascha Peilicke
f227092a06 Add missing requests and six requirements
From global-requirements: requests>=1.1, six>=1.4.1

Change-Id: I536adc511931229a268ba81f81aef1aed59b33eb
2013-12-04 14:44:09 +01:00
Dean Troyer
a93cc3fae2 Add module list command
Lists versions of installed python modules

(Origianlly proposed as 'version list')

Change-Id: I76a51d3d6783f46ef2daa0a41626019a880a2a50
2013-12-03 17:53:55 -06:00
Dean Troyer
74a27056b3 Update OSC's CommandManager subclass
cliff.commandmanager.CommandManager gained an option, update
openstackclient.common.commandmanager.ComamndManager to match.

Also add CommandManager.get_command_groups() to return a list of the
currently loaded command groups.  I expect this to be useful in
upcoming client diagnostic commands for plugins/extensions.

If these turn out to be generally useful we'll propose them to
upstream cliff.

Change-Id: Ic15a7ca0ef975ca679e753be861be7c628b8e10c
2013-12-03 17:40:54 -06:00
Dean Troyer
f2dbe2e437 Bring RESTApi closer to ithe imminent keystoneclient.Session
Prepare to use the (soon to be) common Session from keystoneclient
* Rework RESTApi to eventually be a subclass of keystoneclient.Session

Change-Id: I68e610f8b19a3f6267a93f7bf3de54a228be68aa
2013-12-03 14:26:46 -06:00
Terry Howe
5dcc3b6164 Add return Closes-Bug: 1246356
Change-Id: I70999a91062b9c61e5f420b1ed33a45086b62fd4
2013-11-27 14:25:12 -07:00
Dean Troyer
935781fdf9 Restore Object API name 'object-store'
It's used in the service catalog, doh!

Change-Id: If8f6db49c84756fd8e58cc68910160da4cd99b5d
2013-11-25 14:46:57 -06:00
Dean Troyer
9062811d10 Expand support for command extensions
Allows client libraries to have complete access to the rest of the
OSC ClientManager.  In addition, extension libraries can define
global options (for API version options/env vars) and define
versioned API entry points similar to the in-repo commands.

The changes to ClientManager exposed some issues in the existing
object api tests that needed to be cleaned up.

Change-Id: Ic9662edf34c5dd130a2f1a69d2454adefc1f8a95
2013-11-21 01:27:10 -06:00
Jenkins
d45187a0c1 Merge "Add server image create command" 2013-11-20 06:37:25 +00:00
Jenkins
b70b1d04e4 Merge "Complete basic test infrastructure" 2013-11-20 06:37:24 +00:00
Jenkins
56fbf65941 Merge "change execute to run" 2013-11-19 17:24:30 +00:00
Jenkins
0b3d69599b Merge "Fix typo" 2013-11-19 17:24:29 +00:00
Noorul Islam K M
07bbfd5770 Fix typo
Change-Id: I7bca8b76c6746121314e688e9ed3825e04350b8d
2013-11-19 19:58:03 +05:30
Sascha Peilicke
5444641292 Support building wheels (PEP-427)
With that, building and uploading wheels to PyPI is only one "python
setup.py bdist_wheel" away.

Change-Id: I8c8565f55e7a3434e1a1972a797a6cd7dba8a581
2013-11-19 10:11:07 +01:00
Dean Troyer
200ed62054 Add server image create command
Translation of 'nova image-create', with tests!

Change-Id: I8a833aeff6f291e4774063ed235876eb2ba9c13c
2013-11-18 23:40:11 -06:00
Dean Troyer
6460f1eb35 Complete basic test infrastructure
This finally gets all of the API tests into a common framework regarding
test classes and so forth.

Change-Id: If675347129c50dcba0bfc5b6c58f5a2ca57ff46c
2013-11-18 22:11:10 -06:00
Terry Howe
98eaccc431 change execute to run
Change-Id: I23a210c8771c206df14d2713a2e72ccd92402c43
2013-11-16 05:47:32 -07:00
Joe Gordon
c946192e37 Update URL for global hacking doc and fix typos
* related to I579e7c889f3addc2cd40bce0c584bbc70bf435e2

Change-Id: I519155d0a47564ce18a9cd930378a3c4feaa7a77
2013-11-11 11:09:55 -08:00
OpenStack Jenkins
e118f216db Merge "Updated from global requirements" 2013-11-08 04:22:36 +00:00
Dean Troyer
68094619be Remove httpretty from test requirements
We don't use it...

Change-Id: I41466da5153a8bdd0e4b4dd5774a9711bff3b7f5
2013-11-07 20:57:47 -06:00
OpenStack Jenkins
6ecf5bf4e3 Updated from global requirements
Change-Id: I421ab7a5b0c0224122cc747141956bc1282f2b07
2013-11-05 09:54:51 +00:00
Dean Troyer
9137cc304d Do lookups for user, project in volume create
This required https://review.openstack.org/26323 in keystoneclient,
merged long ago...

Also adds some tests for 'volume create'

Change-Id: I55bededbc20b5dcf2833c59eb2b6b069703d8a9a
2013-10-25 12:21:41 -05:00
Dirk Mueller
1fa1330e1d Adjust to non-deprecated names in Keyring 1.6.+
Keyring 1.1 moved the concrete backend implementations into their
own modules. As we depend on 1.6.1+, we can make use of the new
name and remove the old one without deprecation-fallback.

Change-Id: I0682b13fc9f488b3f3d9fd057f712909fcd48bc4
2013-10-24 14:25:40 +02:00
OpenStack Jenkins
a1bda219a5 Updated from global requirements
Change-Id: I2a306dd8edc030d3f989e9947dec784f502b3953
2013-10-16 12:21:38 +00:00
Jenkins
29642c2c3d Merge "Sync oslo-incubator for py33 fixes" 2013-10-13 04:56:38 +00:00
Jenkins
b3fd6ad6db Merge "Add to clientmanager tests" 2013-10-13 04:56:22 +00:00
Dean Troyer
fa649f4654 Sync oslo-incubator for py33 fixes
Change-Id: I261ec6bb34b29169ba3547305deab051f85a3d4d
2013-10-11 11:59:05 -05:00
Dean Troyer
3f9c68f1c6 Add options to support TLS certificate verification
Add --os-cacert and --verify|--insecure options using the same
sematics as the other project CLIs.  --verify is included for
completeness.

Bug: 1236608

Change-Id: I8a116d790db5aa4cb17a2207efedce7cb229eba3
2013-10-07 18:17:48 -05:00
OpenStack Jenkins
bca4cf9578 Updated from global requirements
Change-Id: Ic3b5de6a54951b4f9a6449f97aa1ab9c395a2f08
2013-10-01 16:15:07 +00:00
Dean Troyer
ad59b03be6 Add object-store show commands
* Add lib.container.show_container() and lib.object.show_object()
* Add container and object show commands

Change-Id: I963d664c55b59739453345f0f353aa2eaf1bf70e
2013-09-26 13:34:11 -05:00
Dean Troyer
74f4e31389 Update release notes for 0.2.2
Change-Id: I59cbee4c147d5f849a7f07224e83ddd751212077
2013-09-20 10:57:31 -05:00
Dean Troyer
ae8d64b337 Sort entrypoints in setup.cfg
Change-Id: I72b0e069334c290cdc4d46cff0ba66d751c0edb4
2013-09-20 10:37:50 -05:00
Dean Troyer
1c4d3b320f Fix security group entrypoints
Change-Id: I0590dde67b1121523d03742ce57093f2c5bacc72
2013-09-20 10:33:15 -05:00
Dean Troyer
6fe687fdf6 Delay authentication to handle commands that do not require it
* Move the auth to OpenStackShell.prepare_to_run_command() and skip it if
  the command's auth_required == False
* Default auth_required = True for all commands
* Do authentication up-front for interactive use as
  OpenStackShell.prepare_to_run_command() is not called

Change-Id: Id330092f242af624f430d469882d15f4a22f4e37
2013-09-12 16:23:14 -05:00
Dean Troyer
8898e020fb Identity v3 tests
* Add project, user, role and service v3 tests
* Fix issues in commands with enable/disable
* Make commands and tests more consistent between versions
* Make formatting and comments more consistent

Change-Id: Id21e7a5abd7e421a7742f937861ec46b53095fc7
2013-09-09 14:58:28 -05:00
Dean Troyer
7a0a7d67ed Prepare for Identity v3 tests
* Split identity/fakes.py for v2_0 and v3
* Split identity/test_identity.py for v2_0 and v3
* Fix issues in commands with enable/disable
* Clean up v2 commands

Change-Id: I6e536b6a130fc556dbd7dcf9f2e76d939ca1bc1c
2013-09-09 14:52:50 -05:00
Dean Troyer
916bb68dfd Add to clientmanager tests
Change-Id: Iea59c494f31de9c3e1d662f89e6e2babcc8fbd61
2013-09-05 12:54:14 -05:00
Jenkins
16edd97007 Merge "Update tox.ini for new tox 1.6 config" 2013-09-05 13:06:45 +00:00
Dean Troyer
44c97cc099 Add Identity v2 role and service tests
* Add current auth info (auth_ref) to ClientManager
* Fix identity.v2_0.role.ListUserRole to get default user/project
  from ClientManager.auth_ref
* Fix identity.v2_0.role.AddRole call to roles.add_user_role()

Change-Id: Ie8bf41c491d97b0292a2b86bdc9b7580989a7f97
2013-09-04 21:37:45 +00:00
Dean Troyer
eb405a88c4 Refactor fake data for projects and users
* Move fake data structures into tests/identity/fakes.py
* Use fake clients correctly and support multiple client versions

Change-Id: Icacbb2ca740b63937bd2c4442af61b620638b53e
2013-09-04 14:48:24 -05:00
Dean Troyer
c8723ce175 Update tox.ini for new tox 1.6 config
Change-Id: I4363508f562f62b16c856bc072cdb4b37e37b418
2013-09-04 14:23:15 -05:00