1155 Commits

Author SHA1 Message Date
Kevin_Zheng
a0f2089c56 Enable coverage report in console output
The current coverage test job doesn't provide any result
to developer, we could enable the coverage report in
console output to let the developers know the current
coverage status when run coverage test job.

Change-Id: Icef8c3b42f087a20c48b5308185f6be8c8f5240d
2017-01-13 02:13:43 +00:00
Jenkins
79b7975929 Merge "Distinguish between stack and resource events when polling" 2017-01-10 14:54:00 +00:00
Jenkins
d29567796b Merge "Make method import_versioned_module work" 2017-01-10 09:36:18 +00:00
Zane Bitter
3e2bb47717 Distinguish between stack and resource events when polling
Don't accidentally treat a resource event like a stack event.

Change-Id: I0e4d97f9954adfac3124f6ed684b608f4da668b4
Closes-Bug: #1655142
2017-01-09 16:57:21 -05:00
Jason Dunsmore
2cd3db1111 Make sure the --heat-url option is respected, part 2
If the endpoint is passed in, make sure keystone uses it instead of
looking up the endpoint in the auth plugin.

Original fix: 9e28993ee6fb814f014bc73a5611681ca3bb2c65

Closes-Bug: #1654344
Change-Id: I4b42ab9d87c790eef1953f995260b6b232a63445
2017-01-06 14:29:43 -06:00
Rob Cresswell
de271ae757 Remove LOG Warning from __eq__
This causes a huge amount of spam on anything that does an equality
check, like tests. We should just remove it.

Change-Id: Ibb1a2132ab784ae357d965bd0997f419be568651
Closes-Bug: 1653975
2017-01-04 18:14:41 +00:00
Jenkins
87b03ceac6 Merge "Add convenience function for events over websocket" 2016-12-27 04:15:02 +00:00
Jenkins
c6bde958db Merge "Add aliases to orchestration template version list" 2016-12-20 13:44:53 +00:00
Thomas Herve
6f94cfd791 Add convenience function for events over websocket
This adds an alternative method of poll_for_events using a websocket
connection.

Change-Id: I1c46af3ab98b6d108af976e4fab5282c8756a626
2016-12-19 14:55:33 +01:00
OpenStack Proposal Bot
5fe6a8bb1a Updated from global requirements
Change-Id: I4bafff2676c3250a2540015f0d4390e9455acd80
2016-12-15 03:54:57 +00:00
Zane Bitter
505ad5ce38 Update docs for mark-unhealthy command
Starting with the Ocata release of Heat, users can now select a resource
using its physical resource ID.

Change-Id: I82711c50e9719a80eec68592ee36198ea47b9f1d
Depends-On: Ie28ed102665b2c6379d1f55b7a02b76d05e38ddd
Related-Bug: #1635295
2016-12-14 10:15:27 +00:00
Steven Hardy
9b60f057a5 Add aliases to orchestration template version list
Recently we added aliases to the API response, so display these
if they exist.

Change-Id: Iadd499d59acf3bf8cee3e208372340ff1a29112a
2016-12-14 10:02:11 +00:00
Jenkins
0c246f3259 Merge "User server side env merging with osc plugin" 2016-12-14 08:34:15 +00:00
rabi
280b1edeea User server side env merging with osc plugin
With osc client plugin, we don't seem to use server side
env merging for stack create and update. However, it's
there for template validation.

This patch brings it in sync with heat cli.

Change-Id: I8973fa499c51ca5f789efa6fb5c07bb6302324d7
Related-Bug: #1645686
2016-12-14 12:16:42 +05:30
Jenkins
f2b7b64f5d Merge "Add heat CLI test for deleting stack" 2016-12-14 02:17:22 +00:00
Jenkins
fca51403a0 Merge "Add heat CLI test for creating stack from URL" 2016-12-14 01:59:53 +00:00
Jenkins
d45f484641 Merge "Update headers for the Openstack Orchestration commands" 2016-12-13 09:30:07 +00:00
rabi
3d60183120 Fix doc on keystoneauth session api usage
This fixes documentation on client creation with keystoneauth
session api.

Change-Id: I0f6bb6f4f9bbaa84b5185c0a9e9db6a4184702d4
Partial-Bug: #1646539
2016-12-08 13:03:20 +05:30
Jenkins
1eb72804d6 Merge "Use default service_type with session" 2016-12-06 07:19:35 +00:00
Jenkins
420dc8fda4 Merge "Fix event list help" 2016-12-06 00:39:09 +00:00
OpenStack Proposal Bot
20262659b0 Updated from global requirements
Change-Id: I8fcf01bda634acb744df77285cc065c071246afc
2016-12-05 09:45:55 +00:00
Thomas Herve
753a7175c0 Fix event list help
argparse doesn't like the formatting of the sort metavar in event list,
so restore the previous format and explain it instead.

Change-Id: I3e1881ffe3d5af281369f6513e1ef2f04d18fe57
Closes-Bug: #1646773
2016-12-02 11:47:29 +01:00
OpenStack Proposal Bot
38dc7e6fd7 Updated from global requirements
Change-Id: Ia15d2a9a848266d3deed9243a9f7cee3f802d270
2016-12-02 05:13:08 +00:00
rabi
ebb92f1acc Use default service_type with session
At present when using session with heatclient, you've to
specify the service_type. Use the only service_type
'orchestration', if not specified.

Change-Id: I994698784e5b30471f6d863034fa21aa8963fd9f
Partial-Bug: #1646539
2016-12-02 08:40:38 +05:30
Jenkins
2f4feffd73 Merge "Don't resolve outputs when polling events" 2016-11-28 10:22:39 +00:00
Jenkins
9c62372d2d Merge "Show team and repo badges on README" 2016-11-26 11:16:10 +00:00
Flavio Percoco
e729a10cd8 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/0d8a49e0bcbb30e5d69b5a89ba9db494

Change-Id: I41e74fbbd61bf46041e843ad43b5b3c4bec647b4
2016-11-25 17:17:23 +01:00
Thomas Herve
cf2ecd453a Don't resolve outputs when polling events
In poll_for_events, we retrieve the stack to check its status. As it
stands we resolve the outputs as well, which is costly and useless in
this scenario. We can simpley get the stack to retrieve its status
without outputs.

Change-Id: Idc2327f6be15a679d502b0cd3e9d8980fdf1e22a
Related-Bug: #1638908
2016-11-24 15:44:34 +01:00
OpenStack Proposal Bot
71b4fc35d0 Updated from global requirements
Change-Id: I41560b84251380117b1f79058508df298021f794
2016-11-23 04:38:15 +00:00
Jenkins
0198412856 Merge "Remove unused scripts in tools" 2016-11-22 23:07:26 +00:00
Jenkins
c6f21ec0dc Merge "Remove oslo-incubator modules" 2016-11-22 23:07:21 +00:00
Jenkins
98f447ec0a Merge "Move required modules from oslo-incubator" 2016-11-22 23:07:07 +00:00
Vijendra Soni
b24df1f39b Update headers for the Openstack Orchestration commands
Updated headers for the following commands
openstack orchestration service list, openstack
orchestration template version list, and
openstack orchestration template function list
to keep syncronized with other Openstack commands headers

Change-Id: I57f03369a501080356e5292582654cd703803b96
Closes-Bug: #1643492
2016-11-22 06:08:21 +05:30
rabi
725dbf764f Use endpoint as endpoint_override
Number of projects like rally pass endpoint rather than
endpoint_override when using session with heatclient.

Use endpoint as endpoint_override when not specified.

Make it backward compatible.

Change-Id: Iff977424a15ac2ce3ffdf8d7c98d5e72d25c1e91
Closes-Bug: #1643507
2016-11-21 16:46:33 +05:30
Jenkins
57f9c0490b Merge "Change property option into append action" 2016-11-15 03:42:12 +00:00
Georgy Dyuldin
496c65e007 Add heat CLI test for deleting stack
Change-Id: I36301642d46f00cbf894eab3560bf298deac50b2
2016-11-14 15:00:05 +03:00
Georgy Dyuldin
3636cb8419 Add heat CLI test for creating stack from URL
Change-Id: I63eb0958cb53b5e8d3843e59f0cfc9f55947708f
2016-11-14 14:52:54 +03:00
rabi
f785c8c781 Remove unused scripts in tools
Change-Id: Id89abfcb43286ca7706e8114337a94a8fdaca82f
2016-11-12 19:23:34 +05:30
rabi
2c27692f49 Remove oslo-incubator modules
This is the last patch in the series that removes all remaining
oslo-incubator modules. This also removes some unused scripts
in tools.

Change-Id: I4ca11596f1a2967e7c920c4ec7709c3408854534
2016-11-12 19:23:26 +05:30
rabi
b25baa9108 Move required modules from oslo-incubator
Move the required module to heatclient/common.

- heatclient/openstack/common/apiclient/base.py

It also moves some required functions and exceptions from
heatclient/openstack/common/cliutils.py and
heatclient/openstack/common/exceptions.py.

Change-Id: I68704c7fab9417492d8390ad05a9797f78d46907
2016-11-12 19:15:40 +05:30
OpenStack Proposal Bot
ea03fa2254 Updated from global requirements
Change-Id: I70f30c8eeba14510de319e65a79ee1f1603306ed
2016-11-09 23:03:51 +00:00
shizhihui
8885ce7818 Make method import_versioned_module work
Oslo.utils 3.17 provides similar function, just use it.
For more information:
[1] http://docs.openstack.org/developer/oslo.utils/history.html

Closes-Bug: #1627313

Change-Id: Ie738e910cc72535fe97295d7e118eda2412ecd15
2016-11-09 09:07:39 +00:00
Jenkins
61794b7822 Merge "Graduate to oslo.i18n and cleanup incubator usage" 2016-11-09 07:17:03 +00:00
Chuck Short
29d6c613f6 Graduate to oslo.i18n and cleanup incubator usage
Graduate from Oslo Incubator to oslo.i18n library.
Cleanup of unused Oslo Incubator utils.
Added optional enable_lazy() usage.

Change-Id: I5ec02477f3f52f4d7097669120581e82cced3748
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2016-11-08 08:29:09 +05:30
gong yong sheng
3fd502030c Change property option into append action
Heat's other openstack commands are using append for such feature.
This patch changes property option from KeyValueAction into append
to make them consistent.

Change-Id: I34ef34c8fa1ece4e12e20a328a70fa8b389c29d2
Closes-bug: #1639107
2016-11-04 16:04:34 +08:00
Jenkins
c2d6de9a98 Merge "Return condition functions based on the filter param" 2016-11-03 05:03:34 +00:00
OpenStack Proposal Bot
911c61fe45 Updated from global requirements
Change-Id: Id7bf92858ba60111cb2c33bae55ba4bcae8c64a9
2016-10-22 01:26:51 +00:00
huangtianhua
0ac4a80dad Return condition functions based on the filter param
Add 'with_condition_func' filter param for API
template-function-list, if the param set to true,
the response will include the condition functions.

Change-Id: Ia7b4da71ed5c3da105dd23917e4921a96e445026
Closes-Bug: #1625505
2016-10-20 02:15:20 +00:00
Jenkins
c14e1827f6 Merge "Use region_name and interface with session" 2016-10-17 20:59:08 +00:00
Jenkins
a57ea56159 Merge "Fix "heat output-show -F json" output format" 2016-10-17 10:53:33 +00:00