Giter Club home page Giter Club logo

hmcts.sscs-common's Introduction

Sscs-common

This is the common code library for sscs. Currently it contains:

  • CCD domain objects
  • Create, Update and Search for cases in CCD
  • Idam OAuth and service authorization tokens
  • Airlookup service

Build

To build run

./gradlew clean build

This will create a jar file in the projects build libs directory with a version of DEV-SNAPSHOT. If you want to then depend on this without publishing it you can add the following to your build.gradle file in the dependencies section.

compile files('{PROJECT_DIR}/sscs-common/build/libs/sscs-common-0.0.DEV-SNAPSHOT.jar')

Once the changes have been merged into master a new verison of the library will be build on travis and published to bintray with a version number of X.X.{TRAVIS_BUULD_NUMBER}.

Travis build https://travis-ci.org/hmcts/sscs-common

Bintray repo https://dl.bintray.com/hmcts/hmcts-maven/uk/gov/hmcts/reform/sscs-common/

Usage

To use this you will need to have setup the following properties in your application.yaml.

Dependent projects must implement the Spring Annotation @EnableScheduling on the class which is defined as the @SpringBootApplication.

idam:
  s2s-auth:
    totp_secret: ${IDAM.S2S-AUTH.TOTP_SECRET:AAAAAAAAAAAAAAAC}
    microservice: ${IDAM.S2S-AUTH.MICROSERVICE:sscs}
    url: ${IDAM.S2S-AUTH:http://localhost:4502}
  oauth2:
    user:
      email: ${IDAM_SSCS_SYSTEMUPDATE_USER:SSCS_SYSTEM_UPDATE}
      password: ${IDAM_SSCS_SYSTEMUPDATE_PASSWORD:SSCS_SYSTEM_UPDATE}
    client:
      id: ${IDAM_OAUTH2_CLIENT_ID:sscs}
      secret: ${IDAM_OAUTH2_CLIENT_SECRET:QM5RQQ53LZFOSIXJ}
    url: ${IDAM_URL:http://localhost:4501}
    redirectUrl: ${IDAM_SSCS_URL:https://localhost:9000/poc}
core_case_data:
  api:
    url: ${CORE_CASE_DATA_URL:http://localhost:4452}
  caseTypeId: Benefit
  jurisdictionId: SSCS

hmcts.sscs-common's People

Contributors

michaellavelle avatar dependabot-preview[bot] avatar iguannago avatar chrisdavecm avatar srochani avatar ryandac avatar chrisgrimble avatar danhamilton avatar ruban72 avatar jhart-dev avatar rishikrsharma avatar paulvm avatar chris-moreton avatar arcotc avatar dependabot-support avatar sathishbabuj avatar renovate[bot] avatar rasikasri avatar msl8r avatar oleg-hmcts avatar rkondratowicz avatar

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.