Skip to content

SourceSpec Type default to empty #2223

Closed
apache/camel-k-runtime
#685

Description

@squakez

This is a follow up of this PR comment. As reported in camel-k-runtime, we may experience some issue because the value of SourceSpec type is default to empty in several parts of Camel K. We assume that empty value to be a source type on the runtime.

Should we enforce the SourceType to a value instead? I think it would be cleaner.

cc @lburgazzoli @astefanutti @nicolaferraro

Activity

  1. lburgazzoli commented on Apr 15, 2021

    @lburgazzoli
    Contributor

    can we set the default value on runtime ?

  2. squakez commented on Apr 15, 2021

    @squakez
    ContributorAuthor

    can we set the default value on runtime ?

    I think we can. Does that mean that we assume that a default values is always a source type?

  3. lburgazzoli commented on Apr 15, 2021

    @lburgazzoli
    Contributor

    I'm fine with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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