Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Add extensions.vcl and the type_pipeline extension points #85

Closed
7 tasks done
kptdobe opened this issue May 14, 2019 · 1 comment
Closed
7 tasks done

Add extensions.vcl and the type_pipeline extension points #85

kptdobe opened this issue May 14, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kptdobe
Copy link
Contributor

kptdobe commented May 14, 2019

For adobe/helix-cli#812 and as discussed there, we need:

  • add a extensions.vcl file
  • the file will contain 2 empty subroutines:
    • hlx_type_pipeline_before
    • hlx_type_pipeline_after
  • the extensions.vcl is included by helix.vcl
  • the 2 new subroutines are called at the beginning and the end of hlx_type_pipeline subroutine
  • the extensions.vcl file is upload to Fastly exactly like the other vcl files

The override capability is handled in #79

@kptdobe kptdobe added the enhancement New feature or request label May 14, 2019
@kptdobe kptdobe self-assigned this May 14, 2019
@kptdobe kptdobe changed the title Add custom.vcl and the type_pipeline extension points Add extensions.vcl and the type_pipeline extension points May 14, 2019
@kptdobe
Copy link
Contributor Author

kptdobe commented May 14, 2019

While writing the code, I think extensions.vcl makes more sense than custom.vcl.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant