Skip to content

Commit

Permalink
Update for latest Designate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiall Mac Innes committed Feb 20, 2014
1 parent 7d00b5d commit fd982ff
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 27 deletions.
6 changes: 3 additions & 3 deletions designate_ext_samplehandler/notification_handler/sample.py
Expand Up @@ -14,8 +14,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.config import cfg
from moniker.openstack.common import log as logging
from moniker.notification_handler.base import Handler
from designate.openstack.common import log as logging
from designate.notification_handler.base import NotificationHandler

LOG = logging.getLogger(__name__)

Expand All @@ -34,7 +34,7 @@
], group='handler:sample')


class SampleHandler(Handler):
class SampleHandler(NotificationHandler):
""" Sample Handler """
__plugin_name__ = 'sample'

Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
@@ -1,3 +1,2 @@
d2to1>=0.2.10,<0.3
pbr>=0.5.10,<0.6
pbr>=0.6,<1.0
-e git+https://github.com/stackforge/designate.git#egg=designate
4 changes: 2 additions & 2 deletions setup.cfg
@@ -1,7 +1,7 @@
[metadata]
name = designate-ext-samplehandler
version = 2013.2
summary = Sample Moniker Handler Extension
summary = Sample Designate Handler Extension
description-file =
README.rst
author = Kiall Mac Innes
Expand All @@ -27,7 +27,7 @@ packages =

[entry_points]
designate.notification_handler =
sample = moniker_ext_samplehandler.notification_handler.sample:SampleHandler
sample = designate_ext_samplehandler.notification_handler.sample:SampleHandler

[build_sphinx]
all_files = 1
Expand Down
27 changes: 14 additions & 13 deletions setup.py
@@ -1,21 +1,22 @@
#!/usr/bin/env python
# Copyright 2013 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Author: Kiall Mac Innes <kiall@hp.com>
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools

setuptools.setup(
setup_requires=['d2to1', 'pbr'],
d2to1=True)
setup_requires=['pbr'],
pbr=True)
9 changes: 2 additions & 7 deletions test-requirements.txt
@@ -1,9 +1,4 @@
coverage>=3.6
flake8==2.0
hacking>=0.5.3,<0.6
mock>=0.8.0
hacking>=0.8.0,<0.9
pep8==1.4.5
pyflakes==0.7.2
python-subunit
testrepository
unittest2
pyflakes>=0.7.2,<0.7.4

0 comments on commit fd982ff

Please sign in to comment.