observability-cli
observability-cli copied to clipboard
[POA-527] Add apidump flags support in ecs command
Plan: https://postmanlabs.atlassian.net/wiki/spaces/PO/pages/5053218962/Plan+Insights+Agent+ECS+and+other+tasks+for+supporting+50+users
- Added support for the following eight flags:
filter,host-allow,host-exclusions,interfaces,path-allow,path-exclusions,rate-limitandstats-log-delay. - Added new vars and persistent flags for them
- These flags were used in
makeAgentContainerDefinition()andadd.gowhile constructing the entryPoint slice. - For flags which are of slice type we are adding them separately instead of joining them with comma(,)
- These flags can also be used in all three sub-commands, i.e.
add,cf-fragmentandtask-def
Reviewers:
- Primary: @shreys7
- Secondary: @mgritter
How are we planning to test this @mudit-postman ?
How are we planning to test this @mudit-postman?
I am testing this by logging the flag values and using the Postman beta environment's keys. I am also commenting the final step, where the updated definition is applied.