Skip to content

Commit

Permalink
Enable redis execution log. (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Duftler committed Jul 25, 2017
1 parent 793204b commit f586a7e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion kayenta-orca/kayenta-orca.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply from: "$rootDir/gradle/kotlin.gradle"

dependencies {
compile "com.netflix.spinnaker.orca:orca-queue:$orcaVersion"
compile "com.netflix.spinnaker.orca:orca-queue-redis:$orcaVersion"

// compile spinnaker.dependency('bootWeb')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ Pipeline getPipeline(@PathVariable String executionId) {
@ApiOperation(value = "Retrieve pipeline execution logs")
@RequestMapping(value = "/{executionId}/logs", method = RequestMethod.GET)
List<ExecutionLogEntry> logs(@PathVariable String executionId) {
// TODO(duftler): Remove this once we figure out how to enable the redis-backed execution log repository.
System.out.println("*** executionLogRepository=" + executionLogRepository);

if (executionLogRepository == null) {
throw new FeatureNotEnabledException("Execution log not enabled");
}
Expand Down
2 changes: 1 addition & 1 deletion kayenta-web/config/kayenta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ kayenta:
management.security.enabled: false

queue.redis.enabled: true
executionLog.redis.enabled: false
executionLog.redis.enabled: true

swagger:
enabled: true
Expand Down

0 comments on commit f586a7e

Please sign in to comment.