Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Define process links in files #6

Open
8 tasks
brotkrueml opened this issue Jan 16, 2022 · 0 comments
Open
8 tasks

Idea: Define process links in files #6

brotkrueml opened this issue Jan 16, 2022 · 0 comments
Assignees
Labels
breaking Breaking changes in major release documentation Improvements or additions to documentation on hold On hold

Comments

@brotkrueml
Copy link
Contributor

brotkrueml commented Jan 16, 2022

Configuration should not be stored in the database, instead files should be used. This has advantages:

  • Configuration and its history can be versioned via Git.
  • Configuration is deployable.

TYPO3 v12 will probably provide a way to read configuration from files and hydrate value objects accordingly, see discussion:
https://decisions.typo3.org/t/configuration-overhaul-plan/728

Prerequisite: #7

Acceptance criteria:

  • Process links are defined in yaml files.
  • An upgrade wizard to move the configuration from the database into yaml files is available.
  • The backend module displays all available process links readonly.
  • The Process, Processtablefield and Step model are removed.
  • The ProcessRepository and the StepRepository are removed.
  • The field step_uid is removed from the transfer table. Also the logic to use the step_uid as fallback when starting processes is in place.
  • The documentation is adjusted.
  • Add breaking entry to changelog.

The following fields for a process link are available:

  • name (string, unique, required) - corresponds to process name in JobRouter
  • connection identifier (string, required)
  • processtablefields (array, required)
  • steps (array, required)

The following fields for a process table field are available:

  • name (string, required) - corresponds to process table field name in JobRouter
  • type (string, required)
  • field_size (string, optional, defaults to 0)

The following fields for a step are available:

  • identifier (string, required, formerly known as "handle")
  • step number (int, required)
@brotkrueml brotkrueml added documentation Improvements or additions to documentation breaking Breaking changes in major release labels Jan 16, 2022
@brotkrueml brotkrueml added this to the Version 2.0 milestone Jan 16, 2022
@brotkrueml brotkrueml self-assigned this Jan 16, 2022
@brotkrueml brotkrueml removed this from the Version 2.0 milestone Dec 11, 2022
@brotkrueml brotkrueml changed the title Define process links in files Idea: Define process links in files Dec 11, 2022
@brotkrueml brotkrueml added the on hold On hold label Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking changes in major release documentation Improvements or additions to documentation on hold On hold
Projects
None yet
Development

No branches or pull requests

1 participant