Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing default integtest.sh (1.1). #178

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
83663a5
Added release notes for OpenSearch 1.0.0.0. (#123) (#124)
adityaj1107 Jul 1, 2021
a9136cb
Add Integtest.sh for OpenSearch integtest setups (#121)
peterzhuamazon Jul 9, 2021
0c4c2fc
Remove default assignee (#127)
lezzago Jul 12, 2021
ff57c54
Removing All Usages of Action Get Method Calls and adding the listene…
adityaj1107 Jul 22, 2021
751aabd
Fix snapshot build and increment to 1.1.0. (#142)
dblock Aug 17, 2021
352d272
Refactor MonitorRunner (#143)
qreshi Aug 20, 2021
764c14a
Update Bucket-Level Alerting RFC (#145)
qreshi Aug 20, 2021
25194d6
Add BucketSelector pipeline aggregation extension (#144)
qreshi Aug 23, 2021
dd8b281
Add AggregationResultBucket (#148)
qreshi Aug 23, 2021
ecd283f
Add ActionExecutionPolicy (#149)
qreshi Aug 24, 2021
e8c474f
Refactor Monitor and Trigger to split into Query-Level and Bucket-Lev…
qreshi Aug 25, 2021
d31f0a1
Update InputService for Bucket-Level Alerting (#152)
qreshi Aug 26, 2021
bf472b2
Update TriggerService for Bucket-Level Alerting (#153)
qreshi Aug 26, 2021
2351783
Update AlertService for Bucket-Level Alerting (#154)
qreshi Aug 26, 2021
95306f0
Add worksheets to help with testing (#151)
qreshi Aug 26, 2021
28f401d
Update MonitorRunner for Bucket-Level Alerting (#155)
qreshi Aug 27, 2021
0eed799
Fix ktlint formatting issues (#156)
qreshi Aug 27, 2021
2d60ede
Execute Actions on runTrigger exceptions for Bucket-Level Monitor (#157)
qreshi Aug 27, 2021
8a1dc1f
Skip execution of Actions on ACKNOWLEDGED Alerts for Bucket-Level Mon…
qreshi Aug 30, 2021
6aa4fdb
Return first page of input results in MonitorRunResult for Bucket-Lev…
qreshi Aug 30, 2021
cc0fb6f
Add setting to limit per alert action executions and don't save Alert…
qreshi Aug 31, 2021
6f7afa9
Fix bug in paginating multiple bucket paths for Bucket-Level Monitor …
qreshi Sep 1, 2021
faac2bd
Various bug fixes pertaining to throttling on PER_ALERT, saving COMPL…
qreshi Sep 1, 2021
8024b8b
Return only monitors for /monitors/_search. (#162)
skkosuri-amzn Sep 1, 2021
d5dbdd6
Resolve default for ActionExecutionPolicy at runtime (#165)
qreshi Sep 1, 2021
ebab4da
Add release notes for 1.1.0.0 release (#166)
qreshi Sep 8, 2021
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: 'bug, untriaged, Beta'
assignees: skkosuri-amzn
assignees:

---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: skkosuri-amzn
assignees:

---

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ jobs:
with:
repository: 'opensearch-project/OpenSearch'
path: OpenSearch
ref: '1.0'
ref: '1.x'
- name: Build OpenSearch
working-directory: ./OpenSearch
run: ./gradlew publishToMavenLocal -Dbuild.snapshot=false
run: ./gradlew publishToMavenLocal
# This step adds dependency, common-utils
- name: Checkout common-utils
uses: actions/checkout@v2
with:
repository: 'opensearch-project/common-utils'
path: common-utils
ref: '1.0'
ref: 'main'
- name: Build common-utils
working-directory: ./common-utils
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.1.0-SNAPSHOT
# This step uses the checkout Github action: https://github.com/actions/checkout
- name: Checkout Branch
uses: actions/checkout@v2
Expand All @@ -52,7 +52,7 @@ jobs:
with:
java-version: 14
- name: Run integration tests with multi node config
run: ./gradlew integTest -PnumNodes=3 -Dopensearch.version=1.0.0 -Dbuild.snapshot=false
run: ./gradlew integTest -PnumNodes=3 -Dopensearch.version=1.1.0-SNAPSHOT
- name: Pull and Run Docker
run: |
plugin=`ls alerting/build/distributions/*.zip`
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@ jobs:
with:
repository: 'opensearch-project/OpenSearch'
path: OpenSearch
ref: '1.0'
ref: '1.x'
- name: Build OpenSearch
working-directory: ./OpenSearch
run: ./gradlew publishToMavenLocal -Dbuild.snapshot=false
run: ./gradlew publishToMavenLocal

# dependencies: common-utils
- name: Checkout common-utils
uses: actions/checkout@v2
with:
repository: 'opensearch-project/common-utils'
path: common-utils
ref: '1.0'
ref: 'main'
- name: Build common-utils
working-directory: ./common-utils
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.1.0-SNAPSHOT

- name: Build and run with Gradle
run: ./gradlew build -Dopensearch.version=1.0.0
run: ./gradlew build -Dopensearch.version=1.1.0-SNAPSHOT

# - name: Create Artifact Path
# run: |
Expand All @@ -71,4 +71,4 @@ jobs:
# path: alerting-artifacts
# Publish to local maven
- name: Publish to Maven Local
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.1.0-SNAPSHOT
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ build/
.DS_Store
*.log
out/
.project
.settings
.vscode
10 changes: 5 additions & 5 deletions alerting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,12 @@ apply plugin: 'jacoco'
def usingRemoteCluster = System.properties.containsKey('tests.rest.cluster') || System.properties.containsKey('tests.cluster')
def usingMultiNode = project.properties.containsKey('numNodes')


ext {
projectSubstitutions = [:]
licenseFile = rootProject.file('LICENSE.txt')
noticeFile = rootProject.file('NOTICE.txt')
}

if (isSnapshot) {
version += "-SNAPSHOT"
}

opensearchplugin {
name 'opensearch-alerting'
description 'Amazon OpenSearch alerting plugin'
Expand Down Expand Up @@ -74,6 +69,10 @@ configurations.all {
}
}

configurations.testCompile {
exclude module: "securemock"
}

dependencies {
compileOnly "org.opensearch.plugin:opensearch-scripting-painless-spi:${versions.opensearch}"

Expand All @@ -87,6 +86,7 @@ dependencies {
implementation "com.github.seancfoley:ipaddress:5.3.3"

testImplementation "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"
testCompile "org.mockito:mockito-core:2.23.0"
}

javadoc.enabled = false // turn off javadoc as it barfs on Kotlin code
Expand Down
Loading