knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-349: Knox API for Topology Management. Support for deploy/undeploy topologies.
Date Mon, 04 Aug 2014 22:41:17 GMT
Repository: knox
Updated Branches:
  refs/heads/master 5fd06aff2 -> 93b56251f


KNOX-349: Knox API for Topology Management. Support for deploy/undeploy topologies.


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

Branch: refs/heads/master
Commit: 93b56251f77e5a9415775e4fee401d84a2cfcb8e
Parents: 5fd06af
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Mon Aug 4 18:41:06 2014 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Mon Aug 4 18:41:06 2014 -0400

----------------------------------------------------------------------
 .../apache/hadoop/gateway/topology/jaxb.index   | 21 +++++++
 .../hadoop/gateway/topology/jaxb.properties     | 16 ++++++
 .../gateway/topology/topology_binding.xml       | 59 ++++++++++++++++++++
 3 files changed, 96 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/93b56251/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.index
----------------------------------------------------------------------
diff --git a/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.index
b/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.index
new file mode 100644
index 0000000..78e716f
--- /dev/null
+++ b/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.index
@@ -0,0 +1,21 @@
+#
+#  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.
+#
+Topology
+Param
+Service
+Provider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/93b56251/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.properties
----------------------------------------------------------------------
diff --git a/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.properties
b/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.properties
new file mode 100644
index 0000000..8c7ac2f
--- /dev/null
+++ b/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/jaxb.properties
@@ -0,0 +1,16 @@
+#  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.
+javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/knox/blob/93b56251/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/topology_binding.xml
----------------------------------------------------------------------
diff --git a/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/topology_binding.xml
b/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/topology_binding.xml
new file mode 100644
index 0000000..1f5a594
--- /dev/null
+++ b/gateway-spi/src/main/resources/org/apache/hadoop/gateway/topology/topology_binding.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<xml-bindings
+    xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm"
+    package-name="org.apache.hadoop.gateway.topology" 
+    xml-mapping-metadata-complete="true">
+    <xml-schema
+        element-form-default="QUALIFIED"/>
+    <java-types>
+        <java-type name="Topology" xml-accessor-type="NONE">
+            <xml-type prop-order="providers services"/>
+            <xml-root-element/>
+            <java-attributes prop-order="providers services">
+                <xml-elements java-attribute="providers">
+                    <xml-element name="provider"/>
+                    <xml-element-wrapper name="gateway"/>
+                </xml-elements>
+                <xml-element java-attribute="services" name="service"/>
+            </java-attributes>
+        </java-type>
+        <java-type name="Provider" xml-accessor-type="NONE">
+            <java-attributes>
+                <xml-element java-attribute="name" name="name"/>
+                <xml-element java-attribute="enabled" name="enabled"/>
+                <xml-element java-attribute="role" name="role"/>
+                <xml-element java-attribute="paramsList" name="param"/>
+            </java-attributes>
+        </java-type>
+        <java-type name="Service" xml-accessor-type="NONE">
+            <java-attributes>
+                <xml-element java-attribute="role" name="role"/>
+                <xml-element java-attribute="url" name="url"/>
+                <xml-element java-attribute="paramsList" name="param"/>
+            </java-attributes>
+        </java-type>
+        <java-type name="Param" xml-accessor-type="NONE">
+            <java-attributes>
+                <xml-element java-attribute="name"/>
+                <xml-element java-attribute="value"/>
+            </java-attributes>
+        </java-type>
+    </java-types>
+</xml-bindings>
\ No newline at end of file


Mime
View raw message