Git Product home page Git Product logo

acmeair-driver's Introduction

Acme Air Sample and Benchmark

This application shows an implementation of a fictitious airline called "Acme Air". The application was built with the some key business requirements: the ability to scale to billions of web API calls per day, the need to develop and deploy the application in public clouds (as opposed to dedicated pre-allocated infrastructure), and the need to support multiple channels for user interaction (with mobile enablement first and browser/Web 2.0 second).

There are two implementations of the application tier. Each application implementation, supports multiple data tiers. They are:

  • Node.js
    • MongoDB
    • Cloudant
  • Java
    • WebSphere Liberty Profile to WebSphere eXtreme Scale
    • WebSphere Liberty Profile to Mongodb

Repository Contents

Source:

  • acmeair-common: The Java entities used throughout the application
  • acmeair-loader: A tool to load the Java implementation data store
  • acmeair-services: The Java data services interface definitions
  • acmeair-service-wxs: A WebSphere eXtreme Scale data service implementation
  • acmeair-service-morphia: A mongodb data service implementation
  • acmeair-webapp: The Web 2.0 application and associated Java REST services

How to get started

Ask Questions

Questions about the Acme Air Open Source Project can be directed to our Google Groups.

Submit a bug report

We use github issues to report and handle bug reports.

OSS Contributions

We accept contributions via pull requests.

CLA agreements needed for us to accept pull requests soon can be found in the CLAs directory of the repository.

acmeair-driver's People

Contributors

dougrt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acmeair-driver's Issues

CancelBooking failing 50% of the time

I'm playing around with the acmeair-driver and I'm seeing the following behaviour:

  • around 50% of the calls to /cancelbooking fail
  • fail with NullPointerException
  • failing requests have missing POST data

Example of successful request:

POST http://40.86.208.15/booking/cancelbooking

POST data:
number=&userid=uid4%40email.com

Cookie Data:
jwt_token=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1aWQ0QGVtYWlsLmNvbSJ9.rTZyWUUi45DWVOo6RJ5OR-11x7xVEqoiW0OMuBszj2U; [email protected]

Example of failing request:

POST http://40.86.208.15/booking/cancelbooking

POST data:


Cookie Data:
jwt_token=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1aWQxMTdAZW1haWwuY29tIn0.Gxl6tdZ91zlxS8mWTtExXKwzKsxpxrGbdgNQJpRWark; [email protected]

This points to a possible bug on the driver which is triggering a cancel with bogus data (no POST data is propagated).

Have you seen this behaviour?

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.