Skip to content

Commit

Permalink
Adds bean definitions for Spark 1.6.2 & 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akunft committed Aug 18, 2016
1 parent e4325fd commit 69f5e3b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions peel-extensions/src/main/scala/org/peelframework/extensions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,22 @@ class extensions extends ApplicationContextAware {
mc = ctx.getBean(classOf[Mustache.Compiler])
)

@Bean(name = Array("spark-1.6.2"))
def `spark-1.6.2`: Spark = new Spark(
version = "1.6.2",
configKey = "spark",
lifespan = Lifespan.EXPERIMENT,
mc = ctx.getBean(classOf[Mustache.Compiler])
)

@Bean(name = Array("spark-2.0.0"))
def `spark-2.0.0`: Spark = new Spark(
version = "2.0.0",
configKey = "spark",
lifespan = Lifespan.EXPERIMENT,
mc = ctx.getBean(classOf[Mustache.Compiler])
)

// DStat

@Bean(name = Array("dstat-0.7.2"))
Expand Down

0 comments on commit 69f5e3b

Please sign in to comment.