Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import io.dropwizard.auth.AuthDynamicFeature
import io.dropwizard.core.Application
import io.dropwizard.core.setup.{Bootstrap, Environment}
import org.apache.amber.config.StorageConfig
import org.apache.amber.util.PathUtils.workflowComputingUnitManagingServicePath
import org.apache.texera.auth.{JwtAuthFilter, SessionUser}
import org.apache.texera.dao.SqlServer
import org.apache.texera.service.resource.{
Expand All @@ -33,6 +32,8 @@ import org.apache.texera.service.resource.{
HealthCheckResource
}

import java.nio.file.Path

class ComputingUnitManagingService extends Application[ComputingUnitManagingServiceConfiguration] {

override def initialize(
Expand Down Expand Up @@ -68,8 +69,11 @@ class ComputingUnitManagingService extends Application[ComputingUnitManagingServ
}

object ComputingUnitManagingService {

def main(args: Array[String]): Unit = {
val configFilePath = workflowComputingUnitManagingServicePath
val configFilePath = Path
.of(sys.env.getOrElse("TEXERA_HOME", "."))
.resolve("computing-unit-managing-service")
.resolve("src")
.resolve("main")
.resolve("resources")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ object PathUtils {

lazy val fileServicePath: Path = corePath.resolve("file-service")

lazy val workflowComputingUnitManagingServicePath: Path =
corePath.resolve("computing-unit-managing-service")

lazy val configServicePath: Path = corePath.resolve("config-service")

lazy val accessControlServicePath: Path = corePath.resolve("access-control-service")
Expand Down
Loading