Skip to content

Commit

Permalink
#131 #132 #133 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Biacode committed Oct 31, 2019
1 parent c229d4c commit d6f9aeb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Elasticsearch commons library.
# Dependencies
Gradle
```groovy
implementation "org.biacode.escommons:escommons-core:7.3.2_0.0.7"
implementation "org.biacode.escommons:escommons-persistence:7.3.2_0.0.7"
implementation "org.biacode.escommons:escommons-core:7.3.2_0.0.8"
implementation "org.biacode.escommons:escommons-persistence:7.3.2_0.0.8"
implementation "org.biacode.escommons:escommons-starter-core:7.3.2_0.0.7"
implementation "org.biacode.escommons:escommons-test:7.3.2_0.0.7"
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ allprojects {
}

group = 'org.biacode.escommons'
version = '7.3.2_0.0.7'
version = '7.3.2_0.0.8'
sourceCompatibility = 1.8

configurations.all {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ abstract class AbstractEsCommonsIntegrationTest {
@Before
fun beforeEsCommonsTests() {
cleanUpIndices()
assert(esCommonsClientWrapper.createIndex(indexName, mappings(), settings))
refreshIndex(indexName)
assert(esCommonsClientWrapper.createIndex(indexName, mappings(), settings()))
refreshIndex()
}
//endregion

Expand All @@ -47,6 +47,18 @@ abstract class AbstractEsCommonsIntegrationTest {
protected fun refreshIndex(indexName: String) {
esCommonsClientWrapper.refreshIndex(indexName)
}

protected fun refreshIndex() {
esCommonsClientWrapper.refreshIndex(indexName)
}

protected fun settings(): Settings {
return this.settings
}

protected fun settings(settings: Settings) {
this.settings = settings
}
//endregion

//region Utility methods
Expand Down

0 comments on commit d6f9aeb

Please sign in to comment.