Skip to content

gluehbirnenkopf/cmdb-server

Repository files navigation

Travis

cmdb-server

The Service reads a given CMDB Repo path via a HTTP Request, handles Authentication and delivers the requested properties as JSON. It also integrates the features for CI, which are shown in the Gradle-Jib Repository

Get API Spec, to be done by HATEOAS in future

http://localhost:8080/api/

Request a File from CMDB

http://localhost:8080/api/getProperties/{gitCmdbBranch}/{filePathInGitRepo}"
# API Request:
http://localhost:8080/api/getProperties/master/cloud/jira.properties

ToDo:

  • Package names to be changed
  • Unit Tests
  • Helm Chart for Deployment
  • Json and Yaml Support, not only Propertie Files
  • make it really RESTful
  • exploration of the CMDB Repo via api
  • Single Property retrieval
  • Write Properties

Run Locally:

./gradlew bootrun

About

RESTful API to consume Configurations from a GitHub Repo. CI/CD by TravisCI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages