Skip to content

Commit

Permalink
update copyright year and dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>
  • Loading branch information
malafeev committed Feb 4, 2019
1 parent 4e67044 commit 09f346a
Show file tree
Hide file tree
Showing 17 changed files with 57 additions and 61 deletions.
51 changes: 25 additions & 26 deletions .settings.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2017-2018 The OpenTracing Authors
Copyright 2017-2019 The OpenTracing Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
Expand All @@ -16,29 +15,29 @@
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>sonatype</id>
<username>${env.SONATYPE_USER}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
<server>
<id>bintray</id>
<username>${env.BINTRAY_USER}</username>
<password>${env.BINTRAY_KEY}</password>
</server>
<server>
<id>jfrog-snapshots</id>
<username>${env.BINTRAY_USER}</username>
<password>${env.BINTRAY_KEY}</password>
</server>
<server>
<id>github.com</id>
<username>${env.GH_USER}</username>
<password>${env.GH_TOKEN}</password>
</server>
</servers>
<servers>
<server>
<id>sonatype</id>
<username>${env.SONATYPE_USER}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
<server>
<id>bintray</id>
<username>${env.BINTRAY_USER}</username>
<password>${env.BINTRAY_KEY}</password>
</server>
<server>
<id>jfrog-snapshots</id>
<username>${env.BINTRAY_USER}</username>
<password>${env.BINTRAY_KEY}</password>
</server>
<server>
<id>github.com</id>
<username>${env.GH_USER}</username>
<password>${env.GH_TOKEN}</password>
</server>
</servers>
</settings>
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2017-2018 The OpenTracing Authors
Copyright 2017-2019 The OpenTracing Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
Expand All @@ -14,7 +14,9 @@
the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-cassandra-driver</artifactId>
Expand All @@ -23,7 +25,7 @@
<name>${project.groupId}:${project.artifactId}</name>
<description>OpenTracing Instrumentation for Cassandra Driver</description>
<url>https://github.com/opentracing-contrib/java-cassandra-driver</url>
<inceptionYear>2017-2018</inceptionYear>
<inceptionYear>2017-2019</inceptionYear>

<scm>
<url>http://github.com/opentracing-contrib/java-cassandra-driver</url>
Expand Down Expand Up @@ -63,7 +65,7 @@
<opentracing.version>0.31.0</opentracing.version>
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.2</jacoco-maven-plugin.version>
<cassandra.version>3.5.1</cassandra.version>
<cassandra.version>3.6.0</cassandra.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -109,7 +111,7 @@
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>3.1.2</version>
<version>3.1.6</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand All @@ -22,7 +22,6 @@
import io.opentracing.contrib.cassandra.nameprovider.CustomStringSpanName;
import io.opentracing.contrib.cassandra.nameprovider.QuerySpanNameProvider;
import io.opentracing.util.GlobalTracer;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

Expand Down Expand Up @@ -52,8 +51,8 @@ public TracingCluster(Initializer initializer, Tracer tracer,
}

public TracingCluster(Initializer initializer, Tracer tracer,
QuerySpanNameProvider querySpanNameProvider,
ExecutorService executorService) {
QuerySpanNameProvider querySpanNameProvider,
ExecutorService executorService) {
super(initializer);
this.tracer = tracer;
this.querySpanNameProvider = querySpanNameProvider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -43,8 +43,7 @@
import java.util.concurrent.Executors;

/**
* Package private decorator for {@link Session}
* Instantiated only by TracingCluster
* Package private decorator for {@link Session} Instantiated only by TracingCluster
*/
class TracingSession implements Session {

Expand All @@ -68,7 +67,8 @@ class TracingSession implements Session {
this.executorService = Executors.newCachedThreadPool();
}

TracingSession(Session session, Tracer tracer, QuerySpanNameProvider querySpanNameProvider, ExecutorService executorService) {
TracingSession(Session session, Tracer tracer, QuerySpanNameProvider querySpanNameProvider,
ExecutorService executorService) {
this.session = session;
this.tracer = tracer;
this.querySpanNameProvider = querySpanNameProvider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand All @@ -14,8 +14,7 @@
package io.opentracing.contrib.cassandra.nameprovider;

/**
* @author Jordan J Lopez
* Returns a predifined string for every span
* @author Jordan J Lopez Returns a predifined string for every span
*/
public class CustomStringSpanName implements QuerySpanNameProvider {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand All @@ -14,8 +14,7 @@
package io.opentracing.contrib.cassandra.nameprovider;

/**
* @author Jordan J Lopez
* Returns the full query as the span name
* @author Jordan J Lopez Returns the full query as the span name
*/
public class FullQuerySpanName implements QuerySpanNameProvider {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand All @@ -14,8 +14,7 @@
package io.opentracing.contrib.cassandra.nameprovider;

/**
* @author Jordan J Lopez
* Returns a custom prefix and the full query as the span name
* @author Jordan J Lopez Returns a custom prefix and the full query as the span name
*/
public class PrefixedFullQuerySpanName implements QuerySpanNameProvider {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand All @@ -17,9 +17,8 @@
import java.util.regex.Pattern;

/**
* @author Jordan J Lopez
* Returns formatted string wtih extracted Cassandra query method and target entity as span name
* Target entity can include keyspace, table, index, view, or none
* @author Jordan J Lopez Returns formatted string wtih extracted Cassandra query method and target
* entity as span name Target entity can include keyspace, table, index, view, or none
*/
public class QueryMethodTableSpanName implements QuerySpanNameProvider {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2018 The OpenTracing Authors
* Copyright 2017-2019 The OpenTracing Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion travis/publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2017-2018 The OpenTracing Authors
# Copyright 2017-2019 The OpenTracing Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down

0 comments on commit 09f346a

Please sign in to comment.