mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 06:28:01 -03:30
Merge pull request #1356 from wenottingham/mongo-only-pawn
Remove some obsolete code.
This commit is contained in:
commit
4519013a13
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -45,8 +45,6 @@ if is_testing(sys.argv):
|
||||
}
|
||||
}
|
||||
|
||||
MONGO_DB = 'system_tracking_test'
|
||||
|
||||
# Celery AMQP configuration.
|
||||
BROKER_URL = 'amqp://guest:guest@localhost:5672'
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
@ -1,4 +0,0 @@
|
||||
[console_scripts]
|
||||
tower-manage = awx:manage
|
||||
awx-manage = awx:manage
|
||||
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1 +0,0 @@
|
||||
awx
|
||||
Loading…
x
Reference in New Issue
Block a user