From version < 30.1 >
edited by Josef Vencl
on 2020/10/12 12:39
To version < 18.1 >
edited by Petr Blšťák
on 2020/04/30 14:08
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.jvencl
1 +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 synchronized 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,11 +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 these two optional course ids:
101 -
102 -* **COURSE_TEMPLATE_ID** - a course id that will be used as a template for newly created courses.
103 -* **TEST_TEMPLATE_ID** - a test id for newly created tests
104 -
105 105  = Configuration =
106 106  
107 107  Now you can modify the systems configuration files, use the values written down from databases.
... ... @@ -110,9 +110,9 @@
110 110  
111 111  First we need to manually connect the first two users:
112 112  
113 -* 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 (for editing your iTrivio courses).
114 -* Find the column external_id and instead of NULL fill in the **<ADMIN_CREATOR>** value.
115 -* For now, this user will be the **only one** in your company that will be able to edit the iTrivio courses. Other users with 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.
116 116  
117 117  Now open the **application.properties** file and set the following propeties:
118 118  
... ... @@ -132,14 +132,6 @@
132 132  #-# integrated iTrivio db company ID
133 133  competentItrivioIntegration.itrivioCompanyId=<COMPANY_ID>
134 134  
135 -#-# iTrivio db course ID, which will be used as a template for new test
136 -# can be null, than the test will be empty
137 -competentItrivioIntegration.itrivioTestTemplateId=<COURSE_TEMPLATE_ID or EMPTY>
138 -
139 -#-# iTrivio db course ID, which will be used as a template for new course
140 -# can be null, than the course will be empty
141 -competentItrivioIntegration.itrivioCourseTemplateId=<TEST_TEMPLATE_ID or EMPTY>
142 -
143 143  #-# -------------- COMPETENT INTEGRATION ------------
144 144  #-# --- From Competent to iTrivio synchronization ---
145 145  
... ... @@ -153,7 +153,7 @@
153 153  competentItrivioIntegration.auth.environment=PROD
154 154  
155 155  #-# need to be same as "jwt.key" property in iTrivio "settings.properties" file
156 -competentItrivioIntegration.auth.key=SECRET_CODE_CHANGE_IT
143 +competentItrivioIntegration.auth.key=CHANGE_ME
157 157  
158 158  #-# -------------- COMPETENT INTEGRATION ------------
159 159  #-# --- From iTrivio to Competent synchronization ---
... ... @@ -185,13 +185,13 @@
185 185  Now open the file "/com.itrivio/src/main/resources/settings.properties" and set the two following properties:
186 186  
187 187  {{code language="properties"}}
188 -# custom environment name, e.g. PROD,DEV,TEST...
189 -# (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)
190 190  environment.id=PROD
191 191  
192 192  # secret part of you JWT key - used for communication with the Competent system and creating auto-login links
179 +# see also jwt.expiration
193 193  # (must match the competentItrivioIntegration.auth.key property from Competent)
194 -jwt.key=SECRET_CODE_CHANGE_IT
181 +jwt.key=xxxsecret
195 195  {{/code}}
196 196  
197 197  = 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