GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - indigo-dc/cmdb: indigo-cd CMDB service source repository

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
.mvn/wrapper
.mvn/wrapper
 
 
gitbook
gitbook
 
 
indigo-schema-couch
indigo-schema-couch
 
 
src
src
 
 
tools/monitoring-probes
tools/monitoring-probes
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SUMMARY.md
SUMMARY.md
 
 
book.json
book.json
 
 
data-migration.md
data-migration.md
 
 
deployment.md
deployment.md
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

CMDB documentation

Documentation of CMDB service

This work is co-funded by the EOSC-hub project (Horizon 2020) under Grant number 777536.

Deployment

Data migration

=======

CMDB Build Status

Change management database (CMDB) is an REST API for managing information about business entities. It is integrated with indigo iam, thus all requests need to pass Bearer JWT tokent in the authorization header.

Requirements

  • JVM >= 11

Setting up a development instance

  • Install Java by invoking the following:
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java9-installer
  • Navigate to the project's directory
  • Adjust local property overrides in src/main/resources/config/application.properties
  • Run the following to execute a local instance of cmdb:
./mvnw spring-boot:run

Configuring init.d start script

The final jar is init.d script compliant and can be used to manage application deployment. This can be achieved by doing the following steps:

  • copy the jar file to a known location /path/cmdb.jar,
  • create a symlink in the /etc/init.d by executing sudo ln -s /path/cmdb.jar /etc/inid.d/cmdb,
  • make sure that the owner of the jar file is a regular user.

Any properties can be overridden by placing an application.properties file next to the jar file.

Docker

Application can be also packed and started as docker container. To build docker image run following command:

./mvnw package docker:build

As a result indigodatacloud/cmdb will be build. Next, it can be started using following command:

docker run -e CMDB_CRUD_USERNAME=XXX -e CMDB_CRUD_PASSWORD=XXX -p 8080:8080 indigodatacloud/cmdb

Username and password parameters are mandatory, additional parameters which can be passed into started container are as follow:

CMDB_TARGET_URL=http://indigo.cloud.plgrid.pl/cmdb
CMDB_CRUD_TARGET_URL=http://couch.cloud.plgrid.pl/indigo-cmdb-v2
CMDB_CRUD_USERNAME=FIXME
CMDB_CRUD_PASSWORD=FIXME
CMDB_CRUD_ADMIN_GROUP=cmdb-dev-admins
OIDC_USERINFO=https://iam-test.indigo-datacloud.eu/userinfo

About

indigo-cd CMDB service source repository

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

7 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.