Giter Club home page Giter Club logo

integration.examples's Introduction

Integrating with VenueOps via the Open API

The OpenApiBasicExample app

The OpenApiBasicExample shows how to authenticate with the Open API and to make a call. Before using it, you will need to get a ClientId and ClientSecret from the EventBooking staff and place them in the appropriate location in Program.cs.

See the Open API documentation for all the services that it provides.

Integrating with VenueOps via SQS

This code example in this repository shows how to send and retrieve messages from an AWS SQS queue. This is one of several ways that EventBooking provides "push" notifications from VenueOps for integration purposes.

Why SQS?

The first advantage is that both systems rely on a third service and need to have very little knowledge of each other. This third service is simple, well-understood, and reliable.

The second advantage is that a queue can buffer messages between systems so that downtime of one does not affect the other. Messages simple stack up in the queue until the receiving system is operational.

The third advantage is that unexpected traffic will not cause unnecessary load on a system. If one system is limited in the speed with thich it can process messages, again, the messages will simply stack up until they are processed.

Using AWS

The SqsExample app

You will need to add your own settings in the Program.cs file. If you're not sure what to put in Region, check the QueueUrl. As of this writing, the valid choices for Region are:

Code Name
us-east-1 US East (N. Virginia)
us-west-2 US West (Oregon)
us-west-1 US West (N. California)
eu-west-1 EU (Ireland)
eu-central-1 EU (Frankfurt)
ap-southeast-1 Asia Pacific (Singapore)
ap-northeast-1 Asia Pacific (Tokyo)
ap-southeast-2 Asia Pacific (Sydney)
ap-northeast-2 Asia Pacific (Seoul)
ap-south-1 Asia Pacific (Mumbai)
sa-east-1 South America (São Paulo)

Once you have set up the sample app, you should be able to use it to send and receive messages from a queue.

integration.examples's People

Contributors

brocwhite avatar

Watchers

James Cloos avatar  avatar Troy McNeil avatar Jeffrey A Burton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.