File tree 8 files changed +602
-77
lines changed
8 files changed +602
-77
lines changed Original file line number Diff line number Diff line change @@ -489,6 +489,7 @@ apply from: 'librenms/librenms.gradle'
489
489
apply from : ' prtg/prtg.gradle'
490
490
apply from : ' bmcFootPrintsV12/bmcFootPrintsV12.gradle'
491
491
apply from : ' bmcFootPrintsV11/bmcFootPrintsV11.gradle'
492
+ apply from : ' cherwell/cherwell.gradle'
492
493
493
494
494
495
task packageIntegrations (dependsOn : [
@@ -519,7 +520,8 @@ task packageIntegrations(dependsOn: [
519
520
' packageLibreNMS' ,
520
521
' packagePrtg' ,
521
522
' packageBMCFootPrintsV12' ,
522
- ' packageBMCFootPrintsV11'
523
+ ' packageBMCFootPrintsV11' ,
524
+ ' packageCherwell'
523
525
])
524
526
525
527
task packageAll (dependsOn : [' packageIntegrations' , ' packageLamp' ])
Original file line number Diff line number Diff line change
1
+ configurations {
2
+ cherwell
3
+ }
4
+ task prepareCherwell (dependsOn : ' generateIntegration' ) << {
5
+ def destination = " ${ project.buildDir} /cherwell"
6
+ copy {
7
+ from " ${ project.buildDir} /opsgenie-integration"
8
+ into " ${ destination} /OpsGenie/CherwellIntegration/opsgenie-integration"
9
+ }
10
+
11
+ copy {
12
+ from " ${ project.projectDir} /cherwell/marid"
13
+ into " ${ destination} /OpsGenie/CherwellIntegration/opsgenie-integration/marid"
14
+ }
15
+ copy {
16
+ from " ${ project.projectDir} /cherwell/cherwell"
17
+ into " ${ destination} /OpsGenie/CherwellIntegration/"
18
+ }
19
+
20
+ mergeConfFile(" ${ project.buildDir} /opsgenie-integration/conf/opsgenie-integration.conf" ,
21
+ " ${ project.projectDir} /cherwell/common/conf/opsgenie-integration.conf.part" ,
22
+ " ${ destination} /OpsGenie/CherwellIntegration/opsgenie-integration/conf/opsgenie-integration.conf" )
23
+ }
24
+
25
+ task packageCherwellZip (dependsOn : ' prepareCherwell' , type : Zip ) {
26
+ from " ${ project.buildDir} /cherwell"
27
+ baseName = ' opsgenie-cherwell'
28
+ version = project. ext. versions. getProperty(' cherwell' ) + project. ext. versionSuffix
29
+ }
30
+
31
+ task packageCherwellOS (dependsOn : [' generateIntegrationForNative' , ' prepareCherwell' ]) << {
32
+ copyNativeFiles(' cherwell' )
33
+ }
34
+
35
+ task packageCherwell (dependsOn : [' packageCherwellZip' , ' packageCherwellOS' ])
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ ####################################### CHERWELL CONFIGURATION #######################################
2
+ cherwell.apiUrl=
3
+ cherwell.username=
4
+ cherwell.password=
5
+ cherwell.clientId=
6
+
7
+ ######################################## CHERWELL INTEGRATION - ALERT ACTION CONFIGURATION ######################
8
+ mappedActions.addJournal.script=cherwellActionExecutor.groovy
9
+ mappedActions.createIncident.script=cherwellActionExecutor.groovy
10
+ mappedActions.resolveIncident.script=cherwellActionExecutor.groovy
11
+ mappedActions.inProgressIncident.script=cherwellActionExecutor.groovy
12
+ ##############################################################################################################
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ bmcfootprintsv12zip.url=https://s3-us-west-2.amazonaws.com/opsgeniedownloads/rep
69
69
bmcfootprintsv11rpm.url =https://s3-us-west-2.amazonaws.com/opsgeniedownloads/repo/opsgenie-bmcFootPrints-v11-[[bmcFootPrintsV11]]-1.all.noarch.rpm
70
70
bmcfootprintsv11deb.url =https://s3-us-west-2.amazonaws.com/opsgeniedownloads/repo/opsgenie-bmcFootPrints-v11_[[bmcFootPrintsV11]]_all.deb
71
71
bmcfootprintsv11zip.url =https://s3-us-west-2.amazonaws.com/opsgeniedownloads/repo/opsgenie-bmcFootPrints-v11-[[bmcFootPrintsV11]].zip
72
+ cherwellzip.url =https://s3-us-west-2.amazonaws.com/opsgeniedownloads/repo/opsgenie-cherwell-[[cherwell]].zip
72
73
73
74
graylog.url =https://github.com/opsgenie/opsgenie-graylog-plugin/releases
74
75
androidapp.url =https://s3-us-west-2.amazonaws.com/opsgeniedownloads/mobile/OpsGenieAndroid-2.1.16.apk
Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ def getMaridBasedPackageNames() {
51
51
" librenms" ,
52
52
" prtg" ,
53
53
" bmcFootPrintsV12" ,
54
- " bmcFootPrintsV11"
54
+ " bmcFootPrintsV11" ,
55
+ " cherwell"
55
56
]
56
57
}
57
58
@@ -89,6 +90,7 @@ def generateDownloadsProperties() {
89
90
.replace(' [[opsview]]' , project. ext. versions. getProperty(' opsview' ))
90
91
.replace(' [[bmcFootPrintsV12]]' , project. ext. versions. getProperty(' bmcFootPrintsV12' ))
91
92
.replace(' [[bmcFootPrintsV11]]' , project. ext. versions. getProperty(' bmcFootPrintsV11' ))
93
+ .replace(' [[cherwell]]' , project. ext. versions. getProperty(' cherwell' ))
92
94
}
93
95
into " ${ buildDir} /distributions"
94
96
rename " downloads.template.properties" , " downloads.properties"
Original file line number Diff line number Diff line change @@ -29,3 +29,4 @@ icinga2=2.15.0
29
29
netcool =2.17.0
30
30
bmcRemedy =1.2.0
31
31
zendesk =3.5.1
32
+ cherwell =1.0.0
You can’t perform that action at this time.
0 commit comments