Skip to content

Commit

Permalink
Fixes due to master changes in pureconfig versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdan committed Jan 3, 2020
1 parent 638ff24 commit 132fcd6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ whisk:
version:
date: "{{ansible_date_time.iso8601}}"
feature_flags:
require_api_key_annotation: "{{ require_api_key_annotation | default(true) }}"
require_api_key_annotation: "{{ require_api_key_annotation | default(true) | lower }}"

##
# configuration parameters related to support runtimes (see org.apache.openwhisk.core.entity.ExecManifest for schema of the manifest).
Expand Down Expand Up @@ -388,4 +388,4 @@ metrics:
host: "{{ metrics_kamon_statsd_host | default('') }}"
port: "{{ metrics_kamon_statsd_port | default('8125') }}"

user_events: "{{ user_events_enabled | default(false) }}"
user_events: "{{ user_events_enabled | default(false) | lower }}"
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import org.apache.openwhisk.core.ConfigKeys
import pureconfig.loadConfig
import spray.json.DefaultJsonProtocol._
import spray.json.{JsNull, JsString}
import pureconfig.generic.auto._

private trait encrypter {
def encrypt(p: ParameterValue): ParameterValue
Expand Down
4 changes: 4 additions & 0 deletions tests/src/test/resources/application.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ whisk {
url = "{{ user_images_registry | default('') }}"
}
}

parameter-storage {
key = ""
}
}

#test-only overrides so that tests can override defaults in application.conf (todo: move all defaults to reference.conf)
Expand Down

0 comments on commit 132fcd6

Please sign in to comment.