-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Herrera
committed
Jul 30, 2024
1 parent
63d6081
commit 3965beb
Showing
15 changed files
with
27 additions
and
64 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
...com/codely/lesson_02_tests_in_spark/video_01__end_to_end_testing/app/AvgSpendingApp.scala
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...m/codely/lesson_02_tests_in_spark/video_01__end_to_end_testing/app/TotalSpendingApp.scala
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,22 @@ | ||
package com.codely.lesson_02_tests_in_spark.video_01__end_to_end_testing.app | ||
|
||
import com.codely.lesson_02_tests_in_spark.video_01__end_to_end_testing.config.AppContext | ||
import com.codely.lesson_02_tests_in_spark.video_01__end_to_end_testing.job.AvgSpendingJob | ||
import com.codely.lesson_02_tests_in_spark.video_01__end_to_end_testing.service.{Reader, Writer} | ||
|
||
object AvgSpendingApp extends SparkApp { | ||
|
||
private val appName = "avg-spending-app" | ||
|
||
private val context = AppContext.load(args) | ||
|
||
spark.conf.set("spark.app.name", appName) | ||
|
||
private val reader = Reader() | ||
|
||
private val writer = Writer() | ||
|
||
private val job = AvgSpendingJob(context, reader, writer) | ||
|
||
job.run() | ||
} |
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
4 changes: 2 additions & 2 deletions
4
...d_to_end_testing/job/AvgSpendingJob.scala → ...to_end_testing/job/TotalSpendingJob.scala
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
File renamed without changes.
32 changes: 0 additions & 32 deletions
32
...main/com/codely/lesson_02_tests_in_spark/video_02__unit_testing/service/AvgSpending.scala
This file was deleted.
Oops, something went wrong.
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
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.