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

Property Input Validation #174

Open
zoevas opened this issue Mar 18, 2022 · 1 comment
Open

Property Input Validation #174

zoevas opened this issue Mar 18, 2022 · 1 comment
Assignees
Labels

Comments

@zoevas
Copy link
Collaborator

zoevas commented Mar 18, 2022

When you assign an input to a property and the input name is not present in the aadm an error is thrown.

The format of the errors are like the following. For example a ssh-ky-name was assigned to the key_name/get_input property.

{
    "errors": [
        {
            "type": "PropertyInput",
            "info": {
                "context": "node_templates/snow-vm/properties/key_name/get_input",
                "name": "key_name",
                "description": "The ssh-ky-name is not present in the model"
            }
        },
        {
            "type": "PropertyInput",
            "info": {
                "context": "node_templates/snow-vm/properties/image/get_input",
                "name": "image",
                "description": "The imae-name is not present in the model"
            }
        },
        {
            "type": "PropertyInput",
            "info": {
                "context": "node_templates/snow-vm/properties/network/get_input",
                "name": "network",
                "description": "The opensack-network-name is not present in the model"
            }
        },
        {
            "type": "PropertyInput",
            "info": {
                "context": "node_templates/snow-daily-median-aggregator/properties/env/get_input",
                "name": "env",
                "description": "The medin-env is not present in the model"
            }
        }
    ]
}
@zoevas zoevas added the M36 label Mar 18, 2022
@zoevas zoevas self-assigned this Mar 18, 2022
@zoevas
Copy link
Collaborator Author

zoevas commented Mar 18, 2022

Ready to be tested on CERTH server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant