GithubHelp home page GithubHelp logo

ibmstocktrader / stock-quote-spring Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 905 KB

Spring implementation of the Stock Quote microservice

License: Apache License 2.0

Dockerfile 2.74% Java 97.26%

stock-quote-spring's Introduction

stock-quote-spring

Spring implementation of the Stock Quote microservice

stock-quote-spring's People

Contributors

jwalcorn avatar sigfrido45 avatar

Watchers

 avatar  avatar

stock-quote-spring's Issues

Support the Kube health probes for startup, readiness and liveness

My operator configures Stock Quote with the following yaml (see https://github.com/IBMStockTrader/stocktrader-operator/blob/master/helm-charts/stocktrader/templates/stock-quote.yaml). Need these three endpoints implemented, so that we can enable the Kube HorizontalPodAutoscaler for this microservice:

        startupProbe:
          httpGet:
            path: /health/started
            port: 9080
          initialDelaySeconds: 60
          periodSeconds: 30
          failureThreshold: 3
        readinessProbe:
          httpGet:
            path: /health/ready
            port: 9080
          periodSeconds: 15
          failureThreshold: 3
        livenessProbe:
          httpGet:
            path: /health/live
            port: 9080
          periodSeconds: 15
          failureThreshold: 3

Next steps stock quote

In order to complete stock-quote microservice we need to:

  1. Upgrade spring-boot version, that comes along with upgrading redisson client libraries
  2. Implement a proper way to manage configuration properties
  3. Implement spring-security for JWT
  4. Implement a proper way to set TTL in redis cache

@jwalcorn feel free to coment or edit if something is missing or incorrect.

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.