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

Commit

Permalink
release 4.0.2
Browse files Browse the repository at this point in the history
- upgrade wiremock
  • Loading branch information
Adven27 committed Aug 26, 2021
1 parent 6c8bbac commit ea50a27
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ Java library for a microservice environment emulation
1. Add needed dependencies:

```groovy
testImplementation "io.github.adven27:env-db-postgresql:4.0.1"
testImplementation "io.github.adven27:env-db-mssql:4.0.1"
testImplementation "io.github.adven27:env-db-mysql:4.0.1"
testImplementation "io.github.adven27:env-db-oracle:4.0.1"
testImplementation "io.github.adven27:env-db-oracle-temp:4.0.1"
testImplementation "io.github.adven27:env-db-db2:4.0.1"
testImplementation "io.github.adven27:env-jar-application:4.0.1"
testImplementation "io.github.adven27:env-mq-rabbit:4.0.1"
testImplementation "io.github.adven27:env-mq-ibmmq:4.0.1"
testImplementation "io.github.adven27:env-mq-redis:4.0.1"
testImplementation "io.github.adven27:env-grpc-mock:4.0.1"
testImplementation "io.github.adven27:env-wiremock:4.0.1"
testImplementation "io.github.adven27:env-db-postgresql:4.0.2"
testImplementation "io.github.adven27:env-db-mssql:4.0.2"
testImplementation "io.github.adven27:env-db-mysql:4.0.2"
testImplementation "io.github.adven27:env-db-oracle:4.0.2"
testImplementation "io.github.adven27:env-db-oracle-temp:4.0.2"
testImplementation "io.github.adven27:env-db-db2:4.0.2"
testImplementation "io.github.adven27:env-jar-application:4.0.2"
testImplementation "io.github.adven27:env-mq-rabbit:4.0.2"
testImplementation "io.github.adven27:env-mq-ibmmq:4.0.2"
testImplementation "io.github.adven27:env-mq-redis:4.0.2"
testImplementation "io.github.adven27:env-grpc-mock:4.0.2"
testImplementation "io.github.adven27:env-wiremock:4.0.2"
```

2. Set up systems:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
buildscript {
ext.kotlin_version = '1.5.21'
ext.testContainers_version = '1.15.3'
ext.wiremock_version = '2.27.2'
ext.wiremock_version = '2.30.1'
ext.klogging_version = '2.0.10'
ext.libVersion = "4.0.1"
ext.libVersion = "4.0.2"
ext.libGroup = 'io.github.adven27'
repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ open class GenericExternalSystem<T, C : ExternalSystemConfig> @JvmOverloads cons
}

override fun running(): Boolean = running.apply(system)
override fun describe() = system.toString()
override fun config() = config
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ open class EmbeddedKafkaSystem(
defaultPort
)

data class Config(val bootstrapServers: String = "PLAINTEXT://localhost:$DEFAULT_KAFKA_PORT") :
override fun toString() = "Embedded Kafka Broker"

open class Config(val bootstrapServers: String = "PLAINTEXT://localhost:$DEFAULT_KAFKA_PORT") :
ExternalSystemConfig(PROP_BOOTSTRAPSERVERS to bootstrapServers) {
companion object {
const val PROP_BOOTSTRAPSERVERS = "env.mq.kafka.bootstrapServers"
Expand Down
2 changes: 1 addition & 1 deletion env-wiremock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ apply from: "$rootDir/gradle/publish.gradle"

dependencies {
api project(':env-core')
api "com.github.tomakehurst:wiremock-standalone:$wiremock_version"
api "com.github.tomakehurst:wiremock-jre8-standalone:$wiremock_version"
}

0 comments on commit ea50a27

Please sign in to comment.