Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Система контроля версий SimpleOne (Version Control System или VCS) – позволяет отслеживать и сохранять изменения конфигурации экземпляра, выполнять откат (восстановление) на предыдущие версии конфигурации и производить сборку пакетов для переноса (импорта) конфигурации на другие экземпляры SimpleOne.

Все таблицы в SimpleOne классифицируются по назначению и по типу обрабатываемой информации. Полностью классификация приведена в статье Table Classification. В контексте контроля версий имеют значение системные конфигурационные таблицы и конфигурационные таблицы приложений.

Приложения

При установке платформы по умолчанию на экземпляре создается приложение Simple. Приложение Simple предназначено для хранения конфигурации системы. Например, настройки системных таблиц и их колонок, связанные переводы, настройки представлений форм и списков и т.д.

...

The SimpleOne version control system monitors and saves changes in the records that contain information about an instance's configuration, restore the previous configuration versions, and compile packages to transfer the configuration to other SimpleOne instances.

Select the Is VCS enabled checkbox on the table form so that the table can be processed by the version control system.

When deploying the platform on an instance, the Simple application is created by default. The Simple application is mainly used to store system configuration. For example, it stores configuration of system tables and their columns, related translations, form and list view settings, business rules, client scripts and others.

To determine which application a configuration record belongs to, view the value of the

Application (application_id)

...

system column. The value of the column is automatically filled in when a versioned record is created, according to the current user application. The application cannot be changed after the record has been created. The configurations of one application cannot be changed within another.

In addition to the Simple application, one or more "out-of-the-box" business applications can be installed on an instance. When configuring an instance, the developers complete the configuration of the "out-of-the-box" solutions. When selecting an application at the start of development, pay attention to the application of the tables for which you will develop the business logic.

For example, you need to configure business logic for the Incident (itsm_incident) table. This table belongs to the ITSM application, so create business rules in the ITSM application, as you may need to change the "out-of-the-box" configuration of the application.

To create your own application, you need to isolate the developed module of functionality. For example, the module tables are inherited from the "out-of-the-box" tables, but most of the business logic is redefined with the creation of additional configuration.

If you create your own application to configure the "out-of-the-box" application, during the development process, you will have to constantly change the application and collect several local packs in relevant applications. As a result, packages cannot be merged because they are created in different applications. The SSO, LDAP, email accounts should be configured in the Simple application, because you will need to configure system properties for them within the Simple application.

Table of Contents

Кроме приложения Simple, устанавливаемого на экземпляр по умолчанию, на экземпляр могут быть установлены коробочные бизнес приложения. При выполнении настройки экземпляра разработчики дополняют конфигурацию коробочных решений. В начале разработки при выборе приложения пакета необходимо обращать внимание на приложение таблиц, для которых будет разрабатываться бизнес логика. Например, вам необходимо выполнить настройку бизнес-правил для таблицы Инциденты (itsm_incident). Таблица инцидентов поставляется в приложении ITSM, следовательно, создание бизнес правил для нее нужно выполнять в приложении ITSM, т.к. помимо настройки правил может потребоваться изменение коробочной конфигурации приложения ITSM.

Создание собственного приложения должно быть обосновано изолированностью разрабатываемого модуля функциональности. Например, таблицы модуля будут наследоваться от коробочных таблиц, но большая часть бизнес логики будет переопределена через создание дополнительной конфигурации.

...