hygieia / hygieia-feature-gitlab-collector Goto Github PK
View Code? Open in Web Editor NEWHygieia feature collector for Gitlab
License: Apache License 2.0
Hygieia feature collector for Gitlab
License: Apache License 2.0
Facing issues with mongodb index already exists when run this hygieia-feature-gitlab-collector API, below the error.
Caused by: com.mongodb.MongoCommandException: Command failed with error 85: 'Index with name: unique_mdata_key_type already exists with different options' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "Index with name: unique_mdata_key_type already exists with different options", "code" : 85, "codeName" : "IndexOptionsConflict" }
Could you please check this issue.
Checked out latest master branch and tested.
here goes my application.properties
dbname=dashboarddb
# Database HostName - default is localhost
dbhost=localhost
# Database Port - default is 27017
dbport=27017
# MongoDB replicaset
dbreplicaset=[false if you are not using MongoDB replicaset]
dbhostport=[host1:port1,host2:port2,host3:port3]
# Database Username - default is blank
dbusername=dashboarduser
# Database Password - default is blank
dbpassword=dbpassword
# Logging File location
logging.file=./logs/gitlabFeature.log
#Collector schedule (required)
gitlab.cron=0 * * * * *
#Gitlab host (optional, defaults to 'gitlab.com')
gitlab.host=gitlab.com
#Gitlab protocol (optional, defaults to 'http')
gitlab.protocol=https
#Gitlab port (optional, defaults to protocol default port)
gitlab.port=443
#Gitlab path (optional, if your instance of Gitlab requires a path)
#gitlab.path=/api
#Gitlab API Token (required, collector will have permission of user associated to the token)
#If token is from admin account, will be able to view all teams, and can collect all issues
#If token is from standard user, will show only teams that user is a part of, and can only collect issues that user could view
#It is recommended to create a Gitlab account for the collector, using its Access Token, and adding that user to the teams you want to see issues for
gitlab.apiToken=### removed here ###
#Gitlab selfSignedCertificate (optional, defaults to false, set to true if your instance of gitlab is running on https without a trusted certificate
gitlab.selfSignedCertificate=false
#Gitlab API Version (optional, defaults to current version of 4)
gitlab.apiVersion=4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.