Skip to content

Make config properties overridable at domain level#357

Merged
eduardoboucas merged 15 commits intodevelopfrom
feature/domain-config-properties
May 14, 2018
Merged

Make config properties overridable at domain level#357
eduardoboucas merged 15 commits intodevelopfrom
feature/domain-config-properties

Conversation

@eduardoboucas
Copy link
Copy Markdown
Contributor

@eduardoboucas eduardoboucas commented May 10, 2018

  • notFound.statusCode
  • notFound.images.enabled
  • notFound.images.path
  • images.remote.enabled
  • images.remote.path
  • images.remote.allowFullURL
  • assets.remote.enabled
  • assets.remote.path
  • caching.expireAt
  • caching.ttl
  • auth.clientId
  • auth.secret
  • auth.privateKey
  • auth.tokenTtl
  • headers.useGzipCompression
  • headers.cacheControl
  • experimental.jsTranspiling

In addition to making the above properties overridable at domain level, this PR also includes:

  • Fix an issue where the fallback image configured in notFound.images.path was delivered with the content-type matching the mime type of original request, not from the fallback image itself
  • Make test suite bail after first failure
  • Reset test configuration before tests begin by deleting config.test.json each time

Closes #322.

@eduardoboucas
Copy link
Copy Markdown
Contributor Author

@jimlambie this is ready for you. 👀🎁

@eduardoboucas eduardoboucas merged commit 741fe5d into develop May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant