Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
bump up to 1.11 ODFE version (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenlan-amzn authored Oct 19, 2020
1 parent 59dd58d commit 76bd1fd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ configurations.all {

dependencies {
compileOnly "org.elasticsearch:elasticsearch:${es_version}"
compileOnly "com.amazon.opendistroforelasticsearch:opendistro-job-scheduler-spi:1.10.1.1"
compileOnly "com.amazon.opendistroforelasticsearch:opendistro-job-scheduler-spi:1.11.0.0"
compile "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
compile "org.jetbrains.kotlin:kotlin-stdlib-common:${kotlin_version}"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7'
compile "org.jetbrains:annotations:13.0"
compile "com.amazon.opendistroforelasticsearch:notification:1.10.1.0"
compile "com.amazon.opendistroforelasticsearch:notification:1.11.0.0"

testCompile "org.elasticsearch.test:framework:${es_version}"
testCompile "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"
Expand All @@ -120,7 +120,7 @@ ext {
}

group = "com.amazon.opendistroforelasticsearch"
version = "${opendistroVersion}.1"
version = "${opendistroVersion}.0"

if (isSnapshot) {
version += "-SNAPSHOT"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# permissions and limitations under the License.
#

version = 1.10.1
version = 1.11.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Version 1.11.0.0 2020-10-19

Compatible with Elasticsearch 7.9.1

### Enhancements

* actionify remove policy API ([#293](https://github.com/opendistro-for-elasticsearch/index-management/pull/293))
* actionify add policy API ([#298](https://github.com/opendistro-for-elasticsearch/index-management/pull/298))
* actionify retry API ([#302](https://github.com/opendistro-for-elasticsearch/index-management/pull/302))
* actionify change policy API ([#303](https://github.com/opendistro-for-elasticsearch/index-management/pull/303))
* actionify explain API ([#304](https://github.com/opendistro-for-elasticsearch/index-management/pull/304))
* actionify index policy action ([#305](https://github.com/opendistro-for-elasticsearch/index-management/pull/305))
* actionify get policy API ([#307](https://github.com/opendistro-for-elasticsearch/index-management/pull/307))
* actionify delete policy API ([#308](https://github.com/opendistro-for-elasticsearch/index-management/pull/308))

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.amazon.opendistroforelasticsearch.alerting.destination.message.BaseMe
import com.amazon.opendistroforelasticsearch.alerting.destination.message.ChimeMessage
import com.amazon.opendistroforelasticsearch.alerting.destination.message.CustomWebhookMessage
import com.amazon.opendistroforelasticsearch.alerting.destination.message.SlackMessage
import com.amazon.opendistroforelasticsearch.alerting.destination.response.DestinationHttpResponse
import com.amazon.opendistroforelasticsearch.alerting.destination.response.DestinationResponse
import com.amazon.opendistroforelasticsearch.indexmanagement.indexstatemanagement.elasticapi.convertToMap
import org.apache.logging.log4j.LogManager
import org.elasticsearch.common.io.stream.StreamInput
Expand Down Expand Up @@ -114,7 +114,7 @@ data class Destination(
}

@Throws(IOException::class)
fun publish(compiledSubject: String?, compiledMessage: String): DestinationHttpResponse {
fun publish(compiledSubject: String?, compiledMessage: String): DestinationResponse {
val destinationMessage: BaseMessage
when (type) {
DestinationType.CHIME -> {
Expand Down Expand Up @@ -143,7 +143,7 @@ data class Destination(
.withMessage(compiledMessage).build()
}
}
val response = Notification.publish(destinationMessage) as DestinationHttpResponse
val response = Notification.publish(destinationMessage) as DestinationResponse
logger.info("Message published for action type: $type, messageid: ${response.responseContent}, statuscode: ${response.statusCode}")
return response
}
Expand Down

0 comments on commit 76bd1fd

Please sign in to comment.