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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pblstak
1 +XWiki.jvencl
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 synchornized with Competent (find by name in the column "name")
89 +1*. **COMPANY_ID **(by default 1) = ID of the company that will be synchronized 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,6 +97,8 @@
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 +
100 100  = Configuration =
101 101  
102 102  Now you can modify the systems configuration files, use the values written down from databases.
... ... @@ -105,9 +105,9 @@
105 105  
106 106  First we need to manually connect the first two users:
107 107  
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.
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 (for editing your 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 users with appropriate rights can only create/delete/run them.
111 111  
112 112  Now open the **application.properties** file and set the following propeties:
113 113  
... ... @@ -127,6 +127,14 @@
127 127  #-# integrated iTrivio db company ID
128 128  competentItrivioIntegration.itrivioCompanyId=<COMPANY_ID>
129 129  
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 +
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
153 +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)
185 +# custom environment name, e.g. PROD,DEV,TEST...
186 +# (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
191 +jwt.key=SECRET_CODE_CHANGE_IT
182 182  {{/code}}
183 183  
184 184  = Final setting test =
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.jvencl
Comment
... ... @@ -1,0 +1,1 @@
1 +ACTIVITY_FOLDER should be an id not text
Date
... ... @@ -1,0 +1,1 @@
1 +2020-10-12 12:18:01.0
Selection
... ... @@ -1,0 +1,1 @@
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,0 +1,1 @@
1 +SAFE
Target
... ... @@ -1,0 +1,1 @@
1 +Main.Official manuals.Competent installation manual.Competent - iTrivio integration.WebHome