<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/tests/unit, branch stable/xena</title>
<subtitle>opendev.org: openstack/python-keystoneclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/'/>
<entry>
<title>Use unittest.mock instead of third party mock</title>
<updated>2020-04-18T16:58:31+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2020-04-18T16:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=ee55c043c26a3e135e898792fb051a64d960559b'/>
<id>ee55c043c26a3e135e898792fb051a64d960559b</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: I7498ea2353cccca7b23d9ef74015a566ac431f90
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</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: I7498ea2353cccca7b23d9ef74015a566ac431f90
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add support for app cred access rules"</title>
<updated>2019-10-10T03:00:19+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2019-10-10T03:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=925c2c1fb953d9b6d699bf691bb70eae7c561103'/>
<id>925c2c1fb953d9b6d699bf691bb70eae7c561103</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add parent project filter for listing projects"</title>
<updated>2019-09-10T20:36:10+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2019-09-10T20:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=4e812b673b5c324d3f10c9f8c43570cafa561d0b'/>
<id>4e812b673b5c324d3f10c9f8c43570cafa561d0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unit tests broken by requests-mock</title>
<updated>2019-09-06T10:08:39+00:00</updated>
<author>
<name>Takashi Kajinami</name>
<email>tkajinam@redhat.com</email>
</author>
<published>2019-09-06T06:03:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=27d4376ea57be9944ee5eb0601157f8996de077f'/>
<id>27d4376ea57be9944ee5eb0601157f8996de077f</id>
<content type='text'>
Now requests-mock records request url in log[1], so it is
invalid to check that the logger output does NOT contain
request url.

Also, fix url passed to request mock as now it requires
complete url is passed

[1] https://github.com/jamielennox/requests-mock/pull/93

Change-Id: I4bab30a6705b7cab6b5a569dd61c442263e39995
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now requests-mock records request url in log[1], so it is
invalid to check that the logger output does NOT contain
request url.

Also, fix url passed to request mock as now it requires
complete url is passed

[1] https://github.com/jamielennox/requests-mock/pull/93

Change-Id: I4bab30a6705b7cab6b5a569dd61c442263e39995
</pre>
</div>
</content>
</entry>
<entry>
<title>Add parent project filter for listing projects</title>
<updated>2019-08-29T07:50:26+00:00</updated>
<author>
<name>Takashi Kajinami</name>
<email>tkajinam@redhat.com</email>
</author>
<published>2019-08-19T01:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=2d3ec6eb89574d442c357b2b8231367ba1ac24f6'/>
<id>2d3ec6eb89574d442c357b2b8231367ba1ac24f6</id>
<content type='text'>
This patch introduces the interface into listing project, to
specify parent_id to filter projects which has the given project
as their parent[1].

[1] https://docs.openstack.org/api-ref/identity/v3/?expanded=list-projects-detail#list-projects

Change-Id: If78030425468d4f99cba708540142871a2bf9190
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces the interface into listing project, to
specify parent_id to filter projects which has the given project
as their parent[1].

[1] https://docs.openstack.org/api-ref/identity/v3/?expanded=list-projects-detail#list-projects

Change-Id: If78030425468d4f99cba708540142871a2bf9190
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for app cred access rules</title>
<updated>2019-08-21T15:21:42+00:00</updated>
<author>
<name>Colleen Murphy</name>
<email>colleen.murphy@suse.de</email>
</author>
<published>2019-08-21T00:37:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=6c116ec084620942880ef62999b65e3907c3077f'/>
<id>6c116ec084620942880ef62999b65e3907c3077f</id>
<content type='text'>
This change adds access_rules as a parameter for creating application
credentials, and also adds the ability to list access rules and to
retrieve and delete individual rules. Directly creating an access rule
or updating one is not supported.

bp whitelist-extension-for-app-creds

Depends-On: https://review.opendev.org/671374
Change-Id: I490f1e6b421d4f36f588f83a511ce39b9b4204e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds access_rules as a parameter for creating application
credentials, and also adds the ability to list access rules and to
retrieve and delete individual rules. Directly creating an access rule
or updating one is not supported.

bp whitelist-extension-for-app-creds

Depends-On: https://review.opendev.org/671374
Change-Id: I490f1e6b421d4f36f588f83a511ce39b9b4204e2
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Update json module to jsonutils"</title>
<updated>2019-05-02T21:11:39+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2019-05-02T21:11:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=73436a76ba520b2e2a19e21067f0ffb5ce412250'/>
<id>73436a76ba520b2e2a19e21067f0ffb5ce412250</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make tests pass in 2020</title>
<updated>2019-02-28T13:11:38+00:00</updated>
<author>
<name>Bernhard M. Wiedemann</name>
<email>bwiedemann@suse.de</email>
</author>
<published>2019-02-28T13:06:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=acc21ff06154e16de16583fe6994207d689ed054'/>
<id>acc21ff06154e16de16583fe6994207d689ed054</id>
<content type='text'>
Without this patch, build failed after 2019-12-31 with
Traceback (most recent call last):
  File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped
    self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY)
  File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs
    self.assertEqual(json, val)

Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this patch, build failed after 2019-12-31 with
Traceback (most recent call last):
  File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped
    self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY)
  File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs
    self.assertEqual(json, val)

Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77
</pre>
</div>
</content>
</entry>
<entry>
<title>Update json module to jsonutils</title>
<updated>2019-02-25T11:35:14+00:00</updated>
<author>
<name>cao.yuan</name>
<email>cao.yuan@99cloud.net</email>
</author>
<published>2019-02-24T16:26:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=7a8ed5e3126b0f1969b93c39b626966731c6e7b5'/>
<id>7a8ed5e3126b0f1969b93c39b626966731c6e7b5</id>
<content type='text'>
oslo project provide jsonutils, and keystoneclient  use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/python-keystoneclient/search?utf8=%E2%9C%93&amp;q=jsonutils&amp;type=

Change-Id: Id5275b5e6b5bf8f6d54406dac7ab95a30828cf58
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
oslo project provide jsonutils, and keystoneclient  use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/python-keystoneclient/search?utf8=%E2%9C%93&amp;q=jsonutils&amp;type=

Change-Id: Id5275b5e6b5bf8f6d54406dac7ab95a30828cf58
</pre>
</div>
</content>
</entry>
<entry>
<title>Add return-request-id-to-caller function(v3/contrib)</title>
<updated>2019-01-16T05:51:12+00:00</updated>
<author>
<name>openstack</name>
<email>neha.alhat@nttdata.com</email>
</author>
<published>2018-12-13T09:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=27eac4993d8120e892ceaa564eddb86c79a4b7c4'/>
<id>27eac4993d8120e892ceaa564eddb86c79a4b7c4</id>
<content type='text'>
Added return-request-id-to-caller function to resources and resource
managers in the following files.

* keystoneclient/v3/projects.py
* keystoneclient/v3/registered_limits.py
* keystoneclient/v3/roles.py
* keystoneclient/v3/limits.py
* keystoneclient/v3/contrib/federation/saml.py

Also made changes in base.py for _put() method so that if
include_metadata is True, the response data should include request_id
instead of returning None as response.

Change-Id: Ifc0ec9a9d666cccfee3b08ac61596a3692307f23
Implements: blueprint return-request-id-to-caller
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added return-request-id-to-caller function to resources and resource
managers in the following files.

* keystoneclient/v3/projects.py
* keystoneclient/v3/registered_limits.py
* keystoneclient/v3/roles.py
* keystoneclient/v3/limits.py
* keystoneclient/v3/contrib/federation/saml.py

Also made changes in base.py for _put() method so that if
include_metadata is True, the response data should include request_id
instead of returning None as response.

Change-Id: Ifc0ec9a9d666cccfee3b08ac61596a3692307f23
Implements: blueprint return-request-id-to-caller
</pre>
</div>
</content>
</entry>
</feed>
