Skip to content

Manage Mapping Rules from commands #355

@r-lam

Description

@r-lam

The toolbox can update proxy related configuration but, limited to proxy endpoint on API, it can't access proxy mapping rules endpoints since there's no command for it.

My use case is a client requirement for translate this process to CI/CD environment with scripts and is getting complex to do with API requests only.

I've already take hands on it: fork the project and start the journey with ruby. So far, manage to code list, create subcommands like:

#3scale mapping-rules list [opts] <remote> <service>
3scale -k mapping-rules create remote 2 --metric-id=6 --http-method=GET --pattern=/api 
3scale -k mapping-rules list remote 2

Any ideas or if this is useful or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions