George Niculae wrote: > Hi all, > > some thoughts on http://track.sipfoundry.org/browse/XX-6628 - since the > resources list should be activated when a user with ID account is saved > / deleted I am thinking to add a new method activateResourceList to > trigger resource activation in CoreContext and to call it from saveUser > / deleteUser. > > However, since saveUser is used by CsvRowInserter and LdapRowInserter > for multiple user import I am going to add a new method that won't > trigger activation - saveUserWithoutRlsActivation. Row inserters will > use that one and will call coreContext.activateResourceList after all > insertions are done (afterInserting method). Additional verification > will be added to corecontext saveUser / deleteUser to trigger activation > only for IM users. > > Please let me know if you have any comment / suggestion on this > > Thanks, George > > >
It would be better if you implemented a lazy/collating proxy for activating resource list (any files in general). In this way it can be safely called multiple times and would only result in a single replication. We do that today to replicate IMDB datasets and maybe other configuration files: it would probably be more in line with the rest of sipXconfig than adding a special method to be used in bulk operations. D. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
