XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Enrolments, LTI provider
    • Labels:
    • Testing Instructions:
      Hide
      1. Publish an 2 activities as LTI tools.
      2. Configure another moodle site to access activity 1 using tool proxy registration.
        • Confirm that tool proxy registration works.
      3. Configure the 2nd moodle site to access activity 2 using cartridge registration.
      4. Create a course and add these activities as external tools.
      5. Login as a student enrolled in the course.
      6. Access activity 1.
        • Confirm that activity 1 loads properly.
      7. Access activity 2.
        • Confirm that activity 2 loads properly.
      PHPUnit
      1. Run PHPUnit for enrol_lti on MySQL, Maria DB, PostgreSQL, MSSQL, and Oracle servers.

         vendor/bin/phpunit --testsuite enrol_lti_testsuite
        

        or if using MDK,

        mdk phpunit -r -s enrol_lti
        

        • Confirm that there are no errors nor failures.
      Show
      Publish an 2 activities as LTI tools. Configure another moodle site to access activity 1 using tool proxy registration. Confirm that tool proxy registration works. Configure the 2nd moodle site to access activity 2 using cartridge registration. Create a course and add these activities as external tools. Login as a student enrolled in the course. Access activity 1. Confirm that activity 1 loads properly. Access activity 2. Confirm that activity 2 loads properly. PHPUnit Run PHPUnit for enrol_lti on MySQL, Maria DB, PostgreSQL, MSSQL, and Oracle servers. vendor/bin/phpunit --testsuite enrol_lti_testsuite or if using MDK, mdk phpunit -r -s enrol_lti Confirm that there are no errors nor failures.
    • Affected Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-55529-master

      Description

      The LTI provider library uses dependency injection to define how the data is stored.

      We need to implement the tool provider data connector in moodle using DML so that it will be compatible with all databases.

      https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP

      • Add tables to install.xml
      • Add tables in upgrade.php
      • Create class extending dataconnection based off mysql
      • Test with basic tool proxy
      • Implement all functions using $DB->execute

        Attachments

          Activity

            People

            • Assignee:
              jpataleta Jun Pataleta
              Reporter:
              johno John Okely
              Peer reviewer:
              John Okely
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: