Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadow extra config added to the proxy namespace #202

Merged
merged 1 commit into from Feb 18, 2019
Merged

Conversation

kpacha
Copy link
Member

@kpacha kpacha commented Feb 17, 2019

so, a shadow backend is defined as:

...
{
    "endpoint": "/xyz",
    "backend": [
        // actual backend
        {
            "host": [ "http://127.0.0.1:8080" ],
            "url_pattern": "/xyz"
        },
        // backend expecting shadow requests
        {
            "host": [ "http://127.0.0.1:8088" ],
            "url_pattern": "/xyz",
            "extra_config": {
                "github.com/devopsfaith/krakend/proxy": {
                    "shadow": true
                }
            }
        }
    ]
}
...

@kpacha kpacha added this to the 0.8 milestone Feb 17, 2019
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 96.679% when pulling bd49e8d on shadow_extra into a19f3bf on master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 96.679% when pulling bd49e8d on shadow_extra into a19f3bf on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 96.679% when pulling bd49e8d on shadow_extra into a19f3bf on master.

@kpacha kpacha requested a review from taik0 February 17, 2019 22:37
@taik0 taik0 merged commit e79e13b into master Feb 18, 2019
@taik0 taik0 deleted the shadow_extra branch February 18, 2019 08:26
@github-actions
Copy link

github-actions bot commented Apr 8, 2022

This pull request was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants