This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
39 changed files
with
282 additions
and
272 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
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 |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.3.5 | ||
sbt.version=1.3.13 |
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
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
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
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
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
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
7 changes: 4 additions & 3 deletions
7
starport-core/src/main/scala/com/krux/starport/cli/CleanupUnmanagedOptions.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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.krux.starport.cli | ||
|
||
import org.joda.time.DateTime | ||
import java.time.LocalDateTime | ||
import java.time.temporal.ChronoUnit | ||
|
||
import com.krux.starport.util.PipelineState | ||
import com.krux.starport.util.{PipelineState, DateTimeFunctions} | ||
|
||
case class CleanupUnmanagedOptions( | ||
excludePrefixes: Seq[String] = Seq(), | ||
pipelineState: PipelineState.State = PipelineState.FINISHED, | ||
cutoffDate: DateTime = DateTime.now.minusMonths(2).withTimeAtStartOfDay, | ||
cutoffDate: LocalDateTime = DateTimeFunctions.currentTimeUTC().minusMonths(2).toLocalDateTime().truncatedTo(ChronoUnit.DAYS), | ||
force: Boolean = false, | ||
dryRun: Boolean = false | ||
) |
7 changes: 5 additions & 2 deletions
7
starport-core/src/main/scala/com/krux/starport/cli/Reads.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
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
10 changes: 6 additions & 4 deletions
10
starport-core/src/main/scala/com/krux/starport/cli/SchedulerOptions.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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
package com.krux.starport.cli | ||
|
||
import org.joda.time.DateTime | ||
import java.time.LocalDateTime | ||
|
||
import com.krux.starport.util.DateTimeFunctions | ||
|
||
|
||
case class SchedulerOptions( | ||
scheduledStart: DateTime = DateTime.now, | ||
scheduledEnd: DateTime = DateTime.now, | ||
actualStart: DateTime = DateTime.now | ||
scheduledStart: LocalDateTime = DateTimeFunctions.currentTimeUTC().toLocalDateTime, | ||
scheduledEnd: LocalDateTime = DateTimeFunctions.currentTimeUTC().toLocalDateTime, | ||
actualStart: LocalDateTime = DateTimeFunctions.currentTimeUTC().toLocalDateTime | ||
) |
20 changes: 0 additions & 20 deletions
20
starport-core/src/main/scala/com/krux/starport/db/DateTimeMapped.scala
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
starport-core/src/main/scala/com/krux/starport/db/record/FailedPipeline.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package com.krux.starport.db.record | ||
|
||
import org.joda.time.DateTime | ||
import java.time.LocalDateTime | ||
|
||
case class FailedPipeline( | ||
awsId: String, | ||
pipelineId: Int, | ||
resolved: Boolean, | ||
checkedTime: DateTime | ||
checkedTime: LocalDateTime | ||
) |
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
starport-core/src/main/scala/com/krux/starport/db/record/ScheduleFailureCounter.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package com.krux.starport.db.record | ||
|
||
import org.joda.time.DateTime | ||
import java.time.LocalDateTime | ||
|
||
|
||
case class ScheduleFailureCounter( | ||
pipelineId: Int, | ||
failureCount: Int, | ||
updatedAt: DateTime | ||
updatedAt: LocalDateTime | ||
) |
Oops, something went wrong.