akamai / cli-property-manager

Use this Property Manager CLI to automate Akamai property changes and deployments across many environments.
Apache License 2.0
29 stars 22 forks source link

validation.unknown_condition_attribute.html #64

Closed roymartinezblanco closed 2 years ago

roymartinezblanco commented 3 years ago

When trying to merge a given configuration (using latest v2020–03–04), schema validation fails due to normalize tag in match criteria as seen below: Step 1: akamai property-manager import -p roymartinez.dev

Step 2: akamai property-manager merge -p roymartinez.dev

    {
        "type": "https://problems.luna.akamaiapis.net/papi/v0/validation/unknown_attribute",
        "errorLocation": {
            "template": "config-snippets/xxxx.json",
            "variables": [],
            "location": "children/5/criteria/0/options/normalize",
            "value": false
        },
        "detail": "[validation.unknown_condition_attribute.html]"
    }

this does not allow commands, merge, activate, etc to work due to what seems to be an out of date schema validation

lkowalsk-akamai-com commented 2 years ago

Closing as there are new rule formats. Please revalidtate and create new issue if problem still occurs.