In the policy template xml definition examples, the schemaLocation for http-policy and http-policy-transform don't resolve. The xsd schemas for almost every other component is available though http://www.mulesoft.org/schema/mule/.
|
<?xml version="1.0" encoding="UTF-8"?> |
|
<mule xmlns="http://www.mulesoft.org/schema/mule/core" |
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
xmlns:http-policy="http://www.mulesoft.org/schema/mule/http-policy" |
|
xmlns:http-transform="http://www.mulesoft.org/schema/mule/http-policy-transform" |
|
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd |
|
http://www.mulesoft.org/schema/mule/http-policy http://www.mulesoft.org/schema/mule/http-policy/current/mule-http-policy.xsd |
|
http://www.mulesoft.org/schema/mule/http-policy-transform http://www.mulesoft.org/schema/mule/http-policy-transform/current/mule-http-policy-transform.xsd"> |
|
|
|
<http-policy:proxy name="policy"> |
|
<http-policy:source> |
|
<http-policy:execute-next/> |
|
|
|
<http-transform:add-headers outputType="response"> |
|
<http-transform:headers>#[{'policyHeader': 'policyHeaderValue'}]</http-transform:headers> |
|
</http-transform:add-headers> |
|
</http-policy:source> |
|
</http-policy:proxy> |
|
</mule> |
Specifically:
http-policy - http://www.mulesoft.org/schema/mule/http-policy/current/mule-http-policy.xsd
and
http-policy-transform - http://www.mulesoft.org/schema/mule/http-policy-transform/current/mule-http-policy-transform.xsd
both return 404.
In the policy template xml definition examples, the
schemaLocationforhttp-policyandhttp-policy-transformdon't resolve. The xsd schemas for almost every other component is available though http://www.mulesoft.org/schema/mule/.docs-gateway/mule-gateway/modules/ROOT/pages/policies-custom-mule-4-reference.adoc
Lines 170 to 188 in 1156e35
Specifically:
and
both return 404.