Application Management
Last updated
Last updated
Application Management is the process of defining and maintaining the applications you want to deploy with the ONE Game Hosting service.
An Application is defined by the following two elements:
Application definition elements:
For information on maintaining builds for your Application, please see the chapter.
To be able to deploy an imaginary game called "Bluewolf", you first have to create an Application element, defining your application within the platform. It would be specified as follows:
JSON request data :
Next, ApplicationProperty elements are added to the Application. This is necessary for Application configuration and to ensure the platform knows how to deploy related instances:
The value 1
for propertyType
stands for "public network port". In this case we give it the name game_port
and the default value of 0. Passing 0 instructs the platform to find a random free port each time an application instance is started.
The value 6
for propertyType
stands for "private network port". Giving your Application a managementport property tells the platform that your game servers can be queried for information, or that commands can be issued. The latter depends on the value of the Application.management_protocol property you provided while creating the Application. Just like with the previous game_port property, the value 0 tells the platform to pick a random port on each application instance start.
This is a raw property. The platform does not use these internally for any kind of functionality and these properties are here only for your own reference, or to use as a static configuration parameter in your game server startup configurations.
We now have a complete Application element with definitions for:
application type, Application.type = 1
(game)
a managementProtocol, Application.managementProtocol = 2
(Arcus)
a management private network port, ApplicationProperty "managementport"
with default value 0
(random port)
a game server public network port, ApplicationProperty "game_port"
with default value 0
(random port)
a default revision value, ApplicationProperty "revision"
with value 1.2.13
The value 2 for managementProtocol stands for the management protocol.
JSON request data :
JSON request data :
JSON request data :