Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket #711

Merged
merged 87 commits into from Jul 4, 2019
Merged

Websocket #711

merged 87 commits into from Jul 4, 2019

Commits on May 8, 2019

  1. demo websoket version

    computerpunc committed May 8, 2019
    Copy the full SHA
    c4811ca View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. Copy the full SHA
    e32b9fa View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Bug fixes

    * Fix bug of test stop running when sending a an update to a non existing connection.
    * Fix but when querry string support was not equally handled as in AWS.
    computerpunc committed May 21, 2019
    Copy the full SHA
    1ea68e0 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. Copy the full SHA
    53e9eef View commit details
    Browse the repository at this point in the history

Commits on May 26, 2019

  1. GWAPI REST API suppoprt

    POST to /@connections/{connectionId} to send message to client at connectionId.
    computerpunc committed May 26, 2019
    Copy the full SHA
    602ac7b View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Changed the way to get function to post-to-connection

    Here's the new way:
      const endpoint=event.requestContext.domainName+'/'+event.requestContext.stage;
      const apiVersion='2018-11-29';
      let API=null;
      if (!process.env.IS_OFFLINE) {
        API = require('aws-sdk');
        require('aws-sdk/clients/apigatewaymanagementapi');
      } else {
        API = require('serverless-offline').AWS;
      }
      return new API.ApiGatewayManagementApi({ apiVersion, endpoint });
    computerpunc committed May 27, 2019
    Copy the full SHA
    c4c6ea6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    10c377d View commit details
    Browse the repository at this point in the history
  3. Minor Improved logs

    1. Action of routes.
    2. Listening on WS message sending via REST API.
    computerpunc committed May 27, 2019
    Copy the full SHA
    bca81cd View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    da8c749 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2019

  1. Copy the full SHA
    fe4a51d View commit details
    Browse the repository at this point in the history
  2. Leftovers from merge

    computerpunc committed May 28, 2019
    Copy the full SHA
    f527670 View commit details
    Browse the repository at this point in the history
  3. Fix lint errors

    computerpunc committed May 28, 2019
    Copy the full SHA
    4ec82ad View commit details
    Browse the repository at this point in the history
  4. Fix static AWS = { ... }

    computerpunc committed May 28, 2019
    Copy the full SHA
    4e61aa5 View commit details
    Browse the repository at this point in the history
  5. Fix 2 lint errors

    computerpunc committed May 28, 2019
    Copy the full SHA
    289e8f5 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2019

  1. Removed require('aws-sdk/clients/apigatewaymanagementapi');

    Doesn't seem to be needed anymore as a workaround in aws-sdk.
    computerpunc committed May 29, 2019
    Copy the full SHA
    ca34ccb View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. Removed the need for require('serverless-offline').AWS

    Use plain vanilla AWS SDK:
    let endpoint=event.apiGatewayUrl;
    if (!endpoint) endpoint = event.requestContext.domainName+'/'+event.requestContext.stage;
    const apiVersion='2018-11-29';
    return new AWS.ApiGatewayManagementApi({ apiVersion, endpoint });
    computerpunc committed May 30, 2019
    Copy the full SHA
    2f3dfbd View commit details
    Browse the repository at this point in the history
  2. Last commit leftovers

    computerpunc committed May 30, 2019
    Copy the full SHA
    f9600f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2019

  1. Copy the full SHA
    f3cf815 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Copy the full SHA
    4521b88 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Copy the full SHA
    96dbd16 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1e559b7 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1ea590e View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6638b73 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2019

  1. Copy the full SHA
    b51ddb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. Copy the full SHA
    381355b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d45ea7a View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    66ffe6a View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. Support for websocketsApiRouteSelectionExpression

    In the form of $request.body.x.y.z
    computerpunc committed Jun 11, 2019
    Copy the full SHA
    02ce0e7 View commit details
    Browse the repository at this point in the history
  2. Fix lint errors

    computerpunc committed Jun 11, 2019
    Copy the full SHA
    3759b06 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    72a1fc4 View commit details
    Browse the repository at this point in the history
  4. Merge leftovers

    computerpunc committed Jun 11, 2019
    Copy the full SHA
    687f901 View commit details
    Browse the repository at this point in the history
  5. Update README

    computerpunc committed Jun 11, 2019
    Copy the full SHA
    b9b0eef View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    b6c1095 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. Export on exports

    dnalborczyk committed Jun 12, 2019
    Copy the full SHA
    e855a4a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    53da9c1 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d802dcf View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Copy the full SHA
    aa4f977 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

  1. Order props

    dnalborczyk committed Jun 14, 2019
    Copy the full SHA
    2df8ef8 View commit details
    Browse the repository at this point in the history
  2. Remove unused options

    dnalborczyk committed Jun 14, 2019
    Copy the full SHA
    fd0637d View commit details
    Browse the repository at this point in the history
  3. Add websocket port option

    dnalborczyk committed Jun 14, 2019
    Copy the full SHA
    8a699ab View commit details
    Browse the repository at this point in the history
  4. Fix spelling

    dnalborczyk committed Jun 14, 2019
    Copy the full SHA
    7c34178 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2019

  1. Copy the full SHA
    193e282 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2019

  1. Copy the full SHA
    536d1b3 View commit details
    Browse the repository at this point in the history
  2. Property order nits

    dnalborczyk committed Jun 16, 2019
    Copy the full SHA
    c51ea7e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Spelling

    dnalborczyk committed Jun 17, 2019
    Copy the full SHA
    7b9c942 View commit details
    Browse the repository at this point in the history
  2. Require on top of file

    dnalborczyk committed Jun 17, 2019
    Copy the full SHA
    5aa2365 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    25832c8 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    1386954 View commit details
    Browse the repository at this point in the history
  5. Linting

    dnalborczyk committed Jun 17, 2019
    Copy the full SHA
    35a3616 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    ca16506 View commit details
    Browse the repository at this point in the history
  7. Rename variable

    dnalborczyk committed Jun 17, 2019
    Copy the full SHA
    d631458 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2019

  1. Copy the full SHA
    0e3b4d8 View commit details
    Browse the repository at this point in the history
  2. Update deps

    dnalborczyk committed Jun 18, 2019
    Copy the full SHA
    741287b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d0fe602 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a9f4a09 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2019

  1. Lint and rename folders

    dherault committed Jun 22, 2019
    Copy the full SHA
    e54cdc3 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into websocket-fixes

    # Conflicts:
    #	src/index.js
    dherault committed Jun 22, 2019
    Copy the full SHA
    fdbd07d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c38a4bc View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    9247070 View commit details
    Browse the repository at this point in the history
  5. Fix http/https --> HTTP

    dherault committed Jun 22, 2019
    Copy the full SHA
    719a14e View commit details
    Browse the repository at this point in the history
  6. Use option to enable websocket feature

    Fix manual_test_websocket
    dherault committed Jun 22, 2019
    Copy the full SHA
    209a95e View commit details
    Browse the repository at this point in the history
  7. Edit documentation

    dherault committed Jun 22, 2019
    Copy the full SHA
    6959108 View commit details
    Browse the repository at this point in the history
  8. Fix travis build lint error

    dherault committed Jun 22, 2019
    Copy the full SHA
    e73983c View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Fix a test that didn't run correctly on AWS

    Test: 'should receive error code when sending to non existing client via REST API'
    computerpunc committed Jun 25, 2019
    Copy the full SHA
    d6eae11 View commit details
    Browse the repository at this point in the history
  2. Fixed test failing when running offline

    Test: 'should receive correct call info'
    computerpunc committed Jun 25, 2019
    Copy the full SHA
    5e19fa6 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. Move to nodejs10.x runtime

    In order to remove the need to use an updated AWS sdk and so only to upload a few KB instead of ~10MB.
    computerpunc committed Jun 26, 2019
    Copy the full SHA
    0f74255 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. Merge pull request #720 from computerpunc/websocket-fixes

    Websocket #711 - Fix failing manual WebSocket tests
    dherault committed Jun 28, 2019
    Copy the full SHA
    9ade958 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Copy the full SHA
    c5caceb View commit details
    Browse the repository at this point in the history
  2. Remove websocket feature toggling

    Edit websocket default port (port + 1 --> 3001)
    Launch websocket server when needed
    dherault committed Jun 30, 2019
    Copy the full SHA
    7f56a18 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a77723e View commit details
    Browse the repository at this point in the history
  4. lint

    dherault committed Jun 30, 2019
    Copy the full SHA
    9d84707 View commit details
    Browse the repository at this point in the history
  5. Update docs

    dherault committed Jun 30, 2019
    Copy the full SHA
    f489781 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Copy the full SHA
    48c27d8 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Copy the full SHA
    1ba79f2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    27639ae View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d5e14aa View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e70db4b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #725 from frsechet/websocket-fixes

    Add DELETE route to close a websocket connection
    dherault committed Jul 2, 2019
    Copy the full SHA
    28266f2 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    b83c123 View commit details
    Browse the repository at this point in the history
  7. merge master

    dnalborczyk committed Jul 2, 2019
    Copy the full SHA
    27e1e05 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #726 from frsechet/fix/aws-difference

    close connection on error in $connect action handler
    dherault committed Jul 2, 2019
    Copy the full SHA
    b9b1d72 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Copy the full SHA
    c3fcc4c View commit details
    Browse the repository at this point in the history
  2. Merge master

    dnalborczyk committed Jul 3, 2019
    Copy the full SHA
    b02e874 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    4f5ce66 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c0bea4c View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f901507 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #729 from frsechet/fix/tests-sigv4-delete-connection

    fix: don't add body and content-type headers to sigv4
    dnalborczyk committed Jul 3, 2019
    Copy the full SHA
    09d299a View commit details
    Browse the repository at this point in the history