Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

Dropwizard bundle and configuration for Infinispan

License

Notifications You must be signed in to change notification settings

alphagov/dropwizard-infinispan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dropwizard-infinispan

Build Status

Dropwizard bundle and configuration for Infinispan.

Using the library

  • Add the dependency to your project: uk.gov.ida:dropwizard-infinispan.
  • Add the bundle to your app: bootstrap.addBundle(new InfinispanBundle()).
  • Configure Infinispan in the application config file:
infinispan:
  type: clustered|insecure|standalone

There are also the following optional configuration values:

infinispan:
  bindAddress: 127.0.0.1
  port: 9090
  initialHosts: host
  clusterName: cluster
  expiration: 30m
  authConfiguration: 
    authValue: x
    keyStorePath: x
    keyStorePassword: x
    keyStoreType: x
    certAlias: x
    cipherType: x
  encryptConfiguration:
    keyStoreName: x
    keyStorePassword: x
    encryptionKeyAlias: x
  persistenceToFileEnabled: true
  persistenceFileLocation: /tmp/cache

Licence

MIT License

Versioning policy

dropwizard-infinispan-[dropwizard version]-[build number]

About

Dropwizard bundle and configuration for Infinispan

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages