def deploy_dataset_war(dataset, restart=True): """Deploy a demo webapp for the given uploaded dataset.""" _can_handle_dataset(dataset) if not exists(env.dist_dir): run("mkdir %(dist_dir)s" % env) if restart: _deploy_war("%(java_packages)s/demodata-supply/target/%(dataset)s-demodata-supply.war" % venv(), "%(dataset)s-demodata-supply" % venv()) else: _deploy_war_norestart("%(java_packages)s/demodata-supply/target/%(dataset)s-demodata-supply.war" % venv(), "%(dataset)s-demodata-supply" % venv())
def deploy(headless="0"): """Deploys the rinfo-service war package to target env.""" setup() _deploy_war_norestart("%(java_packages)s/rinfo-service/target/rinfo-service-%(target)s.war" % env, "rinfo-service", int(headless))
def deploy(headless="0"): setup() _deploy_war_norestart("%(java_packages)s/rinfo-checker/target/rinfo-checker-%(target)s.war" % env, "rinfo-checker", int(headless))