Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

HTTPTargetConnection not part of TargetEndpoint within the configuration_schemas.xsd #116

@patrick-zinner

Description

@patrick-zinner

I've created a TargetEndpoint and used the configuration_schemas.xsd. My IDE (IntelliJ) complains that HTTPTargetConnection is not allowed and IMO the reason is, that its missing in the xsd.

The same is true for the HTTPProxyConnection in the ProxyEndpoint.

Example:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TargetEndpoint
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/apigee/api-platform-samples/master/schemas/configuration/configuration_schemas.xsd"
  name="default">
  <PreFlow name="PreFlow">
    <Request>
      <Step>
        <Name>am-custompathprefix-default</Name>
      </Step>
    </Request>
    <Response/>
  </PreFlow>
  <Flows>
    <Flow name="add-user-path">
      <Description>Adds /user as path prefix to certain endpoints</Description>
      <Request>
        <Step>
          <Name>am-custompathprefix-user</Name>
        </Step>
      </Request>
      <Response/>
    </Flow>
  </Flows>
  <PostFlow name="PostFlow">
    <Request/>
    <Response/>
  </PostFlow>
  <HTTPTargetConnection>
    <LoadBalancer>
      <Server name="test"/>
    </LoadBalancer>
    <Path>{customPathPrefix}</Path>
  </HTTPTargetConnection>
</TargetEndpoint>

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