Giter Site home page Giter Site logo

insurance-toolchain's Introduction

Cloud Insurance Co. - Toolchain

This toolchain deploys the Cloud Insurance Co. project.

Get started with this project, which is an online insurance application that consists of microservices:

  • insurance-bot - UI that provides a chat bot interface for users to query their health benefits and file claims.
  • insurance-bot-dashboard - A user interface showing an history of the bot chats for further analysis.

Create the toolchain

  1. Ensure you have 2GB of free memory and space for the Continuous Delivery and 4 additional services in your organization:
  1. It is recommended to create a new space in your organization. This helps grouping the apps and services together in the console.

  2. To Deploy, click this button:

    Deploy to IBM Cloud

    Clicking it will:

    • Instantiate the toolchain in your IBM Cloud org and space. Provide an unique name for the toolchain and select an appropriate region and org.
    • Create 2 GitHub repositories with the required source code for all the application components. You may be asked to provide permissions to create repos on your GitHub account.
    • Trigger the toolchain, thereby deploying the selected branches (default to master) for all application components.

    Note: If the deploy stage fails with the error, The account already has an instance created with the Lite plan, configure the stage's environment variables ASSISTANT_PLAN=standard or CLOUDANT_PLAN=standard based on the failed service. You can then re-run the deploy stage (you do not need to re-create the toolchain).

  3. Once deployed, click on the bot(master) tile under Deliver > Deploy stage, check LAST EXECUTION RESULT to see the webui link for the bot.

  4. You can check and modify your toolchain anytime under DevOps on IBM Cloud. Choose an appropriate region and Org.

The toolchain is preconfigured for:

  • issue tracking
  • source control
  • continuous delivery and integration (CI/CD)
  • unit and code coverage testing
  • blue-green deployment

Cleanup

If you want to remove the resources associated to the Cloud Insurance Co. project, follow these steps to clean up toolchain, services and GitHub repositories.

  1. Go to the IBM Cloud dashboard for toolchains, select the region and organization in which you deployed the toolchain. Locate the toolchain and in its action menu click on Delete. The toolchain and its components are going to be removed.
  2. Next, delete the deployed apps and their services. In the IBM Cloud dashboard locate the two deployed Cloud Foundry apps. You can select the organization, space and location (region). In addition, you can utilize the search filter.
  • Click on the action menu for the UI (bot) app and select Delete App. In the dialog window, mark both the shown services and route for deletion. Thereafter, click on Delete.
  • Repeat the same for the dashboard app.
  • Last, locate the related Cloudant service under Cloud Foundry Services. In the action menu, click on Delete Service and complete the dialog.
  1. To remove the GitHub repositories for the bot and bot dashboard, you need to log in to your GitHub account.
  • Go to your profile, e.g., by selecting it in the top right menu. Then, go to the repositories overview. The URI has this form: https://github.com/username?tab=repositories
  • Locate the bot and later the dashboard repository. For each, click on Settings. At the bottom, in the so-called Danger Zone, is an option to delete the repository. After clicking on Delete this repository you are asked to confirm by typing or copying in the reopsitory name. Then complete the dialog.

Once done, all resources that were created during the toolchain-based deployment are cleaned up. The only exception is the Continuous Delivery service. It is a shared service. If it is not used by any other project, you can find and delete it in the IBM Cloud dashboard. See step two.

Learn more

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.