Skip to content

Commit

Permalink
New folder structure [Scala]
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage authored and mergify[bot] committed Jun 25, 2024
1 parent bb13227 commit fe01d4d
Show file tree
Hide file tree
Showing 611 changed files with 292 additions and 285 deletions.
34 changes: 17 additions & 17 deletions .github/scala-steward.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ buildRoots = [
"java/starter",
"java/streaming",
"java/websocket",
"play-scala-anorm-example",
"play-scala-chatroom-example",
"play-scala-compile-di-example",
"play-scala-fileupload-example",
"play-scala-forms-example",
"play-scala-grpc-example",
"play-scala-hello-world-tutorial",
"play-scala-isolated-slick-example",
"play-scala-log4j2-example",
"play-scala-macwire-di-example",
"play-scala-rest-api-example",
"play-scala-secure-session-example",
"play-scala-slick-example",
"play-scala-starter-example",
"play-scala-streaming-example",
"play-scala-tls-example",
"play-scala-websocket-example"
"scala/anorm",
"scala/chatroom",
"scala/compile-di",
"scala/fileupload",
"scala/forms",
"scala/grpc",
"scala/hello-world",
"scala/isolated-slick",
"scala/log4j2",
"scala/macwire-di",
"scala/rest-api",
"scala/secure-session",
"scala/slick",
"scala/starter",
"scala/streaming",
"scala/tls",
"scala/websocket"
]
102 changes: 51 additions & 51 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ jobs:
java-starter: java/starter/**
java-streaming: java/streaming/**
java-websocket: java/websocket/**
scala-anorm: play-scala-anorm-example/**
scala-chatroom: play-scala-chatroom-example/**
scala-compile-di: play-scala-compile-di-example/**
scala-fileupload: play-scala-fileupload-example/**
scala-forms: play-scala-forms-example/**
scala-grpc: play-scala-grpc-example/**
scala-hello-world: play-scala-hello-world-tutorial/**
scala-isolated-slick: play-scala-isolated-slick-example/**
scala-log4j2: play-scala-log4j2-example/**
scala-macwire-di: play-scala-macwire-di-example/**
scala-rest-api: play-scala-rest-api-example/**
scala-secure-session: play-scala-secure-session-example/**
scala-slick: play-scala-slick-example/**
scala-starter: play-scala-starter-example/**
scala-streaming: play-scala-streaming-example/**
scala-tls: play-scala-tls-example/**
scala-websocket: play-scala-websocket-example/**
scala-anorm: scala/anorm/**
scala-chatroom: scala/chatroom/**
scala-compile-di: scala/compile-di/**
scala-fileupload: scala/fileupload/**
scala-forms: scala/forms/**
scala-grpc: scala/grpc/**
scala-hello-world: scala/hello-world/**
scala-isolated-slick: scala/isolated-slick/**
scala-log4j2: scala/log4j2/**
scala-macwire-di: scala/macwire-di/**
scala-rest-api: scala/rest-api/**
scala-secure-session: scala/secure-session/**
scala-slick: scala/slick/**
scala-starter: scala/starter/**
scala-streaming: scala/streaming/**
scala-tls: scala/tls/**
scala-websocket: scala/websocket/**
java-chatroom:
name: "Java :: Chatroom"
Expand Down Expand Up @@ -295,11 +295,11 @@ jobs:
# with:
# java: 17, 21
# scala: 2.13.x, 3.x
# gradle-build-root: play-scala-anorm-example
# gradle-build-root: scala/anorm
# add-dimensions: >-
# { "server": [ "pekko", "netty"], "build_tool": ["sbt"] }
# cmd: |
# ./test.sh --sample=play-scala-anorm-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
# ./test.sh --sample=scala/anorm --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL

scala-chatroom:
name: "Scala :: Chatroom"
Expand All @@ -309,11 +309,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-chatroom-example
gradle-build-root: scala/chatroom
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-chatroom-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/chatroom --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-compile-di:
name: "Scala :: Compile DI"
Expand All @@ -323,11 +323,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-compile-di-example
gradle-build-root: scala/compile-di
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-compile-di-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/compile-di --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-fileupload:
name: "Scala :: File Upload"
Expand All @@ -337,11 +337,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-fileupload-example
gradle-build-root: scala/fileupload
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-fileupload-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/fileupload --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-forms:
name: "Scala :: Forms"
Expand All @@ -351,11 +351,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-forms-example
gradle-build-root: scala/forms
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-forms-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/forms --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-grpc:
name: "Scala :: gRPC"
Expand All @@ -366,11 +366,11 @@ jobs:
# Can't test with Java 21+ currently because of https://github.com/lightbend/ssl-config/issues/367
java: 17
scala: 2.13.x, 3.x
gradle-build-root: play-scala-grpc-example
gradle-build-root: scala/grpc
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt"] }
cmd: |
./test.sh --sample=play-scala-grpc-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/grpc --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-hello-world:
name: "Scala :: Hello World"
Expand All @@ -380,11 +380,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-hello-world-tutorial
gradle-build-root: scala/hello-world
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-hello-world-tutorial --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/hello-world --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-isolated-slick:
name: "Scala :: Slick (isolated)"
Expand All @@ -394,11 +394,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-isolated-slick-example
gradle-build-root: scala/isolated-slick
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt"] }
cmd: |
./test.sh --sample=play-scala-isolated-slick-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/isolated-slick --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-log4j2:
name: "Scala :: Log4j2"
Expand All @@ -408,11 +408,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-log4j2-example
gradle-build-root: scala/log4j2
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-log4j2-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/log4j2 --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-macwire-di:
name: "Scala :: Macwire DI"
Expand All @@ -422,11 +422,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-macwire-di-example
gradle-build-root: scala/macwire-di
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-macwire-di-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/macwire-di --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-rest-api:
name: "Scala :: REST API"
Expand All @@ -436,13 +436,13 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-rest-api-example
gradle-build-root: scala/rest-api
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
exclude: >-
[{ "server": "netty", "build_tool": "gradle" }]
cmd: |
./test.sh --sample=play-scala-rest-api-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/rest-api --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-secure-session:
name: "Scala :: Secure Session"
Expand All @@ -452,11 +452,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-secure-session-example
gradle-build-root: scala/secure-session
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-secure-session-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/secure-session --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-slick:
name: "Scala :: Slick"
Expand All @@ -466,11 +466,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-slick-example
gradle-build-root: scala/slick
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt"] }
cmd: |
./test.sh --sample=play-scala-slick-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/slick --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-starter:
name: "Scala :: Starter"
Expand All @@ -480,11 +480,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-starter-example
gradle-build-root: scala/starter
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-starter-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/starter --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-streaming:
name: "Scala :: Streaming"
Expand All @@ -494,11 +494,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-streaming-example
gradle-build-root: scala/streaming
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-streaming-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/streaming --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-tls:
name: "Scala :: TLS"
Expand All @@ -508,11 +508,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-tls-example
gradle-build-root: scala/tls
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt"] }
cmd: |
./test.sh --sample=play-scala-tls-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/tls --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
scala-websocket:
name: "Scala :: WebSocket"
Expand All @@ -522,11 +522,11 @@ jobs:
with:
java: 17, 21
scala: 2.13.x, 3.x
gradle-build-root: play-scala-websocket-example
gradle-build-root: scala/websocket
add-dimensions: >-
{ "server": [ "pekko", "netty"], "build_tool": ["sbt", "gradle"] }
cmd: |
./test.sh --sample=play-scala-websocket-example --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
./test.sh --sample=scala/websocket --backend-server=$MATRIX_SERVER --build-tool=$MATRIX_BUILD_TOOL
finish:
name: Finish
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ jobs:
target_commitish: ${{ github.ref_name }}
files: |
*-example.zip
*-tutorial.zip
fail_on_unmatched_files: true
1 change: 1 addition & 0 deletions java/jpa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions java/jpa/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "play-java-jpa-example",
"devDependencies": {
"coffeescript": "^2.7.0"
}
Expand Down
1 change: 1 addition & 0 deletions java/websocket/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions java/websocket/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "play-java-websocket-example",
"devDependencies": {
"coffeescript": "^2.7.0",
"less": "^4.2.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit fe01d4d

Please sign in to comment.