Provide support for passing "=" in a string
sivudu47 opened this issue · comments
alias yaml
`---
name: "launch_quasar"
action_ref: "quasar.quasar1"
description: "launch a quasar execution"
formats:
- display: " "
representation:- "{{ command }} {{ payload }}"
result:
format: |
{{ execution.result.result }}
`
action yaml
- "{{ command }} {{ payload }}"
name: quasar1
description: Action that takes an input parameter
runner_type: 'python-script'
entry_point: 'quasar1.py'
enabled: true
parameters:
command:
type: string
description: 'Input parameter'
required: true
payload:
type: string
description: 'Input parameter'
required: true
user:
type: "string"
description: "Slack user who triggered the action"
required: false
default: "{{action_context.api_user}}"
Representation used: "{{ command }} {{ payload }}"
Parameter defintion:
payload:
type: string
description: 'Input parameter'
required: true
We have an usecase where we need to pass a string with "=" in it for payload for some reason stackstorm is not allowing me to do that, if i pass such value it is not taking it as a seperate string and causing multiple issues
Issue is not oberved if we are putting ":" instead of "=" and also putting a space after "=" solves the issue
Have tried different things (using jinja template replace option and replaced "=" with "= " but i am getting internal server error.
if i am able to pass the yaml validation, i can have my own validation in action py file but the issue the execution is not even going to the python file.
basically this should be accepted by stackstorm quasar create cluster_name=weekly_nats
![Screenshot 2024-03-04 at 11 35 28 AM](https://private-user-images.githubusercontent.com/41072130/309646561-ae316000-c84a-4493-976e-e2e6f5b38fbc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU5MDM2NjIsIm5iZiI6MTcxNTkwMzM2MiwicGF0aCI6Ii80MTA3MjEzMC8zMDk2NDY1NjEtYWUzMTYwMDAtYzg0YS00NDkzLTk3NmUtZTJlNmY1YjM4ZmJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTE2VDIzNDkyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3MjM4ODJmM2M5ODYyOTkzZDliMTIwNjgyNDFmNWVjNmQ3OTgzZjRiYTllZmNlNGM3MGQ5NGZjMDU5NDBlMzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.G0MUtYsha3JiTBjc0eQlQ5aOE08PLtbjvCMUm9nkhs8)