We're considering enriching events in OMNIbus with information from TBSM. We are generating Service Instances based on external configuration database which contains an Environment attribute (DTAP). Now we would like to obtain this information from TBSM where the information is stored in an additional parameter. Also, we would like to enrich the event after TBSM processing with the Business Service that is affected by the event.
I found a sample Impact policy "GetStatusForAttributeOfInstance", but it is using a Data Source named "StateModel" which does not exist and has a commented out section describing a Data Source called "ServiceInstanceBean" which also doesn't exist. I wonder what type of Data Source could be used to direct queries to the TBSM Data models.
I've also tried using the TBSMShell function with the dumpInstanceInfo RAD shell command, but that didn't work for me either.
Any suggestions on how to obtain TBSM service instance info and enrich events with this info, possibly with some example policy code?