kypo-crp-deployment tagshttps://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags2022-01-19T14:16:28+01:00https://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags/21.12.221.12.2<h1 data-sourcepos="1:1-1:17" dir="auto">
<a id="user-content-version-21122" class="anchor" href="#version-21122" aria-hidden="true"></a>Version 21.12.2</h1>
<p data-sourcepos="2:1-2:16" dir="auto">January 19, 2021</p>
<h1 data-sourcepos="4:1-4:11" dir="auto">
<a id="user-content-changelog" class="anchor" href="#changelog" aria-hidden="true"></a>Changelog</h1>
<p data-sourcepos="6:1-6:23" dir="auto"><strong>ELK Docker Services</strong></p>
<ul data-sourcepos="8:1-10:0" dir="auto">
<li data-sourcepos="8:1-8:97">Updated tag of the Elasticsearch Docker image to <code>7.8.1</code> to avoid CVE-2021-44228 vulnerability.</li>
<li data-sourcepos="9:1-10:0">Updated tag of the Logstash Docker image to <code>7.16.3</code> to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="11:1-11:49" dir="auto"><strong>Other services have not changed since 21.12.1</strong></p>
<h1 data-sourcepos="13:1-13:14" dir="auto">
<a id="user-content-known-issues" class="anchor" href="#known-issues" aria-hidden="true"></a>Known Issues</h1>
<h4 data-sourcepos="14:1-14:41" dir="auto">
<a id="user-content-pool-selection-for-training-instance" class="anchor" href="#pool-selection-for-training-instance" aria-hidden="true"></a>Pool selection for training instance</h4>
<p data-sourcepos="16:1-16:117" dir="auto"><strong>Situation:</strong> Editing of both adaptive and linear training instance with assigned pool causes pool unassign on save.</p>
<p data-sourcepos="18:1-18:13" dir="auto"><strong>Example:</strong></p>
<ol data-sourcepos="19:1-24:0" dir="auto">
<li data-sourcepos="19:1-19:79">Create a new training instance, fill out necessary fields and assign a pool.</li>
<li data-sourcepos="20:1-20:17">Save instance.</li>
<li data-sourcepos="21:1-21:39">Edit any title, start/end time, etc.</li>
<li data-sourcepos="22:1-22:17">Save instance.</li>
<li data-sourcepos="23:1-24:0">Assigned pool is now unassigned.</li>
</ol>
<p data-sourcepos="25:1-25:107" dir="auto"><strong>Solution:</strong> After editing and saving an existing training instance reassign desired pool and save again.</p>
<p data-sourcepos="27:1-27:48" dir="auto">This issue will be resolved in the next release.</p>2022-01-19T14:16:28+01:00Tomáš Sapákhttps://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags/21.12.121.12.1<h1 data-sourcepos="1:1-1:17" dir="auto">
<a id="user-content-version-21121" class="anchor" href="#version-21121" aria-hidden="true"></a>Version 21.12.1</h1>
<p data-sourcepos="2:1-2:17" dir="auto">December 15, 2021</p>
<h1 data-sourcepos="4:1-4:11" dir="auto">
<a id="user-content-changelog" class="anchor" href="#changelog" aria-hidden="true"></a>Changelog</h1>
<p data-sourcepos="5:1-5:26" dir="auto"><strong>User and Group Service</strong></p>
<ul data-sourcepos="6:1-7:0" dir="auto">
<li data-sourcepos="6:1-7:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="8:1-8:20" dir="auto"><strong>Training Service</strong></p>
<ul data-sourcepos="9:1-10:0" dir="auto">
<li data-sourcepos="9:1-10:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="11:1-11:29" dir="auto"><strong>Adaptive Training Service</strong></p>
<ul data-sourcepos="12:1-13:0" dir="auto">
<li data-sourcepos="12:1-13:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="14:1-14:25" dir="auto"><strong>Elasticsearch Service</strong></p>
<ul data-sourcepos="15:1-16:0" dir="auto">
<li data-sourcepos="15:1-16:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="17:1-17:27" dir="auto"><strong>Smart Assistant Service</strong></p>
<ul data-sourcepos="18:1-19:0" dir="auto">
<li data-sourcepos="18:1-19:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="20:1-20:19" dir="auto"><strong>Answers Storage</strong></p>
<ul data-sourcepos="21:1-22:0" dir="auto">
<li data-sourcepos="21:1-22:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="23:1-23:29" dir="auto"><strong>Training Feedback Service</strong></p>
<ul data-sourcepos="24:1-25:0" dir="auto">
<li data-sourcepos="24:1-25:0">Bugfix: Update log4j2 dependency to 2.15.0 to avoid CVE-2021-44228 vulnerability.</li>
</ul>
<p data-sourcepos="26:1-26:48" dir="auto"><strong>Other services have not changed since 21.12.</strong></p>
<h1 data-sourcepos="28:1-28:14" dir="auto">
<a id="user-content-known-issues" class="anchor" href="#known-issues" aria-hidden="true"></a>Known Issues</h1>
<h4 data-sourcepos="29:1-29:41" dir="auto">
<a id="user-content-pool-selection-for-training-instance" class="anchor" href="#pool-selection-for-training-instance" aria-hidden="true"></a>Pool selection for training instance</h4>
<p data-sourcepos="31:1-31:117" dir="auto"><strong>Situation:</strong> Editing of both adaptive and linear training instance with assigned pool causes pool unassign on save.</p>
<p data-sourcepos="33:1-33:13" dir="auto"><strong>Example:</strong></p>
<ol data-sourcepos="34:1-39:0" dir="auto">
<li data-sourcepos="34:1-34:75">Create new training instance, fill out necessary fields and assign pool.</li>
<li data-sourcepos="35:1-35:17">Save instance.</li>
<li data-sourcepos="36:1-36:39">Edit any title, start/end time, etc.</li>
<li data-sourcepos="37:1-37:17">Save instance.</li>
<li data-sourcepos="38:1-39:0">Assigned pool is now unassigned.</li>
</ol>
<p data-sourcepos="40:1-40:107" dir="auto"><strong>Solution:</strong> After editing and saving an existing training instance reassign desired pool and save again.</p>
<p data-sourcepos="42:1-42:44" dir="auto">This issue will be resolved in next release.</p>2022-01-13T14:04:40+01:00Tomáš Sapákhttps://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags/21.1221.12<h1 data-sourcepos="1:1-1:15" dir="auto">
<a id="user-content-version-2112" class="anchor" href="#version-2112" aria-hidden="true"></a>Version 21.12</h1>
<p data-sourcepos="3:1-3:17" dir="auto">December 10, 2021</p>
<h2 data-sourcepos="5:1-5:12" dir="auto">
<a id="user-content-changelog" class="anchor" href="#changelog" aria-hidden="true"></a>Changelog</h2>
<p data-sourcepos="7:1-7:19" dir="auto"><strong>Sandbox Service</strong></p>
<ul data-sourcepos="9:1-19:0" dir="auto">
<li data-sourcepos="9:1-9:47">bugfix: fix PostgreSQL version in Dockerfile,</li>
<li data-sourcepos="10:1-10:33">added state of allocation stage</li>
<li data-sourcepos="11:1-11:28">integration of APG library</li>
<li data-sourcepos="12:1-12:31">added hardware usage of pools</li>
<li data-sourcepos="13:1-13:75">restrict allocation of sandbox beyond HW limitations of OpenStack project</li>
<li data-sourcepos="14:1-14:48">support for JWT token to allow Microsoft login</li>
<li data-sourcepos="15:1-15:63">support for deleting multiple sandboxes with a single request</li>
<li data-sourcepos="16:1-16:70">optimized allocation of sandboxes and simplified topology of sandbox</li>
<li data-sourcepos="17:1-17:37">updated topology visualization data</li>
<li data-sourcepos="18:1-19:0">optimized pool operations</li>
</ul>
<p data-sourcepos="20:1-20:18" dir="auto"><strong>Ansible-runner</strong></p>
<ul data-sourcepos="22:1-24:0" dir="auto">
<li data-sourcepos="22:1-22:36">Integrate experimental APG library</li>
<li data-sourcepos="23:1-24:0">Added option to signalize user cleanup stage</li>
</ul>
<p data-sourcepos="25:1-25:26" dir="auto"><strong>User and Group Service</strong></p>
<ul data-sourcepos="27:1-31:0" dir="auto">
<li data-sourcepos="27:1-27:114">Refactoring: Enhanced the SQL performance by removing the unnecessary entities from DTOs and other improvements.</li>
<li data-sourcepos="28:1-28:46">Support new OIDC provider - Microsoft Azure.</li>
<li data-sourcepos="29:1-31:0">Bugfix: Fix broken endpoints of the microservices loaded during the startup.</li>
</ul>
<p data-sourcepos="32:1-32:20" dir="auto"><strong>Training Service</strong></p>
<ul data-sourcepos="34:1-48:0" dir="auto">
<li data-sourcepos="34:1-34:53">Bugfix: evaluation of the MCQ in assessment levels.</li>
<li data-sourcepos="35:1-35:69">Bugfix: cloning of the training definitions with assessment levels.</li>
<li data-sourcepos="36:1-36:87">Bugfix: computation of the estimated duration when uploading the training definition.</li>
<li data-sourcepos="37:1-37:79">Refactoring: Renaming flag to answer, renaming game level to training level.</li>
<li data-sourcepos="38:1-38:41">Experimental implementation of the APG.</li>
<li data-sourcepos="39:1-39:38">Integration of the command feedback.</li>
<li data-sourcepos="40:1-40:76">Storage of the submissions - save all submitted correct/incorrect answers.</li>
<li data-sourcepos="41:1-41:77">Store information 'last edited by' for a training definition and instance.</li>
<li data-sourcepos="42:1-42:111">Create default levels when a new definition is created - the content of the default levels can be configured.</li>
<li data-sourcepos="43:1-43:48">New endpoint to save multiple levels at once.</li>
<li data-sourcepos="44:1-44:75">Assign/unassign the pool as part of the update training instance request.</li>
<li data-sourcepos="45:1-45:46">Support new OIDC provider - Microsoft Azure.</li>
<li data-sourcepos="46:1-46:53">Audit new field in training events - level order.</li>
<li data-sourcepos="47:1-48:0">New endpoint to get correct answers for specific training runs.</li>
</ul>
<p data-sourcepos="49:1-49:29" dir="auto"><strong>Adaptive Training Service</strong></p>
<ul data-sourcepos="51:1-61:0" dir="auto">
<li data-sourcepos="51:1-51:85">The maximum length of the answer to a question has been changed to 1023 characters.</li>
<li data-sourcepos="52:1-52:95">Store information <code>last edited by</code> and <code>last edited</code> to the training definition and instance.</li>
<li data-sourcepos="53:1-53:47">New endpoint to save multiple phases at once.</li>
<li data-sourcepos="54:1-54:75">Assign/unassign the pool as part of the update training instance request.</li>
<li data-sourcepos="55:1-55:46">Support new OIDC provider - Microsoft Azure.</li>
<li data-sourcepos="56:1-56:53">New endpoint to request data for transition graph.</li>
<li data-sourcepos="57:1-57:113">Set default value of the wrong answers, allowed commands, estimated duration, and incorrect answer limit to 10.</li>
<li data-sourcepos="58:1-58:111">Create default phases when a new definition is created - the content of the default phases can be configured.</li>
<li data-sourcepos="59:1-59:76">Storage of the submissions - save all submitted correct/incorrect answers.</li>
<li data-sourcepos="60:1-61:0">Audit new fields in training events - phase order, task ID, and task order.</li>
</ul>
<p data-sourcepos="62:1-62:27" dir="auto"><strong>Smart Assistant Service</strong></p>
<ul data-sourcepos="64:1-65:0" dir="auto">
<li data-sourcepos="64:1-65:0">Nothing has changed since release 21.12.</li>
</ul>
<p data-sourcepos="66:1-66:25" dir="auto"><strong>Elasticsearch Service</strong></p>
<ul data-sourcepos="68:1-69:0" dir="auto">
<li data-sourcepos="68:1-69:0">Support new OIDC provider - Microsoft Azure.</li>
</ul>
<p data-sourcepos="70:1-70:29" dir="auto"><strong>Training Feedback Service</strong></p>
<ul data-sourcepos="72:1-81:0" dir="auto">
<li data-sourcepos="72:1-72:90">Created DB schema to store training feedback in the form of graphs and command analysis.</li>
<li data-sourcepos="73:1-73:56">Automatic migration of the database schema at startup.</li>
<li data-sourcepos="74:1-74:19">Created REST API.</li>
<li data-sourcepos="75:1-78:66">Bussiness logic of the adaptive training:
<ul data-sourcepos="76:5-78:66">
<li data-sourcepos="76:5-76:76">Create and provide three types of graphs: Reference, Trainee, Summary.</li>
<li data-sourcepos="77:5-77:67">Analyze and store the commands executed during the trainings.</li>
<li data-sourcepos="78:5-78:66">Provide aggregated commands, e.g., by trainee and frequency.</li>
</ul>
</li>
<li data-sourcepos="79:1-79:96">Calling external service to obtain necessary data like events and commands from Elasticsearch.</li>
<li data-sourcepos="80:1-81:0">Integrated exception handling.</li>
</ul>
<p data-sourcepos="82:1-82:19" dir="auto"><strong>Answers Storage</strong></p>
<ul data-sourcepos="84:1-90:0" dir="auto">
<li data-sourcepos="84:1-84:83">Created a simple DB schema to manage variant answers generated for each sandbox.</li>
<li data-sourcepos="85:1-85:56">Automatic migration of the database schema at startup.</li>
<li data-sourcepos="86:1-86:19">Created REST API.</li>
<li data-sourcepos="87:1-87:69">Store unique answers for each sandbox under the specific variable.</li>
<li data-sourcepos="88:1-88:61">Provide answers for the requested sandboxes and variables.</li>
<li data-sourcepos="89:1-90:0">Integrated exception handling.</li>
</ul>
<p data-sourcepos="91:1-91:12" dir="auto"><strong>Frontend</strong></p>
<ul data-sourcepos="93:1-106:0" dir="auto">
<li data-sourcepos="93:1-93:53">Bugfix: added missing theme for markdown component.</li>
<li data-sourcepos="94:1-94:31">New detail pages for agendas.</li>
<li data-sourcepos="95:1-95:40">New adaptive transition visualization.</li>
<li data-sourcepos="96:1-96:58">New command analysis visualization for linear trainings.</li>
<li data-sourcepos="97:1-97:59">Added support for the experimental implementation of APG.</li>
<li data-sourcepos="98:1-98:50">Visualizations are now grouped in the dashboard.</li>
<li data-sourcepos="99:1-99:62">Redesigned and simplified sandbox instances management page.</li>
<li data-sourcepos="100:1-100:36">Redesign of training run controls.</li>
<li data-sourcepos="101:1-101:33">Redesign of the topology graph.</li>
<li data-sourcepos="102:1-102:53">Added preloading of SPICE access to topology graph.</li>
<li data-sourcepos="103:1-103:56">Integration of the Apache Guacamole to topology graph.</li>
<li data-sourcepos="104:1-104:39">Unify saving of training definitions.</li>
<li data-sourcepos="105:1-106:0">Pagination size is now synchronized between all tables.</li>
</ul>
<h2 data-sourcepos="107:1-107:38" dir="auto">
<a id="user-content-upgrading-from-the-previous-version" class="anchor" href="#upgrading-from-the-previous-version" aria-hidden="true"></a>Upgrading from the previous version</h2>
<ul data-sourcepos="109:1-119:92" dir="auto">
<li data-sourcepos="109:1-114:0">
<p data-sourcepos="109:3-109:324">Upgrading Sandbox Service from the previous version will limit manipulation with existing Sandboxes (topology visualization will not work) and Pools (creating sandbox from the existing pool and new features regarding Pools will not work). Therefore, we recommend the following steps before upgrading to the newest version:</p>
<ul data-sourcepos="110:4-114:0">
<li data-sourcepos="110:4-110:42">back up data from existing Sandboxes,</li>
<li data-sourcepos="111:4-111:34">delete all Sandbox and Pools,</li>
<li data-sourcepos="112:4-112:39">remove database of Sandbox Service</li>
<li data-sourcepos="113:4-114:0">remove <code>cird</code> attribute of the router in the topology definition</li>
</ul>
</li>
<li data-sourcepos="115:1-119:92">
<p data-sourcepos="115:3-115:175">Because the database model of the definitions has been changed in <strong>linear training definitions</strong>, previously exported definitions need to be updated before importing them.</p>
<ul data-sourcepos="116:5-119:92">
<li data-sourcepos="116:5-116:95">Rename all ocurrences <code>"level_type" : "GAME_LEVEL"</code> to <code>"level_type" : "TRAINING_LEVEL"</code>.</li>
<li data-sourcepos="117:5-117:38">Rename field <code>flag</code> to <code>answer</code>.</li>
<li data-sourcepos="118:5-118:70">Rename field <code>incorrect_flag_limit</code> to <code>incorrect_answer_limit</code>.</li>
<li data-sourcepos="119:5-119:92">To each training level and <code>"answer_variable_name": null</code> next to the field <code>answer</code>.</li>
</ul>
</li>
</ul>2021-12-10T16:10:59+01:00Tomáš Sapákhttps://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags/21.0621.06<h1 data-sourcepos="1:1-1:15" dir="auto">
<a id="user-content-version-2106" class="anchor" href="#version-2106" aria-hidden="true"></a>Version 21.06</h1>
<p data-sourcepos="3:1-3:13" dir="auto">June 21, 2021</p>
<h2 data-sourcepos="5:1-5:12" dir="auto">
<a id="user-content-changelog" class="anchor" href="#changelog" aria-hidden="true"></a>Changelog</h2>
<p data-sourcepos="7:1-7:19" dir="auto"><strong>Sandbox Service</strong></p>
<ul data-sourcepos="9:1-16:0" dir="auto">
<li data-sourcepos="9:1-9:69">Bugfix: Fixed pool revision is ignored during sandbox provisioning.</li>
<li data-sourcepos="10:1-10:78">New KYPO default Ansible host groups user_accessible_nodes and hidden_hosts.</li>
<li data-sourcepos="11:1-11:71">Support sandbox definition's virtual machine image renaming strategy.</li>
<li data-sourcepos="12:1-12:62">Support sandbox definition's virtual machine flavor mapping.</li>
<li data-sourcepos="13:1-13:49">Prefix OpenStack resources with the stack name.</li>
<li data-sourcepos="14:1-14:81">Renamed expected topology definition filename from sandbox.yml to topology.yml.</li>
<li data-sourcepos="15:1-16:0">Restrict the naming of Ansible groups by the default KYPO Ansible host groups.</li>
</ul>
<p data-sourcepos="17:1-17:20" dir="auto"><strong>Training Service</strong></p>
<ul data-sourcepos="19:1-28:0" dir="auto">
<li data-sourcepos="19:1-19:74">Bugfix: Event LevelCompleted is audited in the last level of type INFO.</li>
<li data-sourcepos="20:1-20:97">Bugfix: Training instance can be exported even when one of the training runs has been archived.</li>
<li data-sourcepos="21:1-21:70">Bugfix: Obtaining data for the overview and progress visualizations.</li>
<li data-sourcepos="22:1-22:58">Bugfix: Fix typo - <code>prerequisities</code> to <code>prerequisites</code>.</li>
<li data-sourcepos="23:1-23:85">Refactoring: Handling of the MicroserviceApiException and CustomWebClientException.</li>
<li data-sourcepos="24:1-24:148">Redesigned database model of assessments. Assessment questions are stored in the database as entities instead of the plain string in JSON format.</li>
<li data-sourcepos="25:1-25:75">New endpoint to return all the commands entered during the training run.</li>
<li data-sourcepos="26:1-26:99">Differentiating the score for the game level and assessment level (game score, assessment score).</li>
<li data-sourcepos="27:1-28:0">Answers to the assessment questions are exported in an aggregated way as part of the archived training instance. ZIP file contains files that summarize the answers to the questions.</li>
</ul>
<p data-sourcepos="29:1-29:29" dir="auto"><strong>Adaptive Training Service</strong></p>
<ul data-sourcepos="31:1-38:0" dir="auto">
<li data-sourcepos="31:1-31:73">Bugfix: Event PhaseCompleted is audited in the last phase of type INFO.</li>
<li data-sourcepos="32:1-32:81">Bugfix: Send correct data to smart assistant service to obtain a suitable task.</li>
<li data-sourcepos="33:1-33:57">Bugfix: Correction of the data for the Sankey diagram.</li>
<li data-sourcepos="34:1-34:101">Bugfix: Moving training phases from one position to another and subsequent correction of matrices.</li>
<li data-sourcepos="35:1-35:85">Refactoring: Handling of the MicroserviceApiException and CustomWebClientException.</li>
<li data-sourcepos="36:1-36:73">Provide Sankey diagram data as part of the archived training instance.</li>
<li data-sourcepos="37:1-38:0">Answers to the questionnaire questions are exported in an aggregated way as part of the archived training instance. ZIP file contains files that summarize the answers to the questions.</li>
</ul>
<p data-sourcepos="39:1-39:27" dir="auto"><strong>Smart Assistant Service</strong></p>
<ul data-sourcepos="41:1-43:0" dir="auto">
<li data-sourcepos="41:1-41:86">Refactoring: Handling of the MicroserviceApiException and CustomWebClientException.</li>
<li data-sourcepos="42:1-43:0">The computation of the suitable task has been changed according to the new model.</li>
</ul>
<p data-sourcepos="44:1-44:25" dir="auto"><strong>Elasticsearch Service</strong></p>
<ul data-sourcepos="46:1-49:0" dir="auto">
<li data-sourcepos="46:1-46:94">Bugfix: Sort aggregated events by level and training runs using training run and timestamp.</li>
<li data-sourcepos="47:1-47:86">Refactoring: Handling of the MicroserviceApiException and CustomWebClientException.</li>
<li data-sourcepos="48:1-49:0">The origin endpoint used to aggregate events by users and levels has been changed to aggregate events by training runs and levels.</li>
</ul>
<p data-sourcepos="50:1-50:12" dir="auto"><strong>Frontend</strong></p>
<ul data-sourcepos="52:1-59:0" dir="auto">
<li data-sourcepos="52:1-52:91">Simplification of the automatic versioning using external csirtmu/common-ci Docker image.</li>
<li data-sourcepos="53:1-53:61">Created detailed player overview in progress visualization.</li>
<li data-sourcepos="54:1-54:85">Created timeline for player actions and entered commands in currently played level.</li>
<li data-sourcepos="55:1-55:63">Added indicator of the deployed version of the KYPO instance.</li>
<li data-sourcepos="56:1-56:109">Refactored timeline, clustering, and table visualization based on new data model in overview visualization.</li>
<li data-sourcepos="57:1-57:40">Created JSON server for test purposes.</li>
<li data-sourcepos="58:1-59:0">Reworked event filtering and fixed progress of player doing multiple runs.</li>
</ul>
<h2 data-sourcepos="60:1-60:38" dir="auto">
<a id="user-content-upgrading-from-the-previous-version" class="anchor" href="#upgrading-from-the-previous-version" aria-hidden="true"></a>Upgrading from the previous version</h2>
<ul data-sourcepos="62:1-72:71" dir="auto">
<li data-sourcepos="62:1-68:0">
<p data-sourcepos="62:3-62:237">Upgrading Sandbox Service from the previous version will limit manipulation with existing Sandboxes and prevent creating Sandboxes from existing Pools. Therefore, we recommend the following steps before upgrading to the newest version.</p>
<ul data-sourcepos="64:5-68:0">
<li data-sourcepos="64:5-64:43">Back up data from existing Sandboxes.</li>
<li data-sourcepos="65:5-65:37">Delete all Sandboxes and Pools.</li>
<li data-sourcepos="66:5-66:103">Rename the topology definition file in your sandbox definitions from sandbox.yml to topology.yml.</li>
<li data-sourcepos="67:5-68:0">Remove the topology definition attribute "Provider".</li>
</ul>
</li>
<li data-sourcepos="69:1-72:71">
<p data-sourcepos="69:3-69:180">The database model of the questions has been changed in <strong>linear training definitions</strong>, so before import, it is necessary to update definitions exported in the previous version.</p>
<ul data-sourcepos="70:5-72:71">
<li data-sourcepos="70:5-70:255">Converts questions from the plain String to the JSON format according to the new model, see <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/blob/master/assets/training-definitions/training.json#L78">demo training definition</a>.</li>
<li data-sourcepos="71:5-71:58">Change the typo <code>prerequisities</code> -> <code>prerequisites</code>.</li>
<li data-sourcepos="72:5-72:71">Remove attribute <code>max_score</code> from the assessment and info levels.</li>
</ul>
</li>
</ul>2021-06-21T16:26:16+02:00Dominik Pilárhttps://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags/21.0421.04<h1 data-sourcepos="1:1-1:15" dir="auto">
<a id="user-content-version-2104" class="anchor" href="#version-2104" aria-hidden="true"></a>Version 21.04</h1>
<p data-sourcepos="3:1-3:14" dir="auto">April 30, 2021</p>
<h2 data-sourcepos="5:1-5:12" dir="auto">
<a id="user-content-changelog" class="anchor" href="#changelog" aria-hidden="true"></a>Changelog</h2>
<p data-sourcepos="7:1-7:22" dir="auto">User and Group Service</p>
<ul data-sourcepos="9:1-11:0" dir="auto">
<li data-sourcepos="9:1-9:93">Simplification of the automatic versioning using external <code>csirtmu/common-ci</code> Docker image.</li>
<li data-sourcepos="10:1-11:0">Usage of the entrypoint script with the <code>wait_for_it</code> function in the Docker image.</li>
</ul>
<p data-sourcepos="12:1-12:15" dir="auto">Sandbox Service</p>
<ul data-sourcepos="14:1-20:0" dir="auto">
<li data-sourcepos="14:1-14:44">Support for Windows machines in a sandbox.</li>
<li data-sourcepos="15:1-15:87">Creating users with access to the sandbox on KYPO Proxy and distribution of its keys.</li>
<li data-sourcepos="16:1-16:81">Unification of management prefix of base_box attributes in topology definition.</li>
<li data-sourcepos="17:1-17:36">Web console type parameterization.</li>
<li data-sourcepos="18:1-18:60">Sandbox deletion process does not wait for stack deletion.</li>
<li data-sourcepos="19:1-20:0">Bugfix: Limited functionality of Git URL parser.</li>
</ul>
<p data-sourcepos="21:1-21:16" dir="auto">Training Service</p>
<ul data-sourcepos="23:1-28:0" dir="auto">
<li data-sourcepos="23:1-23:93">Simplification of the automatic versioning using external <code>csirtmu/common-ci</code> Docker image.</li>
<li data-sourcepos="24:1-24:85">Usage of the entrypoint script with the <code>wait_for_it</code> function in the Docker image.</li>
<li data-sourcepos="25:1-25:50">Created endpoint for the progress visualization.</li>
<li data-sourcepos="26:1-26:52">Created endpoints for the overview visualizations.</li>
<li data-sourcepos="27:1-28:0">Fix typo in source code prerequisities -> prerequisites.</li>
</ul>
<p data-sourcepos="29:1-29:25" dir="auto">Adaptive Training Service</p>
<ul data-sourcepos="31:1-47:0" dir="auto">
<li data-sourcepos="31:1-31:63">Created DB schema to store data related to adaptive training.</li>
<li data-sourcepos="32:1-32:56">Automatic migration of the database schema at startup.</li>
<li data-sourcepos="33:1-33:19">Created REST API.</li>
<li data-sourcepos="34:1-34:40">Authentication using OAuth 2 standard.</li>
<li data-sourcepos="35:1-41:115">Bussiness logic of the adaptive training:
<ul data-sourcepos="36:5-41:115">
<li data-sourcepos="36:5-36:81">Creation of the Training Definitions, including phases, Training Instances.</li>
<li data-sourcepos="37:5-37:59">Creation of the variant tasks in the training phases.</li>
<li data-sourcepos="38:5-38:71">Setting up decision matrices needed to compute the suitable task.</li>
<li data-sourcepos="39:5-39:76">Creation of the relations among the questions and the training phases.</li>
<li data-sourcepos="40:5-40:39">Evaluation of the questionnaires.</li>
<li data-sourcepos="41:5-41:115">Accessing the Training Run and subsequent management - get next phase, get a solution, submit an answer, etc.</li>
</ul>
</li>
<li data-sourcepos="42:1-42:90">Calling external smart assistant service to compute the suitable task for a participant.</li>
<li data-sourcepos="43:1-43:76">Lock/unlock pool when assigning/unassigning to/from the training instance.</li>
<li data-sourcepos="44:1-44:64">Log training events and send them to the remote Syslog server.</li>
<li data-sourcepos="45:1-45:53">Created endpoint to return data for Sankey Diagram.</li>
<li data-sourcepos="46:1-47:0">Integrated exception handling.</li>
</ul>
<p data-sourcepos="48:1-48:23" dir="auto">Smart Assistant Service</p>
<ul data-sourcepos="50:1-56:0" dir="auto">
<li data-sourcepos="50:1-50:79">Created DB schema to store past participants' transitions between the phases.</li>
<li data-sourcepos="51:1-51:56">Automatic migration of the database schema at startup.</li>
<li data-sourcepos="52:1-52:19">Created REST API.</li>
<li data-sourcepos="53:1-53:82">Created web client to obtain training statistics from the elasticsearch service.</li>
<li data-sourcepos="54:1-54:111">Computation of the most suitable task for a participant. Based on the input data and data from elasticsearch.</li>
<li data-sourcepos="55:1-56:0">Integrated exception handling.</li>
</ul>
<p data-sourcepos="57:1-57:21" dir="auto">Elasticsearch Service</p>
<ul data-sourcepos="59:1-63:0" dir="auto">
<li data-sourcepos="59:1-59:93">Simplification of the automatic versioning using external <code>csirtmu/common-ci</code> Docker image.</li>
<li data-sourcepos="60:1-60:85">Usage of the entrypoint script with the <code>wait_for_it</code> function in the Docker image.</li>
<li data-sourcepos="61:1-61:81">Created endpoint to obtain events from platform aggregated by users and levels.</li>
<li data-sourcepos="62:1-63:0">Created endpoint to obtain training statistics for smart assistant service.</li>
</ul>
<p data-sourcepos="64:1-64:8" dir="auto">Frontend</p>
<ul data-sourcepos="66:1-67:34" dir="auto">
<li data-sourcepos="66:1-66:24">Add adaptive training.</li>
<li data-sourcepos="67:1-67:34">Add new progress visualizations.</li>
</ul>2021-04-30T21:06:27+02:00Kamil Andoniadishttps://gitlab.ics.muni.cz/muni-kypo-crp/devops/kypo-crp-deployment/-/tags/21.0321.03<h1 data-sourcepos="1:1-1:15" dir="auto">
<a id="user-content-version-2103" class="anchor" href="#version-2103" aria-hidden="true"></a>Version 21.03</h1>
<p data-sourcepos="2:1-2:14" dir="auto">March 01, 2021</p>
<h1 data-sourcepos="4:1-4:11" dir="auto">
<a id="user-content-changelog" class="anchor" href="#changelog" aria-hidden="true"></a>Changelog</h1>
<p data-sourcepos="6:1-6:22" dir="auto">User and Group Service</p>
<ul data-sourcepos="7:1-13:0" dir="auto">
<li data-sourcepos="7:1-7:21">Removed Swagger UI.</li>
<li data-sourcepos="8:1-8:45">Fixed bug - filtering of the microservices.</li>
<li data-sourcepos="9:1-9:195">Setup CI to push the docker image to the Gitlab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/container_registry/4792">kypo-crp-artifact-repository</a> container registry.</li>
<li data-sourcepos="10:1-10:200">Changed default proprietary repository to the public GitLab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/-/packages">kypo-crp-artifact-repository</a> instead of private Nexus.</li>
<li data-sourcepos="11:1-11:81">Handling of the validations exceptions and InsufficientAuthenticationException.</li>
<li data-sourcepos="12:1-13:0">Configuration of the flyway to migrate DB schema at startup.</li>
</ul>
<p data-sourcepos="14:1-14:15" dir="auto">Sandbox Service</p>
<ul data-sourcepos="15:1-16:0" dir="auto">
<li data-sourcepos="15:1-16:0">Gitlab CI/CD pipeline now uploads Docker images to the Gitlab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/container_registry/4778">kypo-crp-artifact-repository</a> container registry.</li>
</ul>
<p data-sourcepos="17:1-17:16" dir="auto">Training Service</p>
<ul data-sourcepos="18:1-26:0" dir="auto">
<li data-sourcepos="18:1-18:195">Setup CI to push the docker image to the Gitlab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/container_registry/4793">kypo-crp-artifact-repository</a> container registry.</li>
<li data-sourcepos="19:1-19:200">Changed default proprietary repository to the public GitLab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/-/packages">kypo-crp-artifact-repository</a> instead of private Nexus.</li>
<li data-sourcepos="20:1-20:81">Handling of the validations exceptions and InsufficientAuthenticationException.</li>
<li data-sourcepos="21:1-21:21">Removed Swagger UI.</li>
<li data-sourcepos="22:1-22:77">Renamed <code>command_histories</code> folder to <code>logs</code> in exported training instance.</li>
<li data-sourcepos="23:1-23:60">Fixed bug - hint penalty is returned in the HTTP response.</li>
<li data-sourcepos="24:1-24:97">Modification of token generation. The PIN of the access token is generated in the range 0-4999.</li>
<li data-sourcepos="25:1-26:0">Configuration of the flyway to migrate DB schema at startup.</li>
</ul>
<p data-sourcepos="27:1-27:21" dir="auto">Elasticsearch Service</p>
<ul data-sourcepos="28:1-30:0" dir="auto">
<li data-sourcepos="28:1-28:195">Setup CI to push the docker image to the Gitlab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/container_registry/4794">kypo-crp-artifact-repository</a> container registry.</li>
<li data-sourcepos="29:1-30:0">Changed default proprietary repository to the public GitLab <a href="https://gitlab.ics.muni.cz/muni-kypo-crp/kypo-crp-artifact-repository/-/packages">kypo-crp-artifact-repository</a> instead of private Nexus.</li>
</ul>
<p data-sourcepos="31:1-31:8" dir="auto">Frontend</p>
<ul data-sourcepos="32:1-36:40" dir="auto">
<li data-sourcepos="32:1-32:23">Update to Angular 11.</li>
<li data-sourcepos="33:1-33:34">Migration from tslint to eslint.</li>
<li data-sourcepos="34:1-34:168">Replacement of the private proprietary npm registry with the public Gitlab <a href="https://gitlab.ics.muni.cz/groups/muni-kypo-crp/-/packages">kypo-crp-artifact-repository</a>.</li>
<li data-sourcepos="35:1-35:54">Internal packages renamed to scope <code>@muni-kypo-crp</code>.</li>
<li data-sourcepos="36:1-36:40">Added usage of sentinel common/config.</li>
</ul>2021-03-11T21:02:10+01:00Kamil Andoniadis