Changes for page Competent - iTrivio integration
Last modified by Petr Blšťák on 2024/09/18 11:55
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,8 @@ 1 +(% class="box errormessage" %) 2 +((( 3 +This section is currently under construction... please wait until is finished 4 +))) 5 + 1 1 = Software to be installed = 2 2 3 3 //Unless stated otherwise, newer stable versions of the program should work.// ... ... @@ -7,27 +7,44 @@ 7 7 ==== [[Competent 33>>doc:Main.Official manuals.Competent installation manual.WebHome]] ==== 8 8 9 9 10 -= Configuration =15 += Introduction = 11 11 12 - Thisconfigurationdescribes basicscenariowhere17 +//On this page we use the term "Course" for both iTrivio courses and tests.// 13 13 14 -* Both iTrivio and Competent are fresh installations 15 -* Login with default iTrivio and Competent admin accounts were successfully tested 16 -* Competent will be main platform to handle course creation and user management - after integration configuration there will be no need to access iTrivio as an administrator or student except modifying content of course and playing course. 19 +Integration of Competent with iTrivio provides features of both software merged and accessible through the Competent. 17 17 21 +When specific object is created in Competent, it is automatically created also in iTrivio. Competent then contains ID reference to its iTrivio counterpart. 18 18 19 - =Prerequisities=23 +This applies to creation and deletion of 20 20 21 -[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=1]] 25 +* Users 26 +* Courses (in Competent these are Activities with launch type iTrivio) 27 +* User-Course assignments 28 +* User-Course attempts 22 22 23 -* [[Competent>>url:https://wikitest.educasoft.net/bin/view/Dev%20Environment%20Setup/Competent/]] installed and configured 24 -* [[Itrivio>>url:https://wikitest.educasoft.net/bin/view/Dev%20Environment%20Setup/iTrivio/]] installed and configured 30 +iTrivio application is accessible only with specific links in Competent when 25 25 26 -First be sure you can run both Apps separately ofc [[image:https://wikitest.educasoft.net/resources/icons/silk/emoticon_smile.png?cache-version=1585572528000||alt="emoticon_smile"]] Note on which address each of them runs (including ports). Then to link them: 32 +* editing content of Course 33 +* playing Course 34 +* displaying specific User-Course reports 27 27 36 +The generated links to the iTrivio contains a one time auto-login security token which approves the current user's action in the iTrivio thus there is no need to the user to log in into the iTrivio. By default is password of an user in the iTrivio different (random) from his/hers Competent password to prevent direct access to the iTrivio. We recommend to disable iTrivio emailing and to keep iTrivio user's password secret to the user. 37 + 38 +(% class="box warningmessage" %) 39 +((( 40 +**Modifying iTrivio directly (out of Competent platform) can cause synchronization issues, especially when manipulating with Users, Courses, User-Course attempts and assignments.** 41 +))) 42 + 43 +This configuration describes the basic scenario where 44 + 45 +* both iTrivio and Competent are fresh installations 46 +* login with default iTrivio and Competent admin accounts were successfully tested 47 +* Competent will be main platform to handle course creation/deletion, user management and user-course management. 48 + 49 +Contact Educasoft for specific configuration procedure in other more complex scenarios (e.g. Competent is going to use existing iTrivio application already filled with course/user data ) 50 + 28 28 = Competent part = 29 29 30 -[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=2]] 31 31 32 32 in application.properties, or in your own application-yourNameShortcut.properties file set the following propeties: 33 33 ... ... @@ -51,7 +51,7 @@ 51 51 //(ID of folder in iTrivio in which to create new Activites)// 52 52 * **competentItrivioIntegration.auth.userId=2** 53 53 //(ID of user in whose name the authorisation of running the course will be done?)// 54 -* **competentItrivioIntegration.auth.key= Z1zzzQYY91mDNdGWKzoa**76 +* **competentItrivioIntegration.auth.key=** 55 55 //(secret key for JWT token)// 56 56 * **competentItrivioIntegration.auth.environment=demo** 57 57 //(authentication environment, used in JWT token I think)// ... ... @@ -58,7 +58,6 @@ 58 58 59 59 = iTrivio part = 60 60 61 -[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=3]] 62 62 63 63 Run the url [[http:~~/~~/localhost:8080/(companyUrl/)setCompanyConfig.html>>url:http://localhost:8080/setCompanyConfig.html?locale=cs]] of course on the domain your iTrivio runs and with the companyUrl of the comany you are setting this for. 64 64 ... ... @@ -70,7 +70,7 @@ 70 70 * **COMPETENT_INTEGRATION_USERGROUP_ID **//(ID of usergroup in iTrivio in which new users will be created)// 71 71 * **COMPETENT_INTEGRATION_COURSE_TEMPLATE **//(optional - ID of course template in which new courses will be created)// 72 72 73 -//(Save the settings... :-P)//94 +//(Save the settings... )// 74 74 75 75 Now open the file /com.itrivio/src/main/resources/settings.properties and set the two following properties: 76 76 ... ... @@ -79,6 +79,4 @@ 79 79 80 80 = Final setting test = 81 81 82 -[[Edit>>url:https://wikitest.educasoft.net/bin/edit/Dev%20Environment%20Setup/Competent%20%3C-%3E%20Itrivio/WebHome?section=4]] 83 - 84 84 Thats it, you should be good to go. Now run both Apps, DO NOT TOUCH ITRIVIO FROM NOW ON. Go to Competent, create some Activity and in Detail, set the RUN_TYPE (Typ spouštění) to iTrivio, then select in type and hit **Save and Create in iTrivio** button. If it works, you are almost good to go. Now try to Edit the course, add one page and then try to run it. if THAT works, you are all set.