Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix PipelineElementTemplateVisitor SecretStaticProperty value #2842

Merged
merged 1 commit into from
May 10, 2024

Conversation

yanfeng1992
Copy link
Contributor

@yanfeng1992 yanfeng1992 commented May 9, 2024

Purpose

When the adapter uses templates, the Secret Static Property value should be encrypted

Now after importing the template, it becomes an object

{ "@class" : "org.apache.streampipes.model.staticproperty.SecretStaticProperty", "valueRequired" : false, "staticPropertyType" : "SecretStaticProperty", "index" : 1, "label" : "Password", "description" : "The password for the InfluxDB Server", "internalName" : "db_password", "predefined" : false, "value" : "{encrypted=false, value=test}", "encrypted" : true }

image

Remarks

PR introduces (a) breaking change(s): <yes/no>
no
PR introduces (a) deprecation(s): <yes/no>
no

@github-actions github-actions bot added java Pull requests that update Java code backend Everything that is related to the StreamPipes backend labels May 9, 2024
@yanfeng1992 yanfeng1992 marked this pull request as draft May 9, 2024 08:24
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
@yanfeng1992 yanfeng1992 marked this pull request as ready for review May 9, 2024 10:16
@bossenti bossenti added this to the 0.97.0 milestone May 10, 2024
@dominikriemer dominikriemer modified the milestones: 0.97.0, 0.95.0 May 10, 2024
@bossenti bossenti added the bug Something isn't working label May 10, 2024
@bossenti bossenti merged commit 9f4e2ca into apache:dev May 10, 2024
21 checks passed
bossenti pushed a commit that referenced this pull request May 10, 2024
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything that is related to the StreamPipes backend bug Something isn't working java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants