View Issue Details

IDProjectCategoryView StatusLast Update
000234210000-007: ProfilesSpecpublic2015-05-05 16:31
ReporterNathan PocockAssigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Target Version1.03 
Summary0002342: "Monitor Complex Event Filter" contents
Description

CMPWG 24-Jan-2013:

A number of questions:
(1) what is "complex" anyway?
(2) why is "TypeOf" the only requirement for "complex"?
(3) we consider "TypeOf" being more applicable in "Monitor Events"

Some thoughts about "complex":
(1) perhaps state a minimum number of conditions, i.e. a==b && x!=z (two here)
(2) if "TypeOf" is the only requirement, then perhaps rename or just remove the CU.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

duplicate of 0002778 closedKarl Deiretsbacher "Monitor Complex Event Filter" is exclusively for "TypeOf"? 
related to 0002343 closed "Monitor Events" to incude "TypeOf" operator? 

Activities

Paul Hunkar

2013-02-03 04:20

developer   ~0004445

A little history is needed regarding complex event filters. They use to include InView, TypeOf and RelatedTo.

The following clause was added to Part 4
"Any basic FilterOperator in Table 110 may be used in the whereClause, however, only the OfType FilterOperator from Table 111 is permitted." eliminating two of the options from this conformance unit.

I still feel this is in error; it was done since most systems would not be able to implement the RelatedTo operand easily on an event stream. The major reason I believe this is in error in that this same structure is used for Historical event filters and in many case implementing the "RelatedTo" Operand is very easy in a historical even retrieval. It is also one of the most often request event filter for historical data.

The reason OfType was left in a complex event filter is again do to implementation, (which I’m not sure is a good reason for it), not all system will be able to quickly in an event stream determine the OfType Operand –in particular – it may be fairly easy to get the type of the given event, but the OfType includes the idea of subtypes, the event would have to quickly be resolved into its type and to have a list of all parent types up to BaseEventType for it so that the filter can check if the OfType filter listed on of these Parent types.

I would propose the following fix
– Leave TypeOf in its own filter, but name it a different name, since it is the most common filter being used.
– Restore the RelatedTo and Inview filter operands to ComplexFilters.
– Remove the clause from Part 4 since this is something that really should just be defined in part 7 not in Part 4. That statement is two broad, in that even a future filter element would be excluded by it.

All of these conformance units should stay a optional, since they are being added to a release profile (but an argument could be made to change some to required, since currently no conformance test exist for this conformance unit, thus the change could not affect anyone’s current certification status – I would also support this)

As to the second part of this issue - currently no conformance units exist related to the number of items a filter can contain. I believe that new conformance units need to be added to reflect some limits on the size of a filter (how many statements it may have).

Note: Mantis Issue 2343 should be related to this one

Jim Luth

2013-02-05 17:20

administrator   ~0004457

Agreed to change the name of the CU after version 1.02 is published.

Adding RelatedTo and InView will need another Mantis issue as a "Feature Request".

Karl Deiretsbacher

2014-08-19 15:31

developer   ~0005437

this is proposed for v1.03

Karl Deiretsbacher

2014-08-19 15:32

developer   ~0005438

proposed to add this to v1.03

Issue History

Date Modified Username Field Change
2013-01-24 21:37 Nathan Pocock New Issue
2013-02-03 04:20 Paul Hunkar Note Added: 0004445
2013-02-03 04:21 Paul Hunkar Relationship added related to 0002343
2013-02-05 17:18 Jim Luth Status new => assigned
2013-02-05 17:18 Jim Luth Assigned To => Paul Hunkar
2013-02-05 17:20 Jim Luth Note Added: 0004457
2014-08-19 15:31 Karl Deiretsbacher Note Added: 0005437
2014-08-19 15:32 Karl Deiretsbacher Note Added: 0005438
2014-08-19 15:32 Karl Deiretsbacher Category (No Category) => Spec
2014-08-19 15:32 Karl Deiretsbacher Target Version => 1.03
2015-05-05 16:30 Jim Luth Relationship added duplicate of 0002778
2015-05-05 16:31 Jim Luth Status assigned => closed
2015-05-05 16:31 Jim Luth Resolution open => duplicate