Skip to content

jitterted/webhook-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JitterTed's Webhook Proxy for Overlay

Proxies Webhook callbacks from Trello (soon to add Twitch) via WebSocket to a Vue app running on a local machine.

Vue front-end overlay code is at https://github.com/jitterted/jitteroverlay

Trello Board

Trello board holding the features to work on, etc.: https://trello.com/b/wKSOndRf/jitterted-overlays

API reference docs for Trello are here: https://developer.atlassian.com/cloud/trello/rest/

Requirements

Requires environment variables for Trello API token and key. More info soon.

TO DO

  • Add exception handling for the delete webhook function

  • Add better description info when registering webhooks with Trello

Lessons Learned

Change error handling like this:

// restTemplate.setErrorHandler(new DefaultResponseErrorHandler() { // @Override // public boolean hasError(ClientHttpResponse response) throws IOException { // return false; // } // });

But doesn't handle things well if the API returns different objects for different status codes

Parameterizing RestTemplate for Raw Array

as per 'return_1's suggestion on stream:

restTemplate.exchange("", HttpMethod.GET, null,
                      new ParameterizedTypeReference<List<TrelloWebhook>>() {},
                      "");

About

Webhook Proxy for use with JitterTed Overlay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published