You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/04/23 18:53:45 UTC

[incubator-nlpcraft-website] branch master updated: Fix for NLPCRAFT-40.

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git


The following commit(s) were added to refs/heads/master by this push:
     new baa0ede  Fix for NLPCRAFT-40.
baa0ede is described below

commit baa0ede2cf39371e46bf54da622757b4a83d8ae5
Author: Aaron Radzinzski <ar...@datalingvo.com>
AuthorDate: Thu Apr 23 11:53:40 2020 -0700

    Fix for NLPCRAFT-40.
---
 images/oracle-logo.png | Bin 0 -> 21438 bytes
 integrations.html      |  69 ++++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 63 insertions(+), 6 deletions(-)

diff --git a/images/oracle-logo.png b/images/oracle-logo.png
new file mode 100644
index 0000000..dd6c425
Binary files /dev/null and b/images/oracle-logo.png differ
diff --git a/integrations.html b/integrations.html
index 61d7c8b..d25d12a 100644
--- a/integrations.html
+++ b/integrations.html
@@ -735,9 +735,8 @@ if __name__ == '__main__':
     <section>
         <img id="mysql" class="img-title" src="/images/mysql-logo.png" height="80px" alt="">
         <p>
-            You can install and use MySQL as a system database in the REST server instead of the built-in
-            distributed SQL storage
-            from Apache Ignite that is used by default. Add the following dependency to your project:
+            You can install and use MySQL as a system database for the REST server instead of the built-in
+            distributed SQL storage from Apache Ignite that is used by default. Add the following dependency to your project:
         </p>
         <nav>
             <div class="nav nav-tabs" role="tablist">
@@ -799,9 +798,8 @@ if __name__ == '__main__':
     <section>
         <img id="postgres" class="img-title" src="/images/postgresql-logo.png" height="80px" alt="">
         <p>
-            You can install and use PostgreSQL as a system database in the REST server instead of the built-in
-            distributed SQL storage
-            from Apache Ignite that is used by default. Add the following dependency to your project:
+            You can install and use PostgreSQL as a system database for the REST server instead of the built-in
+            distributed SQL storage from Apache Ignite that is used by default. Add the following dependency to your project:
         </p>
         <nav>
             <div class="nav nav-tabs" role="tablist">
@@ -860,6 +858,64 @@ if __name__ == '__main__':
             </li>
         </ul>
     </section>
+    <section>
+        <img id="oracle" class="img-title" src="/images/oracle-logo.png" width="200px" alt="">
+        <p>
+            You can install and use Oracle RDBMS as a system database for the REST server instead of the built-in
+            distributed SQL storage from Apache Ignite that is used by default. Add the following dependency to your project:
+        </p>
+        <nav>
+            <div class="nav nav-tabs" role="tablist">
+                <a class="nav-item nav-link active" data-toggle="tab" href="#nav-oracle-maven" role="tab" aria-controls="nav-home" aria-selected="true">Maven <sup>Java</sup></a>
+                <a class="nav-item nav-link" data-toggle="tab" href="#nav-oracle-grape" role="tab" aria-controls="nav-profile" aria-selected="false">Grape <sup>Groovy</sup></a>
+                <a class="nav-item nav-link" data-toggle="tab" href="#nav-oracle-gradle" role="tab" aria-controls="nav-profile" aria-selected="false">Gradle <sup>Kotlin</sup></a>
+                <a class="nav-item nav-link" data-toggle="tab" href="#nav-oracle-sbt" role="tab" aria-controls="nav-contact" aria-selected="false">SBT <sup>Scala</sup></a>
+            </div>
+        </nav>
+        <div class="tab-content">
+            <div class="tab-pane fade show active" id="nav-oracle-maven" role="tabpanel">
+                    <pre class="brush: xml, highlight: 4">
+                    &lt;dependency&gt;
+                        &lt;groupId&gt;org.oracle&lt;/groupId&gt;
+                        &lt;artifactId&gt;ojdbc14&lt;/artifactId&gt;
+                        &lt;version&gt;10.2.0.4.0&lt;/version&gt;
+                    &lt;/dependency&gt;
+                    </pre>
+            </div>
+            <div class="tab-pane fade" id="nav-oracle-grape" role="tabpanel">
+                    <pre class="brush: java">
+                    @Grab ('org.oracle:ojdbc14:10.2.0.4.0')
+                    </pre>
+            </div>
+            <div class="tab-pane fade" id="nav-oracle-gradle" role="tabpanel">
+                    <pre class="brush: java">
+                    dependencies {
+                        runtime group: 'org.oracle', name: 'ojdbc14', version: '10.2.0.4.0'
+                    }
+                    </pre>
+            </div>
+            <div class="tab-pane fade" id="nav-oracle-sbt" role="tabpanel">
+                    <pre class="brush: scala">
+                    libraryDependencies += "org.oracle" % "ojdbc14" % "10.2.0.4.0"
+                    </pre>
+            </div>
+        </div>
+        <p>
+            Comments:
+        </p>
+        <ul>
+            <li>
+                Make sure to change <code>10.2.0.4.0</code> version to the latest or required one.
+            </li>
+            <li>
+                Update configuration property <code>nlpcraft.server.database.jdbc</code>
+                with required JDBC driver class and JDBC URL.
+            </li>
+            <li>
+                Use scripts from <code>sql/oracle</code> folder to create database and initialize DB schema.
+            </li>
+        </ul>
+    </section>
 </div>
 <div class="col-md-2 third-column">
     <ul class="side-nav">
@@ -871,6 +927,7 @@ if __name__ == '__main__':
         <li><a href="#spacy">spaCy</a></li>
         <li><a href="#mysql">MySQL</a></li>
         <li><a href="#postgres">PostgreSQL</a></li>
+        <li><a href="#oracle">Oracle</a></li>
         {% include quick-links.html %}
     </ul>
 </div>