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

[management] Selection of Plans by condition   #2220

Closed
aelamrani opened this issue May 11, 2019 · 0 comments

Comments

@aelamrani
Copy link
Member

commented May 11, 2019

As API Publisher I want to select a plan based on the contextual data (requests, tokens, attributes, ...).

Currently, if an API has several plans of the same type (JWT, OAuth), only the first one in the list is chosen for processing the incoming request.

The purpose of this feature is to choose the right map based on the contextual data.

Example:

  • The API has two JWT / OAuth 2.0 plans: public (reach5), private (gravitee-am)
  • The Publisher API will have the ability to add plan selection criteria:
    public => {# context.request.token. (kid | iss) == reach5}
    private => {# context.request.token. (kid | iss) == gravitee-am}

@aelamrani aelamrani added this to the APIM - 1.27.0 milestone May 11, 2019

brasseld added a commit to gravitee-io/gravitee-repository that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-repository-test that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-repository-mongodb that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-management-webui that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-repository-redis that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-repository-jdbc that referenced this issue May 29, 2019

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue Jun 4, 2019

brasseld added a commit to gravitee-io/gravitee-management-webui that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-management-webui that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-test that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-mongodb that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-mongodb that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-gateway that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-management-webui that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-management-webui that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-redis that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-redis that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-jdbc that referenced this issue Jun 4, 2019

tcompiegne added a commit to gravitee-io/gravitee-repository-jdbc that referenced this issue Jun 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.