Skip to content

Commit

Permalink
Merge branch 'master' into absolutePaths
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored Nov 11, 2017
2 parents 708865d + 66a49fd commit 818ba26
Show file tree
Hide file tree
Showing 390 changed files with 2,504 additions and 285 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import akka.stream.stage.GraphStageLogic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import java.util.concurrent.atomic.AtomicInteger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import java.util.Optional
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import java.util.concurrent.atomic.AtomicInteger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.javadsl

import java.util.concurrent.CompletionStage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.javadsl

import java.util.concurrent.CompletionStage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.javadsl

import akka.NotUsed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.javadsl

import java.util.concurrent.CompletionStage
Expand All @@ -12,4 +13,4 @@ trait CommittableIncomingMessage {
val message: IncomingMessage
def ack(multiple: Boolean = false): CompletionStage[Done]
def nack(multiple: Boolean = false, requeue: Boolean = true): CompletionStage[Done]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import java.util.concurrent.CompletionStage
Expand Down
1 change: 1 addition & 0 deletions amqp/src/main/scala/akka/stream/alpakka/amqp/model.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import com.rabbitmq.client.ExceptionHandler
Expand Down
1 change: 1 addition & 0 deletions amqp/src/main/scala/akka/stream/alpakka/amqp/package.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka

package object amqp {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.scaladsl

import akka.dispatch.ExecutionContexts
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.scaladsl

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.scaladsl

import akka.NotUsed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.scaladsl

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.javadsl;

import static org.junit.Assert.assertEquals;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import java.util.concurrent.CompletionStage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp

import akka.actor.ActorSystem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.amqp.scaladsl

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda

import akka.stream.stage.{GraphStage, GraphStageLogic, InHandler, OutHandler}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda.javadsl

import akka.NotUsed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda.scaladsl

import akka.NotUsed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda.javadsl;

import akka.NotUsed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda.javadsl;

import akka.NotUsed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda.scaladsl

import java.util.concurrent.{CompletableFuture, Future}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.awslambda.scaladsl

import java.util.concurrent.Executors
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue

import com.microsoft.azure.storage.queue.{CloudQueue, CloudQueueMessage}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue

import com.microsoft.azure.storage.queue.{CloudQueue, CloudQueueMessage}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue.javadsl

import com.microsoft.azure.storage.queue.{CloudQueue, CloudQueueMessage}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue.javadsl

import com.microsoft.azure.storage.queue.{CloudQueue, CloudQueueMessage}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue.scaladsl

import com.microsoft.azure.storage.queue.{CloudQueue, CloudQueueMessage}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue.scaladsl

import com.microsoft.azure.storage.queue.{CloudQueue, CloudQueueMessage}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue.javadsl;

import akka.Done;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.azure.storagequeue.scaladsl

import org.scalatest._
Expand Down
10 changes: 6 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,12 @@ lazy val docs = project
paradoxGroups := Map("Language" -> Seq("Scala", "Java")),
paradoxProperties in Local ++= Map(
// point API doc links to locally generated API docs
"scaladoc.akka.stream.alpakka.base_url" -> rebase(
(baseDirectory in alpakka).value,
"../../../../../"
)((sbtunidoc.Plugin.UnidocKeys.unidoc in alpakka in Compile).value.head).get
"scaladoc.akka.stream.alpakka.base_url" -> sbt.io.Path
.rebase(
(baseDirectory in alpakka).value,
"../../../../../"
)((sbtunidoc.BaseUnidocPlugin.autoImport.unidoc in alpakka in Compile).value.head)
.get
)
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra

import akka.stream._
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra

import com.google.common.util.concurrent.{FutureCallback, Futures, ListenableFuture}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra.javadsl

import java.util.concurrent.CompletionStage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra.javadsl

import java.util.concurrent.CompletableFuture
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra.scaladsl

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra.scaladsl

import akka.NotUsed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra.javadsl;

import akka.Done;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.cassandra.scaladsl

import akka.actor.ActorSystem
import akka.stream.ActorMaterializer
import akka.stream.scaladsl.{Sink, Source}
import com.datastax.driver.core.{Cluster, PreparedStatement, SimpleStatement, SocketOptions}
import com.datastax.driver.core.{Cluster, PreparedStatement, SimpleStatement}
import org.scalatest._
import org.scalatest.concurrent.ScalaFutures

Expand All @@ -33,10 +34,6 @@ class CassandraSourceSpec
implicit val session = Cluster.builder
.addContactPoint("127.0.0.1")
.withPort(9042)
.withSocketOptions(
new SocketOptions()
.setConnectTimeoutMillis(20 * 1000)
)
.build
.connect()
//#init-session
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.csv.javadsl;

import akka.util.ByteString;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2016-2017 Lightbend Inc. <http://www.lightbend.com>
*/

package akka.stream.alpakka.csv.javadsl;

import akka.NotUsed;
Expand Down
Loading

0 comments on commit 818ba26

Please sign in to comment.