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 support #674

Closed
wants to merge 33 commits into from
Closed

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