Code to be shared with candidates interviewing for Liferay Cloud.
For the Services API challenge you'll be given this library to work with.
import { DeploymentLibrary } from '@liferaycloud/interview-libs';
// Deploys the given service.
DeploymentLibrary.deploy(service);
// Gets the current deployment status of the given service.
DeploymentLibrary.getDeploymentStatus(serviceId);