这是indexloc提供的服务,不要输入任何密码
Skip to content

apigeecli apis create graphql incorrectly creates Assign Message for --target-url-ref #17

@kurtkanaskie

Description

@kurtkanaskie

GqlCreateCmd.Flags().StringVarP(&targetUrlRef, "apikey-location", "",

Using:

apigeecli apis create graphql --name people-graphql -f people.graphql --basepath /people-graphql --target-url-ref my_target_url_var --apikey-location request.header.x-apikey

Creates an Assign Message on Target PreFlow with

<AssignMessage async="false" continueOnError="false" enabled="true" name="Set-Target-1">
    <AssignVariable>
        <Name>target.url</Name>
        <Ref>request.header.x-apikey</Ref>
    </AssignVariable>
    <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</AssignMessage>

It should use <Ref>my_target_url_var</Ref>
It should support the --target-url string

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