GithubHelp home page GithubHelp logo

api-gateway-flush-all-caches's Introduction

Description

Axway API Gateway propose a “Cache” Feature You can cache a value for a later re-use This Java script is used to flush a specific cache or all caches

API Management Version Compatibilty

This artefact was successfully tested for the following versions:

  • 7.5.1

Install

Creation of Cache Flush Policy :

alt text

Usage

Some remarks about the policy :

  • First of all, make sure you selected the “Rhino engine JRE7 and earlier” option
  • To get an instance of the EHcache’s CacheManager, the script has to get first an instance of a cache
  • It uses the “Local maximum messages” (one of the default caches)
  • When used in production, it is safer to use a dedicated cache so that if default caches are removed, the scripts still works
  • The script returns true, if caches have been flushed. False otherwise. Make sure to reflect this as HTTP Status code !

Bug and Caveats

Nothing identified

Contributing

Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

Team

alt text Axway Team

License

Apache License 2.0

api-gateway-flush-all-caches's People

Contributors

fhutin avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cganieux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.