{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Josh iQu · Mar 15, 2018 at 07:01 PM · 144 Views targetendpointflowstarget path urlurl

The url Target is repeated in the Trace UI

Hi,

I try to use 2 targets when i call at proxy from Postman for "task" the url in trace is repeated but only when my url in proxy use this part

?$filter=((Status%20eq%20%27READY%27))

if only use this http://poc.clients.test/poc/tasks.svc/TaskCollection

The proxy work.

What is the problem with this???

Routh rule

<RouteRule name="Task">
        <Condition>(proxy.pathsuffix MatchesPath "/task") and (request.verb = "GET")</Condition>
        <TargetEndpoint>Task</TargetEndpoint>
    </RouteRule>

The other tarjet

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TargetEndpoint name="Task">
    <PreFlow name="PreFlow">
        <Request>
            <Step>
                <Name>JavaScript-1</Name>
            </Step>
        </Request>
        <Response/>
    </PreFlow>
    <HTTPTargetConnection>
        <URL>http://poc.clients.test/poc/tasks.svc/TaskCollection?$filter=((Status%20eq%20%27READY%27))</URL>
    </HTTPTargetConnection>
</TargetEndpoint>

The java script policy

context.setVariable("target.copy.pathsuffix", false);

Result trace section

http://poc.clients.test/poc/tasks.svc/TaskCollection?$filter=((Status%20eq%20%27READY%27))/poc/tasks.svc/TaskCollection?%24filter=%28%28Status%20eq%20%27READY%27%29%29

Expeted result

http://poc.clients.test/poc/tasks.svc/TaskCollection?$filter=((Status%20eq%20%27READY%27))

Thanks and Regards.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
2

Answer by Dino   · Mar 17, 2018 at 01:48 PM

I have reproduced the problem.

The error is in the Trace display.

The actual call does not duplicate the path.

I've filed a bug. b/75354830

Thanks for reporting this.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

36 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

request.uri is not being evaluated in reports 1 Answer

One Proxy end point with different target endpoints 1 Answer

Appending keycode to Path on Request URL via Assign Message Policy 1 Answer

Empty Path element in targetendpoint adding additional urlencoded characters 1 Answer

Change Target URL while using target server configuration 3 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges