Skip to content

Commit

Permalink
IGNITE-13767: Removed PHP, Node.js and Python from main repo
Browse files Browse the repository at this point in the history
This closes apache#8512
  • Loading branch information
isapego committed Mar 15, 2021
1 parent 4d43434 commit 61bb218
Show file tree
Hide file tree
Showing 247 changed files with 28 additions and 42,076 deletions.
3 changes: 0 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ for Transparent Data Encryption of data on disk
and for AWS S3 Client Side Encryprion.
(https://java.sun.com/javase/technologies/security/)

* Python client uses Python's SSL lib (https://docs.python.org/3/library/ssl.html) which is a wrapper over OpenSSL;
* NodeJS client uses NodeJS's TLS module (https://nodejs.org/api/tls.html) which is a wrapper over OpenSSL;
* PHP client uses PHP OpenSSL extension (https://www.php.net/manual/en/book.openssl.php);
* C++ thin client and ODBC use OpenSSL to establish secure connection with the cluster.
The OpenSSL Project (https://www.openssl.org/)

Expand Down
76 changes: 0 additions & 76 deletions assembly/release-apache-ignite-base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,44 +41,6 @@
<destName>CMakeLists.txt</destName>
</file>

<!-- Copy Node.js files. -->
<file>
<source>modules/platforms/nodejs/index.js</source>
<outputDirectory>/platforms/nodejs</outputDirectory>
</file>

<file>
<source>modules/platforms/nodejs/package.json</source>
<outputDirectory>/platforms/nodejs</outputDirectory>
</file>

<file>
<source>modules/platforms/nodejs/README.md</source>
<outputDirectory>/platforms/nodejs</outputDirectory>
</file>

<!-- Copy PHP files. -->
<file>
<source>modules/platforms/php/composer.json</source>
<outputDirectory>/platforms/php</outputDirectory>
</file>

<!-- Copy Python files. -->
<file>
<source>modules/platforms/python/LICENSE</source>
<outputDirectory>/platforms/python</outputDirectory>
</file>

<file>
<source>modules/platforms/python/README.md</source>
<outputDirectory>/platforms/python</outputDirectory>
</file>

<file>
<source>modules/platforms/python/setup.py</source>
<outputDirectory>/platforms/python</outputDirectory>
</file>

<!-- Other files. -->
<file>
<source>assembly/LICENSE_IGNITE</source>
Expand Down Expand Up @@ -224,44 +186,6 @@
<outputDirectory>/platforms/cpp/bin</outputDirectory>
</fileSet>

<!-- Copy Node.js binaries. -->
<fileSet>
<directory>modules/platforms/nodejs/lib</directory>
<outputDirectory>/platforms/nodejs/lib</outputDirectory>
</fileSet>

<fileSet>
<directory>modules/platforms/nodejs/examples</directory>
<outputDirectory>/platforms/nodejs/examples</outputDirectory>
</fileSet>

<!-- Copy PHP sources. -->
<fileSet>
<directory>modules/platforms/php/src</directory>
<outputDirectory>/platforms/php/src</outputDirectory>
</fileSet>

<fileSet>
<directory>modules/platforms/php/examples</directory>
<outputDirectory>/platforms/php/examples</outputDirectory>
</fileSet>

<!-- Copy Python sources. -->
<fileSet>
<directory>modules/platforms/python/pyignite</directory>
<outputDirectory>/platforms/python/pyignite</outputDirectory>
</fileSet>

<fileSet>
<directory>modules/platforms/python/requirements</directory>
<outputDirectory>/platforms/python/requirements</outputDirectory>
</fileSet>

<fileSet>
<directory>modules/platforms/python/examples</directory>
<outputDirectory>/platforms/python/examples</outputDirectory>
</fileSet>

<!-- Other files. -->
<fileSet>
<directory>bin</directory>
Expand Down
6 changes: 3 additions & 3 deletions docs/_docs/quick-start/nodejs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ include::includes/starting-node.adoc[]


Once the cluster is started, you can use the Ignite Node.js thin client to perform cache operations.
Your Ignite installation includes several ready-to-run Node.JS examples in the `{ignite_nodejs_dir}/platforms/nodejs/examples` directory. For example,
Your Ignite installation includes several ready-to-run Node.JS examples in the `{client_dir}/examples` directory. For example,

[source,shell]
----
cd {IGNITE_HOME}/platforms/nodejs/examples
cd {client_dir}/examples
node CachePutGetExample.js
----

Expand Down Expand Up @@ -100,5 +100,5 @@ performCacheKeyValueOperations();
From here, you may want to:

* Read more about using Ignite Node.js Thin Client link:thin-clients/nodejs-thin-client[here]
//* Explore the link:https://github.com/gridgain/nodejs-thin-client/tree/master/examples[additional examples] included with Ignite
* Explore the link:https://github.com/apache/ignite-nodejs-thin-client/tree/master/examples[additional examples]

17 changes: 7 additions & 10 deletions docs/_docs/quick-start/php.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ and:

include::includes/install-ignite.adoc[]

Once that's done, go to `{IGNITE_HOME}/platforms/php` and install Ignite PHP Thin Client as a Composer package using the command below:
Once that's done, install PHP Thin Client as a Composer package using the command below:

[source, ruby]
----
composer install --no-dev
----
include::includes/install-php-composer.adoc[]

You're almost ready to run your first application.

Expand All @@ -56,22 +53,22 @@ include::includes/starting-node.adoc[]
== Running Your First Application

Once at least one node is started, you can use the Ignite PHP thin client to perform cache operations.
Your Ignite installation includes several ready-to-run PHP examples in the `{IGNITE_HOME}/platforms/php/examples` directory. For example,
Your Ignite installation includes several ready-to-run PHP examples in the `{client_dir}/examples` directory.
Here is example how to run one of them:


[tabs]
--
tab:Unix[]
[source,shell]
----
cd {IGNITE_HOME}/platforms/php/examples
cd {client_dir}/examples
php CachePutGetExample.php
----

tab:Windows[]
[source,shell]
----
cd {IGNITE_HOME}\platforms\php\examples
cd {client_dir}\examples
php CachePutGetExample.php
----
--
Expand Down Expand Up @@ -121,5 +118,5 @@ performCacheKeyValueOperations();
From here, you may want to:

* Read more about using link:thin-clients/php-thin-client[PHP Thin Client]
//* Explore the link:https://github.com/gridgain/php-thin-client/tree/master/examples[additional examples] included with GridGain
* Explore the link:https://github.com/apache/ignite-php-thin-client/tree/master/examples[additional examples] included with GridGain

2 changes: 1 addition & 1 deletion docs/_docs/quick-start/python.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ Or you can enter the example into your Python interpreter/shell (IDLE on Windows

== Further Examples

Explore more Ignite Python examples link:{githubUrl}/modules/platforms/python/examples[here^].
Explore more Ignite Python examples link:https://github.com/apache/ignite-python-thin-client/tree/master/examples[here^].
4 changes: 2 additions & 2 deletions docs/_docs/thin-clients/nodejs-thin-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ npm install -g apache-ignite-client

The thin client can be installed from the zip archive available for download from the Ignite website:

* Download the link:https://ignite.apache.org/download.cgi#binaries[Apache Ignite binary package,window=_blank].
* Unpack the archive and navigate to the `{IGNITE_HOME}/platforms/nodejs` folder.
* Download the link:https://ignite.apache.org/download.cgi#binaries[Apache Ignite Node.js Thin Client,window=_blank].
* Unpack the archive and navigate to the root folder.
* Run the commands below to finish the installation.

[source,shell]
Expand Down
14 changes: 11 additions & 3 deletions docs/_docs/thin-clients/php-thin-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,18 @@ Depending on your PHP configuration, you may need to additionally install/config

== Installation

The thin client can be installed from the zip archive:
The PHP thin client is shipped as a Composer package and a zip archive. Use any of the methods to install the client in your environment.

* Download the link:https://ignite.apache.org/download.cgi#binaries[Apache Ignite binary package,window=_blank].
* Unpack the archive and navigate to the `{IGNITE_HOME}/platforms/php` folder.
=== Using Composer

include::includes/install-php-composer.adoc[]

=== Using ZIP Archive

The thin client can be installed from the zip archive available for download from the Apache Ignite website:

* Download the link:https://ignite.apache.org/download.cgi#binaries[Apache Ignite PHP Thin Client,window=_blank].
* Unpack the archive and navigate to the root folder.
* Use the command below to install the package.

[source,shell]
Expand Down
8 changes: 4 additions & 4 deletions docs/_docs/thin-clients/python-thin-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ include::includes/install-python-pip.adoc[]

=== Using ZIP Archive

The thin client can be installed from the zip archive:
The thin client can be installed from the zip archive available for download from the Apache Ignite website:

* Download the link:https://ignite.apache.org/download.cgi#binaries[Apache Ignite binary package,window=_blank].
* Download the link:https://ignite.apache.org/download.cgi#binaries[Apache Ignite Python Thin Client,window=_blank].
* Unpack the archive and navigate to the root folder.
* Install the client using the command below.

Expand Down Expand Up @@ -78,8 +78,8 @@ Refer to the https://setuptools.readthedocs.io/en/latest/[Setuptools manual] for

== Connecting to Cluster

The distribution package contains runnable examples that demonstrate basic usage scenarios of the Python thin client.
The examples are located in the `{ROOT_FOLDER}/examples` directory.
The ZIP distribution package contains runnable examples that demonstrate basic usage scenarios of the Python thin client.
The examples are located in the `{client_dir}/examples` directory.

The following code snippet shows how to connect to a cluster from the Python thin client:

Expand Down
32 changes: 0 additions & 32 deletions modules/platforms/nodejs/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions modules/platforms/nodejs/api_spec/conf.json

This file was deleted.

Loading

0 comments on commit 61bb218

Please sign in to comment.