Mosaic products documentation: Concepts, API Reference, Technical articles, How-to, Downloads and tools

Deploy a Customizable Service with Hosting Service


The Hosting Service gives the administrator users the ability to deploy a customizable service to an environment. This makes it much easier for you to explore the customizable workflows and the service APIs without needing to run any downloaded code. The Hosting Service takes care of provisioning required infrastructure such as databases, DNS records and RMQ brokers required to deploy the customizable service.

Deployment of Services

Hosting Service supports the deployment of Media Service, Catalog Service and Entitlement Service. The pre-built container image from the latest release of Mosaic Media Template repository in GitHub is taken for the deployment.

Deploying a Customizable Service

The Customizable Services station in Hosting Service lists down the deployable services for an environment.

Hosting Service Configuration
Figure 1. Hosting Service Configuration
Customizable Services
Figure 2. Customizable Services

After selecting a service from the list, the user will be navigated to the deployment station with an action Deploy. Clicking on this action will initiate the deployment of the service.

Media Service Deployment Station
Figure 3. Media Service Deployment Station

After the deployment is successfully done, the deployment station for the service will display the GraphiQL URL for the service.

If there are any workflows associated with the service, these will be published to the Micro Frontend Service as a part of the deployment as well.

If any errors occur while deploying the service, the status will be shown as Deployment Error and more information can be found in Deployment Logs.

Media Service after successful deployment
Figure 4. Media Service after successful deployment

Updating a Service

After a service has been deployed, when there are new releases of the service, the user will be notified through the Update Availability field. The user can click on the Deploy action again, which will initiate the deployment of the latest version of the service. This will update the currently deployed service to the latest available version.