UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

70 lines 2 kB
{ "skipTransform": false, "transformations": { "mappings": [], "replacements": [ { "target": "$.loadBalancer.roundRobinHttp.verb", "value": "{{$.spec.roundRobinHttp.verb}}", "precedence": 20, "condition": "$.spec.roundRobinHttp.verb", "operation": "replace" }, { "target": "$.loadBalancer.roundRobinHttp.endpoints", "value": "{{$.spec.roundRobinHttp.endpoints}}", "precedence": 20, "condition": "$.spec.roundRobinHttp.endpoints", "operation": "replace" }, { "target": "$.loadBalancer.weightedRandomHttp.verb", "value": "{{$.spec.weightedRandomHttp.verb}}", "precedence": 20, "condition": "$.spec.weightedRandomHttp.verb", "operation": "replace" }, { "target": "$.loadBalancer.weightedRandomHttp.endpoints", "value": "{{$.spec.weightedRandomHttp.endpoints}}", "precedence": 20, "condition": "$.spec.weightedRandomHttp.endpoints", "operation": "replace" }, { "target": "$.loadBalancer.weightedRandomHttp", "value": { "verb": "KEEP", "endpoints": [] }, "precedence": 10, "operation": "replace", "condition": "$.spec.weightedRandomHttp" }, { "target": "$.loadBalancer.inputMessage", "value": "{{$.spec.input}}", "precedence": 20, "condition": "$.spec.input", "operation": "replace" }, { "target": "$.loadBalancer.outputMessage", "value": "{{$.spec.output}}", "precedence": 20, "condition": "$.spec.output", "operation": "replace" }, { "target": "$.loadBalancer.roundRobinHttp", "value": { "verb": "KEEP", "endpoints": [] }, "precedence": 10, "operation": "replace", "condition": "$.spec.roundRobinHttp" } ] } }