Skip to content

Use a config to hold apihost #13

@giusdp

Description

@giusdp

The command line tool needs to have a way to access the apihost, ports etc.
to avoid having to pass at each request the entire url.

For example to invoke a function right now the command is fl fn invoke function,
but the host that the client uses is hardcoded to http://localhost:8080 to build the
entire address as http://localhost:8080/namespace/fn/function.

One way to solve this problem is through a config file (openwhisk uses .wskprops),
it could be located at .fn, .fl, .fun, or .funless and be called config (k8s uses .kube/config)

It should at least hold the host and the port to the deployed system to connect to,
and the cli should read the config file to retrieve it

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions