Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ajinkya
@AjinkyaP
Couldnt configure pipeline as no value is present in environment dropdown
Ajinkya
@AjinkyaP
Small correction, was was asking about product dashboard and not team. Can we use product dashboard with bamboo and without any deployment tool? Also is it pipeline setup mandatory for team dashboard?
deepakbittumaheshwari
@deepakbittumaheshwari
Hello, I am trying to set up GitLab collector. I've set up the core, API, UI, mongo DB and GitLab collector. Everything is up and running locally but still, I am unable to pull developer metrics from my personal GitLab repo. Thoughts?
麦麦麦
@wanggerui
Are there any projects built in Windows
I built the github command
(
java -jar github-scm-collector.jar --spring.config.name=github --spring.config.location=\Hygieia
\collector\hygieia-scm-github-collector\src\main\resources\application.properties
The main method of Springboot does not report any errors when it is started
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
The 2020-11-18 10:19:47, 521 [main] ERROR O.S.B oot. SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHubCollectorTask': Invocation of init method failed; nested exception is
Java. Lang. NullPointerException
The at org. Springframework. Beans. Factory. The annotation. InitDestroyAnnotationBeanPostProcessor. PostProcessBeforeInitialization (InitDestroyAnnotationBeanPostProcess
or.java:137)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. ApplyBeanPostProcessorsBeforeInitialization (AbstractAutowireCapableBeanFact
ory.java:407)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InitializeBean (AbstractAutowireCapableBeanFactory. Java: 1622)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 553)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 481)
Did any setup github collector recently? Running into few issues
Okay?
David Polania
@davidpolaniaac
How can I contribute a new git collector for the organization this would be for Azure DevOps Git. How can I create the repository and publish it. If it is possible to guide me. Thank you
deepakbittumaheshwari
@deepakbittumaheshwari
@EjnarAz - I am also stuck at the same point, did you make any progress on this?
deepakbittumaheshwari
@deepakbittumaheshwari
Hello All-
Can someone please help to create privateKey (gitlab.key) for gitlab collector? Looks like I have setup everything end to end but still not able to pull data on dashboard.
麦麦麦
@wanggerui
@deepakbittumaheshwari You can refer to mine. I have built it successfully
麦麦麦
@wanggerui
Hygieia/hygieia-core What does it do?Is he needed in the project
Anonymous-Sonar
@Anonymous-Sonar
Hi All, Can someone please describe the process of setting up the Hygieia-scm-bitbucket-collector ? Process which i have did: I have installed the collector, deployed it in the hygieia dashboard. In the hygieia dashboard, i can able to view bitbucket dropbox being created but no data is being populated over there when i have tried giving the repository credentials and password. Since ours is a privated hosted in bitbucket cloud, i understand that we need to setup encryption for private repos? How that can be done, can anyone explain in detail with screenshots if possible?
Anonymous-Sonar
@Anonymous-Sonar
@wanggerui @deepakbittumaheshwari If possible can u provide insights on how bitbucket collector and setting up private encryption keys can be done?
sakella1986
@sakella1986
Hi Charts are not loading with old UI
any thoughts?
Shachi Rai
@ShachiRai1
Has any one successfully configured fortify collector for Hygieia ... Can someone please help with some steps as to how to do it
Shachi Rai
@ShachiRai1
@tabladrum I need some pointers on how to setup fortify collector . I have been able to setup Jenkins and Sonarqube. I followed the instructions for foritfy but getting errors
Prabu T
@git-prabhut
With the latest version of Hygieia, I was able to bring up the initial dashboard, MongoDB and API. It is working fine.

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

1 reply
麦麦麦
@wanggerui
My UI can't show the place where sonar is configured, but it doesn't show any data when jIRA is connected, have you ever met this situation?
emma-qi-qi
@emma-qi-qi
image.png
What's the meaning of item "ideator" on Repo widget?
And what's the meaning of number on Deploy widget?
Can anyone help on this?
image.png
Prabu T
@git-prabhut
Looks like with the recent GitHub and Jenkins, Hygieia collectors are not working.
emma-qi-qi
@emma-qi-qi
I wonder what is the meaning for the number here, while not why it is zero.
prudhvireddy123
@prudhvireddy123

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" : {} }

prudhvireddy123
@prudhvireddy123
Screenshot 2020-12-29 at 6.37.14 AM.png
findByName is returning wrong item, It suppose to be null. Can anyone please help me.
Rong Zheng
@rzheng7
Happy New Year to everyone!! Currently, the 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?
1 reply
Shishir Chaturvedi
@shishirchaturvedi
@rzheng7 and I are looking into auto-creation of the Hygieia dashboards. We have found few things missing in the remote creation process as shared earlier here in the channel. Would be really helpful to us, if you can share your experience around auto-creating Hygieia dashboards and any suggestions to make it functional. Our idea is to create a simple script that will ingest configuration from the project onboarding tool and supply it to Hygieia APIs.
abhilashkom
@abhilashkom
hi every one, I installed white source collector, from logs I can confirm it is able to connect to white source. in hygieia not able to display results.
Ragha Vema
@rvema
Are you seeing projects and products collected from the logs?
vemganti
@vemganti
Hi Every one , I have installed the helm connector and it's inserting the data into mongo DB . Can you some one help me to setup the dash board Helm ?
thill-ca
@thill-ca
Hi, I have a question about the JIRA collector. It appears that it is not inserting anything into the collector_items collector. This makes it so that it's impossible to add any JIRA widgets, as the Team and Project dropdowns are always empty. I saw someone else had this issue way back in October. Is anyone having success with the JIRA collector right now?
Ejaye
@EjnarAz
hello everyone! can someone help. Our Hygieia is currently setup and is already working but a last month I did not notice but there was an error with our API. When checking on hygieia-poc/api/ping it keeps on getting 504 gateway timeout and when checking the cloudwatch logs it only spams 2021-01-22 02:37:13,438 [http-nio-8080-exec-665] INFO c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=0, endPoint=/api/ping, reqMethod=GET, status=200, clientIp=10.79.116.108 is there a way to find out what is causing the timeout?
Ejaye
@EjnarAz
upon checking on what endpoint/s are getting 504 it was api/authenticationProviders and api/appInfo and upon checking the builder properties I am using the default values on the authentication which is:
#Authentication Settings
auth.expirationTime=${AUTH_EXPIRATION_TIME:-60000000}
auth.authenticationProviders=${AUTH_AUTHENTICATION_PROVIDERS:-STANDARD}
dsanimm
@dsanimm
Getting this issue in Udeploy Collector
Error creating bean with name 'metadataRepository'. Invocation of init method failed; nested exception is org.springframework.dao.DataIntegrityViolationException: Cannot create index for '' in collection 'metadata' with keys '
Seen this issue in some other collectors which was fixed from your side in other collectors. Maybe it needs changes here also.
Pachantoms
@Pachantoms
Does "hygieia-codequality-sonar-collector" work for "https://sonarcloud.io" ? We are using SonarCloud instead of SonarQube
Pachantoms
@Pachantoms
Hi All, Please let me if anybody has successfully configured Sonar Cloud either using "hygieia-codequality-sonar-collector" or using Hygieia Jenkins Plugins.
1 reply
Pachantoms
@Pachantoms
Hi All, Getting bellow error when tried "hygieia-codequality-sonar-collector" with username/password as well as api-key. Manual I am logging in to sonar Cloud account using the GitHub account which has a multifactor authentication . Bellow is the error I am getting
2021-02-15 13:13:32,388 [main] INFO o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): 8182 (http) 2021-02-15 13:13:32,395 [main] INFO com.capitalone.dashboard.Application - Started Application in 10.609 seconds (JVM running for 11.642) 2021-02-15 13:15:00,000 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Getting Collector: Sonar 2021-02-15 13:15:00,002 [taskScheduler-1] INFO org.mongodb.driver.connection - Closed connection [connectionId{localValue:2, serverValue:231}] to localhost:27017 because it is past its maximum allowed idle time. 2021-02-15 13:15:00,058 [taskScheduler-1] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:6, serverValue:236}] to localhost:27017 2021-02-15 13:15:00,100 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Starting Collector=Sonar 2021-02-15 13:15:00,128 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - ----------------------------------- 2021-02-15 13:15:00,128 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - https://sonarcloud.io 2021-02-15 13:15:00,128 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - ----------------------------------- 2021-02-15 13:15:01,328 [taskScheduler-1] INFO c.c.dashboard.client.RestClient - makeRestCall op=GET url=https://sonarcloud.io/api/components/search?qualifiers=TRK&ps=500 status=400 duration=401 2021-02-15 13:15:01,328 [taskScheduler-1] ERROR c.c.d.collector.DefaultSonar6Client - org.springframework.web.client.HttpClientErrorException: 400 2021-02-15 13:15:01,328 [taskScheduler-1] INFO c.c.d.collector.SonarCollectorTask - addNewProjects projectsInSonar=0 existingProjects=0 new=0 updated=0 timeUsed=0 2021-02-15 13:15:01,346 [taskScheduler-1] INFO c.c.d.collector.SonarCollectorTask - refreshData updated, total=0, updated=0, disabled=0, timeTaken=1613394901346 2021-02-15 13:15:01,442 [taskScheduler-1] INFO c.c.dashboard.client.RestClient - makeRestCall op=GET url=https://sonarcloud.io/api/qualityprofiles/search status=400 duration=96 2021-02-15 13:15:01,442 [taskScheduler-1] ERROR c.c.d.collector.DefaultSonar6Client - org.springframework.web.client.HttpClientErrorException: 400 2021-02-15 13:15:01,442 [taskScheduler-1] ERROR c.c.d.collector.SonarCollectorTask - org.springframework.web.client.HttpClientErrorException: 400 2021-02-15 13:15:01,443 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Finished 1s 2021-02-15 13:15:01,444 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Finished running Collector=Sonar timeTaken=1344 collectorItems=0 Please find the config file attached bellow #Database Name spring.data.mongodb.database=dashboard spring.data.mongodb.host=localhost spring.data.mongodb.port=27017 spring.data.mongodb.username= spring.data.mongodb.password= sonar.cron=0 0/5 \* \* \* * sonar.servers[0]=https://sonarcloud.io sonar.metrics=ncloc,line_coverage,violations,critical_violations,major_violations,blocker_violations,sqale_index,sonar.utest_success_density,test_failures,test_errors,tests sonar.username=<api Key/username> sonar.password=<Blank/password>
John McEntire
@johnmcentire

Trying to follow the instructions to "Build Docker Image" found at ... https://hygieia.github.io/Hygieia/builddocker.html. The first step is to fork and clone /Hygieia then run "mvn clean install" in the project directory. Afterwords you're supposed to edit the docker-compose.override.yml ... the example I have starts with ...
version: '3'
services:

api-audit:

# environment:

ui:

# environment:

... what properties are supposed to got in these sections?

Shamim Ahmed
@alm_guru_twitter
Hi, how do we establish correlation/mapping between data in the different widgets/collections. for example: for specific features, how do I tie to builds, deploys, quality etc.
erictice
@erictice
Hygieia Jira feature collector 404 error in latest version of UI appears to be failing because api is either deprecated or not available in some implementations. jira/rest/teams-api/1.0/team . It is hard coded into the application code. I am haven't been able to find a replacement for it as yet
Github GraphQL SCM collector appears to not be pulling in data from the repo. It is recognixed as an active widget but when I try to use a public or private repo from github it will not pull data and the repo is not added to the component database. Build and Code Quality add with no issues. Any insight here would be helpful
Kevin Estupiñan
@kevin.estupinan_gitlab

Following steps in Hygieia Executive documentation (https://hygieia.github.io/ExecDashboard/Introduction.html), it wasn't possible to get data from Hygieia documentation (https://hygieia.github.io/Hygieia/getting_started.html). When I display HygieiaExecutive view, I get UI without any portfolio or member, It doesn't matter that I create a collection "cmdb" with both records suggested by @Sbrenthughes.

My Hygieia Engineer View is up (UI, API, differents collectors are ON).
My Hygieia Exec View is up (UI, API, differents collectors are ON).
My MongoDB is UP with both DBs (HygEng and HygExec)

Here this is config in every component, by the way, I'm replicating it locally

1) MongoDB:

HygieiaEng DB (dashboarddb)

cmdb => Business Service and Business Application

{
    "_id" : ObjectId("604657e8995806a836c5aec5"),
    "timestamp" : 0,
    "configurationItem" : "HygieiaApplication",
    "configurationItemSubType" : "ciSubType",
    "configurationItemType" : "ciType",
    "configurationItemBusAppName" : "BAPFORASV",
    "configurationItemBusServName" : "ASVMYPRODUCT",
    "assignmentGroup" : "",
    "appServiceOwner" : "John Doe",
    "businessOwner" : "John Doe",
    "supportOwner" : "Jane Doe",
    "developmentOwner" : "Jane Doe",
    "ownerDept" : "Department",
    "commonName" : "hygieia",
    "itemType" : "app",
    "validConfigItem" : true,
    "environments" : null,
    "components" : [
        "HygieiaComponent"
    ]
}
{
    "_id" : ObjectId("604657f2995806a836c5aec6"),
    "timestamp" : 0,
    "configurationItem" : "HygieiaComponent",
    "configurationItemSubType" : "ciSubType",
    "configurationItemBusAppName" : "BAPFORASV",
    "configurationItemBusServName" : "ASVMYPRODUCT",
    "configurationItemType" : "ciType",
    "assignmentGroup" : "",
    "appServiceOwner" : "",
    "businessOwner" : "",
    "developmentOwner" : "",
    "ownerDept" : "Department",
    "ownerSubDept" : "",
    "commonName" : "componentHygieia",
    "itemType" : "component",
    "validConfigItem" : true
}

2) Hygieia Engineer View - application.properties

API:

dbname=dashboarddb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=localhost
dbport=27017
dbreplicaset=false
server.port=8080
server.contextPath=/api
logRequest=false
logSplunkRequest=false
corsEnabled=false
version.number=0.0.1
pageSize=10

hygieia-build-jenkins-collector:

auth.expirationTime=1200000
dbname=dashboarddb
dbhost=localhost
dbport=27017
dbreplicaset=false
dbusername=dashboarduser
dbpassword=dbpassword
jenkins.cron=0/5 * * * * *
jenkins.pageSize=1000
jenkins.folderDepth=10
jenkins.servers[0]=http://localhost:9595
jenkins.servers[1]=http://jenkins.usernames[0]:jenkins.apiKeys[0]@localhost:9595
jenkins.usernames[0]=**********
jenkins.apiKeys[0]=***********
jenkins.saveLog=true
jenkins.searchFields[0]= uaty
jenkins.searchFields[1]= dev
jenkins.connectTimeout=20000
jenkins.readTimeout=20000
server.port=8085

hygieia-scm-gitlab-collector:

dbname=dashboarddb
dbhost=localhost
dbport=27017
dbreplicaset=false
dbusername=dashboarduser
dbpassword=dbpassword
logging.file=./logs/gitlab.log
gitlab.cron=0 */1 * * * *
gitlab.host=gitlab.com
gitlab.protocol=http
gitlab.selfSignedCertificate=false
gitlab.apiToken=****************
gitlab.commitThresholdDays=15
gitlab.key=******************

3) Hygieia Exec View - application.properties

exec-api:

dbname=analyticsdb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=localhost
dbport=27017
dbreplicaset=false
server.port=8090
server.contextPath=/api
logRequest=false
logSplunkRequest=false
corsEnabled=false
version.number=0.0.1
pageSize=10

exec-analysis:

# MongoDB Details

dbname=analyticsdb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=localhost
dbport=27017

logging.file=./logs/gitlab.log

portfolio.cron=0 */5 * * * *
portfolio.readUriUserName=dashboarduser
portfolio.readUriPassword=dbpassword
portfolio.readUriDatabase=localhost:27017
portfolio.readUriPrefix=mongodb
portfolio.readDatabase=dashboarddb

portfolio.codeAnalysisCollectorFlag=true
portfolio.scmCollectorFlag=true
portfolio.incidentsCollectorFlag=true
portfolio.libraryPolicyCollectorFlag=true
portfolio.staticCodeAnalysisCollectorFlag=true
portfolio.unitTestCoverageCollectorFlag=true
portfolio.auditResultCollectorFlag=true
portfolio.securityCollectorFlag=true
portfolio.performanceCollectorFlag=true
server.port=8081

exec-ui:
a) proxy.config.json

{
  "/api" : {
    "target": "http://localhost:8090/api",
    "changeOrigin": true,
    "secure": false,
    "logLevel": "debug",
    "pathRewrite": {"^/api": "http://localhost:8090/api"}
  }
}

b) environment.local.ts

export const environment = {
  production: false,
  apiUrl: 'http://localhost:8090/api'
};

c) environment.ts

export const environment = {
  production: false,
  apiUrl: 'http://localhost:8090/api'
};

Snapshot:
<img src="https://user-images.githubusercontent.com/8757490/46508408-434e0600-c7f2-11e8-906b-0e7a8dbffd96.png" alt="hygieiaexec" />

Any other requirement is needed in order to solve issue please ask to me.

Kevin Estupiñan
@kevin.estupinan_gitlab
Digging about my issue, I found when I run exec-analysis artifact (talking about Hygieia Execute Dashboard 3.0), logs display the following message:
com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='dashboarduser', source='admin', password=<hidden>, mechanismProperties={}} at com.mongodb.connection.SaslAuthenticator.wrapInMongoSecurityException(SaslAuthenticator.java:157) ~[mongo-java-driver-3.4.3.jar!/:na]
That log is weird to me because I didn't set a value as source=admin in my mongodb and I just remember that I set credentials as admin in my Hygieia 2.0. I am a little bit lost with this issue and I'll appreciate if someone could give me some suggestions.
JayitaBag472
@JayitaBag472
I am trying the hygieia-jenkins plugin... in node stage preparation example github is given... how to pass Bitbucket or localpath
example :stage('Preparation') { // for display purposes
    git 'https://github.com/jglick/simple-maven-project-with-tests.git'


    // ** NOTE: This 'M3' Maven tool must be configured
    // **       in the global configuration.
    mvnHome = tool 'M3'
}