This section explains how to perform the following administrative tasks:
Create a draft by either adding a brand new one or by copying an existing draft/policy.
From the Drafts tab, click on the icon.
Click Duplicate to create a copy of the draft. The name of the new draft will use this syntax:
Click Duplicate to create a draft from the policy. The name of the new draft will use this syntax:
An alternate method of duplicating a draft or policy is to import an XML version of it into an empty draft.
Key information:
Import an exported draft or policy when you need to replicate it on a different platform or a customer account.
Consider duplicating a draft or policy when replicating it within the same platform and customer account.
After importing a draft or policy, perform the following checks:
Errors: Click the Rule Builder tab and check for the following errors:
'Match' match is no longer available
'Feature' feature is no longer available
The above errors typically occur when the match or feature is unsupported due to:
Platform Restrictions: Check whether the match or feature is supported on the desired delivery platform.
From the Drafts tab, click on the icon.
Modify a draft to fine-tune a Rules Engine configuration.
Only a policy may be applied to test or live site traffic. This means that once a draft accurately reflects the desired configuration, it should be converted into a read-only policy.
Use the search bar to filter the drafts listed on the Drafts tab by name. Only drafts whose name contain the specified word or phrase will be displayed. Clear the search bar to view all drafts.
All settings within a draft may be modified. However, only a single rule may be modified at any given time. Likewise, a draft may not be renamed until changes to a rule have been saved or canceled.
To modify a draft
Perform one or more of the following actions:
A new rule may be created by copying an existing rule within the current draft.
Determine whether the new rule will be configured exactly like the original rule by selecting one of the following options:
A rule may not be copied while another one is being modified. Save or cancel rule changes before attempting to copy a rule.
Click Paste rule from clipboard which can be found at the bottom of the draft.
The new rule will be appended to the draft and it will be configured exactly like the original rule.
A rule may not be copied while another one is being modified. Save or cancel rule changes before attempting to copy a rule.
Only a single rule may be modified at any given time.
Rename the rule by simply typing a new description in the edit box that appears directly below the rule's header bar.
Click and then select "Match."
A match condition cannot be nested under the Always match condition. However, a match condition may be added as a sibling to the Always match condition. This type of setup allows an additional set of actions to be applied to requests that satisfy that match condition.
Only a single select first match section may be added per rule.
Simply make the desired changes (e.g., select a different match condition or adjust a setting).
Click on the icon that appears directly to the right of it.
Hovering over the icon will highlight the section or feature that will be deleted.
From the rule's header bar, perform one of the following actions:
A draft will be automatically saved upon moving a rule.
Rules may not be reordered while a rule is being modified. Save or cancel rule changes before attempting to move a rule.
A rule with unsaved changes may not be deleted. Please save or cancel your changes and try again.
Before a draft may be applied to the Production or Staging environment, it must be converted into a read-only policy. Before taking this step, please make sure that the rule(s) defined in the draft accurately reflect(s) how traffic should be handled by the CDN.
A policy may be applied to the Production or Staging environment via a deploy request.
Use the search bar to filter the drafts listed on the Drafts tab by name. Only drafts whose name contain the specified word or phrase will be displayed. Clear the search bar to view all drafts.
The conversion of a draft to a read-only policy is irreversible. However, a draft may be created by duplicating a policy.
Basic validation will be performed upon converting a draft to a policy. A misconfigured rule (e.g., a blank match condition, feature, or setting) will generate an error. Please review and address any issues with the draft.
A draft may be deleted by viewing it and then clicking Delete.
The deletion of a draft is permanent. Once a draft has been deleted, it cannot be recovered.
Use the search bar to filter the drafts listed on the Drafts tab by name. Only drafts whose name contain the specified word or phrase will be displayed. Clear the search bar to view all drafts.