GithubHelp home page GithubHelp logo

ads-risk-scoring-gitops's Introduction

Automation Decision Service Risk Scoring demo gitops

This GitOps repository defines the deployment of a simple risk scoring solution which includes

  • A Quarkus app to enter loan value, and is a client of the decision service
  • A ADS decision service to score the loan risk

Pre-requisites

We need to have:

  • OpenShift 4.7+

  • OpenShift GitOps operator deployed or use the command

    oc apply -k https://github.com/ibm-cloud-architecture/eda-gitops-catalog/openshift-gitops-operator/overlays/stable
  • OpenShift Pipelines operator deployed or use the command

    oc apply -k https://github.com/ibm-cloud-architecture/eda-gitops-catalog/openshift-pipelines-operator/overlays/

How this was set up

  • This GitOps repository was created with KAM with a command like
kam bootstrap \
--service-repo-url https://github.com/ibm-cloud-architecture/credit-origination-app \
--gitops-repo-url  https://github.com/ibm-cloud-architecture/ads-risk-scoring-gitops \
--image-repo quay.io/ibm-cloud-architecture/credit-origination-app \
--output ads-risk-scoring-gitops \
--prefix ads-risk-scoring --push-to-git=true \
--git-host-access-token <a-github-token> \
  • Then from the credit-origination-app , we moved the service, deployment and route declaration generated by the Quarkus OpenShift plugin to the environment/ads-risk-scoring-dev/apps/services/credit-origination-app/base/config folder as
├── 100-deployment.yaml
├── 200-service.yaml
├── 300-route.yaml
└── kustomization.yaml

Bootstrap the CI/CD

  • First define the ArgoCD Project named 'risk-scoring'

    oc project  openshift-gitops
    oc apply -f bootstrap/risk-scoring/argo-project.yaml

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.