Giter Site home page Giter Site logo

technology-discovery's Introduction

Technology Risk and Compliance

Registering Microservices and their dependencies in LeanIX

This project provides a demonstration on how to register Microservices in LeanIX, including their dependencies as Software Bill of Materials (SBOMS). The primary focus is to showcase the usage of a manifest file (YAML file) within a CI/CD environment and the LeanIX APIs to facilitate the registration process.

Key Features

  • Manifest File: A YAML file that contains all the necessary data to successfully register the microservice and generate the corresponding LeanIX Microservice fact sheet.
  • CI/CD Integration: The ability to use the manifest file within a CI/CD environment, enabling developers to perform the required actions through familiar environments.
  • LeanIX APIs: The APIs can be used independently, allowing developers to manually perform the registration if desired.

Usage

This section will guide you on how to use the manifest file and LeanIX APIs.

Manifest File

The manifest file (YAML file) contains all the necessary data to register the microservice. Here's a sample structure of the manifest file:

version: 1
services:
  - name: payments-service-v2
    externalId: payments-service-v2
    description: |
      A microservice responsible for payment processing.
      This service handles various payment transactions and is an integral part of our payment ecosystem.

    applications:
      - factSheetId: fa787383-7233-4896-8fad-c1f1bef30dd2

    tags:
      - tagGroupName: Domain
        tagNames: 
          - Payments

      - tagGroupName: Location
        tagNames:
          - AWS-EU1

    resources:
      - type: website
        url: https://myorg.atlassian.net/wiki/spaces/payment
        description: Confluence documentation

    teams:
      - factSheetId: afd1ee0f-095b-4c68-88f6-d3628070ce18

CI/CD Integration

You can integrate the manifest file within your CI/CD pipeline. This allows you to automate the process of registering the microservice and it's dependencies whenever there's a change in your codebase.

technology-discovery's People

Contributors

kostas-petrakis avatar vg-leanix 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.