| <!-- |
| 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="NIFI-REGISTRY" name="nifi-registry" version="0.5.0"> |
| <metadata> |
| <type>UI</type> |
| <context>/nifi-registry-app</context> |
| <shortDesc>Nifi Registry UI</shortDesc> |
| <description>Registry — a subproject of Apache NiFi — is a complementary application that provides a central location for storage and management of shared resources across one or more instances of NiFi and/or MiNiFi.</description> |
| </metadata> |
| <routes> |
| <route path="/nifi-registry-app/**"> |
| <rewrite apply="NIFI-REGISTRY/nifi-registry/inbound/path" to="request.url"/> |
| </route> |
| <route path="/nifi-registry-app/**?**"> |
| <rewrite apply="NIFI-REGISTRY/nifi-registry/inbound/path/query" to="request.url"/> |
| </route> |
| <route path="/nifi-registry-app/**/?**"> |
| <rewrite apply="NIFI-REGISTRY/nifi-registry/inbound/path/query-other" to="request.url"/> |
| </route> |
| </routes> |
| <dispatch classname="org.apache.knox.gateway.dispatch.NiFiRegistryDispatch" ha-classname="org.apache.knox.gateway.dispatch.NiFiRegistryHaDispatch" use-two-way-ssl="true" /> |
| </service> |