blob: 5e355fced35d175cd67b1489ff85a2c7591d7754 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
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="OOZIE" name="oozie" version="4.0.0">
<metadata>
<type>API</type>
<context>/oozie</context>
<shortDesc>Oozie Web Services API</shortDesc>
<description>Oozie is a workflow scheduler system to manage Apache Hadoop jobs. The Oozie Web Services API is a HTTP REST JSON API.</description>
<samples>
<sample>
<description>Fetch the supported Oozie protocol versions by the server</description>
<method>GET</method>
<path>oozie/versions</path>
</sample>
<sample>
<description>Fetch the system status</description>
<method>GET</method>
<path>oozie/v1/admin/status</path>
</sample>
<sample>
<description>You may check out Apache Oozie's REST API documentation here</description>
<value>https://oozie.apache.org/docs/4.0.1/WebServicesAPI.html</value>
</sample>
</samples>
</metadata>
<routes>
<route path="/oozie/**?**">
<rewrite apply="OOZIE/oozie/configuration" to="request.body"/>
</route>
<route path="/oozie/v1/**?**">
<rewrite apply="OOZIE/oozie/configuration" to="request.body"/>
</route>
<route path="/oozie/v2/**?**">
<rewrite apply="OOZIE/oozie/configuration" to="request.body"/>
</route>
</routes>
<testURLs>
<testURL>/oozie/v1/admin/build-version</testURL>
<testURL>/oozie/v1/admin/status</testURL>
<testURL>/oozie/versions</testURL>
</testURLs>
</service>