MarketPlaces of HTTP make use of a conventional HTTP server to expose the images (MarketPlaceApps) uploaded to a MarketPlace of this kind. The image will be placed in a specific directory that must be configured to be exposed by HTTP.
This is a fully supported MarketPlace with all the implemented features.
A web-server should be deployed either in the Frontend or in a node reachable by the Frontend. A directory that will be used to store the uploaded images (MarketPlaceApps) should be configured to have the desired available space, and the web-server must be configured in order to grant HTTP access to that directory.
It is recommended to use either Apache or NGINX as they are known to work properly with the potentially large size of the MarketPlaceApp files. However, other web servers may work as long as they’re capable to handle the load.
The web-server should be deployed by the administrator before registering the MarketPlace.
These are the configuration attributes of a MarketPlace template of the HTTP kind.
||(Required) Absolute directory path to place images, the document root for http server, in the Frontend or in the hosts pointed at by the
||(Required) URL base to generate MarketPlaceApp endpoints.|
||(Optional) Comma separated list of servers to access the public directory. If not defined, public directory will be local to the Frontend.|
For example, the following examples illustrates the creation of an MarketPlace:
cat market.conf NAME = PrivateMarket MARKET_MAD = http BASE_URL = "http://frontend.opennebula.org/" PUBLIC_DIR = "/var/loca/market-http" BRIDGE_LIST = "web-server.opennebula.org" onemarket create market.conf ID: 100