Layer7 API Management

  • 1.  Policy - increment 1 hour to localtime

    Posted May 15, 2015 07:52 AM

    Hi

     

    I have SOA gateway installed and I need , in our policy, to add an element with the localtime plus 1 hour (expiration field).

    Does anyone knows how can I do this?

    Thanks in advance

     

    Best regards



  • 2.  Re: Policy - increment 1 hour to localtime
    Best Answer

    Posted May 18, 2015 04:34 AM

    Hello

     

    You should be able to use the offset suffix, for example:-

     

    ${gateway.time.+01:00} will add 1 hour to the local time.  See Policy Manager help system, search for 'Context Variables' for further details.  Please let me know if this has answered your question or if you need further details.

     

    Regards

    Christopher Clark

    CA Support