Skip to content

Automatically set the microgrid API host/port #221

@leandro-lucarella-frequenz

Description

What's needed?

We need the SDK to be able to connect to the microgrid API without SDK users passing them explicitly.

Proposed solution

Load the config from a file. The config file could come from the UI or not depending on if we want to allow this or not. If we don't allow it, we need to have a mechanism to make sure this config file is included when deploying apps.

The user might be able to override this host/port, but it is still undecided. @thomas-nicolai-frequenz mention we should consider the security implications of this before enabling it.

We could also use env variables for this.

Use cases

No response

Alternatives and workarounds

No response

Additional context

This could supersede #40.

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:configAffects the configuration managementpart:microgridAffects the interactions with the microgridtype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions