<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/v3/endpoints.py, branch queens-em</title>
<subtitle>opendev.org: openstack/python-keystoneclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/'/>
<entry>
<title>Remove use of positional decorator</title>
<updated>2017-08-07T20:14:55+00:00</updated>
<author>
<name>Morgan Fainberg</name>
<email>morgan.fainberg@gmail.com</email>
</author>
<published>2017-08-07T20:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=4a43aa02b86e3203bb6614382ef598926a1464cb'/>
<id>4a43aa02b86e3203bb6614382ef598926a1464cb</id>
<content type='text'>
The positional decorator results in poorly maintainable code in
a misguided effort to emulate python3's key-word-arg only notation
and functionality. This patch removes keystoneclient's dependance
on the positional decorator.

Change-Id: I9e691cc8b0c04992f4a8dabd67e1b413d3220d23
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The positional decorator results in poorly maintainable code in
a misguided effort to emulate python3's key-word-arg only notation
and functionality. This patch removes keystoneclient's dependance
on the positional decorator.

Change-Id: I9e691cc8b0c04992f4a8dabd67e1b413d3220d23
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase readability of 'find()' method and small improvements</title>
<updated>2016-10-21T17:00:46+00:00</updated>
<author>
<name>Arthur Miranda</name>
<email>artmr@lsd.ufcg.edu.br</email>
</author>
<published>2016-10-21T15:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=316058d314d8f63e913d11b073498ca6283b728b'/>
<id>316058d314d8f63e913d11b073498ca6283b728b</id>
<content type='text'>
Assigments replaced with argument assigment: endpoints.py, service_catalog.py
Note added: 'original_ip' value is never used: session.py
Refactor 'find()' method to increase readability: base.py

Change-Id: I469331b123fdf03e9e7c5d93e1c95da57d30fbbe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assigments replaced with argument assigment: endpoints.py, service_catalog.py
Note added: 'original_ip' value is never used: session.py
Refactor 'find()' method to increase readability: base.py

Change-Id: I469331b123fdf03e9e7c5d93e1c95da57d30fbbe
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve docs for v3 endpoints</title>
<updated>2016-07-28T14:06:31+00:00</updated>
<author>
<name>Nisha Yadav</name>
<email>ynisha11@gmail.com</email>
</author>
<published>2016-07-08T10:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=e38bfea0b6af7307c8d4bf7ad34a3d203cf09543'/>
<id>e38bfea0b6af7307c8d4bf7ad34a3d203cf09543</id>
<content type='text'>
In preparation to add functional tests for v3 endpoints, this
change proposes to detail the method docs, because the tests
need to be based on them.

Change-Id: I543e5475417ee1f333733f3a159c64223e44f1f2
Partial-Bug: #1330769
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation to add functional tests for v3 endpoints, this
change proposes to detail the method docs, because the tests
need to be based on them.

Change-Id: I543e5475417ee1f333733f3a159c64223e44f1f2
Partial-Bug: #1330769
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing D204, D205, and D207 PEP257 violation.</title>
<updated>2016-05-04T19:30:03+00:00</updated>
<author>
<name>Navid Pustchi</name>
<email>npustchi@gmail.com</email>
</author>
<published>2016-05-03T18:08:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=a9adca02dbdbf786dd7015f4d3c67c514d757423'/>
<id>a9adca02dbdbf786dd7015f4d3c67c514d757423</id>
<content type='text'>
Currently tox ignores D204, D205, and D207.
D204: 1 blank required after class docstring.
D205: Blank line required between one-line summary and description.
D207: Docstring is under-indented.
This change removes  D204, D205, and D207 ignores in tox and fix violations.

Change-Id: Id20d216fbd7647d468859b960088aac61c582d9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently tox ignores D204, D205, and D207.
D204: 1 blank required after class docstring.
D205: Blank line required between one-line summary and description.
D207: Docstring is under-indented.
This change removes  D204, D205, and D207 ignores in tox and fix violations.

Change-Id: Id20d216fbd7647d468859b960088aac61c582d9b
</pre>
</div>
</content>
</entry>
<entry>
<title>use positional library instead of utils</title>
<updated>2016-01-25T06:54:35+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2016-01-25T06:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=81fdaabf3fd73b6ed7fc8e8b4eb550d9206c017a'/>
<id>81fdaabf3fd73b6ed7fc8e8b4eb550d9206c017a</id>
<content type='text'>
swap instances of utils.positional with the positional library.

Change-Id: Id8a9961e68d287a802f25512fc970829e9feb5c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
swap instances of utils.positional with the positional library.

Change-Id: Id8a9961e68d287a802f25512fc970829e9feb5c2
</pre>
</div>
</content>
</entry>
<entry>
<title>Use region_id filter for List Endpoints</title>
<updated>2015-09-10T06:46:45+00:00</updated>
<author>
<name>lin-hua-cheng</name>
<email>os.lcheng@gmail.com</email>
</author>
<published>2015-08-25T02:43:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=03d5d8effc973dd4951fb825c4f7d885f883f9bb'/>
<id>03d5d8effc973dd4951fb825c4f7d885f883f9bb</id>
<content type='text'>
The old region filter didn't work, it was not available
in Keystone.

Change-Id: Ic4d60a046df1f231d02a45998c8a0ef7c5b7b107
Closes-bug: #1482772
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old region filter didn't work, it was not available
in Keystone.

Change-Id: Ic4d60a046df1f231d02a45998c8a0ef7c5b7b107
Closes-bug: #1482772
</pre>
</div>
</content>
</entry>
<entry>
<title>I18n</title>
<updated>2014-10-28T20:33:19+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2014-10-27T15:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=fece74ca3e56342bee43f561404c19128a613628'/>
<id>fece74ca3e56342bee43f561404c19128a613628</id>
<content type='text'>
Keystoneclient didn't provide translated messages. With this
change, the messages are marked for translation.

DocImpact

Implements: blueprint keystoneclient-i18n

Change-Id: I85263a71671a1dffed524185266e6bb7ae559630
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keystoneclient didn't provide translated messages. With this
change, the messages are marked for translation.

DocImpact

Implements: blueprint keystoneclient-i18n

Change-Id: I85263a71671a1dffed524185266e6bb7ae559630
</pre>
</div>
</content>
</entry>
<entry>
<title>Start using positional decorator</title>
<updated>2014-03-25T04:28:23+00:00</updated>
<author>
<name>Jamie Lennox</name>
<email>jamielennox@redhat.com</email>
</author>
<published>2014-02-28T03:31:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=0788f53fa1c4fa20b73133f36c2cfa2c888ca7bf'/>
<id>0788f53fa1c4fa20b73133f36c2cfa2c888ca7bf</id>
<content type='text'>
Apply the positional decorator to functions. It has been added as I
think best practice would dictate, though in some places it has been
added in a way that doesn't break existing tests.

Closes-Bug: #1295881
Change-Id: I4f7ddbede4cba4ab79d144ad1f9dc83ea76f204a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apply the positional decorator to functions. It has been added as I
think best practice would dictate, though in some places it has been
added in a way that doesn't break existing tests.

Closes-Bug: #1295881
Change-Id: I4f7ddbede4cba4ab79d144ad1f9dc83ea76f204a
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace OpenStack LLC with OpenStack Foundation</title>
<updated>2013-10-16T17:19:01+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2013-09-19T20:30:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=0774d5aafade9e5a5de3830de461843c4a7d59a1'/>
<id>0774d5aafade9e5a5de3830de461843c4a7d59a1</id>
<content type='text'>
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.

NOTE: tools/install_venv.py is not touched, should sync with oslo

Change-Id: I01d4f6b64cf1a152c4e190407799ce7d53de845f
Fixes-Bug: #1214176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.

NOTE: tools/install_venv.py is not touched, should sync with oslo

Change-Id: I01d4f6b64cf1a152c4e190407799ce7d53de845f
Fixes-Bug: #1214176
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix H202 assertRaises Exception</title>
<updated>2013-10-04T08:54:03+00:00</updated>
<author>
<name>Kui Shi</name>
<email>skuicloud@gmail.com</email>
</author>
<published>2013-10-04T08:54:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=8a036c3f76f0d0ae4cb4c57f902a5e6b90baa9c9'/>
<id>8a036c3f76f0d0ae4cb4c57f902a5e6b90baa9c9</id>
<content type='text'>
Align the hacking version between test-requirement and global requirement.

The change of H202 detection from 0.6 to 0.7 in hacking is:

-    if logical_line.startswith("self.assertRaises(Exception)"):
+    if logical_line.startswith("self.assertRaises(Exception,"):

then more cases are detected by this change. Fix the exposed H202 error.

There is a special test case:
tests/v3/test_endpoints.py:test_update_invalid_interface

ref = self.new_ref(interface=uuid.uuid4().hex)

this line can not generate proper parameter for self.manager.update,
add a parameter "endpoint" for it, according to the
definition in keystoneclient/v3/endpoints.py:EndpointManager.update.

Otherwise, there will be following error after changing the Exception
to exceptions.ValidationError:
TypeError: update() takes at least 2 arguments (6 given)

Fixes Bug #1220008

Change-Id: I8f7ed7a6eebf8576a6db5fecd86b9d19a15c8d60
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Align the hacking version between test-requirement and global requirement.

The change of H202 detection from 0.6 to 0.7 in hacking is:

-    if logical_line.startswith("self.assertRaises(Exception)"):
+    if logical_line.startswith("self.assertRaises(Exception,"):

then more cases are detected by this change. Fix the exposed H202 error.

There is a special test case:
tests/v3/test_endpoints.py:test_update_invalid_interface

ref = self.new_ref(interface=uuid.uuid4().hex)

this line can not generate proper parameter for self.manager.update,
add a parameter "endpoint" for it, according to the
definition in keystoneclient/v3/endpoints.py:EndpointManager.update.

Otherwise, there will be following error after changing the Exception
to exceptions.ValidationError:
TypeError: update() takes at least 2 arguments (6 given)

Fixes Bug #1220008

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