18 Commits

Author SHA1 Message Date
Takashi Kajinami
24a58fce9d Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

Change-Id: Ife34b32a5e557d2bf893ddc570b0962622129f93
2023-10-24 09:44:11 +09:00
Erik Olof Gunnar Andersson
360433b38b Remove non-functional contrib code
- Remove code that no longer works.
- Minor tweaks to existing contrib content.

Change-Id: I0c7b70bde214da71e1bf3935f1e5f33107410c96
2023-08-27 04:10:49 -07:00
Erik Olof Gunnar Andersson
0f054b3594 Update notification handler sample
Change-Id: I82ee4da4ec2f2f1227c25d828fd61c435270e036
2023-06-04 21:57:50 -07:00
Takashi Kajinami
30b9a0853c setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I0c8e6a3a474a5cfa029b741b1a26b7d48d244206
2022-02-06 01:42:08 +09:00
Michael Johnson
0e16095a80 Enable H306 check and fix import ordering
To better align with other OpenStack projects and to reduce the
ongoing problem with duplicate imports, this patch re-enables the
H306 check for proper module import order.

Change-Id: Iced92590829f6d9177d64ad4868aebe6eafd6a8a
2021-11-18 00:30:05 +00:00
Erik Olof Gunnar Andersson
4869913519 Improve sink recordset creation
Reduced the number of calls we need to make when creating records using
the sink by better using the create/update recordset api.

This also fixes a bug where the sink could trigger a race condition in
the worker causing it to throw a BadAction exception.

Partial-Bug: #1768618
Change-Id: Iaf21ec59755375d3c3bc043b16a1b14aa991475e
2019-12-29 02:48:05 +00:00
Kien Nguyen
6bedf6ce3b Update .gitignore
Because egg* already ignores egg-info & .eggs.

Change-Id: Ibeb7fcb497a9a3bf5756efd8bced4bf3e74711a8
2017-12-01 13:20:38 +07:00
Dirk Mueller
0534c3dc52 Remove explicit lockdown of flake8
The hacking version should require the proper dep
of flake8, which includes pep8 and pyflakes.

Change-Id: Ia55a7f355e4ddd190d5bb66491ba8f76b0912a3b
2017-10-24 14:39:40 +02:00
Erik Olof Gunnar Andersson
9648a3d1f5 Updating the sample handler to be compatible with mitaka/newton
Change-Id: I9440a9c7e268df346071b7d23d90ccc87345ee6d
2016-09-17 05:40:01 +02:00
venkatamahesh
1f944da12f Grammar mistakes have been corrected
Change-Id: I3e19f22e78fe3904817b180687dc62a0a8a6bc77
Closes-Bug: #1487688
2015-08-22 21:32:18 +05:30
Doug Hellmann
f9c55abbff Drop use of 'oslo' namespace package
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: Ia21c15e8eca6bf456f7cfe13f815f5ce068601e7
2015-05-06 20:36:49 +00:00
Endre Karlson
7eefb71b8b Switch to oslo.log
Change-Id: I08386ed2c8a2d9e16c57776413a612b8bf8323f7
2015-01-21 21:39:16 +01:00
Christian Berendt
6652bcc842 Enabled hacking check H401
* [H401] Docstrings should not start with a space.

Change-Id: I1e98718a6612aea04453904fa4eca892a1dd1744
2014-07-11 15:07:19 +02:00
Kiall Mac Innes
08d494ee52 Update stackforge references to openstack
Change-Id: I5d99ed16e10bf8118ac253f097918b9ec78b1f85
2014-06-30 12:21:20 +01:00
Jordan Cazamias
50295fb39e Fix style errors H305 and H307
H305: Imports not grouped correctly
H307: Like imports should be grouped together

Change-Id: Ic63d253e015298c7b952121a4b3634d2b1bdaf92
Implements: blueprint new-hacking-style-rules
2014-06-18 17:35:43 -05:00
Vinod Mangalpally
c8a052bf65 API now passes objects to central
Now that API and Central both use objects, the communication between
the two uses objects rather than dicts.  The create (POST) operations
are the ones that are affected by this change.

Change-Id: Ife31ae7e71632dc327e6d7843cad1fdbaea7337d
Implements: blueprint mdns-designate-central-api-comm
2014-06-03 12:35:43 -05:00
rjrjr
1aa350698a WIP - Implement Capture the Notification Context in Designate Sink
This change captures the notification context in Designate Sink and passes it on to the notification handlers via the process_notification method.

blueprint sink-capture-notification-context

Change-Id: I8c3702d3ebec1b3d27b0302a10a9d219f62dec67
2014-04-02 12:43:17 -07:00
Kiall Mac Innes
8059a67f00 Add the handler plugin example to the contrib folder
Change-Id: Ibf25214cd02660628b0cbad20af5a33aba4bfae0
2014-02-22 12:08:45 +00:00