ARGH.....found it.
My initial Stuff worked :-)
Receive the alarm via REST, start a preproc which switches the origin.
temporary switch the origin of a robot to that rest-PreProc-Destination-Origin, so that it exists in the db, create a alarm, and switch it back
Give access-right in the account for that origin
And now (<sarcasm>) the "tricky"-Part (</sarcasm>)
Use the right login to check that :-(((((
Had a look into the alarmviewer-api.log (thanks Broadcom for that log), and be irritatet, that in "where (nas.origin IN ('.....))" the origin was missing....
And voila.... login mgitop2 isnt equal mgitop-2 :-) changed the Account of one and tried with the other, and had therefore the conclusion it wasnt working
Hahaha I even set up a new Linux-Server with a wasp and only a uimapi in it :-)))
Conclusion....too much test-logins which looks equal but resides in different accounts :-)
But most important it works initially
cheers
Matthias
Original Message:
Sent: 05-04-2021 01:06 AM
From: Matthias Gruber
Subject: Adding Origin to OC
Hi Luc!Great hint! Thanks a lot, I'll try thatCheersMatthias------------------------------------------------------------------------------------
METZLER
Informationstechnologie
Matthias Gruber
IT-Infrastruktur & -Betrieb
B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
MGruber@metzler.com
www.metzler.comVon:
Original Message:
Sent: 5/4/2021 12:11:00 AM
From: Luc Christiaens
Subject: RE: Adding Origin to OC
I don't think that an alarm will add an origin in the origin table.
I think that a simple qos with the correct origin set by a qos_processor rule/script will do the trick.
Original Message:
Sent: 05-03-2021 10:55 AM
From: Luc Christiaens
Subject: Adding Origin to OC
In attachment a small test perl that can overwrite almost any alarm value
This makes it easier to create an alarm for a specific origin.