Skip to content

Conversation

@johnnyshields
Copy link
Contributor

@johnnyshields johnnyshields commented Jul 21, 2018

Current Behavior

  • Not possible to set product_token and endpoint per message

Enhancement

  1. Support multiple API endpoints with random sending pattern.
  2. It adds configuration.endpoints and makes endpoint= and alias to it. It accepts either a String or Array (internally the value is an array)
  3. Enables setting product_token and endpoint per message
  4. Add timeout global setting for HTTP timeout with CM endpoints, default value 10 seconds.
  5. Update API endpoint to be https://gw.cmtelecom.com

More background

CM provides separate endpoints w/ separate token for mainland china vs. global, hence my app has the use case to set per message.

@johnnyshields
Copy link
Contributor Author

@itschn please merge this then cut a release.

@coveralls
Copy link

coveralls commented Jul 21, 2018

Coverage Status

Coverage increased (+0.03%) to 99.712% when pulling 69f1eaf on johnnyshields:multi-endpoint into cc1694a on HitFox:master.

@johnnyshields
Copy link
Contributor Author

@itschn can you merge this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants