Google app engine standard REST API application.
The application provides the status (availability) of three services (multiplayer, user support and ads).
It should accept three query parameters (HTTP GET).
- timezone: timezone of the user
- userId
- cc: country code
The service returns three statuses based upon the availability of a service. A service can either be enabled
or disabled
.
To use the service
{
"multiplayer": "disabled",
"user-support": "disabled",
"ads": "enabled"
}
If the parameters are not provided, the service returns a
400 Bad Request
- Java 8 (1.8 JRE)
- Maven
- Google cloud SDK
To build the project run
- mvn clean
- mvn install
- mvn appengine:run - to run locally
The API was build with the Spring framework, and also uses Datastore for data persistance. Additional dependencies include
- The low level persistance API objectify (which implements automatic caching)
- Junit
- Vadin (for json formation)
There may be some issues with slow saving of information into the datastore. Logging was not implemented.