Layer7 API Management

Expand all | Collapse all

Evaluate rest operation rather than wsdl operation

Jump to Best Answer
  • 1.  Evaluate rest operation rather than wsdl operation

    Posted 10-15-2018 09:25 AM

    Dear Community,

     

    Is there a custom validator like evaluate rest operation?

     

    For example,

     

    gateway/restapi/method1    -> User A

    gateway/restapi/method2    -> User B

    gateway/restapi/method3    -> User A-B

     

    Should I build my policy logic with 'compare expression' on method names from the request.url?

    Is this feasable?

     

    Kind Regards



  • 2.  Re: Evaluate rest operation rather than wsdl operation
    Best Answer

    Posted 10-15-2018 10:30 AM

    Hi .

     

    I am not exactly sure what your are trying to do , what is the relation with the user ?

     

    if you want to execute 3 different methods depending on the method specified in the request url

    you can build you own policy logic and check which method is in the url and execute the action

    for this method.

     

    Regards

    Dirk



  • 3.  Re: Evaluate rest operation rather than wsdl operation

    Posted 10-17-2018 04:14 AM

    Thanks for the reply Dirk.

    I have built my logic on the api method names coming from ${uri} and usernames from authenticated user.

    Thanks for the direction.