272 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
48893c773a Updated from global requirements
Change-Id: I4d807a5c5f7bc12931422a97c7efca9e2252118a
2016-05-17 14:09:29 +00:00
OpenStack Proposal Bot
7494292ec6 Updated from global requirements
Change-Id: Iaa49910494f11640f2f586261954ea632302bfa8
2016-05-06 22:22:07 +00:00
Jenkins
99c0943b80 Merge "Allows DataSource's config field to have not dict type obj" 2016-04-19 22:19:18 +00:00
OpenStack Proposal Bot
da4bd55f4b Updated from global requirements
Change-Id: I0b6ad4cacd00c5ecc16aeda015f8929a9d8677c4
2016-04-13 12:48:00 +00:00
Masahito Muroi
26d39efbb9 Allows DataSource's config field to have not dict type obj
CongressClient expects all datasource driver has dict object in
config field. It raises an error when a datasource doesn't have
any config.

This patch allows config fields to be None object.

Change-Id: I73354f1073f3f814854652eaeaa4b3bbe4bfcf7d
2016-04-12 14:20:17 +09:00
OpenStack Proposal Bot
548d74f71e Updated from global requirements
Change-Id: I20460bccb81ccf2b2eb1e81f5e2af1bf5f086269
2016-04-08 00:32:42 +00:00
Anusha Ramineni
78d6a63cda Display driver field while listing datasources
This commit displays driver field while listing datasources and
hides the type field as it is None always

Change-Id: I9b8550f3fb97fecee14f74a6447d908550cfdfc4
2016-03-18 13:13:15 +05:30
Jenkins
3c74635892 Merge "Update help message for datasource CLI" 1.2.3 2016-03-03 18:19:53 +00:00
OpenStack Proposal Bot
6ab5893681 Updated from global requirements
Change-Id: I0d62c0d3040227ab8d9f7dee4882c0aea63d086f
2016-03-03 18:05:56 +00:00
Anusha Ramineni
99f20808a1 Update help message for datasource CLI
This commit is to update the help messages to support datasource
related data can be queried using both datasource name or ID

Change-Id: I93eb5063f02cf114715ba876b081f32818872187
Closes-Bug:#1552212
2016-03-03 09:29:18 +05:30
OpenStack Proposal Bot
f44bb5f232 Updated from global requirements
Change-Id: Ic0c52fd7845fcf533923c2d2aa4cfe66056d5e1e
2016-02-20 22:00:04 +00:00
OpenStack Proposal Bot
1e030f02ac Updated from global requirements
Change-Id: I21f9037a7d069b4195655de138c534978962c908
2016-02-11 07:44:12 +00:00
OpenStack Proposal Bot
15acd8c5f6 Updated from global requirements
Change-Id: I77aa1db2bddd3062cf10f6cd85f22f230544af53
2016-01-23 10:35:22 +00:00
OpenStack Proposal Bot
7770a1aa00 Updated from global requirements
Change-Id: I2f33d4157c1cafcc45ac7d0cdb892892282a7308
1.2.2
2016-01-19 13:52:16 +00:00
OpenStack Proposal Bot
42ffbf0afc Updated from global requirements
Change-Id: I1dd3043a254b6c080582c2f0fbb67a22508c9cd5
2016-01-13 03:12:41 +00:00
Anusha Ramineni
59adf8d68f Move to oslo libraries for common code
This commit reuses the code from oslo libraries for better
maintainability of code.

Change-Id: I75594b47f62f284b0027d6035cd2338838000a36
Closes-Bug:#1497180
2016-01-11 09:57:47 +05:30
Jenkins
7abec93672 Merge "Drop py26 and py33 support" 2016-01-08 15:46:09 +00:00
Jenkins
61661af366 Merge "Drop MANIFEST.in - it's not needed with PBR" 2016-01-08 15:46:04 +00:00
Jenkins
cf170debf2 Merge "Updated from global requirements" 2016-01-08 15:44:38 +00:00
Jenkins
2ba7e1c329 Merge "Replace assertEqual(None, *) with assertIsNone in tests" 2016-01-08 15:44:32 +00:00
Jenkins
f6fc4162a7 Merge "tox: rm all pyc before doing unit test" 2016-01-08 15:44:23 +00:00
Jenkins
95bd79b2ef Merge "Add help infomation for policy abbreviation" 2016-01-08 15:41:39 +00:00
Jenkins
434ce23b02 Merge "Change ignore-errors to ignore_errors" 2016-01-08 15:36:22 +00:00
Jenkins
e288e67173 Merge "Remove unicode prefix from output of datasource-list" 2016-01-08 15:36:11 +00:00
Steve Martinelli
337270e2d5 use keystoneclient exceptions instead of oslo-incubator code
depending on any oslo-incubator code from another project is
dangerous. keystoneclient makes its exceptions public and it's
not recommended to use any code from
keystoneclient.openstack.common.apiclient since it's maintained
by oslo-incubator.

Change-Id: Ief63705f8ff1325bdd91491b47221d00cd767181
2015-12-27 01:35:13 -05:00
Shuquan Huang
20b4700893 Replace assertEqual(None, *) with assertIsNone in tests
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I429c8ab3eb4e79a7556ea6f966dd7aa32ee9b86d
Closes-bug: #1280522
2015-12-17 21:36:58 +08:00
OpenStack Proposal Bot
a667bc8bdc Updated from global requirements
Change-Id: I4be6213bc8e922745e6b318c9f7db8000bf2feec
2015-12-15 18:16:44 +00:00
Anusha Ramineni
64df0332f1 Drop MANIFEST.in - it's not needed with PBR
This patch removes `MANIFEST.in` file as pbr generates a sensible
manifest from git files and some standard files and it removes
the need for an explicit `MANIFEST.in` file.

Change-Id: If35986a72aff015b25c9f4eccc0ab3a3e6997551
2015-12-15 16:18:03 +05:30
shu-mutou
83dae4828d Drop py26 and py33 support
As of mitaka, the infra team and oslo team are dropping py26 and
py33 support. Since we rely on oslo for a lot of our work, and
depend on infra for our CI, we should drop py26 and py33 support
too.

Change-Id: I470d626f7641323a7ce9faf00ea2923312e596af
Closes-Bug: #1519510
Closes-Bug: #1526170
2015-12-15 19:14:22 +09:00
Anusha Ramineni
a2393e7f7c tox: rm all pyc before doing unit test
Delete python bytecode before every test run.
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.

Change-Id: I21ef6bf79fe5af41d3714e1d990898b267ae1fab
Closes-Bug: #1368661
2015-12-07 13:47:56 +05:30
Rui Chen
2be543c59c Add help infomation for policy abbreviation
When we create policy with long abbreviation that more than
5 chars, like: "test_abbr", API exception is raised from
Congress server side. Add some help infomation to remind users
inputing "abbreviation" arguments with right format.

Change-Id: I48cab945286aacc12c1474c5074f6febb941e723
Related-Bug: #1497881
1.2.1
2015-12-03 02:55:59 +00:00
Rui Chen
3efb993e40 Remove unicode prefix from output of datasource-list
When we execute command 'congress datasource list', the output content
of 'config' column is string with unicode prefix, that make users
confusion, we should output the string format rather than unicode.

Change-Id: I26f46fb8eef3a89908ec388e2046218480ab560d
Closes-Bug: #1508320
2015-10-21 15:42:02 +08:00
Monty Taylor
726dba5269 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I341479ab96811575fd136cce1573fe4c2fff887d
2015-09-21 14:44:25 +00:00
Anusha Ramineni
f3e9d77cbf Update tox.ini and fix py34 issue
This commit updates tox.ini to support py27 and py34 versions
which are gate tested and also fixes the issue of
'db type could not determined' thrown while running tox.

Change-Id: I77cb87c6f7ba6eaa609e40e83eb9bdab3b8b0283
2015-09-18 16:43:41 +05:30
Jenkins
0874721122 Merge "Add actions listing command" 1.2.0 2015-09-02 12:47:49 +00:00
Zhenzan Zhou
0f699f8ee5 Add actions listing command
As congress supports executing actions, we need a way to query
available actions that a datasource driver can execute.

Change-Id: I09469815ba8a071112acc7190175048d7f8b774c
Implements-blueprint: add-action-listing
2015-09-02 14:47:32 +08:00
OpenStack Proposal Bot
d7fa52330c Updated from global requirements
Change-Id: I578b912f0a68178957f44e1dc26d96b025a54a3a
2015-08-26 14:09:29 +00:00
Jenkins
b0b5477b96 Merge "Updated from global requirements" 2015-08-21 17:45:06 +00:00
Jenkins
ced2add015 Merge "Fix constant name" 2015-08-21 17:44:25 +00:00
OpenStack Proposal Bot
36f2b47d33 Updated from global requirements
Change-Id: Ic480bcd18f97a04f1de5d511c1c09698c20ab955
2015-08-11 01:38:32 +00:00
Rui Chen
ee07cb315d Fix constant name
Replace DEFAULT_COMPUTE_API_VERSION with
DEFAULT_POLICY_API_VERSION, and using format
string to replace string link.

Change-Id: I469007d1ce1946f045c449dce8ceea3225c0b890
2015-07-27 15:47:12 +08:00
Rui Chen
f9858a8106 Support version list API in client
The Congress API should be able to list
current supported API versions. This patch
implement the feature in congress client side.

Change-Id: I9d089411640161ea5220a32f078f8c4eb87be1b7
Implements: blueprint api-version
2015-07-27 15:19:04 +08:00
Masahito Muroi
96931323ab Adding a test of datasource table show CLI
Change-Id: I75af3fa7afc0f31b1e911b4c65ced77d826e88cf
Closes-Bug: #1453645
2015-06-20 22:38:10 +09:00
Cleber Rosa
a102014598 Favor the use of importlib over Python internal __import__ statement
From the Python documentation, we have:

Because this function is meant for use by the Python interpreter and
not for general use it is better to use importlib.import_module() to
programmatically import a module.

This change implements exactly what the Python documentation, and
recognized best practices, recommend.

Also, move import_class utility function before its used in
get_client_class. Even though there are no behaviour differences
because of the order of definition of functions within the same Python
module, it helps users when reading the code.

Change-Id: I85e769e3ac108575a97351780bf0f5b3ef59cfb2
Signed-off-by: Cleber Rosa <cleber.gnu@gmail.com>
2015-05-21 04:52:12 -03:00
OpenStack Proposal Bot
726d5600ce Updated from global requirements
Change-Id: Iff7c58b6b983ce9707e840d50ffb851f3666d7a2
2015-05-07 23:37:04 +00:00
Jenkins
b95246f220 Merge "Replace stackforge with openstack in README.rst" 2015-04-27 16:58:56 +00:00
Jenkins
60e0033c0c Merge "Add api bindings for datasource request-request trigger" 2015-04-27 16:58:39 +00:00
Zhenzan Zhou
b8a176bf7d Replace stackforge with openstack in README.rst
Stackforge is for old time now:-)

Change-Id: I0c700498a34403d9ce053948bddaeeaffa9e071c
2015-04-24 16:31:49 +08:00
Jenkins
36abcef3ec Merge "Add client datasource action API for action-execution-interface" 1.1.0 2015.1.0rc1 2015.1.0 2015-04-22 21:37:30 +00:00
Jenkins
c7aa2222e4 Merge "Use correct URI in show schema for datasource table command" 2015-04-21 21:36:24 +00:00