Merge pull request #1356 from wenottingham/mongo-only-pawn

Remove some obsolete code.
This commit is contained in:
Bill Nottingham 2018-02-26 15:30:37 -05:00 committed by GitHub
commit 4519013a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 0 additions and 19061 deletions

View File

@ -27,13 +27,6 @@ from awx.main.models.credential import CredentialType
from awx.main.models.rbac import RoleAncestorEntry
class MongoFilterBackend(BaseFilterBackend):
# FIX: Note that MongoEngine can't use the filter backends from DRF
def filter_queryset(self, request, queryset, view):
return queryset
class V1CredentialFilterBackend(BaseFilterBackend):
'''
For /api/v1/ requests, filter out v2 (custom) credentials

View File

@ -78,8 +78,6 @@ if is_testing(sys.argv):
}
}
MONGO_DB = 'system_tracking_test'
# Celery AMQP configuration.
CELERY_BROKER_URL = "amqp://{}:{}@{}/{}".format(os.environ.get("RABBITMQ_USER"),
os.environ.get("RABBITMQ_PASS"),
@ -92,9 +90,6 @@ CHANNEL_LAYERS = {
'CONFIG': {'url': CELERY_BROKER_URL}}
}
# Mongo host configuration
MONGO_HOST = NotImplemented
# Set True to enable additional logging from the job_event_callback plugin
JOB_CALLBACK_DEBUG = False

View File

@ -45,8 +45,6 @@ if is_testing(sys.argv):
}
}
MONGO_DB = 'system_tracking_test'
# Celery AMQP configuration.
BROKER_URL = 'amqp://guest:guest@localhost:5672'

View File

@ -7,6 +7,5 @@ addopts = --reuse-db --nomigrations --tb=native
markers =
ac: access control test
license_feature: ensure license features are accessible or not depending on license
mongo_db: drop mongodb test database before test runs
survey: tests related to survey feature
inventory_import: tests of code used by inventory import command

View File

@ -1,23 +0,0 @@
Metadata-Version: 1.1
Name: ansible-awx
Version: placeholder
Summary: ansible-awx: API, UI and Task Engine for Ansible
Home-page: http://github.com/ansible/ansible-awx
Author: Ansible, Inc.
Author-email: info@ansible.com
License: Proprietary
Description: Ansible AWXprovides a web-based user interface, REST API and task engine built on top of Ansible
Keywords: ansible
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System AdministratorsLicense :: Other/Proprietary License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Systems Administration

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +0,0 @@
[console_scripts]
tower-manage = awx:manage
awx-manage = awx:manage

View File

@ -75,4 +75,3 @@ addopts = --reuse-db --nomigrations --tb=native
markers =
ac: access control test
license_feature: ensure license features are accessible or not depending on license
mongo_db: drop mongodb test database before test runs