Layer7 API Management

  • 1.  7 Layer Policy Manager Edit Working Slow

    Posted Dec 13, 2016 08:35 AM

    Hi everyone,

     

    I Have a big policy with a lot of assertions. This policy is working slow(1-2) to save each change.

     

    I don't know why but this problem ocurs only with this policy. I have others big policy(not too big like that) but the others working well.

     

    Each change that i made in the problematic policy, it's spends something like 30s to "validating policy".

     

    Any suggestion ?

     

    Thanks a lot.

     

    Daniel



  • 2.  Re: 7 Layer Policy Manager Edit Working Slow
    Best Answer

    Broadcom Employee
    Posted Dec 13, 2016 09:46 AM

    Daniel,

     

    The easiest way to resolve this is to disable Policy Validation in the Policy Manager during development.

     

    If you are using the standalone Policy Manager client, it is located under "File" > "Preferences" and then uncheck "Policy Validation Feedback".

     

    If using the web client, you can find it under "Manage" > "Preferences".

     

    This will disable validation. You can always turn it back on whenever you want to validate.

     

    Alternatively, validation time is affected exponentially by the number of decision points in a policy, if there are more than 40-50 decision points, validation may take an exceedingly long time, or appear to hang indefinitely. You can reduce the number of decision points by splitting up policy into different services that call each other as well. Apart from re-writing your policy to reduce the decision points, there aren't any ways to increase validation speed.

     

    Regards,

    Azad



  • 3.  Re: 7 Layer Policy Manager Edit Working Slow

    Posted Dec 13, 2016 11:16 AM

    Thanks so much

     

    De: ellaz01

    Enviada em: terça-feira, 13 de dezembro de 2016 12:46

    Para: Daniel de Souza Blumer - TI <daniel.blumer@leomadeiras.com.br>

    Assunto: Re:  - Re: 7 Layer Policy Manager Edit Working Slow

     

    CA Communities <https://communities.ca.com/?et=watches.email.thread>

     

     

    Re: 7 Layer Policy Manager Edit Working Slow

     

    reply from Azad Ellini<https://communities.ca.com/people/ellaz01?et=watches.email.thread> in CA API Management Community - View the full discussion<https://communities.ca.com/message/241944451?commentID=241944451&et=watches.email.thread#comment-241944451>