Up to [LON-CAPA] / loncom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_1_1_99_3
Changes to support autoenroll calls from a remote server. lond on the homeserver for the course(s) handles requests from the remote server for institutional data (e.g., classlists, valid institutional courseIDs, institutional section numbers for a course code, validation of course owners), by calling the appropriate functions in the homeserver's localenroll.pm All replies are made directly with the exception of fetch_enrollment_query, which is shipped over to lonsql, in case retrieval of institutional classlists is a protracted process. lonsql on the homeserver for the course(s) calls localenroll::fetch_enrollment() and writes XML files of enrollment data to /home/httpd/perl/tmp Transfer of classlist data occurs later following an autoretrieve call from the remote server. It is planned to generalize this function and add encryption to the transfer back to the client. Autoenroll.pl called by cron on a library server, now only carries out updates for courses in its domain, for which the library server is the course's homeserver. If a domain has multiple library servers Autoenroll.pl will need to be run on each library server.