We are using "Accumulate data in memory to buffer" assertion to achieve this.
We have a global message policy "message-completed" that builds json data for metrics, store it into this buffer.
Then we have a scheduled task which, every minute, extract data from this buffer (emptying it), and sends it to Splunk.
It is then completly asynchronous, e.g. we can have multiple data injected into the buffer during this timeframe, and every minute parse all results.
Otherwise, you cas request tacical "remote cache" assertion and use "Memcached" for example, to share among cluster.
Original Message:
Sent: 05-27-2020 01:55 AM
From: Sachin Ghumbre
Subject: set, get and delete cluster properties through assertion
I am looking for the assertion which will allow me to store the value in one policy and get the same value in another policy. This is needed because I am using policy backed IDP where in my policy fragment, call to REST api is returning a json with few params. I want to get those param values into the main policy where OTK user authentication assertion is called. Since it is policy backed idp and I can not get rest response in the main policy.
One thing I believe is storing and fetching values from cluster properties but I am not aware about the assertion which will allow me to create and delete the cluster property through policy flow. Please suggest.
------------------------------
Technology Lead
Infosys Limited
------------------------------