-
Notifications
You must be signed in to change notification settings - Fork 190
/
index.js
82 lines (69 loc) · 2.67 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import Dashboard from '../components/dashboard'
// Widgets
import DateTime from '../components/widgets/datetime'
import PageSpeedInsightsScore from '../components/widgets/pagespeed-insights/score'
import PageSpeedInsightsStats from '../components/widgets/pagespeed-insights/stats'
import JiraIssueCount from '../components/widgets/jira/issue-count'
import SonarQube from '../components/widgets/sonarqube'
import JenkinsJobStatus from '../components/widgets/jenkins/job-status'
import JenkinsJobHealth from '../components/widgets/jenkins/job-health'
import JenkinsBuildDuration from '../components/widgets/jenkins/build-duration'
import BitbucketPullRequestCount from '../components/widgets/bitbucket/pull-request-count'
import ElasticsearchHitCount from '../components/widgets/elasticsearch/hit-count'
import GitHubIssueCount from '../components/widgets/github/issue-count'
// Theme
import lightTheme from '../styles/light-theme'
// import darkTheme from '../styles/dark-theme'
export default () => (
<Dashboard theme={lightTheme}>
<DateTime />
<PageSpeedInsightsScore url='https://github.com' />
<PageSpeedInsightsStats url='https://github.com' />
<JiraIssueCount
title='JIRA Open Bugs'
url='https://crossorigin.me/https://jira.atlassian.com'
query='type=Bug AND project="Bitbucket Server" AND resolution=Unresolved ORDER BY priority DESC,created DESC'
/>
<BitbucketPullRequestCount
title='Bitbucket Open PR'
url='https://crossorigin.me/https://bitbucket.typo3.com'
project='EXT'
repository='blog'
/>
<SonarQube
url='https://crossorigin.me/https://sonarcloud.io'
componentKey='com.icegreen:greenmail-parent'
/>
<JenkinsJobStatus
url='https://crossorigin.me/https://builds.apache.org'
jobs={[
{ label: 'JMeter', path: 'JMeter-trunk' },
{ label: 'Log4j Kotlin', path: 'Log4jKotlin', branch: 'master' }
]}
/>
<JenkinsJobHealth
url='https://crossorigin.me/https://builds.apache.org'
jobs={[
{ label: 'JMeter', path: 'JMeter-trunk' },
{ label: 'Log4j Kotlin', path: 'Log4jKotlin', branch: 'master' }
]}
/>
<JenkinsBuildDuration
url='https://crossorigin.me/https://builds.apache.org'
jobs={[
{ label: 'JMeter', path: 'JMeter-trunk' },
{ label: 'Log4j Kotlin', path: 'Log4jKotlin', branch: 'master' }
]}
/>
<ElasticsearchHitCount
title='Log Hits'
url='https://crossorigin.me/http://ec2-34-210-144-223.us-west-2.compute.amazonaws.com:9200'
index='blog'
query='user:dilbert'
/>
<GitHubIssueCount
owner='danielbayerlein'
repository='dashboard'
/>
</Dashboard>
)