Skip to content
Draft

Ppl #874

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
046f741
initial alertingv2 models
toepkerd-zz Aug 6, 2025
ddd3fd8
dummy rest handler to ping sql/ppl plugin in transport layer
toepkerd-zz Aug 7, 2025
ad41b6b
adding a bunch of models
toepkerd-zz Aug 27, 2025
8a48579
adding a bunch more models
toepkerd-zz Sep 2, 2025
bd99f0b
removing logger from ScheduledJob
toepkerd-zz Sep 2, 2025
6418e2f
defaulting lastUpdateTime to now if it's null
toepkerd-zz Sep 2, 2025
146292b
removing redundant inner scheduled job type field
toepkerd-zz Sep 2, 2025
2acf9e0
adding null handling to trigger parsing
toepkerd-zz Sep 2, 2025
29ae09b
added fields for update monitor in IndexMonitorRequest
toepkerd-zz Sep 3, 2025
95b7e8c
refactored MonitorV2 parse to read outer monitor type field and deleg…
toepkerd-zz Sep 3, 2025
2154cbe
linter issues
toepkerd-zz Sep 4, 2025
14f34a0
adding schemaVersion
toepkerd-zz Sep 4, 2025
0b066ec
linter issues
toepkerd-zz Sep 4, 2025
affa2ac
initial lookback window implementation
toepkerd-zz Sep 4, 2025
5130b30
adding query results to AlertV2
toepkerd-zz Sep 5, 2025
4ee1f6f
initial jar dependency changes
toepkerd-zz Sep 5, 2025
af434ad
including SQL jar dependencies and various cleanups
toepkerd-zz Sep 6, 2025
95acd7c
cleaning up unneeded AlertV2 fields
toepkerd-zz Sep 6, 2025
9202c91
removed redundant trigger type wrapping around trigger object
toepkerd-zz Sep 6, 2025
d836b0a
adding validations for suppress durations
toepkerd-zz Sep 6, 2025
a911dad
removing action execution results from alertV2 and other cleanup
toepkerd-zz Sep 8, 2025
3c3ccef
adding Execute Monitor actions to common utils
toepkerd-zz Sep 8, 2025
15bd211
removing action execution results parsing logic
toepkerd-zz Sep 8, 2025
ef5ecd2
AlertV2 linter issues
toepkerd-zz Sep 8, 2025
2efc115
linter issues
toepkerd-zz Sep 8, 2025
6f9ea57
minor updates
toepkerd-zz Sep 8, 2025
4443472
misc cleanup
toepkerd-zz Sep 8, 2025
5750e70
adding javadocs
toepkerd-zz Sep 10, 2025
5cb2537
deleting models here to put them in alerting core
toepkerd-zz Sep 10, 2025
b847e4c
removing sql dependencies from common utils to move to alerting
toepkerd-zz Sep 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ apply plugin: 'opensearch.java-agent'

configurations {
ktlint {
resolutionStrategy {
force "ch.qos.logback:logback-classic:1.5.16"
force "ch.qos.logback:logback-core:1.5.16"
}
}
resolutionStrategy {
force "ch.qos.logback:logback-classic:1.5.16"
force "ch.qos.logback:logback-core:1.5.16"
}
}
}

dependencies {
Expand Down Expand Up @@ -232,4 +232,4 @@ task updateVersion {
// Include the required files that needs to be updated with new Version
ant.replaceregexp(file:'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags:'g', byline:true)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ fun XContentBuilder.optionalUsernameField(name: String, user: User?): XContentBu
return this.field(name, user.name)
}

fun XContentBuilder.nonOptionalTimeField(name: String, instant: Instant): XContentBuilder {
return this.timeField(name, "${name}_in_millis", instant.toEpochMilli())
}

fun XContentBuilder.optionalTimeField(name: String, instant: Instant?): XContentBuilder {
if (instant == null) {
return nullField(name)
Expand Down
Loading