<commit_before>"""Cinder URLconf."""
# Copyright 2014 - 2015 Solinea, Inc.
#
# Licensed under the Solinea Software License Agreement (goldstone),
# Version 1.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.solinea.com/goldstone/LICENSE.pdf
#
# 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 expressed or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from django.conf.urls import patterns, url
from rest_framework.routers import DefaultRouter
from .views import ReportView, VolumesDataViewSet, \
    BackupsDataViewSet, SnapshotsDataViewSet, ServicesDataViewSet, \
    VolumeTypesDataViewSet, TransfersDataViewSet

# Views handled by DjangoRestFramework ViewSets.
router = DefaultRouter(trailing_slash=False)
router.register(r'^backups[/]?$',
                BackupsDataViewSet,
                base_name='cinder-backups')
router.register(r'^services[/]?$',
                ServicesDataViewSet,
                base_name='cinder-services')
router.register(r'^snapshots[/]?$',
                SnapshotsDataViewSet,
                base_name='cinder-snapshots')
router.register(r'^transfers[/]?$',
                TransfersDataViewSet,
                base_name='cinder-transfers')
router.register(r'^volumes[/]?$',
                VolumesDataViewSet,
                base_name='cinder-volumes')
router.register(r'^volume_types[/]?$',
                VolumeTypesDataViewSet,
                base_name='cinder-volume-types')

urlpatterns = router.urls

# Other views.
urlpatterns += patterns('',
                        url(r'^report[/]?$',
                            ReportView.as_view(),
                            name='cinder-report-view'),
                        )<commit_msg>GOLD-717: Remove ReportView from cinder.urls.<commit_after>"""Cinder URLconf."""
# Copyright 2014 - 2015 Solinea, Inc.
#
# Licensed under the Solinea Software License Agreement (goldstone),
# Version 1.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.solinea.com/goldstone/LICENSE.pdf
#
# 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 expressed or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from rest_framework.routers import DefaultRouter
from .views import VolumesDataViewSet, \
    BackupsDataViewSet, SnapshotsDataViewSet, ServicesDataViewSet, \
    VolumeTypesDataViewSet, TransfersDataViewSet

# Views handled by DjangoRestFramework ViewSets.
router = DefaultRouter(trailing_slash=False)
router.register(r'^backups[/]?$',
                BackupsDataViewSet,
                base_name='cinder-backups')
router.register(r'^services[/]?$',
                ServicesDataViewSet,
                base_name='cinder-services')
router.register(r'^snapshots[/]?$',
                SnapshotsDataViewSet,
                base_name='cinder-snapshots')
router.register(r'^transfers[/]?$',
                TransfersDataViewSet,
                base_name='cinder-transfers')
router.register(r'^volumes[/]?$',
                VolumesDataViewSet,
                base_name='cinder-volumes')
router.register(r'^volume_types[/]?$',
                VolumeTypesDataViewSet,
                base_name='cinder-volume-types')

urlpatterns = router.urls
{'fraction_non_alphanumeric': 0.10235798499464094, 'fraction_numerical': 0.006162915326902465, 'mean_word_length': 3.0664488017429194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5968643', 'n_tokens_mistral': 1072, 'n_tokens_neox': 995, 'n_words': 273}