(add-current-version course-version-map platform-course)
(attach-offering-lookups offering platform-cv-map)
Takes a vlacs offering and a platform course version map and attaches course version ids if the mapping exists.
Takes a vlacs offering and a platform course version map and attaches course version ids if the mapping exists.
(convert-from-fixed-point value)
(extract-data resp)
(form-competency vlacs-competency)
(form-course-versions vlacs-course-versions platform-courses)
Transforms VLACS course versions from their PostgreSQL database and platform courses and create course versions consumable by the cloud api.
Transforms VLACS course versions from their PostgreSQL database and platform courses and create course versions consumable by the cloud api.
(form-courses vlacs-courses discipline-map)
Takes courses from VLACS' PostgreSQL database and converts them into a format consumable by the cloud api.
Takes courses from VLACS' PostgreSQL database and converts them into a format consumable by the cloud api.
(form-enrollments vlacs-enrollments
platform-enrollments
platform-users
platform-offerings)
Takes VLACS enrollments from their PostgreSQL database, platform enrollments, platform users, and platform offerings and forms enrollments to be consumed by the cloud api.
Takes VLACS enrollments from their PostgreSQL database, platform enrollments, platform users, and platform offerings and forms enrollments to be consumed by the cloud api.
(form-offering-subscriptions vlacs-offerings instructor-map offering-map)
Create offerings to be consumed by the cloud API using VLACS offerings from their PostgreSQL database, a map of instructors (sis_user_idstr to cloud api id,) and an offering map (classroom_idstr to cloud api id.)
Create offerings to be consumed by the cloud API using VLACS offerings from their PostgreSQL database, a map of instructors (sis_user_idstr to cloud api id,) and an offering map (classroom_idstr to cloud api id.)
(form-offerings vlacs-offerings platform-cv-map)
Takes a list of VLACS offerings from their PostgreSQL database as well as a platform course version map and creates offerings consumable by the cloud api.
Takes a list of VLACS offerings from their PostgreSQL database as well as a platform course version map and creates offerings consumable by the cloud api.
(get-existing-competencies session asmt-pod-ids)
Queries existing competencies from a list of internal VLACS asmt_pod_ids which is an external id for VLACS' competency data.
Queries existing competencies from a list of internal VLACS asmt_pod_ids which is an external id for VLACS' competency data.
(get-existing-competency-progress session
enrollment-map
competency-map
vlacs-e2ap-list)
(get-existing-competency-transcripts session
user-enrollment-map
competency-map
vlacs-e2cgs)
Queries existing competency transcripts from lrm enrollments, lrm competencies, and vlacs e2ap or e2cg records.
Queries existing competency transcripts from lrm enrollments, lrm competencies, and vlacs e2ap or e2cg records.
(get-existing-course-versions session vlacs-course-versions)
Query existing course version using VLACS' internal course versions from their PostgreSQL database.
Query existing course version using VLACS' internal course versions from their PostgreSQL database.
(get-existing-courses session vlacs-courses)
Query existing courses based on a list of VLACS courses from their PostgreSQL database.
Query existing courses based on a list of VLACS courses from their PostgreSQL database.
(get-existing-disciplines session vlacs-disciplines)
(get-existing-enrollments session vlacs-enrollments)
Queries enrollments based on data from VLACS' PostgreSQL database, using the enrolment_idstr as an external id.
Queries enrollments based on data from VLACS' PostgreSQL database, using the enrolment_idstr as an external id.
(get-existing-guardian-relationships session id-pairs)
(get-existing-identities session users)
Queries existing identities for VLACS' sis_user_idstr values based on a provided list of platform users.
Queries existing identities for VLACS' sis_user_idstr values based on a provided list of platform users.
(get-existing-learning-paths session)
(get-existing-offerings session vlacs-offerings)
Queries existing offerings based on a list of classrooms/offerings from VLACS' PostgreSQL database using classroom_idstr as an external id.
Queries existing offerings based on a list of classrooms/offerings from VLACS' PostgreSQL database using classroom_idstr as an external id.
(get-existing-schools session vlacs-affiliations)
(get-existing-user-identities session users)
Query user identity records based on a list of platform users.
Query user identity records based on a list of platform users.
(get-existing-user-personas session platform-users)
Queries existing user personas for a given list of platformn users.
Queries existing user personas for a given list of platformn users.
(get-existing-users session vlacs-users)
Query all existing VLACS users based on their internal sis_user_idstr.
Query all existing VLACS users based on their internal sis_user_idstr.
(get-existing-users-by-idstr session sis-user-idstrs)
(get-instance-id session)
(get-offering-instructors session vlacs-offerings)
Queries all instructor users based on the instructors list from a list of classrooms/offerings from the VLACS database.
Queries all instructor users based on the instructors list from a list of classrooms/offerings from the VLACS database.
(get-persona-map session)
Queries all of the personas out of the cloud api and turns it into a map of persona name to its unique UUID.
Queries all of the personas out of the cloud api and turns it into a map of persona name to its unique UUID.
(get-related-course-versions session vlacs-offerings)
Queries lrm courses with related course versions based on a list of classrooms/offerings for the VLACS PostgreSQL database using master_course_idstr as an external id.
Queries lrm courses with related course versions based on a list of classrooms/offerings for the VLACS PostgreSQL database using master_course_idstr as an external id.
(import-competencies! session competency-json-path)
(import-competency-progress! session e2ap-json-path)
(import-competency-transcripts! session competency-grade-json-path)
(import-course-versions! session course-version-json-path)
(import-courses! session course-json-path)
(import-disciplines! session discipline-json-path)
(import-enrollments! session enrollment-json-path)
(import-guardian-relationships! session guardian2student-json-path)
(import-learning-paths! session user-json-path)
(import-offering-subscriptions! session offering-json-path)
(import-offerings! session offering-json-path)
(import-progress! session student-progress-json-path)
(import-schools! session affiliation-json-path)
(import-student-enrollments! session student-enrollment-json-path)
(import-student-info! session student-json-path)
(import-users! session user-json-path)
(load-competencies! session count-agent vlacs-competencies)
(load-competency-grades! session count-agent vlacs-e2cgs)
Competency transcript loading function to be run by #'run-import!
Competency transcript loading function to be run by #'run-import!
(load-competency-progress! session count-agent vlacs-e2ps)
(load-course-versions! session count-agent vlacs-course-versions)
Course version loading function to be run by #'run-import!
Course version loading function to be run by #'run-import!
(load-courses! session count-agent vlacs-courses)
Course loading function to be run by #'run-import!
Course loading function to be run by #'run-import!
(load-disciplines! session count-agent vlacs-disciplines)
(load-enrollments! session count-agent vlacs-enrollments)
Enrollment loading function to be run by #'run-import.
Enrollment loading function to be run by #'run-import.
(load-guardian-relationships! session count-agent vlacs-guardian-relationships)
(load-learning-paths! session count-agent vlacs-lps)
(load-offering-subscriptions! session count-agent vlacs-offerings)
Offering subscription loading function to be run by #'run-import!
Offering subscription loading function to be run by #'run-import!
(load-offerings! session count-agent vlacs-offerings)
Offering loading function to be run by #'run-import!
Offering loading function to be run by #'run-import!
(load-schools! session count-agent vlacs-affiliations)
(load-student-data! session count-agent vlacs-students)
Student loading function to be run by #'run-import!
Student loading function to be run by #'run-import!
(load-student-enrollments! session count-agent vlacs-student-enrollments)
(load-student-progress! session count-agent src-progress-records)
Loads current (not historical,) student progress information.
Loads current (not historical,) student progress information.
(load-user-identities! session platform-users)
Takes a session and platform-users and provisions user identities based on VLACS' sis_user_idstrs.
Takes a session and platform-users and provisions user identities based on VLACS' sis_user_idstrs.
(load-user-personas! session vlacs-users platform-users)
Takes the session, vlacs users, and platform users and migrates vlacs users into the cloud api.
Takes the session, vlacs users, and platform users and migrates vlacs users into the cloud api.
(load-users! session count-agent vlacs-users)
User loading function to be provided to #'run-import!. Take the current session, a count (agent,) and VLACS users from their PostgreSQL database and imports them into the cloud api. Returns a deferred value representing the completion of the import.
User loading function to be provided to #'run-import!. Take the current session, a count (agent,) and VLACS users from their PostgreSQL database and imports them into the cloud api. Returns a deferred value representing the completion of the import.
(make-map data key-fn val-fn)
Takes sequential data and turns it into a map by mapping over it, using the key-fn to extract a key for the map and val-fn to extract the value for the map.
Takes sequential data and turns it into a map by mapping over it, using the key-fn to extract a key for the map and val-fn to extract the value for the map.
(make-new-identities platform-users identity-map)
Takes platform users and a map of vlacs identities and creates new identies for those that don't already exist.
Takes platform users and a map of vlacs identities and creates new identies for those that don't already exist.
(make-platform-cv-map platform-courses)
Takes a list of platform courses with related version records and creates a lookup map for relating offerings to the appropriate course versions.
Takes a list of platform courses with related version records and creates a lookup map for relating offerings to the appropriate course versions.
(make-user-persona-dml persona-map user-persona-map vlacs-users platform-users)
Using the persona map, user persona map, vlacs users, and platform users, generate a series of DML operations to insert and update users in the cloud api.
Using the persona map, user persona map, vlacs users, and platform users, generate a series of DML operations to insert and update users in the cloud api.
(privilege->persona session)
Creates a VLACS privlege to persona map for loading user information.
Creates a VLACS privlege to persona map for loading user information.
(read-json-file path)
Takes a path, reads the contents of that file, and parsed the JSON.
Takes a path, reads the contents of that file, and parsed the JSON.
(run-import! session load-fn! json-data-path)
Imports data using a session, loading function, and json data path into the cloud api. Immediately returns a map with a finished? key which is a deferred value that becomes realized when loading is complete or errors out, a load-fn! which is used to tell the importer how to load the data and handles counting processed records, and json-data-path which is a path to the data to be loaded.
Imports data using a session, loading function, and json data path into the cloud api. Immediately returns a map with a finished? key which is a deferred value that becomes realized when loading is complete or errors out, a load-fn! which is used to tell the importer how to load the data and handles counting processed records, and json-data-path which is a path to the data to be loaded.
(translate-learning-path vlacs-lp)
(translate-schools platform-schools vlacs-affiliations)
(translate-viewm-student-progress platform-enrollments
vlacs-viewm-student-progresses)
(translate-vlacs-users vlacs-users)
Takes a VLACS user and transforms it into a platform user.
Takes a VLACS user and transforms it into a platform user.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close