Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

--propertiesFile option on scdf shell command "stream update" not actually available. #5783

@herdin

Description

@herdin

Problem description:
Is your feature request related to a problem? Please provide a clear and concise description of what the problem is.

--propertiesFile option on scdf shell command "stream update" not actually available.

dataflow:>help stream update 
NAME
       stream update - Update a previously created stream using Skipper

SYNOPSIS
       stream update [-- String] [--properties String] --propertiesFile File --packageVersion String --repoName String --force boolean --appNames String

OPTIONS
       -- or --name String
       the name of the stream
       [Mandatory]

       --properties String
       Flattened YAML style properties to update the stream
       [Mandatory]

       --propertiesFile File
       the properties for the stream update (as a File)
       [Optional]

$ dataflow:>stream update --name my-stream --propertiesFile ./my-stream.property
Missing option, longnames='properties', shortnames=''

$ dataflow:>stream update --name my-stream --properties "" --propertiesFile ./my-stream.property
You cannot specify both '--properties' and '--propertiesFile'

Solution description:
Describe the solution you would like. We need a clear and concise description of what you want to happen. Also, have you considered cases outside the expected flow (edge cases)? What should happen in those cases?

Change "--properties" and "--propertiesFile" option to be optional and receive one unconditionally.

Description of alternatives:
Describe alternatives you have considered: We need a clear and concise description of any alternative solutions or features you have considered.

N/A

Additional context:
Add any other context or explanation about the feature request here.

N/A

@herdin

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions