28 Commits

Author SHA1 Message Date
Jenkins
d32cbac3fd Merge "Sync latest openstack-common updates." 2013-01-28 23:49:44 +00:00
Jenkins
4848ef22cc Merge "Standardize on a copyright header and ensure all files have them." 2013-01-28 23:49:13 +00:00
Steve Martinelli
9a97f0b8b9 v3 identity - group and project api
updated with latest comments
modified entry points in setup.py
added group.py (v3)
added project.py (v3)
fixed indentation
updated to include new headers

Change-Id: Ice68b6c5bacb68d2e95321d903043056a9b8e810
2013-01-28 15:28:32 -06:00
Josh Kearney
078d9f461a Sync latest openstack-common updates.
Change-Id: I09adc9b5c01aa97ffba58dff8a696172e8654e3e
2013-01-24 14:44:54 -06:00
Josh Kearney
f77c3849ab Standardize on a copyright header and ensure all files have them.
Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
2013-01-24 12:02:23 -06:00
Josh Kearney
3926f35df7 Migrate from nose to testr.
Run tests with testr for parallel execution.

Part of blueprint grizzly-testtools.

Change-Id: I560592186f2f440049a451a32e58067262ab62d0
2013-01-22 12:16:09 -06:00
Josh Kearney
3da30ae01a Adds Glance API v2 support.
Change-Id: Ib0325e62a7e50aa94e852a73f9a2cb95daa8d5f6
2013-01-16 11:29:34 -06:00
Doug Hellmann
c5c215ec31 Add OpenStack trove classifier for PyPI
Add trove classifier to have the client listed among the
other OpenStack-related projets on PyPI.

Change-Id: I34c47bde5885a3f436c100cda5202d6ad8356131
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-10-22 18:48:39 -04:00
Dean Troyer
7917800aa7 Update compute client bits
* add server create, delete, pause, reboot, rebuild
  resume, suspend, unpause commands

Change-Id: I728ec199e4562bd621c3a73106c90d8b790b459a
2012-09-05 16:06:49 -05:00
Monty Taylor
2d58c18d5c Add post-tag versioning.
Change-Id: I98e5f7aa788b1ab1a866b21e0a17a63b8d5efae3
2012-06-25 11:31:49 -05:00
Matt Joyce
3218849996 minor fixes
Change-Id: Ib5601e1a932e0bfaa0341909416415d1e81ee915
2012-05-29 14:31:00 -07:00
Dean Troyer
cf11289211 Add role CRUD commands
* add {add|create|delete|list|remove|show|user-list} role commands

Change-Id: I27129168a9f58154fcdb062a533fa926737f822f
2012-05-18 13:57:16 -05:00
Dean Troyer
3ee4d59bb5 Add endpoint CRUD commands
* add {create|delete|list|show} endpoint commands

Change-Id: Ife9fa789d5818d63288b09687b43d802b1b97858
2012-05-18 10:35:20 -05:00
Dean Troyer
d6b7533930 Clean up tenant and server
* remove '_' from class names
* add class name to log instances
* some cleanups to HACKING

Change-Id: I1f6334318ee0d7d83cd3cea0e71ba4f05dd2b5c5
2012-05-16 11:44:18 -05:00
Jenkins
363cd3da77 Merge "Add user CRUD commands" 2012-05-16 14:29:23 +00:00
Dean Troyer
b26a8509c5 Update service commands
* add {create|delete} service
* allow 'service' arg to also search type attribute in show command

Change-Id: I992359dc95fab1fbdab0666d5cbb75e44ba6e0f3
2012-05-15 15:48:11 -05:00
Dean Troyer
7242c31472 Add user CRUD commands
* add {create|delete|list|set|show} user commands
* fix pep8 issues

Change-Id: I46fe2375b8b4f95b82d8ba31ee8fb660a067d50a
2012-05-15 15:43:05 -05:00
Dean Troyer
de59bda6c6 Add tenant CRUD commands
* add {create|delete|set} tenant commands

* move get_XXXX_properties() to common.utils.get_item_properties()
  add mixed_case_fields as an optional arg

Change-Id: I7b3bd9cefb08e39730886b31213cbe422b5a8453
2012-05-11 12:08:05 -05:00
Jenkins
b981899506 Merge "Add tenant commands, work on service" 2012-05-10 20:18:51 +00:00
Dean Troyer
e6191cf701 Add copyright notices and update dates
Change-Id: I54a7d99328143205ab97ea930aeeeb69fe92c76c
2012-05-10 14:58:16 -05:00
Dean Troyer
5402902e04 Add tenant commands, work on service
* adds {list|show} tenant
* fleshes out service commands (still WIP)

Change-Id: I9dabb6ed3f128a30f140146928320f033d097a06
2012-05-10 14:11:17 -05:00
Dean Troyer
3548fc55e7 Change binary name to 'openstack'
Change-Id: I4fae0b2101a73637b7f8a300ac1b5c3a9de0471b
2012-05-02 09:45:32 -05:00
Bhuvan Arumugam
6d7035611b Auto generate AUTHORS for python-openstackclient.
Bug: 976267

Now that git commits are gated by CLA, we shouldn't enforce
committers to add an entry in AUTHORS file. The AUTHORS file
should be generated automatically, based on git commits.

This commit fixes the problem.

* AUTHORS
  Remove this file.

* tests/test_authors.py
  Remove this test case.

* .gitignore
  Add AUTHORS file.

* openstackclient/openstack/common/setup.py
  generate_authors(): New method to create AUTHORS file. If
  AUTHORS.in file exists, append it's content to AUTHORS file.

* setup.py
  Import the new method.
  Generate AUTHORS file before creating the package.

Change-Id: Ia5488a43f88e13a0fb1f7a5d8d10a576b9034dc8
2012-05-01 16:31:23 -07:00
Dean Troyer
b3e34ac0a1 Reset project version to 0.1
Using a 2012.x version format commits us to the OpenStack release schedule.
The project is young and not core, we want to work independant of that at
least for a while.

Change-Id: I43569630cbfd94d45dfc490cba26991f9238e475
2012-05-01 14:59:22 -05:00
James E. Blair
5ad84ff294 Add openstack-common and test infrastructure.
Fix pep8 errors (project is pep8 clean now).

Update setup.py to use openstack-common style dependencies.

Remove the unused novaclient dependency.

Change the keystoneclient dependency to a git URL.

Add test-requires, and move some pip-requires dependencies
into it.

Remove the test_utils unit test which wasn't testing anything
that is actually present in the project.

Add the test_authors unit test.

Use tox for running tests locally.

See: http://wiki.openstack.org/ProjectTestingInterface

Tox can manage virtualenvs, and is currently doing so for running
tests in Jenkins. It's just as, or more, useful for running tests
locally, so this starts the migration from the run_tests system to
tox. The goal is to reduce duplicate testing infrastructure, and
get what's running locally on developer workstations as close to
what is run by Jenkins as possible.

Run_tests.sh will now call tox to facilitate the transition for
developers used to typing "run_tests.sh".

Developers will need tox installed on their workstations. It can
be installed from PyPI with "pip install tox". run_tests.sh outputs
those instructions if tox is not present.

New facilities are available using tox directly, including:

tox -e py26 # run tests under python 2.6
tox -e py27 # run tests under python 2.7
tox -e pep8 # run pep8 tests
tox # run all of the above
tox -e venv foo # run the command "foo" inside a virtualenv

The OpenStack nose plugin is used when running tox from the
command line, so the enhanced, colorized output is visible to
developers running the test suite locally. However, when Jenkins
runs tox, xunit output will be used instead, which is natively
understood by jenkins and much more readable in that context.

Change-Id: Ib627be3b37b5a09d3795006d412ddcc35f8c6c1e
2012-04-28 22:27:34 +00:00
Dean Troyer
db0ff40d60 Add 'list service' command and common modules 2012-04-27 11:53:06 -05:00
Dean Troyer
a9446dcfc8 Use cliff 2012-04-25 16:48:19 -05:00
Dean Troyer
381e53813e First commit 2012-04-18 13:16:39 -05:00