From version < 21.1 >
edited by Petr Blšťák
on 2020/05/02 00:09
To version < 33.1
edited by Petr Blšťák
on 2024/09/18 11:55
<
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,9 +4,8 @@
4 4  
5 5  ==== [[iTrivio 2.9.017>>doc:Main.Official manuals.iTrivio installation manual.WebHome]] ====
6 6  
7 -==== [[Competent 33>>doc:Main.Official manuals.Competent installation manual.WebHome]] ====
7 +==== [[Competent 622>>doc:Main.Official manuals.Competent installation manual.WebHome]] ====
8 8  
9 -
10 10  = Introduction =
11 11  
12 12  //On this page we use the term "Course" for both: course and test in iTrivio.//
... ... @@ -97,6 +97,11 @@
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  
99 +Beside these ids from database you might need these two optional course ids:
100 +
101 +* **COURSE_TEMPLATE_ID** - a course id that will be used as a template for newly created courses.
102 +* **TEST_TEMPLATE_ID** - a test id for newly created tests
103 +
100 100  = Configuration =
101 101  
102 102  Now you can modify the systems configuration files, use the values written down from databases.
... ... @@ -118,15 +118,23 @@
118 118  #-# itrivio company url context, leave empty if company has no url context
119 119  competentItrivioIntegration.itrivioCompanyUrlContext=<COMPANY_URL>
120 120  
121 -#-# url of iTrivio app (for integration API communication - accessible from Competent server location)
125 +#-# url of iTrivio app (for integration API communication -accessible from browser of users, rather use full eg: https://demo.competent.cz/)
122 122  competentItrivioIntegration.url=http://localhost:8080/
123 123  
124 -#-# url of iTrivio app (for generating user links - accessible from browser of users)
128 +#-# url of iTrivio app (for generating user links - accessible from browser of users, rather use full eg: https://demo.competent.cz/)
125 125  competentItrivioIntegration.linkUrl=http://localhost:8080
126 126  
127 127  #-# integrated iTrivio db company ID
128 128  competentItrivioIntegration.itrivioCompanyId=<COMPANY_ID>
129 129  
134 +#-# iTrivio db course ID, which will be used as a template for new test
135 +# can be null, than the test will be empty
136 +competentItrivioIntegration.itrivioTestTemplateId=<COURSE_TEMPLATE_ID or EMPTY>
137 +
138 +#-# iTrivio db course ID, which will be used as a template for new course
139 +# can be null, than the course will be empty
140 +competentItrivioIntegration.itrivioCourseTemplateId=<TEST_TEMPLATE_ID or EMPTY>
141 +
130 130  #-# -------------- COMPETENT INTEGRATION ------------
131 131  #-# --- From Competent to iTrivio synchronization ---
132 132  
... ... @@ -140,7 +140,7 @@
140 140  competentItrivioIntegration.auth.environment=PROD
141 141  
142 142  #-# need to be same as "jwt.key" property in iTrivio "settings.properties" file
143 -competentItrivioIntegration.auth.key=CHANGE_ME
155 +competentItrivioIntegration.auth.key=SECRET_CODE_CHANGE_IT
144 144  
145 145  #-# -------------- COMPETENT INTEGRATION ------------
146 146  #-# --- From iTrivio to Competent synchronization ---
... ... @@ -172,13 +172,13 @@
172 172  Now open the file "/com.itrivio/src/main/resources/settings.properties" and set the two following properties:
173 173  
174 174  {{code language="properties"}}
175 -# custom environment name, e.g. PROD,DEV,TEST... (must match the competentItrivioIntegration.auth.environment property from Competent)
187 +# custom environment name, e.g. PROD,DEV,TEST...
188 +# (must match the competentItrivioIntegration.auth.environment property from Competent)
176 176  environment.id=PROD
177 177  
178 178  # secret part of you JWT key - used for communication with the Competent system and creating auto-login links
179 -# see also jwt.expiration
180 180  # (must match the competentItrivioIntegration.auth.key property from Competent)
181 -jwt.key=xxxsecret
193 +jwt.key=SECRET_CODE_CHANGE_IT
182 182  {{/code}}
183 183  
184 184  = Final setting test =