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

[THREESCALE-6116] Remove Conditional Policy from the UI #1534

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.