I am putting together a specification document for building a web based blackout interface for BEM.
I am only focusing on how the interface is going to work with BEM, and I want to run it by you guys out there before we begin coding the new system, also I have some questions regarding few things such as using timeframes and time zones.
I realize I have to use a dynamic blackout policy, I set one up, no problem, and I understand that I can use mposter to insert blackout match table records into BEM's flat file database. I also know that I have to insert the required timeframes (active &OR inactive) before I insert the blackout record, and what I am planning to do is to insert an active &/OR inactive timeframe for each blackout record that might be inserted using the web interface to easily track these records and delete them from BEM when the blackout expires. I have done some testing and I simply created a file for each scenario and it seems to be working ok.
For the timeframe (TIME_FRAME) *& DDBL_MATCH_TABLE, I assumed that I do not need to worry about these fields: data_handle,mc_udid,mc_creation_time,mc_modification_time,publish_env_id
Since I noticed that BEM basically fills these fields up automatically and assigns a values to them such as data_handle as an example and others. The reason I came to this conclusion is because at some point the system we are building needs to clean up any expired blackout records and associated timeframes.
To delete DDBL_MATCH_TABLE record I am using name and the input_match fields, to delete a TIME_FRAME record I am only using the name field.
The above is just a high level overview of what I am trying to accomplish, can you please let me know if I am on the right track and if all the above makes sense and the way I am planning to integrate with BEM?
Does anyone knows what are these 2 fields and if can use them for any reason, what these 2 fields where designed for anyway?
active_global_timeframes=; & except_global_timeframes=
Also, if I am going to have users in several timezones and my BEM server is living in EST TZ, what would be the best way to not have TZ issues? I relialize BEM's Timeframe is based on "Internet Calendaring and Scheduling Core Object Specification (iCalendar) http://www.ietf.org/rfc/rfc2445.txt" please confirm that this is the right doc I need to have the programmer refer to? And can you please give me an example of how to make use of the Time Zone Id (tzid) field in the TIME_FRAME class?
Shall I suggest the use of the -j option or persistent buffer whenever mposter is being called?