Skip to content

Configuration for App #1

@DavidAmmeraal

Description

@DavidAmmeraal

I think it would be nice if we could add functionality to add a configuration method to the app. Maybe by creating a config node under the /domain/internal/service/lou/apps//config, and then maybe a devel and production config.

There are several reasons why this is needed. Within Marin I need context specific configuration to get the a link to the location where the images are located. Right now I've just created a /domain/marin/config/visualsync node, but outside from the app requesting this configuration, there's no real coupling between these things. When the app is removed, the config will stay there being useless, just polluting the filesystem.

I suppose we could change the config for an application through the dashboard, but maybe also through an API so that we can change the configuration for an app within the app its self, like

app.setConfigurationOption('imageLocation', 'http://images.are.here');

It will set the option in either the devel or production configuration according in what context the application is running.

Maybe we can add a default-config.xml to the app that contains the default configuration for when an app is deployed (also so that the fields show up in the config inside the dashboard).

I don't think this has to be very hard to implement.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions