2016-01-22 11:01 AM
Hi,
I would like to use the European "ETSI GS ISI" classification for incidents in the Incident management solution (10.4).
How can I modify/add categories ?
I found that categories are store in the collection categories of the ESA mongodb but each categorie looks linked to a Java Object :
{
"_id" : ObjectId("554b37dfe4b066116421f676"),
"_class" : "java.util.LinkedHashMap",
"parent" : "Environmental",
"name" : "Deterioration"
},
{
"_id" : ObjectId("554b37dfe4b066116421f677"),
"_class" : "java.util.LinkedHashMap",
"parent" : "Environmental",
"name" : "Earthquake"
}
So, what's the solution ?
P.S: a quick reference of the classification is availabe at https://sites.google.com/site/axelrennoch/favorites/security/isiQRC.pdf
2021-02-12 09:00 AM
Gentlemen - John Snider, Josh Randall? Are you the only hope here? 😉
2021-02-12 01:23 PM
Albert Cieszkowski - I dont know that I'd go quite this far...
...but I can certainly help.
It's a relatively straightforward operation to add/remove/modify any Incident Category in 11.x. They are all held in a mongodb collection on the Node0 server, and can be accessed as long as you have root permissions on Node0.
This will show you all the current categories, and you can simply copy the structure of any one of them to create your own (or even modify an existing one, if you like)
# mongo admin -u deploy_admin
> use respond-server
> db.categories.find({})
Adding your own would look like:
# mongo admin -u deploy_admin
> use respond-server
> db.categories.insert({"_class":"java.util.LinkedHashMap","parent":"My Custom Category Group","name":"My Specific Custom Category"})
....and then a simple page refresh in the UI will show your custom category:
You can add more "Specific Custom Categories" to the same parent, as well:
...and again refresh the UI:
Hope this helps!
2021-02-17 04:22 AM
Indeed it does, exactly was I was looking for - an elegant solution for any age 😉
Many thanks!