You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2013/10/03 17:07:17 UTC

[18/22] git commit: MARMOTTA-328: create admin interface for bigdata backend

MARMOTTA-328: create admin interface for bigdata backend


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/bf33c2a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/bf33c2a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/bf33c2a8

Branch: refs/heads/develop
Commit: bf33c2a83bc746c2a5097e56e294843c7985a924
Parents: 870966e
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Thu Oct 3 15:55:13 2013 +0200
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Thu Oct 3 15:55:13 2013 +0200

----------------------------------------------------------------------
 .../main/resources/config-defaults.properties   | 24 +++++++++
 .../resources/config-descriptions.properties    | 24 +++++++++
 .../src/main/resources/web/admin/about.html     | 43 ++++++++++++++++
 .../main/resources/web/admin/configuration.html | 53 ++++++++++++++++++++
 4 files changed, 144 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/bf33c2a8/platform/marmotta-backend-bigdata/src/main/resources/config-defaults.properties
----------------------------------------------------------------------
diff --git a/platform/marmotta-backend-bigdata/src/main/resources/config-defaults.properties b/platform/marmotta-backend-bigdata/src/main/resources/config-defaults.properties
new file mode 100644
index 0000000..787484e
--- /dev/null
+++ b/platform/marmotta-backend-bigdata/src/main/resources/config-defaults.properties
@@ -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.
+#
+
+
+###############################################################################
+# BigData storage configuration
+###############################################################################
+
+bigdata.textIndex = true
+

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/bf33c2a8/platform/marmotta-backend-bigdata/src/main/resources/config-descriptions.properties
----------------------------------------------------------------------
diff --git a/platform/marmotta-backend-bigdata/src/main/resources/config-descriptions.properties b/platform/marmotta-backend-bigdata/src/main/resources/config-descriptions.properties
new file mode 100644
index 0000000..3d44328
--- /dev/null
+++ b/platform/marmotta-backend-bigdata/src/main/resources/config-descriptions.properties
@@ -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.
+#
+
+###############################################################################
+# BigData storage configuration
+###############################################################################
+
+bigdata.textIndex.description = Boolean option (default "true") enables support for a full text index that may be used \
+  to lookup literals by tokens found in the text of those literals
+bigdata.textIndex.type = java.lang.Boolean

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/bf33c2a8/platform/marmotta-backend-bigdata/src/main/resources/web/admin/about.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-backend-bigdata/src/main/resources/web/admin/about.html b/platform/marmotta-backend-bigdata/src/main/resources/web/admin/about.html
new file mode 100644
index 0000000..cb5651e
--- /dev/null
+++ b/platform/marmotta-backend-bigdata/src/main/resources/web/admin/about.html
@@ -0,0 +1,43 @@
+<!--
+  ~ 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.
+  -->
+<html>
+<head>
+    <!--###BEGIN_HEAD###-->
+    <title>Storage Backend: BigData</title>
+    <!--###END_HEAD###-->
+</head>
+<body>
+<!--###BEGIN_CONTENT###-->
+<h1>Storage Backend: BigData</h1>
+
+<p>
+    This module provides an Apache Marmotta storage backend based on the <a href="http://www.systap.com/bigdata.htm">BigData</a>
+    triple store. BigData is a highly scalable, highly performant, highly concurrent triple store implementation that you can
+    use in cases where your volume of data is very high and/or you do not want/need to store your data in a relational database
+    as with the KiWi backend.
+</p>
+<p>
+    <strong>Note:</strong> The BigData triple store is licensed under
+    <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public License (GPLv2)</a>. For you, this
+    means that you cannot distribute custom packages making use of this backend if you do not obtain a separate license from
+    Systap. For the same reason, the Apache Marmotta team also cannot offer pre-packaged distributions. However, if you
+    build the distribution for your own use, you are free to use the system without additional license requirements.
+</p>
+<!--###END_CONTENT###-->
+</body>
+</html>
+

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/bf33c2a8/platform/marmotta-backend-bigdata/src/main/resources/web/admin/configuration.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-backend-bigdata/src/main/resources/web/admin/configuration.html b/platform/marmotta-backend-bigdata/src/main/resources/web/admin/configuration.html
new file mode 100644
index 0000000..2631de0
--- /dev/null
+++ b/platform/marmotta-backend-bigdata/src/main/resources/web/admin/configuration.html
@@ -0,0 +1,53 @@
+<!--
+  ~ 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.
+  -->
+<html>
+<head>
+<title>Storage Backend: BigData</title>
+<script type="text/javascript">
+	var _SERVER_URL = "http://localhost:8080/LMF/";
+</script>
+<!--###BEGIN_HEAD###-->
+    <script type="text/javascript" src="../../webjars/jquery/1.8.2/jquery.min.js"></script>
+    <script type="text/javascript" src="../../core/public/js/widgets/configurator/configurator.js"></script>
+    <link rel="stylesheet" href="style.css" />
+    <link type="text/css" rel="stylesheet" href="../../core/public/js/widgets/configurator/style.css">
+    <script type="text/javascript">
+        jQuery(document).ready(function(){
+            var options = {
+                url : _SERVER_URL,
+                container : "bigdata_configurator",
+                prefix : 'bigdata'
+            }
+            var configurator = new Configurator(options);
+        });
+    </script>
+<!--###END_HEAD###-->
+</head>
+<body>
+  <!--###BEGIN_CONTENT###-->
+  <h1>BigData Backend Configuration</h1>
+  <p>
+    Here you can configure options offered by the BigData triple store. Some documentation on these options is available
+      <a href="http://www.bigdata.com/bigdata/docs/api/com/bigdata/rdf/sail/BigdataSail.Options.html">at the BigData webpage</a><br />
+      The configuration currently contains:
+  </p>
+  <div id="bigdata_configurator">
+    <h4>Loading configurator</h4>
+  </div>
+  <!--###END_CONTENT###-->
+</body>
+</html>
\ No newline at end of file