Skip to content

Commit

Permalink
[EDP-DDM-33610] Updated task-1-registry-db-modeling.adoc, added table…
Browse files Browse the repository at this point in the history
…sSubjects.xml attachment

Change-Id: I0d343b1303bfb3cf5e17962981340ef78f8a3e73
(cherry picked from commit a881de82e43997c64fe248315b5d369e7dafaadf)
  • Loading branch information
Anton Tuhai committed Feb 5, 2025
1 parent a5d8ed7 commit 3f9c09c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>

<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://artifactory.control-plane-nexus/nexus/repository/extensions/com/epam/digital/data/platform/dbchangelog/4.5/dbchangelog-4.5.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://artifactory.control-plane-nexus/nexus/repository/extensions/com/epam/digital/data/platform/liquibase-ext-schema/latest/liquibase-ext-schema-latest.xsd">

<changeSet author="registry owner" id="enum subject_type">
<comment>CREATE TYPE type_subject_type</comment>
<ext:createType name="type_subject_type">
<ext:asEnum>
<ext:label translation="Фізична особа">INDIVIDUAL</ext:label>
<ext:label translation="ФОП">ENTREPRENEUR</ext:label>
<ext:label translation="Юридична особа">LEGAL</ext:label>
<ext:label translation="Чиновник">OFFICER</ext:label>
</ext:asEnum>
</ext:createType>
</changeSet>

<changeSet author="registry owner" id="enum subject_status">
<comment>CREATE TYPE type_subject_status</comment>
<ext:createType name="type_subject_status">
<ext:asEnum>
<ext:label translation="скасовано">CANCELED</ext:label>
<ext:label translation="зареєстровано">REGISTERED</ext:label>
<ext:label translation="в стані припинення">SUSPENDING</ext:label>
<ext:label translation="припинено">SUSPENDED</ext:label>
<ext:label translation="порушено справу про банкрутство">BANKRUPTCY</ext:label>
<ext:label translation="порушено справу про банкрутство (санація)">SANCTION</ext:label>
<ext:label translation="зареєстровано, свідоцтво про державну реєстрацію недійсне">NOTVALID</ext:label>
</ext:asEnum>
</ext:createType>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -1186,19 +1186,20 @@ TIP: Використовуйте готовий шаблон `link:{attachments
Усього маємо отримати _8 файлів_ для розгортання моделі даних та первинного наповнення БД:
5 файлів із шаблонами XML: ::
** `link:{attachmentsdir}/study-project/task-2/xml-temp/tablesSubjects.xml[tablesSubjects.xml]`
** `link:{attachmentsdir}/study-project/task-2/xml-temp/createTables.xml[createTables.xml]`
** `link:{attachmentsdir}/study-project/task-2/xml-temp/createSearchConditions.xml[createSearchConditions.xml]`
** `link:{attachmentsdir}/study-project/task-2/xml-temp/populateDictionaries.xml[populateDictionaries.xml]`
** `link:{attachmentsdir}/study-project/task-2/xml-temp/main-liquibase.xml[main-liquibase.xml]`
** `tablesSubjects.xml`
3 файли CSV із довідниками для первинного наповнення: ::
** `link:{attachmentsdir}/study-project/task-2/csv-dict/dict_formy_vlasnosti.csv[dict_formy_vlasnosti.csv]`
** `link:{attachmentsdir}/study-project/task-2/csv-dict/dict_status_spivrobitnyka.csv[dict_status_spivrobitnyka.csv]`
** `link:{attachmentsdir}/study-project/task-2/csv-dict/dict_koatuu_workshop.csv[dict_koatuu_workshop.csv]`
====

. Застосуйте зміни до Gerrit відповідно до інструкції xref:registry-admin/regulations-deploy/registry-admin-deploy-regulation.adoc#merge-changes-gerrit[Внесення змін до віддаленого репозиторію в Gerrit].
. Застосуйте зміни до Gerrit відповідно до інструкції xref:registry-develop:registry-admin/regulations-deploy/registry-admin-deploy-regulation.adoc#merge-changes-gerrit[Внесення змін до віддаленого репозиторію в Gerrit].
. Пройдіть процедуру рецензування коду вашого коміту (*Code Review*). У разі відсутності відповідних прав, зверніться до відповідальної особи.
. Дочекайтеся виконання Jenkins-pipeline *MASTER-Build-registry-regulations*.

Expand Down

0 comments on commit 3f9c09c

Please sign in to comment.