<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/service_catalog.py, branch stable/zed</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>Removing bandit.yaml in favor of defaults</title>
<updated>2016-04-19T15:35:00+00:00</updated>
<author>
<name>Christopher J Schaefer</name>
<email>cjschaef@us.ibm.com</email>
</author>
<published>2016-03-11T21:55:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=dbf4f3164655ec69a830ed87db0769f01ac1f720'/>
<id>dbf4f3164655ec69a830ed87db0769f01ac1f720</id>
<content type='text'>
Removing old configuration options for build-in defaults of latest
bandit functionality. Also, marking flagged items with _# nosec_
with a descriptive comment on why the code is acceptable as is.

Co-Authored-By: Christopher J Schaefer &lt;cjschaef@us.ibm.com&gt;
Co-Authored-By: Tom Cocozzello &lt;tjcocozz@us.ibm.com&gt;

Change-Id: I138ebd46a8be195177361a9c3306bb70423b639d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removing old configuration options for build-in defaults of latest
bandit functionality. Also, marking flagged items with _# nosec_
with a descriptive comment on why the code is acceptable as is.

Co-Authored-By: Christopher J Schaefer &lt;cjschaef@us.ibm.com&gt;
Co-Authored-By: Tom Cocozzello &lt;tjcocozz@us.ibm.com&gt;

Change-Id: I138ebd46a8be195177361a9c3306bb70423b639d
</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>Address hacking check H405</title>
<updated>2016-01-13T21:03:51+00:00</updated>
<author>
<name>lin-hua-cheng</name>
<email>os.lcheng@gmail.com</email>
</author>
<published>2016-01-13T21:03:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=77ed0d4d0c3413b15aa348613b8b40373bd5765b'/>
<id>77ed0d4d0c3413b15aa348613b8b40373bd5765b</id>
<content type='text'>
Previously, there were a string of commits to keystone that addresed ignored
hacking checks. This commit does the same for H405 in keystoneclient. This
also modifies our tox.ini so that we no longer ignore H405 violations.

Change-Id: I2af152e5425a0e9c82314039fdbb90d661c22680
Closes-Bug: 1482773
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, there were a string of commits to keystone that addresed ignored
hacking checks. This commit does the same for H405 in keystoneclient. This
also modifies our tox.ini so that we no longer ignore H405 violations.

Change-Id: I2af152e5425a0e9c82314039fdbb90d661c22680
Closes-Bug: 1482773
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark abstractmethod bodies with nocover</title>
<updated>2015-10-21T18:35:53+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-10-21T18:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=a8d2bd29347d02298a6a809f6ca52107aae00a4a'/>
<id>a8d2bd29347d02298a6a809f6ca52107aae00a4a</id>
<content type='text'>
abstractmethod bodies aren't going to be called by unit tests, so
there's no way to get coverage. The code in an abstractmethod body
should be marked with "# pragma: no cover" so that they don't show
up as missed in the coverage report.

Change-Id: I88a7481ab22f2ce1abfd62badc5f5048acc6929f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
abstractmethod bodies aren't going to be called by unit tests, so
there's no way to get coverage. The code in an abstractmethod body
should be marked with "# pragma: no cover" so that they don't show
up as missed in the coverage report.

Change-Id: I88a7481ab22f2ce1abfd62badc5f5048acc6929f
</pre>
</div>
</content>
</entry>
<entry>
<title>pass on @abc.abstractmethods</title>
<updated>2015-10-21T15:32:33+00:00</updated>
<author>
<name>Dolph Mathews</name>
<email>dolph.mathews@gmail.com</email>
</author>
<published>2015-10-21T15:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=574fad7abb328276396d7d4c2743982bb903078c'/>
<id>574fad7abb328276396d7d4c2743982bb903078c</id>
<content type='text'>
Although a bare docstring is entirely valid grammar, those new to Python find
that pattern baffling, *especially* when other similar methods contain pass
statements. So, for consistency, add a pass statement to otherwise bare
@abc.abstractmethods.

Note that the implementation of an @abc.abstractmethod (in the abstract
base class) can still be called by concrete children, so suddenly
raising a NotImplementedError() instead might be "surprising" to
implementors. A no-op such as "pass" or "return None" is preferable.

Change-Id: I79969ad1a3429516ea785c649a165ead54944225
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although a bare docstring is entirely valid grammar, those new to Python find
that pattern baffling, *especially* when other similar methods contain pass
statements. So, for consistency, add a pass statement to otherwise bare
@abc.abstractmethods.

Note that the implementation of an @abc.abstractmethod (in the abstract
base class) can still be called by concrete children, so suddenly
raising a NotImplementedError() instead might be "surprising" to
implementors. A no-op such as "pass" or "return None" is preferable.

Change-Id: I79969ad1a3429516ea785c649a165ead54944225
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate ServiceCatalog.get_urls() with no attr</title>
<updated>2015-08-13T23:58:27+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-26T12:28:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=0d293eaf4413f82f55e3b13062b2bc710a6f3935'/>
<id>0d293eaf4413f82f55e3b13062b2bc710a6f3935</id>
<content type='text'>
There was a TODO to deprecate calling ServiceCatalog.get_urls() with
an attr but no filter_value.

bp deprecations

Change-Id: Idd97ce6920d63e1abb4f10ba4965035ba40f0155
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a TODO to deprecate calling ServiceCatalog.get_urls() with
an attr but no filter_value.

bp deprecations

Change-Id: Idd97ce6920d63e1abb4f10ba4965035ba40f0155
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate ServiceCatalog(region_name)</title>
<updated>2015-08-13T23:57:31+00:00</updated>
<author>
<name>Brant Knudson</name>
<email>bknudson@us.ibm.com</email>
</author>
<published>2015-07-26T12:14:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=803eb235d50daad27074198effc98ca536f1550f'/>
<id>803eb235d50daad27074198effc98ca536f1550f</id>
<content type='text'>
There was a FIXME to deprecate ServiceCatalog's region_name
parameter and property. This is now deprecated.

Note that debtcollector isn't used here since the deprecation
happens on ServiceCatalog's __init__() to catch use in
subclasses of ServiceCatalog. ServiceCatalog also has a
factory function that constructs the correct instance and
the factory function always passes region_name, so it's
always using the deprecated kwarg even when region_name
isn't passed to the factory. It's not worth figuring out
how to do this with debtcollector.

bp deprecations

Change-Id: I0e64712474ca2767f3c0ade919359132450f6776
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a FIXME to deprecate ServiceCatalog's region_name
parameter and property. This is now deprecated.

Note that debtcollector isn't used here since the deprecation
happens on ServiceCatalog's __init__() to catch use in
subclasses of ServiceCatalog. ServiceCatalog also has a
factory function that constructs the correct instance and
the factory function always passes region_name, so it's
always using the deprecated kwarg even when region_name
isn't passed to the factory. It's not worth figuring out
how to do this with debtcollector.

bp deprecations

Change-Id: I0e64712474ca2767f3c0ade919359132450f6776
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow handling multiple service_types</title>
<updated>2015-02-26T03:29:18+00:00</updated>
<author>
<name>Jamie Lennox</name>
<email>jamielennox@redhat.com</email>
</author>
<published>2015-02-26T01:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-keystoneclient.git/commit/?id=3e2035bf8823f87cb736a526d4f084487066d33e'/>
<id>3e2035bf8823f87cb736a526d4f084487066d33e</id>
<content type='text'>
If the same service_type was mentioned in the catalog more than once
then only the last entry would be parsed and any possible other matches
would be lost.

This was something that novaclient used to do, and as we are pushing
sessions as the way that clients should all work we need to maintain
that compatibility.

Change-Id: I6964515ed1975bce1998897abfc02a1ec36e2584
Closes-Bug: #1425766
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the same service_type was mentioned in the catalog more than once
then only the last entry would be parsed and any possible other matches
would be lost.

This was something that novaclient used to do, and as we are pushing
sessions as the way that clients should all work we need to maintain
that compatibility.

Change-Id: I6964515ed1975bce1998897abfc02a1ec36e2584
Closes-Bug: #1425766
</pre>
</div>
</content>
</entry>
</feed>
