knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject knox git commit: KNOX-789 - Apache Atlas REST API support (Nixon Rodrigues via Sandeep More)
Date Thu, 06 Jul 2017 15:01:26 GMT
Repository: knox
Updated Branches:
  refs/heads/master 96fbfc94a -> 83b17a5d5


KNOX-789 - Apache Atlas REST API support (Nixon Rodrigues via Sandeep More)


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/83b17a5d
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/83b17a5d
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/83b17a5d

Branch: refs/heads/master
Commit: 83b17a5d5a8e8f48f303140c27e3b4b96055d80e
Parents: 96fbfc9
Author: Sandeep More <more@apache.org>
Authored: Thu Jul 6 11:01:15 2017 -0400
Committer: Sandeep More <more@apache.org>
Committed: Thu Jul 6 11:01:15 2017 -0400

----------------------------------------------------------------------
 .../services/atlas-api/0.8.0/rewrite.xml        | 23 +++++++++++++++++++
 .../services/atlas-api/0.8.0/service.xml        | 24 ++++++++++++++++++++
 2 files changed, 47 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/83b17a5d/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/rewrite.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/rewrite.xml
new file mode 100644
index 0000000..d028f37
--- /dev/null
+++ b/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/rewrite.xml
@@ -0,0 +1,23 @@
+<!--
+   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.
+-->
+
+
+<rules>
+    <rule dir="IN" name="ATLAS-API/atlas/inbound" pattern="*://*:*/**/atlas/api/{path=**}?{**}">
+        <rewrite template="{$serviceUrl[ATLAS-API]}/api/{path=**}?{**}"/>
+    </rule>
+</rules>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/83b17a5d/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
b/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
new file mode 100644
index 0000000..38edca9
--- /dev/null
+++ b/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
@@ -0,0 +1,24 @@
+<!--
+   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-API" name="atlas-api" version="0.8.0">
+    <routes>
+        <route path="/atlas/api/**"/>
+    </routes>
+    <dispatch classname="org.apache.hadoop.gateway.dispatch.PassAllHeadersDispatch"/>
+</service>
\ No newline at end of file


Mime
View raw message