| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <service role="ATLAS" name="atlas" version="2.1.0"> |
| <metadata> |
| <type>UI</type> |
| <context>/atlas</context> |
| <shortDesc>Atlas UI</shortDesc> |
| <description>Apache Atlas provides open metadata management and governance capabilities for organizations to build a catalog of their data assets, |
| classify and govern these assets and provide collaboration capabilities around these data assets for data scientists, analysts and the data governance team.</description> |
| </metadata> |
| <routes> |
| <route path="/atlas"> |
| <rewrite apply="ATLAS/atlas/inbound/root" to="request.url"/> |
| <rewrite apply="ATLAS/atlas/outbound/headers" to="response.headers"/> |
| </route> |
| |
| <route path="/atlas/**"> |
| <rewrite apply="ATLAS/atlas/inbound/path" to="request.url"/> |
| <rewrite apply="ATLAS/atlas/outbound/headers" to="response.headers"/> |
| </route> |
| |
| <route path="/atlas/**?**"> |
| <rewrite apply="ATLAS/atlas/inbound/query" to="request.url"/> |
| <rewrite apply="ATLAS/atlas/outbound/headers" to="response.headers"/> |
| </route> |
| </routes> |
| |
| <dispatch classname="org.apache.knox.gateway.dispatch.ConfigurableDispatch" ha-classname="org.apache.knox.gateway.ha.dispatch.AtlasTrustedProxyHaDispatch" > |
| <param> |
| <name>responseExcludeHeaders</name> |
| <value>WWW-AUTHENTICATE</value> |
| </param> |
| </dispatch> |
| </service> |