diff --git a/build.gradle b/build.gradle index 077cdf0..ccc0ee2 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'maven' apply plugin: "net.ltgt.errorprone" apply plugin: "signing" -group = "io.opencensus.integration" +group = "io.orijtech.integrations" version = "0.0.2" // CURRENT_OCJDBC_VERSION sourceCompatibility = 1.8 diff --git a/settings.gradle b/settings.gradle index d3d02be..a763f7e 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = "opencensus-jdbc" +rootProject.name = "ocjdbc" diff --git a/src/main/java/io/opencensus/integration/jdbc/Observability.java b/src/main/java/io/opencensus/integration/jdbc/Observability.java index 6ee4489..d589058 100644 --- a/src/main/java/io/opencensus/integration/jdbc/Observability.java +++ b/src/main/java/io/opencensus/integration/jdbc/Observability.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; import io.opencensus.stats.Aggregation; diff --git a/src/main/java/io/opencensus/integration/jdbc/OcWrapCallableStatement.java b/src/main/java/io/opencensus/integration/jdbc/OcWrapCallableStatement.java index 056e958..feba68e 100644 --- a/src/main/java/io/opencensus/integration/jdbc/OcWrapCallableStatement.java +++ b/src/main/java/io/opencensus/integration/jdbc/OcWrapCallableStatement.java @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; -import io.opencensus.integration.jdbc.Observability.TraceOption; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; +import io.orijtech.integrations.ocjdbc.Observability.TraceOption; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.sql.CallableStatement; import java.sql.SQLException; import java.util.EnumSet; diff --git a/src/main/java/io/opencensus/integration/jdbc/OcWrapConnection.java b/src/main/java/io/opencensus/integration/jdbc/OcWrapConnection.java index b51fe3c..93db5af 100644 --- a/src/main/java/io/opencensus/integration/jdbc/OcWrapConnection.java +++ b/src/main/java/io/opencensus/integration/jdbc/OcWrapConnection.java @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; -import io.opencensus.integration.jdbc.Observability.TraceOption; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; +import io.orijtech.integrations.ocjdbc.Observability.TraceOption; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.sql.Connection; import java.sql.SQLException; import java.util.EnumSet; diff --git a/src/main/java/io/opencensus/integration/jdbc/OcWrapDriver.java b/src/main/java/io/opencensus/integration/jdbc/OcWrapDriver.java index a723426..804b1bc 100644 --- a/src/main/java/io/opencensus/integration/jdbc/OcWrapDriver.java +++ b/src/main/java/io/opencensus/integration/jdbc/OcWrapDriver.java @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; -import io.opencensus.integration.jdbc.Observability.TraceOption; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; +import io.orijtech.integrations.ocjdbc.Observability.TraceOption; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.sql.Driver; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; diff --git a/src/main/java/io/opencensus/integration/jdbc/OcWrapPreparedStatement.java b/src/main/java/io/opencensus/integration/jdbc/OcWrapPreparedStatement.java index 5e3d1d7..a74cdad 100644 --- a/src/main/java/io/opencensus/integration/jdbc/OcWrapPreparedStatement.java +++ b/src/main/java/io/opencensus/integration/jdbc/OcWrapPreparedStatement.java @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; -import io.opencensus.integration.jdbc.Observability.TraceOption; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; +import io.orijtech.integrations.ocjdbc.Observability.TraceOption; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.EnumSet; diff --git a/src/main/java/io/opencensus/integration/jdbc/OcWrapResultSet.java b/src/main/java/io/opencensus/integration/jdbc/OcWrapResultSet.java index 47e4287..93bc507 100644 --- a/src/main/java/io/opencensus/integration/jdbc/OcWrapResultSet.java +++ b/src/main/java/io/opencensus/integration/jdbc/OcWrapResultSet.java @@ -12,10 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.sql.ResultSet; import java.sql.SQLException; diff --git a/src/main/java/io/opencensus/integration/jdbc/OcWrapStatement.java b/src/main/java/io/opencensus/integration/jdbc/OcWrapStatement.java index 255da76..139669a 100644 --- a/src/main/java/io/opencensus/integration/jdbc/OcWrapStatement.java +++ b/src/main/java/io/opencensus/integration/jdbc/OcWrapStatement.java @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import io.opencensus.common.Scope; -import io.opencensus.integration.jdbc.Observability.TraceOption; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; +import io.orijtech.integrations.ocjdbc.Observability.TraceOption; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.sql.SQLException; import java.sql.Statement; import java.util.EnumSet; diff --git a/src/test/java/io/opencensus/integration/jdbc/ObservabilityTest.java b/src/test/java/io/opencensus/integration/jdbc/ObservabilityTest.java index 22ea7de..495e885 100644 --- a/src/test/java/io/opencensus/integration/jdbc/ObservabilityTest.java +++ b/src/test/java/io/opencensus/integration/jdbc/ObservabilityTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package io.opencensus.integration.jdbc; +package io.orijtech.integrations.ocjdbc; import static com.google.common.truth.Truth.assertThat; import static org.mockito.Matchers.any; @@ -21,7 +21,6 @@ import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; -import io.opencensus.integration.jdbc.Observability.TrackingOperation; import io.opencensus.stats.Aggregation.Distribution; import io.opencensus.stats.BucketBoundaries; import io.opencensus.stats.Measure.MeasureDouble; @@ -39,6 +38,7 @@ import io.opencensus.trace.SpanBuilder; import io.opencensus.trace.Status; import io.opencensus.trace.Tracer; +import io.orijtech.integrations.ocjdbc.Observability.TrackingOperation; import java.util.Arrays; import org.junit.Before; import org.junit.Test;