Hi,
I want to refresh a already running service in dataminer cube, for which I know the service ID,
Just want to refresh the service after every 2 minutes as sometimes for a Titan the decoders take time to reflect, so I want to refresh it so that it reflects immediately.
I tried using getting all the elements and params and refreshing the service by Sending AddServiceMessage
but the issue is as ideally there is no change its just refresh it shows in information events as edited which is wrong.
var addServiceMessage = new AddServiceMessage
{
DataMinerID = service.ServiceInfo.DataMinerID,
HostingDataMinerID = service.ServiceInfo.HostingAgentID,
Service = service.ServiceInfo,
};
_engine.SendSLNetSingleResponseMessage(addServiceMessage);
So, whats the correct way of refreshing and editing the service existing ones
Hi Apurva, based on this and on our call, I understand that you are in a situation where the table of the element is already updated/polled, but the same table in the service does not update sufficiently quickly.
If I understand correctly, you use the AddServiceMessage to work around this and trigger it every two minutes.
The "service edited" information event is in fact correct. When you use that message, DataMiner assumes that something changed at that point in time.
We do not keep into account it could be used as a workaround.
As there is no such thing as a ReloadService message, I would recommend contacting "techsupport@skyline.be" and requesting to open a separate support ticket for this.
Be sure to mention the specific situation, i.e. the table in the service does not update sufficiently quickly, as well as your expectations (how quickly would you like it to update). If we are able to find the cause of the slowness, the workaround might not be necessary in time.