Failed to retrieve data, the repo or collector is most likey misconfigured
sorry if this is a stupid question but I am trying to connect to our company's gitlab. It is enterprise edition, private repo and needs VPN this is my property files can someone tell me if I am missing anything?
Tried reading through the docs I might be stupid but for encryption what is the core module
that the documentation is talking about? is it the api? UI? Hygieia-core? Can someone please help?
cat > $PROP_FILE <<EOF
#Database Name
dbname=${HYGIEIA_API_ENV_SPRING_DATA_MONGODB_DATABASE:-dashboarddb}
#Database HostName - default is localhost
dbhost=${MONGODB_HOST:-10.1.1.1}
#Database Port - default is 27017
dbport=${MONGODB_PORT:-27017}
#Database Username - default is blank
dbusername=${HYGIEIA_API_ENV_SPRING_DATA_MONGODB_USERNAME:-dashboarduser}
#Database Password - default is blank
dbpassword=${HYGIEIA_API_ENV_SPRING_DATA_MONGODB_PASSWORD:-dbpassword}
#Collector schedule (required)
gitlab.cron=${GITLAB_CRON:-*/60 * * * * *}
#Gitlab host (optional, defaults to "gitlab.com")
gitlab.host=${GITLAB_HOST:-gitlab.company.com}
#Gitlab protocol (optional, defaults to "http")
gitlab.protocol=${GITLAB_PROTOCOL:-https}
#Gitlab port (optional, defaults to protocol default port)
gitlab.port=${GITLAB_PORT:-443}
#Gitlab path (optional, defaults to no path)
gitlab.path=${GITLAB_PATH:-}
#Gitlab API Token (required, access token can be retrieved through gitlab, collector will have the permissions of the user associated to the token)
gitlab.apiToken=${GITLAB_API_TOKEN:-"generated personal token from gitlab with all the scopes"}
#Maximum number of days to go back in time when fetching commits
gitlab.commitThresholdDays=${GITLAB_COMMIT_THRESHOLD_DAYS:-15}
#Gitlab Instance using self signed certificate
gitlab.selfSignedCertificate=${GITLAB_SELF_SIGNED_CERTIFICATE:-true}
#Gitlab API Version (optional, defaults to current version of 4)
gitlab.apiVersion=${GITLAB_API_VERSION:-4}
EOF
echo "
===========================================
Properties file created `date`: $PROP_FILE
Note: passwords hidden
===========================================
`cat $PROP_FILE |egrep -vi password`
"
exit 0
Did any setup github collector recently? Running into few issues
I am not successful in configuring the following collectors
1) Jenkins Build collector
2) Jenkins Publish collector
3) GitHub SCM Collector (I tried running SCM collector and WEbhook but no luck)
Any help in this regard will be of great help
Hi Everyone, I am trying to run the bitbucket server collector. But Bitbucket collector not running. And started debugging further. It is creating the empty item in the collector collection without name and not reusing this item.
{"_id" : ObjectId("5fea7f92ba935ad0babfa11a"),
"_class" : "com.capitalone.dashboard.model.Collector",
"enabled" : false,
"online" : true,
"errors" : [],
"uniqueFields" : {
"branch" : "",
"url" : ""
},
"allFields" : {
"lastUpdateCommit" : "",
"password" : "",
"lastUpdate" : NumberLong(1609203602801),
"branch" : "",
"userID" : "",
"url" : ""
},
"lastExecuted" : NumberLong(0),
"searchFields" : [
"description"
],
"properties" : {}
}
remoteCreate
can only create an empty dashboard since the activeWidgets
attribute is missing in DashboardMetaData. I'm wondering if there is a workaround, or I need to add the activeWidgets
as a property in the DashboardMetaData
class, and implement the logic in the DashboardRemoteServiceImpl.java
?