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
?
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?
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?
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}
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>
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?