-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
43c2c5b
commit 094f9bf
Showing
558 changed files
with
16,679 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name := "Hello Test #1" | ||
|
||
version := "1.0" | ||
|
||
scalaVersion := "2.11.7" | ||
|
||
libraryDependencies ++= Seq( | ||
"com.typesafe.akka" %% "akka-actor" % "2.4.4", | ||
"com.typesafe.akka" %% "akka-stream" % "2.4.4" | ||
) | ||
|
||
fork in run := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import akka.actor.ActorSystem | ||
import akka.stream.ActorMaterializer | ||
import akka.stream.scaladsl.{Flow, Sink, Source} | ||
|
||
import scala.collection.immutable | ||
import scala.util.Random | ||
|
||
object Stream extends App { | ||
implicit val actorSystem = ActorSystem() | ||
import actorSystem.dispatcher | ||
implicit val flowMaterializer = ActorMaterializer() | ||
|
||
// Source | ||
val input = Source(1 to 100) | ||
|
||
// Flow | ||
val normalize = Flow[Int].map(_ * 2) | ||
|
||
// Sink | ||
val output = Sink.foreach[Int](println) | ||
|
||
input.via(normalize).runWith(output).andThen { | ||
case _ => | ||
actorSystem.shutdown() | ||
actorSystem.awaitTermination() | ||
} | ||
} |
Binary file renamed
BIN
+903 Bytes
...2846aa666d6fab4f$$anonfun$$sbtdef$1.class → ...fa45e1f866436a31$$anonfun$$sbtdef$1.class
Binary file not shown.
Binary file renamed
BIN
+1.3 KB
...nfig-classes/$d72a2846aa666d6fab4f$.class → ...nfig-classes/$0760fa45e1f866436a31$.class
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+416 Bytes
step15-streams/project/target/config-classes/$0760fa45e1f866436a31.class
Binary file not shown.
Binary file renamed
BIN
+958 Bytes
...9a37e0710e2b81ed$$anonfun$$sbtdef$1.class → ...32b3f76070becd7d$$anonfun$$sbtdef$1.class
Binary file not shown.
Binary file renamed
BIN
+1.47 KB
...nfig-classes/$bc119a37e0710e2b81ed$.class → ...nfig-classes/$4ebb32b3f76070becd7d$.class
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+416 Bytes
step15-streams/project/target/config-classes/$4ebb32b3f76070becd7d.class
Binary file not shown.
Binary file renamed
BIN
+906 Bytes
...9cf3119821287b95$$anonfun$$sbtdef$1.class → ...a4ac7206e40eec0d$$anonfun$$sbtdef$1.class
Binary file not shown.
Binary file renamed
BIN
+1.3 KB
...nfig-classes/$3caa9cf3119821287b95$.class → ...nfig-classes/$7e88a4ac7206e40eec0d$.class
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+416 Bytes
step15-streams/project/target/config-classes/$7e88a4ac7206e40eec0d.class
Binary file not shown.
Binary file added
BIN
+1.72 KB
step15-streams/project/target/config-classes/$9f5a3ee2945aea5d4dfb$$anonfun$$sbtdef$1.class
Binary file not shown.
Binary file renamed
BIN
+1.53 KB
...nfig-classes/$b47afeb989c9d6f46242$.class → ...nfig-classes/$9f5a3ee2945aea5d4dfb$.class
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+738 Bytes
step15-streams/project/target/config-classes/$9f5a3ee2945aea5d4dfb.class
Binary file not shown.
Binary file renamed
BIN
+913 Bytes
...e16c90a4833267b2$$anonfun$$sbtdef$1.class → ...954cc80b5dde0a25$$anonfun$$sbtdef$1.class
Binary file not shown.
Binary file renamed
BIN
+1.29 KB
...nfig-classes/$3569e16c90a4833267b2$.class → ...nfig-classes/$bea2954cc80b5dde0a25$.class
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+738 Bytes
step15-streams/project/target/config-classes/$bea2954cc80b5dde0a25.class
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
...treams/target/resolution-cache/hello-test-1/hello-test-1_2.11/1.0/resolved.xml.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#hello-test-1#hello-test-1_2.11;1.0 resolved revisions | ||
#Fri Apr 15 08:19:14 CEST 2016 | ||
+organisation\:\#@\#\:+org.scala-lang\:\#@\#\:+branch\:\#@\#\:+@\#\:NULL\:\#@\:\#@\#\:+module\:\#@\#\:+scala-library\:\#@\#\:+revision\:\#@\#\:+2.11.7\:\#@\#\:=2.11.7 ? 2.11.7 null | ||
+organisation\:\#@\#\:+com.typesafe.akka\:\#@\#\:+branch\:\#@\#\:+@\#\:NULL\:\#@\:\#@\#\:+module\:\#@\#\:+akka-stream_2.11\:\#@\#\:+revision\:\#@\#\:+2.4.4\:\#@\#\:=2.4.4 release 2.4.4 null | ||
+organisation\:\#@\#\:+org.scala-lang\:\#@\#\:+branch\:\#@\#\:+@\#\:NULL\:\#@\:\#@\#\:+module\:\#@\#\:+scala-compiler\:\#@\#\:+revision\:\#@\#\:+2.11.7\:\#@\#\:=2.11.7 release 2.11.7 null | ||
+organisation\:\#@\#\:+com.typesafe.akka\:\#@\#\:+branch\:\#@\#\:+@\#\:NULL\:\#@\:\#@\#\:+module\:\#@\#\:+akka-actor_2.11\:\#@\#\:+revision\:\#@\#\:+2.4.4\:\#@\#\:=2.4.4 release 2.4.4 null |
40 changes: 40 additions & 0 deletions
40
step15-streams/target/resolution-cache/hello-test-1/hello-test-1_2.11/1.0/resolved.xml.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra"> | ||
<info organisation="hello-test-1" | ||
module="hello-test-1_2.11" | ||
revision="1.0" | ||
status="integration" | ||
publication="20160415081911" | ||
> | ||
<description> | ||
Hello Test #1 | ||
</description> | ||
</info> | ||
<configurations> | ||
<conf name="compile" visibility="public" description=""/> | ||
<conf name="runtime" visibility="public" description="" extends="compile"/> | ||
<conf name="test" visibility="public" description="" extends="runtime"/> | ||
<conf name="provided" visibility="public" description=""/> | ||
<conf name="optional" visibility="public" description=""/> | ||
<conf name="compile-internal" visibility="private" description="" extends="compile,optional,provided"/> | ||
<conf name="runtime-internal" visibility="private" description="" extends="runtime,optional"/> | ||
<conf name="test-internal" visibility="private" description="" extends="test,optional,provided"/> | ||
<conf name="plugin" visibility="private" description=""/> | ||
<conf name="sources" visibility="public" description=""/> | ||
<conf name="docs" visibility="public" description=""/> | ||
<conf name="pom" visibility="public" description=""/> | ||
<conf name="scala-tool" visibility="private" description=""/> | ||
</configurations> | ||
<publications> | ||
<artifact name="hello-test-1_2.11" type="pom" ext="pom" conf="pom"/> | ||
<artifact name="hello-test-1_2.11" type="jar" ext="jar" conf="compile"/> | ||
<artifact name="hello-test-1_2.11" type="src" ext="jar" conf="sources" e:classifier="sources"/> | ||
<artifact name="hello-test-1_2.11" type="doc" ext="jar" conf="docs" e:classifier="javadoc"/> | ||
</publications> | ||
<dependencies> | ||
<dependency org="org.scala-lang" name="scala-compiler" rev="2.11.7" conf="scala-tool->default,optional(default)"/> | ||
<dependency org="org.scala-lang" name="scala-library" rev="2.11.7" conf="scala-tool->default,optional(default);compile->default(compile)"/> | ||
<dependency org="com.typesafe.akka" name="akka-actor_2.11" rev="2.4.4" conf="compile->default(compile)"/> | ||
<dependency org="com.typesafe.akka" name="akka-stream_2.11" rev="2.4.4" conf="compile->default(compile)"/> | ||
</dependencies> | ||
</ivy-module> |
149 changes: 149 additions & 0 deletions
149
...reams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-compile-internal.xml
Large diffs are not rendered by default.
Oops, something went wrong.
159 changes: 159 additions & 0 deletions
159
step15-streams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-compile.xml
Large diffs are not rendered by default.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
step15-streams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-docs.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?> | ||
<ivy-report version="1.0"> | ||
<info | ||
organisation="hello-test-1" | ||
module="hello-test-1_2.11" | ||
revision="1.0" | ||
conf="docs" | ||
confs="compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, plugin, sources, docs, pom, scala-tool" | ||
date="20160415081911"/> | ||
<dependencies> | ||
</dependencies> | ||
</ivy-report> |
13 changes: 13 additions & 0 deletions
13
step15-streams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-optional.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?> | ||
<ivy-report version="1.0"> | ||
<info | ||
organisation="hello-test-1" | ||
module="hello-test-1_2.11" | ||
revision="1.0" | ||
conf="optional" | ||
confs="compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, plugin, sources, docs, pom, scala-tool" | ||
date="20160415081911"/> | ||
<dependencies> | ||
</dependencies> | ||
</ivy-report> |
13 changes: 13 additions & 0 deletions
13
step15-streams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-plugin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?> | ||
<ivy-report version="1.0"> | ||
<info | ||
organisation="hello-test-1" | ||
module="hello-test-1_2.11" | ||
revision="1.0" | ||
conf="plugin" | ||
confs="compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, plugin, sources, docs, pom, scala-tool" | ||
date="20160415081911"/> | ||
<dependencies> | ||
</dependencies> | ||
</ivy-report> |
13 changes: 13 additions & 0 deletions
13
step15-streams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?> | ||
<ivy-report version="1.0"> | ||
<info | ||
organisation="hello-test-1" | ||
module="hello-test-1_2.11" | ||
revision="1.0" | ||
conf="pom" | ||
confs="compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, plugin, sources, docs, pom, scala-tool" | ||
date="20160415081911"/> | ||
<dependencies> | ||
</dependencies> | ||
</ivy-report> |
13 changes: 13 additions & 0 deletions
13
step15-streams/target/resolution-cache/reports/hello-test-1-hello-test-1_2.11-provided.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?> | ||
<ivy-report version="1.0"> | ||
<info | ||
organisation="hello-test-1" | ||
module="hello-test-1_2.11" | ||
revision="1.0" | ||
conf="provided" | ||
confs="compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, plugin, sources, docs, pom, scala-tool" | ||
date="20160415081911"/> | ||
<dependencies> | ||
</dependencies> | ||
</ivy-report> |
Oops, something went wrong.