Open MarkDavidson opened 9 years ago
I'm OK with the proposed solution to the first item (which is really trying to address #39).
Regarding the second item, I am mostly interested in removing unnecessary (and duplicative) information from module/package names. I've never really liked the term "handlers", since to me it doesn't mean much (like "stuff" or "things"). Here's one idea for reorganizing them:
taxii_services
handlers
messages
__init__
base (this could really all go into __init__)
collectioninfo
discovery
inbox
poll (could possibly split out poll_fulfillment, which is currently spelled wrong)
subscription
query
__init__
base (again, could be combined into __init__)
stix111
Maybe the real issue is that I really hate underscores in package names :person_frowning:
This issue comprises a couple of related items.
DiscoveryRequestHandler
) because these names are present in the UI. These were intaxii_services/__init__.py
, but they were causing an issue where basically any timetaxii_services
was imported, the whole library would get imported. As a result, it might make sense to bring back the imports that were removed in https://github.com/TAXIIProject/django-taxii-services/commit/d412c5af39efb7b71268b2a6add288f5b8f37784, but bring them back intotaxii_services.message_handlers
(aka down a level).