Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.31 KB

README.md

File metadata and controls

53 lines (42 loc) · 1.31 KB

Lettuce Session Store

Exposes SessionStore implementation as a Bean that uses the Lettuce library (Redis) for session state storage.

Gateway Configuration

{
  "store": {
    "class": "com.mx.redis.RedisStore",
    "configurations": {
      "host": "localhost",
      "port": 6379,
      "connectionTimeoutSeconds": 10,
      "computationThreadPoolSize": 5,
      "ioThreadPoolSize": 5
    }
  }
}

Scan dependencies for vulnerabilities

$ ./gradlew dependencyCheckAnalyze

To view the generated report of found vulnerabilities open build/reports/dependency-check-report.html in a browser.

Deploying Locally

To create a local build of the accessor to use in connector services use

$ ./gradlew install

This will create a local build in your local maven repository that you can then reference in other services.

On OXS using gradle the default location for the local maven repository is

~/.m2/repository/com/mx/path/service/accesssor/qolo/

Deploying

  • Merge Pull Request to Master
  • Switch to master branch
  • Update version in build.gradle (the version must be unique)
  • Commit the updated build.gradle
    • git add build.gradle&&git commit -m "Bump version to ?.?.?"
  • Push build.gradle update
    • git push origin master
  • Release it rake release