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)
-
Objects (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. jvencl1 +XWiki.pblstak - Content
-
... ... @@ -86,7 +86,7 @@ 86 86 1. __Competent__ database, in the table __activity_set__ write down 87 87 1*. **ACTIVITY_FOLDER **(by default 1) = ID of the folder you created for new itrivio courses (find by name in the column "name") 88 88 1. __iTrivio__ database, in the table __company__ write down 89 -1*. **COMPANY_ID **(by default 1) = ID of the company that will be synch ronized with Competent (find by name in the column "name")89 +1*. **COMPANY_ID **(by default 1) = ID of the company that will be synchornized with Competent (find by name in the column "name") 90 90 1*. **COMPANY_URL **(by default empty) = value from the column "urlContext" of the company that will be synchornized with Competent (find by name in the column "name") 91 91 1. __iTrivio__ database, in the table __course__ write down 92 92 1*. **COURSE_FOLDER **(by default 1) = ID of the folder that you created for new courses created from Competent (find by name in the column "name") ... ... @@ -97,8 +97,6 @@ 97 97 1. __iTrivio__ database, in the table __usergroup__ write down 98 98 1*. **USERGROUP **(by default 1) = ID of the usegroup that all your new users will be assigned to 99 99 100 -Beside these ids from database you might need 101 - 102 102 = Configuration = 103 103 104 104 Now you can modify the systems configuration files, use the values written down from databases. ... ... @@ -107,9 +107,9 @@ 107 107 108 108 First we need to manually connect the first two users: 109 109 110 -* Go to the Competent database once more, to the table __user_mt__ and find either the default Competent admin (by login "admin" and typically it will be the user with ID=1) or the other user you created in the Competent preparation step (foreditingyour iTrivio courses).111 -* Find the column external_id and instead of NULL fill in the **<ADMIN_CREATOR>**value.112 -* For now, this user will be the **only one**in your company that will be able to edit the iTrivio courses. Other userswith appropriate rights can only create/delete/run them.108 +* Go to the Competent database once more, to the table __user_mt__ and find either the default Competent admin (by login "admin" and typically it will be the user with ID=1) or the other user you created in the Competent preparation step, to edit your iTrivio courses. 109 +* Find the column external_id and instead of NULL fill in the <ADMIN_CREATOR> value. 110 +* For now, this user will be the only one in your company that will be able to edit the iTrivio courses. Other user with appropriate rights can only create/delete/run them. 113 113 114 114 Now open the **application.properties** file and set the following propeties: 115 115 ... ... @@ -129,14 +129,6 @@ 129 129 #-# integrated iTrivio db company ID 130 130 competentItrivioIntegration.itrivioCompanyId=<COMPANY_ID> 131 131 132 -#-# iTrivio db course ID, which will be used as a template for new test 133 -# can be null, than the test will be empty 134 -competentItrivioIntegration.itrivioTestTemplateId=<COURSE_ID or EMPTY> 135 - 136 -#-# iTrivio db course ID, which will be used as a template for new course 137 -# can be null, than the course will be empty 138 -competentItrivioIntegration.itrivioCourseTemplateId=<TEST_ID or EMPTY> 139 - 140 140 #-# -------------- COMPETENT INTEGRATION ------------ 141 141 #-# --- From Competent to iTrivio synchronization --- 142 142 ... ... @@ -150,7 +150,7 @@ 150 150 competentItrivioIntegration.auth.environment=PROD 151 151 152 152 #-# need to be same as "jwt.key" property in iTrivio "settings.properties" file 153 -competentItrivioIntegration.auth.key= SECRET_CODE_CHANGE_IT143 +competentItrivioIntegration.auth.key=CHANGE_ME 154 154 155 155 #-# -------------- COMPETENT INTEGRATION ------------ 156 156 #-# --- From iTrivio to Competent synchronization --- ... ... @@ -182,13 +182,13 @@ 182 182 Now open the file "/com.itrivio/src/main/resources/settings.properties" and set the two following properties: 183 183 184 184 {{code language="properties"}} 185 -# custom environment name, e.g. PROD,DEV,TEST... 186 -# (must match the competentItrivioIntegration.auth.environment property from Competent) 175 +# custom environment name, e.g. PROD,DEV,TEST... (must match the competentItrivioIntegration.auth.environment property from Competent) 187 187 environment.id=PROD 188 188 189 189 # secret part of you JWT key - used for communication with the Competent system and creating auto-login links 179 +# see also jwt.expiration 190 190 # (must match the competentItrivioIntegration.auth.key property from Competent) 191 -jwt.key= SECRET_CODE_CHANGE_IT181 +jwt.key=xxxsecret 192 192 {{/code}} 193 193 194 194 = Final setting test =
- XWiki.XWikiComments[0]
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.jvencl - Comment
-
... ... @@ -1,1 +1,0 @@ 1 -ACTIVITY_FOLDER should be an id not text - Date
-
... ... @@ -1,1 +1,0 @@ 1 -2020-10-12 12:18:01.0 - Selection
-
... ... @@ -1,1 +1,0 @@ 1 -ACTIVITY_FOLDER (by default 1) = ID of the folder you created for new itrivio courses (find by name in the column "name") - State
-
... ... @@ -1,1 +1,0 @@ 1 -SAFE - Target
-
... ... @@ -1,1 +1,0 @@ 1 -Main.Official manuals.Competent installation manual.Competent - iTrivio integration.WebHome