[jira] [Commented] (IGNITE-7782) Thin Client lib: Python

2018-10-19 Thread Dmitry Melnichuk (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656439#comment-16656439
 ] 

Dmitry Melnichuk commented on IGNITE-7782:
--

The client was successfully tested on the following 
OSes/architectures/platforms:
 * Arch Linux, AMD64, Python 3.4, 3.6, 3.7;
 * Ubuntu Server 16.04, i386, Python 3.5***;
 * Windows Server 2008 R2, x86-64, Python 3.7;
 * Windows 10 Home N, x86-32, Python 3.7,
 * FreeBSD 11.2, AMD64, Python 3.6;
 * FreeBSD 11.2, i386, Python 3.6.

*** _pip_ in Ubuntu 16.04 repository is outdated. Make sure to uninstall it, 
than install with 
[get-pip|https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py] 
script.

> Thin Client lib: Python
> ---
>
> Key: IGNITE-7782
> URL: https://issues.apache.org/jira/browse/IGNITE-7782
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Affects Versions: 2.7
>Reporter: Alexey Kosenchuk
>Assignee: Dmitry Melnichuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7
>
>
> Implement Thin (lightweight) Client lib in Python programming language for 
> Ignite Binary Client Protocol 
> [https://apacheignite.readme.io/docs/binary-client-protocol]
> Prototype:
>  [https://github.com/skozlov-gridgain/apache-ignite-python-thin-client]
> Example - NodeJS client - IGNITE-
>  [https://github.com/nobitlost/ignite/tree/master/modules/platforms/nodejs]
> ---
> h5. Package name (for use with setuptools/PyPI):
> pyignite
> h5. Location of the lib in the repository:
> .../modules/platforms/python
> h5. Python version:
> 3.4+ (tested on 3.4 and 3.6)
> h5. Ignite version:
> 2.7.
> h5. Architecture:
> Syncronous (safe for use with threading/multiprocessing), object-oriented.
> h5. Documentation:
> Sphinx/autodoc + readme.md
> h5. Test framework:
> pytest, pytest-runner for setuptools pytest integration.
> h5. Usage examples included:
> - cache management (creating, configuring, deleting),
> - key-value operations,
> - cache scan,
> - basic SQL queries,
> - simple and advanced work with Complex objects,
> - fail-over connection.
> h5. Goal:
> Create a full-featured Ignite thin client library:
> - carefully implement, test, and document all the features of the binary 
> protocol, that can be useful in Python programs,
> - implement and document features like type IDs or serialization hints, that 
> are mostly useless in Python, for interoperability's sake,
> - skip features, that are not applicable to Python programs, like filter 
> object in scan query.
> h5. Proposed scope of features:
> - basic and SSL-wrapped TCP connection,
> - authentication and authorization,
> - failover mechanism,
> - all datatypes,
> - all client operations (except Binary-Type operations with type names).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7782) Thin Client lib: Python

2018-10-15 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650039#comment-16650039
 ] 

ASF GitHub Bot commented on IGNITE-7782:


Github user asfgit closed the pull request at:

https://github.com/apache/ignite/pull/4278


> Thin Client lib: Python
> ---
>
> Key: IGNITE-7782
> URL: https://issues.apache.org/jira/browse/IGNITE-7782
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Affects Versions: 2.7
>Reporter: Alexey Kosenchuk
>Assignee: Dmitry Melnichuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7
>
>
> Implement Thin (lightweight) Client lib in Python programming language for 
> Ignite Binary Client Protocol 
> [https://apacheignite.readme.io/docs/binary-client-protocol]
> Prototype:
>  [https://github.com/skozlov-gridgain/apache-ignite-python-thin-client]
> Example - NodeJS client - IGNITE-
>  [https://github.com/nobitlost/ignite/tree/master/modules/platforms/nodejs]
> ---
> h5. Package name (for use with setuptools/PyPI):
> pyignite
> h5. Location of the lib in the repository:
> .../modules/platforms/python
> h5. Python version:
> 3.4+ (tested on 3.4 and 3.6)
> h5. Ignite version:
> 2.7.
> h5. Architecture:
> Syncronous (safe for use with threading/multiprocessing), object-oriented.
> h5. Documentation:
> Sphinx/autodoc + readme.md
> h5. Test framework:
> pytest, pytest-runner for setuptools pytest integration.
> h5. Usage examples included:
> - cache management (creating, configuring, deleting),
> - key-value operations,
> - cache scan,
> - basic SQL queries,
> - simple and advanced work with Complex objects,
> - fail-over connection.
> h5. Goal:
> Create a full-featured Ignite thin client library:
> - carefully implement, test, and document all the features of the binary 
> protocol, that can be useful in Python programs,
> - implement and document features like type IDs or serialization hints, that 
> are mostly useless in Python, for interoperability's sake,
> - skip features, that are not applicable to Python programs, like filter 
> object in scan query.
> h5. Proposed scope of features:
> - basic and SSL-wrapped TCP connection,
> - authentication and authorization,
> - failover mechanism,
> - all datatypes,
> - all client operations (except Binary-Type operations with type names).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7782) Thin Client lib: Python

2018-06-28 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526591#comment-16526591
 ] 

ASF GitHub Bot commented on IGNITE-7782:


GitHub user dmelnichuk opened a pull request:

https://github.com/apache/ignite/pull/4278

IGNITE-7782 Thin Client lib: Python (initial implementation)

Please review this preliminary version of Ignite binary API client library, 
written in Python 3.

What is done:
- all API operations implemented,
- code is mostly tested (pytest, ~90% covered),
- setuptools integration, 100% PyPI-ready,
- documentation provided (Sphinx/autodoc).

What is **not** yet done:
- complex object datatype support,
- authentication and authorization support,
- throughly tested SQL operations,
- improved data checking and error reporting,
- …

Tested with Python 3.4 and 3.6, Ignite 2.5.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/nobitlost/ignite ignite-7782

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/4278.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #4278


commit 4b444dff62c04b97bc2cdb0676ad52880374
Author: ekaterina-nbl 
Date:   2018-03-20T21:12:21Z

initial implementation

commit d1e8014c80f698028d23e09cafd7ea190ac3e929
Author: ekaterina-nbl 
Date:   2018-03-20T21:32:52Z

initial implementation

commit f79229e233ffa7bff1e7c22f04749924af6d712a
Author: ekaterina-nbl 
Date:   2018-03-22T09:39:32Z

initial implementation

commit 658d60b58840080b664e02815f4ba6aac76e5804
Author: ekaterina-nbl 
Date:   2018-03-22T16:52:18Z

minor update

commit 617cef12ad72791c7e7e67179e1b0c3f7f3ae6bb
Author: ekaterina-nbl 
Date:   2018-03-25T13:33:27Z

api spec

commit d9729585f5a901977e2a2e40e86a2b715fab79fa
Author: alexey-nbl 
Date:   2018-03-25T21:27:11Z

link to api_spec added

commit ea847eba62e556fa81cbf9838ffe17af60f464e4
Author: ekaterina-nbl 
Date:   2018-03-31T22:07:50Z

error types modified

commit c2ad53fe625cc3a05155eeef318421538830
Author: ekaterina-nbl 
Date:   2018-03-31T23:41:56Z

client states

commit 6d2233864b4d891361d38a7143846570bd6c0ef6
Author: ekaterina-nbl 
Date:   2018-04-01T13:11:27Z

object types improvement

commit 52fbc5f87143da068596141cb59b17b684fd2c1f
Author: ekaterina-nbl 
Date:   2018-04-02T16:59:52Z

complex objects

commit cae5a28e7e0d610434debcc140738e2f48d061cf
Author: ekaterina-nbl 
Date:   2018-04-02T20:13:00Z

object types improvement

commit 3165405d4eae09519dc9b5f40f162eb74a9b3c5d
Author: ekaterina-nbl 
Date:   2018-04-02T21:21:26Z

client states

commit fdbb8f86b32fe4c038d38620a80921be3038f31f
Author: alexey-nbl 
Date:   2018-04-03T08:26:04Z

Ignite client states described

commit 04b946885db0ea2f6fe56a75e28302641dad5f61
Author: alexey-nbl 
Date:   2018-04-03T09:35:49Z

minor update

commit f4aaf1c3f23c82ba7974b4c571a9984748e5e82e
Author: alexey-nbl 
Date:   2018-04-03T12:47:54Z

Update ObjectType.js

commit e4c8279f4e83b3ed13383420ab3d1417b090a3fa
Author: ekaterina-nbl 
Date:   2018-04-03T13:46:19Z

minor updates + api spec

commit ed2e4ee830ca40a28dc31958665f52fab6a0bcdd
Author: alexey-nbl 
Date:   2018-04-04T14:34:52Z

Update ObjectType.js

commit 7e1666eb5df82b622a028c0ea949fa21c79e66c2
Author: alexey-nbl 
Date:   2018-04-04T15:14:00Z

Update ObjectType.js

commit 7b0270d65b597dc1b0d164e78f07c3a21c37ca67
Author: ekaterina-nbl 
Date:   2018-04-08T17:16:43Z

sql queries, key value ops

commit fe90f53fd08f77add17fbf06d014f9a9b0a11c65
Author: alexey-nbl 
Date:   2018-04-08T18:31:47Z

Update IgniteClient.js

commit 04137bf5ec3b7077e194edd0100a01bb43f7933a
Author: alexey-nbl 
Date:   2018-04-08T18:37:04Z

Update CacheConfiguration.js

commit b63ad5980718da1b0c44fa4ca138c6e85e47aef3
Author: alexey-nbl 
Date:   2018-04-08T19:11:11Z

Update ObjectType.js

commit 756b908c9dc38ae497e4d7d740f836dabed93e48
Author: alexey-nbl 
Date:   2018-04-08T22:41:54Z

Update CacheClient.js

commit e96ffee17298dd25d26a7029738132478271cf92
Author: ekaterina-nbl 
Date:   2018-04-08T23:23:33Z

object array, minor updates

commit c050e671f74232c4efc41f51c2018d08b152cbbc
Author: alexey-nbl 
Date:   2018-04-09T21:04:35Z

Update CacheClient.js

commit 25052a4e93d6fcc0b0c4789fdd5a1eb85413b5a2
Author: alexey-nbl 
Date:   2018-04-09T22:43:50Z

Update ObjectType.js

commit c516b4147c10398d4f34d78a8830dd0fcb5f28f4
Author: alexey-nbl 
Date:   2018-04-10T11:50:13Z

Update CacheClient.js

commit 0e9924a0df8a1d41718fb929698b8e4416f2efa2
Author: ekaterina-nbl 
Date:   2018-04-10T13:21:16Z

cache key value operations tests

commit e09ee0e7969bffd6f4cfd11579f6d0ff9b486c9