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

Bug fix: pubsub message's data and label fields missing in publishRaw(). #330

Merged
merged 2 commits into from
Dec 15, 2014

Commits on Dec 15, 2014

  1. Bug fix: pubsub does not publish message data.

    The official API documentation for `publish` endpoint requires `data` and `label` nested under `message` key. (see https://cloud.google.com/pubsub/v1beta1/topics/publish)
    
    ```json
    {
      "topic": string,
      "message": {
        "data": bytes,
        "label": [
          {
            "key": string,
            "strValue": string,
            "numValue": long
          }
        ]
      }
    }
    ```
    pilwon committed Dec 15, 2014
    Configuration menu
    Copy the full SHA
    070ec53 View commit details
    Browse the repository at this point in the history
  2. Updated test cases.

    pilwon committed Dec 15, 2014
    Configuration menu
    Copy the full SHA
    f97caca View commit details
    Browse the repository at this point in the history