You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2019/02/23 21:26:39 UTC

[GitHub] fdominik opened a new pull request #1070: TINKERPOP-2143 JavaScript GLV: Support browsers

fdominik opened a new pull request #1070: TINKERPOP-2143 JavaScript GLV: Support browsers
URL: https://github.com/apache/tinkerpop/pull/1070
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2143
   Summary of changes:
   * Updated dependency on WS package (which was very old 3.0.0) to v 6.0.0. This is required by browsers.
   * Added dependency to util and events packages which were required by the javascript module,  but were not listed in dependencies, so that it wouldn't compile.
   * Added new dependency to uiid library.
   
   * Generation of UUIDs was passed to UUID library instead of utilizing crypto package (which is not anymore available as separate library in browsers world, it is bundled, however some functions used in generating UUID were not available in the new bundled crypto). The uuid library can generate UUID of version 4, which was the version used to generate the UUIDs.
   * Usage of standard WebSocket object from default packages.
    -  a new Buffer handling had to be written because the browser WS library doesnt have automatic creation of Buffer Arrays, so it had to be implemented from scratch => using Uint8Array.
   
   Code has been tested in our UI project, where we can send requests from UI to Gremlin server. I wasn't able to run the Tinkerpop tests locally.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services