[jira] [Commented] (IGNITE-7777) Thin Client lib: Node.js

2018-09-17 Thread Alexey Kosenchuk (JIRA)


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

Alexey Kosenchuk commented on IGNITE-:
--

For historical purpose - all original readmes and instructions are summarized 
here
https://github.com/nobitlost/ignite/blob/ignite--docs/modules/platforms/nodejs/README.md

> Thin Client lib: Node.js
> 
>
> Key: IGNITE-
> URL: https://issues.apache.org/jira/browse/IGNITE-
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Reporter: Alexey Kosenchuk
>Assignee: Alexey Kosenchuk
>Priority: Major
> Fix For: 2.7
>
>
> Implement Thin (lightweight) Client lib in Node.js programming language for 
> Ignite Binary Client Protocol.
> Examples of other Thin Clients:
> .net 
> https://github.com/apache/ignite/tree/master/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client
> java https://github.com/gridgain/apache-ignite/tree/ignite-7421
> https://apacheignite.readme.io/v2.3/docs/java-thin-client
> Scope of work
> -
> Functionality:
> Support all operations of the Ignite Binary Client Protocol 2.4:
> https://apacheignite.readme.io/v2.4/docs/binary-client-protocol
> Except:
>   OP_QUERY_SCAN (requires changes on the server side)
>   OP_REGISTER_BINARY_TYPE_NAME, OP_GET_BINARY_TYPE_NAME (not applicable)
> Support name/password authentication (not in the protocol yet).
> Support optional SSL/TLS communication.
> Support failover/reconnect algorithm:
> https://issues.apache.org/jira/browse/IGNITE-7282
> http://apache-ignite-developers.2346864.n4.nabble.com/Thin-client-failover-mechanism-ODBC-JDBC-td26553.html
> Minimal Node.js version - 8.0
> Promise asynch/await to be used.
> Examples:
> Cover all basic features - Key-value API, SQL queries, Cluster 
> configuration/management, Authentication, SSL/TLS.
> Tests:
> Jasmine tests for all API methods and all basic features.
> Simple Jasmine tests to start examples.
> The tests should call external commands/scripts to start/stop the nodes.
> Docs:
> Auto-generated API spec from jsdoc comments:
> http://usejsdoc.org/
> https://www.npmjs.com/package/jsdoc
> Readme for the lib.
> Simple instruction to setup/run examples.
> Simple instruction to setup/run Jasmine tests.
> Docs should be on readme.io or in github - TBD
> Released as NPM module on https://www.npmjs.com
>  



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


[jira] [Commented] (IGNITE-7777) Thin Client lib: Node.js

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

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

ASF GitHub Bot commented on IGNITE-:


GitHub user ekaterina-nbl opened a pull request:

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

IGNITE- Node.js client: full API & implementation



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

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

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

https://github.com/apache/ignite/pull/3978.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 #3978


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 

[jira] [Commented] (IGNITE-7777) Thin Client lib: Node.js

2018-05-10 Thread Alexey Kosenchuk (JIRA)

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

Alexey Kosenchuk commented on IGNITE-:
--

Issues against Binary Client Protocol 2.4: IGNITE-8039 IGNITE-8212 IGNITE-8411


> Thin Client lib: Node.js
> 
>
> Key: IGNITE-
> URL: https://issues.apache.org/jira/browse/IGNITE-
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Reporter: Alexey Kosenchuk
>Assignee: Alexey Kosenchuk
>Priority: Major
>
> Implement Thin (lightweight) Client lib in Node.js programming language for 
> Ignite Binary Client Protocol.
> Examples of other Thin Clients:
> .net 
> https://github.com/apache/ignite/tree/master/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client
> java https://github.com/gridgain/apache-ignite/tree/ignite-7421
> https://apacheignite.readme.io/v2.3/docs/java-thin-client
> Scope of work
> -
> Functionality:
> Support all operations of the Ignite Binary Client Protocol 2.4:
> https://apacheignite.readme.io/v2.4/docs/binary-client-protocol
> Except:
>   OP_QUERY_SCAN (requires changes on the server side)
>   OP_REGISTER_BINARY_TYPE_NAME, OP_GET_BINARY_TYPE_NAME (not applicable)
> Support name/password authentication (not in the protocol yet).
> Support optional SSL/TLS communication.
> Support failover/reconnect algorithm:
> https://issues.apache.org/jira/browse/IGNITE-7282
> http://apache-ignite-developers.2346864.n4.nabble.com/Thin-client-failover-mechanism-ODBC-JDBC-td26553.html
> Minimal Node.js version - 8.0
> Promise asynch/await to be used.
> Examples:
> Cover all basic features - Key-value API, SQL queries, Cluster 
> configuration/management, Authentication, SSL/TLS.
> Tests:
> Jasmine tests for all API methods and all basic features.
> Simple Jasmine tests to start examples.
> The tests should call external commands/scripts to start/stop the nodes.
> Docs:
> Auto-generated API spec from jsdoc comments:
> http://usejsdoc.org/
> https://www.npmjs.com/package/jsdoc
> Readme for the lib.
> Simple instruction to setup/run examples.
> Simple instruction to setup/run Jasmine tests.
> Docs should be on readme.io or in github - TBD
> Released as NPM module on https://www.npmjs.com
>  



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


[jira] [Commented] (IGNITE-7777) Thin Client lib: Node.js

2018-03-22 Thread Alexey Kosenchuk (JIRA)

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

Alexey Kosenchuk commented on IGNITE-:
--

The first basic/minimal version for initial review/feedback:
https://github.com/apache/ignite/pull/3680


> Thin Client lib: Node.js
> 
>
> Key: IGNITE-
> URL: https://issues.apache.org/jira/browse/IGNITE-
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Reporter: Alexey Kosenchuk
>Assignee: Alexey Kosenchuk
>Priority: Major
>
> Implement Thin (lightweight) Client lib in Node.js programming language for 
> Ignite Binary Client Protocol.
> Examples of other Thin Clients:
> .net 
> https://github.com/apache/ignite/tree/master/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client
> java https://github.com/gridgain/apache-ignite/tree/ignite-7421
> https://apacheignite.readme.io/v2.3/docs/java-thin-client
> Scope of work
> -
> Functionality:
> Support all operations of the Ignite Binary Client Protocol 2.4:
> https://apacheignite.readme.io/v2.4/docs/binary-client-protocol
> Support name/password authentication - TBD (not in the protocol yet).
> Support optional SSL/TLS communication.
> Support failover/reconnect algorithm:
> https://issues.apache.org/jira/browse/IGNITE-7282
> http://apache-ignite-developers.2346864.n4.nabble.com/Thin-client-failover-mechanism-ODBC-JDBC-td26553.html
> Minimal Node.js version - 8.0
> Promise asynch/await to be used.
> Examples:
> Cover all basic features - Key-value API, SQL, Scan queries, Cluster 
> configuration/management, Authentication, SSL/TLS.
> Tests:
> Jasmine tests for all API methods and all basic features.
> Simple Jasmine tests to start examples.
> How to emulate node failure to test failover/reconnect? - TBD.
> Docs:
> Auto-generated API spec from jsdoc comments:
> http://usejsdoc.org/
> https://www.npmjs.com/package/jsdoc
> Readme for the lib.
> Simple instruction to setup/run examples.
> Simple instruction to setup/run Jasmine tests.
> Docs should be on readme.io or in github - TBD
> Released as NPM module on https://www.npmjs.com
>  



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


[jira] [Commented] (IGNITE-7777) Thin Client lib: Node.js

2018-02-23 Thread Alexey Kosenchuk (JIRA)

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

Alexey Kosenchuk commented on IGNITE-:
--

Yee... we do think about this. Will provide the API for review first, of course.

> Thin Client lib: Node.js
> 
>
> Key: IGNITE-
> URL: https://issues.apache.org/jira/browse/IGNITE-
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Reporter: Alexey Kosenchuk
>Assignee: Alexey Kosenchuk
>Priority: Major
>
> Implement Thin (lightweight) Client lib in Node.js programming language for 
> Ignite Binary Client Protocol 
> https://apacheignite.readme.io/docs/binary-client-protocol
> Examples of other Thin Clients:
> .net 
> https://github.com/apache/ignite/tree/master/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client
> java 
> https://github.com/gridgain/apache-ignite/tree/ignite-7421/modules/thinclient
> Scope of work
> -
> Functionality:
> Support all operations of the Ignite Binary Client Protocol 2.4.
> Support name/password authentication - TBD (not in the protocol yet).
> Support optional SSL/TLS communication - TBD (not in the protocol yet).
> Support optional failover/reconnect - TBD.
> Minimal Node.js version - TBD.
> Synch ops emulation - callbacks, or Promises, or asynch/await - TBD.
> Examples:
> Cover all basic features - Key-value API, SQL, Scan queries, Cluster 
> configuration/management, Authentication, SSL/TLS.
> Tests:
> Jasmine tests for all API methods and all basic features.
> Simple Jasmine tests to start examples.
> How to emulate node failure to test failover/reconnect? - TBD.
> Docs:
> Auto-generated API spec from comments. JSdoc, or javadoc, or what? - TBD.
> Readme for the lib.
> Simple instruction to setup/run examples.
> Simple instruction to setup/run Jasmine tests.
> Docs format - .md in the repo, or dash.readme.io ? - TBD.
>  



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


[jira] [Commented] (IGNITE-7777) Thin Client lib: Node.js

2018-02-21 Thread Dmitriy Setrakyan (JIRA)

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

Dmitriy Setrakyan commented on IGNITE-:
---

Great addition to the project! I have a question about SQL queries. What is the 
return value of the query? Is it going to be some time of a cursor? Will it be 
paginated?

> Thin Client lib: Node.js
> 
>
> Key: IGNITE-
> URL: https://issues.apache.org/jira/browse/IGNITE-
> Project: Ignite
>  Issue Type: New Feature
>  Components: thin client
>Reporter: Alexey Kosenchuk
>Assignee: Alexey Kosenchuk
>Priority: Major
>
> Implement Thin (lightweight) Client lib in Node.js programming language for 
> Ignite Binary Client Protocol 
> https://apacheignite.readme.io/docs/binary-client-protocol
> Examples of other Thin Clients:
> .net 
> https://github.com/apache/ignite/tree/master/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client
> java 
> https://github.com/gridgain/apache-ignite/tree/ignite-7421/modules/thinclient
> Scope of work
> -
> Functionality:
> Support all operations of the Ignite Binary Client Protocol 2.4.
> Support name/password authentication - TBD (not in the protocol yet).
> Support optional SSL/TLS communication - TBD (not in the protocol yet).
> Support optional failover/reconnect - TBD.
> Minimal Node.js version - TBD.
> Synch ops emulation - callbacks, or Promises, or asynch/await - TBD.
> Examples:
> Cover all basic features - Key-value API, SQL, Scan queries, Cluster 
> configuration/management, Authentication, SSL/TLS.
> Tests:
> Jasmine tests for all API methods and all basic features.
> Simple Jasmine tests to start examples.
> How to emulate node failure to test failover/reconnect? - TBD.
> Docs:
> Auto-generated API spec from comments. JSdoc, or javadoc, or what? - TBD.
> Readme for the lib.
> Simple instruction to setup/run examples.
> Simple instruction to setup/run Jasmine tests.
> Docs format - .md in the repo, or dash.readme.io ? - TBD.
>  



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