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

Batch Kapow remote feed #14

Closed
CesarGallego opened this issue Aug 21, 2019 · 2 comments
Closed

Batch Kapow remote feed #14

CesarGallego opened this issue Aug 21, 2019 · 2 comments
Labels
discussion things to discuss about enhancement New feature or request
Milestone

Comments

@CesarGallego
Copy link
Contributor

As Kapow admin I want to replicate a running kapow from a newly fresh kapow, even if i have no original script files.

@CesarGallego CesarGallego added enhancement New feature or request discussion things to discuss about labels Aug 21, 2019
@CesarGallego
Copy link
Contributor Author

I realize that list must print the original script too

@nilp0inter
Copy link
Contributor

The command kapow route list which prints out the full list of current routes in JSON format has been implemented in 71bca13.

The expected behavior can be achieved with a little scripting:

kapow route list | jq -r '.[]|"curl -XPUT -d\(.|@text) http://localhost:8081/routes"' | sh

@nilp0inter nilp0inter added this to the 0.2.0 milestone Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion things to discuss about enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants