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

Define connections in files #7

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

Define connections in files #7

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

Acceptance criteria:

  • Connections are defined in yaml files. The following fields are available:
    - identifier (string, unique, required)
    - baseUrl (string, required)
    - username (string, required)
    - password (string, required)
    - enabled (bool, optional, defaults to true)
  • An upgrade wizard to move the configuration from the database into yaml files is available.
  • Configuration values, e.g. the password, can be read from environment variables. This ensures that no sensible data is stored in a file and so in Git.
  • The backend module displays all available connections readonly. A connection check is possible.
  • The identifier (formerly known as "handle") links another configuration (data, process) with a connection.
  • The Connection model and the ConnectionRepository are removed.
  • The Password evaluation class is removed.
  • The documentation is adjusted.
  • Add breaking entry to changelog.
@brotkrueml brotkrueml added documentation Improvements or additions to documentation breaking Breaking changes in major release labels Jan 16, 2022
@brotkrueml brotkrueml self-assigned this Jan 16, 2022
@brotkrueml brotkrueml added this to the Version 2.0 milestone Jan 16, 2022
@brotkrueml brotkrueml removed this from the Version 2.0 milestone 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