Skip to content

Commit

Permalink
OCS Kotlin coroutines
Browse files Browse the repository at this point in the history
  • Loading branch information
vihangpatil authored Dec 20, 2018
2 parents e65a0b7 + e0b2f8c commit d060643
Show file tree
Hide file tree
Showing 52 changed files with 781 additions and 386 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

[![Kotlin version badge](https://img.shields.io/badge/kotlin-1.3.10-blue.svg)](http://kotlinlang.org/)
[![Kotlin version badge](https://img.shields.io/badge/kotlin-1.3.11-blue.svg)](http://kotlinlang.org/)
[![Prime version](https://img.shields.io/github/tag/ostelco/ostelco-core.svg)](https://github.com/ostelco/ostelco-core/tags)
[![GitHub license](https://img.shields.io/github/license/ostelco/ostelco-core.svg)](https://github.com/ostelco/ostelco-core/blob/master/LICENSE)

Expand Down
2 changes: 1 addition & 1 deletion acceptance-tests/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "application"
id "com.github.johnrengelman.shadow" version "4.0.3"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ fun createSubscription(email: String): String {
}

private val random = Random()
fun randomInt(): Int = random.nextInt(999)
fun randomInt(): Int = random.nextInt(99999)
2 changes: 1 addition & 1 deletion admin-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
4 changes: 2 additions & 2 deletions analytics-module/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand All @@ -9,5 +9,5 @@ dependencies {
implementation "com.google.cloud:google-cloud-pubsub:$googleCloudVersion"
implementation 'com.google.code.gson:gson:2.8.5'

testImplementation 'com.google.api:gax-grpc:1.35.0'
testImplementation 'com.google.api:gax-grpc:1.35.1'
}
2 changes: 1 addition & 1 deletion app-notifier/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion auth-server/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "application"
id "com.github.johnrengelman.shadow" version "4.0.3"
id "idea"
Expand Down
4 changes: 2 additions & 2 deletions bq-metrics-extractor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
}

plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "application"
id "com.github.johnrengelman.shadow" version "4.0.3"
id "idea"
Expand All @@ -21,7 +21,7 @@ dependencies {

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
implementation "com.google.cloud:google-cloud-bigquery:$googleCloudVersion"
implementation 'io.prometheus:simpleclient_pushgateway:0.5.0'
implementation 'io.prometheus:simpleclient_pushgateway:0.6.0'

runtimeOnly "io.dropwizard:dropwizard-json-logging:$dropwizardVersion"

Expand Down
40 changes: 20 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,36 @@ subprojects {
ext {
assertJVersion = "3.11.1"
arrowVersion = "0.8.1"
beamVersion = "2.8.0"
beamVersion = "2.9.0"
dropwizardVersion = "1.3.7"
firebaseVersion = "6.5.0"
googleCloudVersion = "1.53.0"
grpcVersion = "1.16.1"
firebaseVersion = "6.6.0"
googleCloudVersion = "1.56.0"
grpcVersion = "1.17.1"
guavaVersion = "27.0.1-jre"
jacksonVersion = "2.9.7"
jacksonVersion = "2.9.8"
javaxActivationVersion = "1.1.1"
// Keeping it version 1.16.1 to be consistent with grpc via PubSub client lib
// Keeping it version 1.16.1 to be consistent with netty via Firebase lib
jaxbVersion = "2.3.1"
junit5Version = "5.3.2"
kotlinVersion = "1.3.10"
kotlinVersion = "1.3.11"
kotlinXCoroutinesVersion = "1.0.1"
mockitoVersion = "2.23.4"
neo4jDriverVersion="1.7.1"
neo4jDriverVersion="1.7.2"
neo4jVersion="3.5.0"
stripeVersion = "7.8.0"
stripeVersion = "7.10.0"
}
}

//dependencyUpdates.resolutionStrategy {
// componentSelection { rules ->
// rules.all { ComponentSelection selection ->
// boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm', 'redhat'].any { qualifier ->
// selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/
// }
// if (rejected) {
// selection.reject('Release candidate')
// }
// }
// }
//}
dependencyUpdates.resolutionStrategy {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm', 'redhat'].any { qualifier ->
selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/
}
if (rejected) {
selection.reject('Release candidate')
}
}
}
}
2 changes: 1 addition & 1 deletion client-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion dataflow-pipelines/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "application"
id "com.github.johnrengelman.shadow" version "4.0.3"
id "idea"
Expand Down
2 changes: 1 addition & 1 deletion diameter-stack/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
id "signing"
id "maven"
Expand Down
2 changes: 1 addition & 1 deletion diameter-test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
id "signing"
id "maven"
Expand Down
2 changes: 1 addition & 1 deletion ext-auth-provider/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "application"
id "com.github.johnrengelman.shadow" version "4.0.3"
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-extensions/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion firebase-store/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion graphql/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion imei-lookup/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
id "idea"
}
Expand Down
2 changes: 1 addition & 1 deletion jersey/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion model/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
2 changes: 1 addition & 1 deletion neo4j-store/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.10"
id "org.jetbrains.kotlin.jvm" version "1.3.11"
id "java-library"
}

Expand Down
Loading

0 comments on commit d060643

Please sign in to comment.