f5-appsvcs-extension icon indicating copy to clipboard operation
f5-appsvcs-extension copied to clipboard

Schema docs for Policy_Action_disable and Policy_Action_Persist_disable are missing

Open walterk82 opened this issue 4 years ago • 5 comments

Environment

  • Application Services Version: 3.25
  • BIG-IP Version: 15.1.2

Summary

Per https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/refguide/schema-reference.html?highlight=persistencemethods#policy-action-persist

There is no documentation for schema elements Policy_Action_disable or Policy_Action_Persist_disable also, the actual schema does not seem to contain the values necessary for auto-completion within VS.Code.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
    "class": "Endpoint_Policy",
    "strategy": "first-match",
    "rules": [
		{
            "name": "appx_rule",
            "conditions": [
                {
                    "type": "httpUri",
                    "pathSegment": {"values": ["appx"]},
                    "index": 1,
                    "event": "request"
                }
            ],
            "actions": [
                {
                    "type": "persist",
                    "disable": {},
                    "event": "request"
                },
                {
                    "type": "forward",
                    "select": {"pool": {"use": "appx_pool"}},
                    "event": "request"
                }
            ]
        }
  1. Observe the following error response:

Expected Behavior

Please provide the language construct for the "disable" actions.

Actual Behavior

walterk82 avatar Mar 08 '21 15:03 walterk82

Confirmed that there is an issue with the schema reference. Added to our internal product backlog as AUTOTOOL-2324.

dstokesf5 avatar Mar 10 '21 16:03 dstokesf5

Support case C3507515 filed for this issue as well.

walterk82 avatar Mar 10 '21 16:03 walterk82

Buried in https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/3.19/declarations/all-properties.html

the syntax is simply

"disable": {},

walterk82 avatar Mar 11 '21 11:03 walterk82

I believe the schema here is actually incorrect. I believe it was intended to be a boolean value.

dstokesf5 avatar Mar 11 '21 16:03 dstokesf5

Yes, that would make more sense, but at least I can get this deployed and I have confirmation that it addresses our need.

walterk82 avatar Mar 11 '21 16:03 walterk82

If you are still looking for a fix, please reach out to us at [email protected]

sunitharonan avatar Oct 25 '22 18:10 sunitharonan

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Nov 24 '22 19:11 github-actions[bot]