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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. osteffl1 +XWiki.pblstak - 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,46 @@ 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 +The integration of Competent and iTrivio provides features from both softwares merged together and accessible through the Competent. 17 17 21 +When specific objects are created in Competent, they are automatically created in iTrivio as well. Competent stores the ID references to the iTrivio objects in its database. 18 18 19 - =Prerequisities=23 +This applies to creation 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 (Activities with the specific 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 throught 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 a content of Course 33 +* playing a Course 34 +* displaying specific User-Course reports 27 27 36 +The links to iTrivio contain a one time auto-login security token that approves the current user's action in iTrivio. There is no need for the user to log into iTrivio system manually. 37 + 38 +By default the password of a user in iTrivio is different (random) from his password in Competent to prevent direct access to iTrivio. We recommend to disable iTrivio emailing and to keep iTrivio user's password secret to the user. 39 + 40 +(% class="box warningmessage" %) 41 +((( 42 +**Modifying iTrivio directly (out of Competent platform) can cause synchronization issues, especially when manipulating with Users, Courses, User-Course attempts and assignments.** 43 +))) 44 + 45 +The configuration below describes the basic scenario where 46 + 47 +* both iTrivio and Competent are fresh installations 48 +* login with the default iTrivio and Competent admin accounts were successfully tested 49 +* Competent will be the main platform to handle course creation/deletion, user management and user-course management. 50 + 51 +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). 52 + 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**78 +* **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)//96 +//(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.