Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Separate out the configuration part for unittesting in server_config.rb #469

@peetkes

Description

@peetkes

In function build_config the configuration file is created as one big config element.
If might be handy to separate out the different parts in separate function so those separate functions can be override in app_specific.
So create a separate function that only handles unit-test specific replacements, and one specific for the triggers db and so on.
One use-case is when you have a D-node/E-node config where all your data is on the D-nodes and all your http-servers are on the E-nodes and you want to enable the unittest section. You want to override the assignment and forest-data-directory.
These override statements can be done in an override function in the app_specific.rb file

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions