<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-heatclient.git/heatclient/tests/unit/test_event_utils.py, branch master</title>
<subtitle>opendev.org: openstack/python-heatclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/'/>
<entry>
<title>Use unittest.mock instead of third party mock</title>
<updated>2020-05-06T05:43:23+00:00</updated>
<author>
<name>jacky06</name>
<email>zhang.min@99cloud.net</email>
</author>
<published>2020-04-07T13:51:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=8a9566864f678913bdcfcdfc7aac0e04e98d78b7'/>
<id>8a9566864f678913bdcfcdfc7aac0e04e98d78b7</id>
<content type='text'>
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I5cf252c1a22977d3c87898e723e5001cc87a0d87
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I5cf252c1a22977d3c87898e723e5001cc87a0d87
</pre>
</div>
</content>
</entry>
<entry>
<title>Build event stack_name from links</title>
<updated>2017-03-28T14:33:02+00:00</updated>
<author>
<name>Thomas Herve</name>
<email>therve@redhat.com</email>
</author>
<published>2017-03-28T13:19:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=954e475a6a0a12432ec325d7579460fabcf3f40a'/>
<id>954e475a6a0a12432ec325d7579460fabcf3f40a</id>
<content type='text'>
When retrieving events from nested stacks, we used to do a query per
stack and thus get the stack that way. We changed it to do only one API
call, but didn't fix the way the stack name was set. We need to use the
event links to retrieve the stack name, instead of the root stack.

Closes-Bug: #1676896
Change-Id: I09ab1cc2c6aaab02036b124b1dfa561dd6132083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When retrieving events from nested stacks, we used to do a query per
stack and thus get the stack that way. We changed it to do only one API
call, but didn't fix the way the stack name was set. We need to use the
event links to retrieve the stack name, instead of the root stack.

Closes-Bug: #1676896
Change-Id: I09ab1cc2c6aaab02036b124b1dfa561dd6132083
</pre>
</div>
</content>
</entry>
<entry>
<title>Distinguish between stack and resource events when polling</title>
<updated>2017-01-09T21:57:21+00:00</updated>
<author>
<name>Zane Bitter</name>
<email>zbitter@redhat.com</email>
</author>
<published>2017-01-09T20:23:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=3e2bb477172410425b6a078a689dc3e43ce8a485'/>
<id>3e2bb477172410425b6a078a689dc3e43ce8a485</id>
<content type='text'>
Don't accidentally treat a resource event like a stack event.

Change-Id: I0e4d97f9954adfac3124f6ed684b608f4da668b4
Closes-Bug: #1655142
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't accidentally treat a resource event like a stack event.

Change-Id: I0e4d97f9954adfac3124f6ed684b608f4da668b4
Closes-Bug: #1655142
</pre>
</div>
</content>
</entry>
<entry>
<title>Add convenience function for events over websocket</title>
<updated>2016-12-19T13:55:33+00:00</updated>
<author>
<name>Thomas Herve</name>
<email>therve@redhat.com</email>
</author>
<published>2016-11-03T08:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=6f94cfd791e434e9932da18d785feb934d802a44'/>
<id>6f94cfd791e434e9932da18d785feb934d802a44</id>
<content type='text'>
This adds an alternative method of poll_for_events using a websocket
connection.

Change-Id: I1c46af3ab98b6d108af976e4fab5282c8756a626
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds an alternative method of poll_for_events using a websocket
connection.

Change-Id: I1c46af3ab98b6d108af976e4fab5282c8756a626
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a nested_depth argument to poll_for_events</title>
<updated>2016-08-25T00:22:26+00:00</updated>
<author>
<name>Steve Baker</name>
<email>sbaker@redhat.com</email>
</author>
<published>2016-08-25T00:22:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=573b6657f0c16fec7a63274bb779c01933c67609'/>
<id>573b6657f0c16fec7a63274bb779c01933c67609</id>
<content type='text'>
This will allow library calls to have more control over the depth of
events which are logged.

Change-Id: Iecb8c89745f916c50936e013a62176d586cfcc63
Closes-Bug: #1616682
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow library calls to have more control over the depth of
events which are logged.

Change-Id: Iecb8c89745f916c50936e013a62176d586cfcc63
Closes-Bug: #1616682
</pre>
</div>
</content>
</entry>
<entry>
<title>poll_for_events fall back to stack get</title>
<updated>2016-02-25T19:56:36+00:00</updated>
<author>
<name>Steve Baker</name>
<email>sbaker@redhat.com</email>
</author>
<published>2016-02-14T22:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=6a28bd317befbf67f03d33e8c0f53dafea48b89b'/>
<id>6a28bd317befbf67f03d33e8c0f53dafea48b89b</id>
<content type='text'>
This checks the stack status with a stack get if there have been two
event polls which return no events. This handles the cases where an
event may have been lost, or older heat versions which didn't generate
"resource" events for stack state changes.

Change-Id: I0db71aecbd828c9b7dba0df8e548ba48f83436c2
Blueprint: heat-support-python-openstackclient
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This checks the stack status with a stack get if there have been two
event polls which return no events. This handles the cases where an
event may have been lost, or older heat versions which didn't generate
"resource" events for stack state changes.

Change-Id: I0db71aecbd828c9b7dba0df8e548ba48f83436c2
Blueprint: heat-support-python-openstackclient
</pre>
</div>
</content>
</entry>
<entry>
<title>Move poll_for_events to event_utils</title>
<updated>2016-02-24T00:53:58+00:00</updated>
<author>
<name>Steve Baker</name>
<email>sbaker@redhat.com</email>
</author>
<published>2016-02-14T21:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=302040c759e13ac93c9bf8a6b1acd14c73faaad7'/>
<id>302040c759e13ac93c9bf8a6b1acd14c73faaad7</id>
<content type='text'>
Currently only used by "heat stack-create --poll", moving this function
will allow all new openstack client commands to use for their --wait
implementation.

This change also adds unit tests for this function.

Change-Id: I642797b08cd13c0c50169071d998cf5ba8b397a3
Blueprint: heat-support-python-openstackclient
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently only used by "heat stack-create --poll", moving this function
will allow all new openstack client commands to use for their --wait
implementation.

This change also adds unit tests for this function.

Change-Id: I642797b08cd13c0c50169071d998cf5ba8b397a3
Blueprint: heat-support-python-openstackclient
</pre>
</div>
</content>
</entry>
<entry>
<title>Move test_event_utils.py module to unit directory</title>
<updated>2015-06-15T06:44:48+00:00</updated>
<author>
<name>Sergey Kraynev</name>
<email>skraynev@mirantis.com</email>
</author>
<published>2015-06-09T12:57:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-heatclient.git/commit/?id=0680a371088b2d9da6a5362b89507da504e75bb4'/>
<id>0680a371088b2d9da6a5362b89507da504e75bb4</id>
<content type='text'>
This file was missed during migration tests. This patch fixes it.

Change-Id: I9fe7df17863451b90c487c599f5fc08c7a1b92d6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This file was missed during migration tests. This patch fixes it.

Change-Id: I9fe7df17863451b90c487c599f5fc08c7a1b92d6
</pre>
</div>
</content>
</entry>
</feed>
