As a user I wish have the ability to push changes I make first to a sandbox before deploying them over to the staging network.
I have been doing this by completing 2 steps with APIs:1) Download current ruleset with PAPI (e.g. with Akamai PM CLI) to temporary file (filtering the "rules" JSON field standalone)
2) Upload the ruleset to the sandbox from the file, with the Akamai Sandbox CLIIt would be great if at least the sandbox CLI could take the ruleset from standard input, so that no temp file has to be saved, or even better if it could directly take the output from> akamai property retrive www.example.comso that it can be piped into the sandbox CLI without even needing jq:> akamai property retrieve www.example.com | akamai sandbox update mysandbox --rules
Hi @Luciano, this is a great idea. our plan with this request is to include a button within the property manager UI to allow users to push their JSON rules directly into a sandbox. Would you prefer a UI based method over the CLI method you mentioned below?
Hi @Akhil, yes, the Property Manager UI button as described originally sounds really great. My mention to adding "pipe" capabilities to the CLI was only in order to get a slightly more streamlined workflow in a way that seems quicker to accomplish...Of course if PM->Sandbox integration exists is better than PM->CLI->Sandbox ;-)
You won't be notified about changes to this idea.