ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Add a script to generate a categorization template. #446

Closed allynt closed 7 years ago

allynt commented 8 years ago

WHO: @allynt

Add a script to generate a categorization template.

A categorization defines a mapping from StandardCategories to StandardProperties. This had been created by hand for CIM1. CIM2 is more complex, though, and doing this by hand is a tedious process. A script to get the basic content in place would be useful and easy to write.

allynt commented 8 years ago

The categorization registration code should be changed to ignore fields that have an invalid category_key (so long as it is set to something like "UNSPECIFIED").

allynt commented 8 years ago

Rather than "UNSPECIFIED", I will use "nil:template" which is defined as a QNillableType as per #445.

allynt commented 8 years ago

It's turning out that nearly all properties are being categorized as "Basic Properties." That's okay, isn't it?