OpTISAM
Introduction
OPTISAM (Optimized tool for inventive Software Asset Management) is a tool for the Software Asset Management Compliance Audit and Optimization Tool. This monorepo contains all the backend services namely:
- account-service
- acqrights-service
- application-service
- auth-service
- dps-service
- equipment-service
- import-service
- license-service
- metric-service
- product-service
- report-service
- simulation-service
Quick start
Download
$ git clone https://gitlab.tech.orange/optisam/optisam-it/optisam-backend.git
Build
- Change configuration files
Update values of config files ${service}/cmd/server/config-local.toml as per your requirement
- Building docker images for all micro-services
cd ${service-name}/cmd/server
docker build --pull -t optisam/${service-name}-service:latest -f Dockerfile .
docker push optisam/${service-name}-service:latest
Run
- Run using Docker-Compose
you can create and start all the services from your configuration (docker-compose.yml) -
docker-compose -f docker-compose.yml pull
docker-compose -f docker-compose.yml up
FOr GCP cluster deployment Open cloud shell and clone the source code locally
cd ~/optisam-backend export PROJECT_ID=diese-dev-optisam-it go build -o account_service/bin/server account-service/cmd/server/main.go
docker build -t eu.gcr.io/${PROJECT_ID}/optisam/account-service:v1.0.0 -f account-service/Dockerfile . docker push eu.gcr.io/${PROJECT_ID}/optisam/account-service:v1.0.0