Skip to content

Conversation

@gtenev
Copy link
Contributor

@gtenev gtenev commented Sep 17, 2019

Allow multiple target types to be specified for --key-type so the
operator can apply the same modifications to both cache key and parent
selection url at the same time without chaining cachekey plugin
instances.

Instead of:

    @plugin=cachekey.so \
        @pparam=--key-type=parent_selection_url \
        @pparam=--remove-all-params=true
    @plugin=cachekey.so \
        @pparam=--key-type=cache_key \
        @pparam=--remove-all-params=true

to write:

    @plugin=cachekey.so \
        @pparam=--key-type=parent_selection_url,cache_key \
        @pparam=--remove-all-params=true

Allow multiple target types to be specified for `--key-type` so the
operator can apply the same modifications to both cache key and parent
selection url at the same time without chaining cachekey plugin
instances.

Instead of:

    @plugin=cachekey.so \
        @pparam=--key-type=parent_selection_url \
        @pparam=--remove-all-params=true
    @plugin=cachekey.so \
        @pparam=--key-type=cache_key \
        @pparam=--remove-all-params=true

to write:

    @plugin=cachekey.so \
        @pparam=--key-type=parent_selection_url,cache_key \
        @pparam=--remove-all-params=true
@gtenev gtenev added this to the 10.0.0 milestone Sep 17, 2019
@gtenev gtenev requested a review from ezelkow1 September 17, 2019 18:33
@gtenev gtenev self-assigned this Sep 17, 2019
@gtenev gtenev requested a review from mlibbey September 17, 2019 18:34
@bryancall bryancall merged commit db8cd14 into apache:master Oct 17, 2019
@zwoop
Copy link
Contributor

zwoop commented Oct 17, 2019

Cherry-picked to v9.0.x branch.

@bryancall
Copy link
Contributor

bryancall commented Oct 17, 2019

@gtenev If you want to put this into 8.0.x please create another PR with a cherry-pick -x.

@zwoop zwoop modified the milestones: 10.0.0, 9.0.0 Oct 17, 2019
@zwoop zwoop modified the milestones: 9.0.0, 8.1.0 Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants