TAXIIProject/libtaxii — pull request #23 by bworrell (2013-07-31 20:31:14+00:00)
Title: Added tuples for global constant categories and input validation on service_types property of DiscoveryResponse.ServiceInstance class

I added tuples for status types, service types, actions, and message types that include all respective global constants. This should make input validation somewhat easier for libtaxii or code which leverages libtaxii.

I also added input validation to the DiscoveryResponse.ServiceInstance.service_type setter, requiring it to be one of the SVC_TYPE members (e.g., INBOX, POLL, DISCOVERY, or FEED_MANAGEMENT).

This may or may not align with the vision for libtaxii.