Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

proxied runtime properties #134

@dfilppi

Description

@dfilppi

Runtime properties are a bad idea when they are copies of any information that might change over time. This invites consistency problems. I suggest an enhancement to the DSL that allows the definition of runtime properties that are functions rather than simple map values (or some other scheme with the equivalent effect). This could be accomplished either with a dict subclass or a new API. Plugin defined types could define valid runtime properties (as required by TOSCA anyway), and in that definition be able to associate a plugin function or functions (essentially getters and setters).
This feature would be useful both for underlying Cloud providers, and also for "deployment proxy" types of scenarios. For example, rather than copying outputs from a target deployment, the deployment proxy would actually "proxy" the values in lazy fashion from the target deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions