Skip to content

Commit

Permalink
Merge pull request #1534 from tkan145/THREESCALE-6116-conditional-pol…
Browse files Browse the repository at this point in the history
…icy-ui

[THREESCALE-6116] Remove Conditional Policy from the UI
  • Loading branch information
tkan145 authored Feb 16, 2025
2 parents b132033 + 2598cc2 commit 9572bf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 95 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fixed APIcast panic when parsing invalid base64 encoded value [PR #1505](https://github.com/3scale/APIcast/pull/1505) [THEESCALE-11435](https://issues.redhat.com/browse/THREESCALE-11435)
- Remove "$id" from the policy schema [PR #1525](https://github.com/3scale/APIcast/pull/1525) [THEESCALE-11610](https://issues.redhat.com/browse/THREESCALE-11610)
- Fixed Financial-grade API (FAPI) policy not showing up in the admin portal [PR #1528](https://github.com/3scale/APIcast/pull/1528) [THREESCALE-11620](https://issues.redhat.com/browse/THREESCALE-11620)
- Remove Conditional Policy from the UI [PR #1534](https://github.com/3scale/APIcast/pull/1534) [THREESCALE-6116](https://issues.redhat.com/browse/THREESCALE-6116)

### Added

Expand Down
7 changes: 4 additions & 3 deletions gateway/src/apicast/policy/conditional/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
- [**Conditions**](#conditions)
- [**Example config**](#example-config)

## NOTE
This is policy is not available in the admin portal UI, however, you still be
able to configure it via 3scale [Product CR](https://github.com/3scale/3scale-operator/blob/master/doc/product-reference.md#user-content-policyconfigspec)

## Description

The conditional policy is a bit different from the rest because it contains a
Expand Down Expand Up @@ -87,9 +91,6 @@ the one above plus the value of the `Backend` header:
}
```

To know more about the details of what is exactly supported please check the
[policy config schema](apicast-policy.json).

These are the variables supported in liquid:
* uri
* host
Expand Down
92 changes: 0 additions & 92 deletions gateway/src/apicast/policy/conditional/apicast-policy.json

This file was deleted.

0 comments on commit 9572bf0

Please sign in to comment.