@Test public void validReplicasAndEnableClusterDefaultConfiguration() throws DeploymentException { fabricDeployment.setEnvironmentSpecificValues(); }
public void setEnvironmentSpecificValues() throws DeploymentException { super.setEnvironmentSpecificValues(); if (isEmpty(getTarget())) { throw new DeploymentException("Invalid deployment configuration, missing target value. Please set it in the plugin configuration"); } if (isEmpty(getProvider())) { throw new DeploymentException("Invalid deployment configuration, missing provider value. Please set the provider as MC, CLUSTER or SERVER"); } if (getDeploymentSettings() == null) { setDeploymentSettings(new RuntimeFabricDeploymentSettings()); } getDeploymentSettings().setRuntimeVersion(muleVersion); getDeploymentSettings().setEnvironmentSpecificValues(); }
RuntimeFabricDeployment extends AnypointDeployment { public void setEnvironmentSpecificValues() throws DeploymentException { super.setEnvironmentSpecificValues(); if (isEmpty(getTarget())) { throw new DeploymentException("Invalid deployment configuration, missing target value. Please set it in the plugin configuration"); } if (isEmpty(getProvider())) { throw new DeploymentException("Invalid deployment configuration, missing provider value. Please set the provider as MC, CLUSTER or SERVER"); } if (getDeploymentSettings() == null) { setDeploymentSettings(new RuntimeFabricDeploymentSettings()); } getDeploymentSettings().setRuntimeVersion(muleVersion); getDeploymentSettings().setEnvironmentSpecificValues(); } }
RuntimeFabricDeployment extends AnypointDeployment { public void setEnvironmentSpecificValues() throws DeploymentException { super.setEnvironmentSpecificValues(); if (isEmpty(getTarget())) { throw new DeploymentException("Invalid deployment configuration, missing target value. Please set it in the plugin configuration"); } if (isEmpty(getProvider())) { throw new DeploymentException("Invalid deployment configuration, missing provider value. Please set the provider as MC, CLUSTER or SERVER"); } if (getDeploymentSettings() == null) { setDeploymentSettings(new RuntimeFabricDeploymentSettings()); } getDeploymentSettings().setRuntimeVersion(muleVersion); getDeploymentSettings().setEnvironmentSpecificValues(); }  }
RuntimeFabricDeployment extends AnypointDeployment { public void setEnvironmentSpecificValues() throws DeploymentException { super.setEnvironmentSpecificValues(); if (isEmpty(getTarget())) { throw new DeploymentException("Invalid deployment configuration, missing target value. Please set it in the plugin configuration"); } if (isEmpty(getProvider())) { throw new DeploymentException("Invalid deployment configuration, missing provider value. Please set the provider as MC, CLUSTER or SERVER"); } if (getDeploymentSettings() == null) { setDeploymentSettings(new RuntimeFabricDeploymentSettings()); } getDeploymentSettings().setRuntimeVersion(muleVersion); getDeploymentSettings().setEnvironmentSpecificValues(); }  String getTarget(); void setTarget(String targetId); RuntimeFabricDeploymentSettings getDeploymentSettings(); void setDeploymentSettings(RuntimeFabricDeploymentSettings settings); String getProvider(); void setProvider(String provider); void setEnvironmentSpecificValues(); }
RuntimeFabricDeployment extends AnypointDeployment { public void setEnvironmentSpecificValues() throws DeploymentException { super.setEnvironmentSpecificValues(); if (isEmpty(getTarget())) { throw new DeploymentException("Invalid deployment configuration, missing target value. Please set it in the plugin configuration"); } if (isEmpty(getProvider())) { throw new DeploymentException("Invalid deployment configuration, missing provider value. Please set the provider as MC, CLUSTER or SERVER"); } if (getDeploymentSettings() == null) { setDeploymentSettings(new RuntimeFabricDeploymentSettings()); } getDeploymentSettings().setRuntimeVersion(muleVersion); getDeploymentSettings().setEnvironmentSpecificValues(); }  String getTarget(); void setTarget(String targetId); RuntimeFabricDeploymentSettings getDeploymentSettings(); void setDeploymentSettings(RuntimeFabricDeploymentSettings settings); String getProvider(); void setProvider(String provider); void setEnvironmentSpecificValues();  }